aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-07-02 12:47:36 +0000
committerThierry Vignaud <tv@mandriva.org>2008-07-02 12:47:36 +0000
commit200aceae344d06fb7f9aaa8164789fada94589f8 (patch)
tree64b1bcf8bcc756b27d848b85fa6ccd4204e2600f /rpmdrake.pm
parentbae8d4e75bcf20d519c6962968a0bb56408e7773 (diff)
downloadrpmdrake-200aceae344d06fb7f9aaa8164789fada94589f8.tar
rpmdrake-200aceae344d06fb7f9aaa8164789fada94589f8.tar.gz
rpmdrake-200aceae344d06fb7f9aaa8164789fada94589f8.tar.bz2
rpmdrake-200aceae344d06fb7f9aaa8164789fada94589f8.tar.xz
rpmdrake-200aceae344d06fb7f9aaa8164789fada94589f8.zip
save & restore window size (#25932)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index f030963c..14ead6cf 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -53,6 +53,8 @@ our @EXPORT = qw(
$max_info_in_descr
$mode
$offered_to_add_sources
+ $rpmdrake_height
+ $rpmdrake_width
$tree_flat
$tree_mode
$typical_width
@@ -151,6 +153,7 @@ $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 %config = (
mandrakeupdate_wanted_categories => { var => \$mandrakeupdate_wanted_categories, default => [ qw(security) ] },
already_splashed => { var => \$already_splashed, default => [] },
@@ -163,6 +166,8 @@ our %config = (
'no-confirmation' => { var => \$no_confirmation, default => [ 0 ] },
filter => { var => \$filter, default => [ 'all' ] },
mode => { var => \$mode, default => [ 'by_group' ] },
+ rpmdrake_width => { var => \$rpmdrake_width, default => [ 0 ] },
+ rpmdrake_height => { var => \$rpmdrake_height, default => [ 0 ] },
);
sub readconf() {