summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/resolution_and_depth.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-23 15:12:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-23 15:12:13 +0000
commit81947bb4ff3cc74309d52dabd3e8cf65b930346d (patch)
tree8ffe5456c9503f5778751da117b0824bf72df783 /perl-install/Xconfig/resolution_and_depth.pm
parentccf2d1771a46e0d2ae69f63ea1f8d7cbeab5050e (diff)
downloaddrakx-81947bb4ff3cc74309d52dabd3e8cf65b930346d.tar
drakx-81947bb4ff3cc74309d52dabd3e8cf65b930346d.tar.gz
drakx-81947bb4ff3cc74309d52dabd3e8cf65b930346d.tar.bz2
drakx-81947bb4ff3cc74309d52dabd3e8cf65b930346d.tar.xz
drakx-81947bb4ff3cc74309d52dabd3e8cf65b930346d.zip
fix setting size of depth combo
Diffstat (limited to 'perl-install/Xconfig/resolution_and_depth.pm')
-rw-r--r--perl-install/Xconfig/resolution_and_depth.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/resolution_and_depth.pm b/perl-install/Xconfig/resolution_and_depth.pm
index 063a4b71a..1461f64be 100644
--- a/perl-install/Xconfig/resolution_and_depth.pm
+++ b/perl-install/Xconfig/resolution_and_depth.pm
@@ -272,7 +272,7 @@ sub choose_gtk {
$depth_combo->set_use_arrows_always(1);
$depth_combo->entry->set_editable(0);
$depth_combo->set_popdown_strings(map { translate($depth2text{$_}) } ikeys %depth2x_res);
- $depth_combo->entry->set_size_request(220, 0);
+ $depth_combo->entry->set_size_request(220, -1);
$depth_combo->entry->signal_connect(changed => sub {
$depth_combo->entry->get_text eq '' and return; #- FIXME temporarily workaround gtk suckiness (set_text generates two 'change' signals, one when removing the whole, one for inserting the replacement..)
my %txt2depth = reverse %depth2text;