aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-02 12:54:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-02 12:54:39 +0000
commitc768a5a0ececd77398ebfccf70844e892f4e753a (patch)
tree2c0a7a83705cb1dd7e17c1279ec6580431e748ae /rpmdrake.pm
parent200aceae344d06fb7f9aaa8164789fada94589f8 (diff)
downloadrpmdrake-c768a5a0ececd77398ebfccf70844e892f4e753a.tar
rpmdrake-c768a5a0ececd77398ebfccf70844e892f4e753a.tar.gz
rpmdrake-c768a5a0ececd77398ebfccf70844e892f4e753a.tar.bz2
rpmdrake-c768a5a0ececd77398ebfccf70844e892f4e753a.tar.xz
rpmdrake-c768a5a0ececd77398ebfccf70844e892f4e753a.zip
save & restore window size in MandrivaUpdate too (#25932)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 14ead6cf..01036055 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -50,6 +50,8 @@ our @EXPORT = qw(
$filter
$dont_show_selections
$mandrakeupdate_wanted_categories
+ $mandrivaupdate_height
+ $mandrivaupdate_width
$max_info_in_descr
$mode
$offered_to_add_sources
@@ -153,11 +155,13 @@ $ENV{HOME} = $> == 0 ? $root->[7] : $ENV{HOME} || '/root';
our $configfile = "$ENV{HOME}/.rpmdrake";
our ($already_splashed, $changelog_first_config, $filter, $max_info_in_descr, $mode, $tree_flat, $tree_mode);
our ($mandrakeupdate_wanted_categories, $offered_to_add_sources, $no_confirmation);
-our ($rpmdrake_height, $rpmdrake_width);
+our ($rpmdrake_height, $rpmdrake_width, $mandrivaupdate_height, $mandrivaupdate_width);
our %config = (
mandrakeupdate_wanted_categories => { var => \$mandrakeupdate_wanted_categories, default => [ qw(security) ] },
already_splashed => { var => \$already_splashed, default => [] },
dont_show_selections => { var => \$dont_show_selections, default => [ $> ? 1 : 0 ] },
+ mandrivaupdate_width => { var => \$mandrivaupdate_width, default => [ 0 ] },
+ mandrivaupdate_height => { var => \$mandrivaupdate_height, default => [ 0 ] },
max_info_in_descr => { var => \$max_info_in_descr, default => [] },
offered_to_add_sources => { var => \$offered_to_add_sources, default => [ 0 ] },
tree_mode => { var => \$tree_mode, default => [ qw(gui_pkgs) ] },