summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-20 12:06:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-20 12:06:48 +0000
commitc9d32e321fc5ff2a4a132ee40b7d67f8c06b03cd (patch)
tree161757b879580e7c32bbd10f00bf33a4a8fc7164 /perl-install/interactive
parentedfe4757c524fcfaed62f3d4ff7f74ed7359f00b (diff)
downloaddrakx-backup-do-not-use-c9d32e321fc5ff2a4a132ee40b7d67f8c06b03cd.tar
drakx-backup-do-not-use-c9d32e321fc5ff2a4a132ee40b7d67f8c06b03cd.tar.gz
drakx-backup-do-not-use-c9d32e321fc5ff2a4a132ee40b7d67f8c06b03cd.tar.bz2
drakx-backup-do-not-use-c9d32e321fc5ff2a4a132ee40b7d67f8c06b03cd.tar.xz
drakx-backup-do-not-use-c9d32e321fc5ff2a4a132ee40b7d67f8c06b03cd.zip
set a minimum size for Gtk2::HScale's (mainly used for resizing partitions)
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 1473eda75..581e422a3 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -444,6 +444,7 @@ sub ask_fromW {
my $adj = create_adjustment(${$e->{val}}, $e->{min}, $e->{max});
$adj->signal_connect(value_changed => $changed);
$w = Gtk2::HScale->new($adj);
+ $w->set_size_request(200, -1);
$w->set_digits(0);
$w->signal_connect(key_press_event => $may_go_to_next);
$set = sub { $adj->set_value($_[0]) };