From 81947bb4ff3cc74309d52dabd3e8cf65b930346d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 23 Dec 2002 15:12:13 +0000 Subject: fix setting size of depth combo --- perl-install/Xconfig/resolution_and_depth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1