diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-12-09 14:49:21 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-12-09 14:49:21 +0000 |
commit | 7f988a881d86178d825f4a75f47a540ddebb2e0b (patch) | |
tree | 579cd2aac5bcce70e3f315a8d0ccac67ffd2d46f /mdkapplet-config | |
parent | 8e517af5cdbad85fa74cc8dbc01bcaf5d6556fb2 (diff) | |
download | mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar.gz mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar.bz2 mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar.xz mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.zip |
(configure) make sure dialog is properly sized
Diffstat (limited to 'mdkapplet-config')
-rwxr-xr-x | mdkapplet-config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdkapplet-config b/mdkapplet-config index edcd180c..0509dc9a 100755 --- a/mdkapplet-config +++ b/mdkapplet-config @@ -40,7 +40,7 @@ ugtk2::exit(0); sub configure() { - my $w = ugtk2->new(N("Adding an additional package medium"), width => $width + 20); + my $w = ugtk2->new(N("Adding an additional package medium"), width => -1); my $config_file = '/etc/sysconfig/mdkapplet'; my %config = getVarsFromSh($config_file); @@ -76,6 +76,7 @@ sub configure() { lower => 1, upper => 24, step_increment => 1, + width => 100, value_ref => \$config{UPDATE_FREQUENCY})) ], [ gtknew('Label', alignment => [ 0, 1 ], text => N("First check delay (minutes)")), gtknew($is_hscale_unsupported ? ('Entry', text_ref => \$config{UPDATE_FREQUENCY}) |