summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-12-09 14:49:21 +0000
committerThierry Vignaud <tv@mandriva.org>2009-12-09 14:49:21 +0000
commit7f988a881d86178d825f4a75f47a540ddebb2e0b (patch)
tree579cd2aac5bcce70e3f315a8d0ccac67ffd2d46f
parent8e517af5cdbad85fa74cc8dbc01bcaf5d6556fb2 (diff)
downloadmgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar
mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar.gz
mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar.bz2
mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.tar.xz
mgaonline-7f988a881d86178d825f4a75f47a540ddebb2e0b.zip
(configure) make sure dialog is properly sized
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-config3
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 03a7ce2e..f7ec86a9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- mdkapplet-config
+ o make sure dialog is properly sized
+
Version 2.77.13.1 - 9 December 2009, Thierry Vignaud
- translations updates
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})