diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-26 15:56:27 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-26 15:56:27 +0000 |
commit | 8367eb08fdb2c6b6529d6a7af24ec381eeeba7be (patch) | |
tree | 6c53c6b5e50205868f6ae3e6ed94d20bc7a26fa5 /perl-install/interactive | |
parent | 2ca048aa17c1909db1c7a76cf774430919f725bf (diff) | |
download | drakx-backup-do-not-use-8367eb08fdb2c6b6529d6a7af24ec381eeeba7be.tar drakx-backup-do-not-use-8367eb08fdb2c6b6529d6a7af24ec381eeeba7be.tar.gz drakx-backup-do-not-use-8367eb08fdb2c6b6529d6a7af24ec381eeeba7be.tar.bz2 drakx-backup-do-not-use-8367eb08fdb2c6b6529d6a7af24ec381eeeba7be.tar.xz drakx-backup-do-not-use-8367eb08fdb2c6b6529d6a7af24ec381eeeba7be.zip |
- pack add_modify_remove widget growable
- no need to size it
Diffstat (limited to 'perl-install/interactive')
-rw-r--r-- | perl-install/interactive/gtk.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 5825ddd22..9476d78de 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -482,7 +482,6 @@ sub ask_fromW { foreach my $button (@buttons) { $button->{button}->signal_connect(clicked => sub { $do_action->($button) }); } - $w->set_size_request(400, -1); $real_w = gtkpack_(Gtk2::HBox->new(0,0), 1, create_scrolled_window($w), 0, gtkpack__(Gtk2::VBox->new(0,0), map { $_->{button} } @buttons)); @@ -599,7 +598,7 @@ sub ask_fromW { my (@widgets) = @_; gtkpack_(Gtk2::VBox->new, map { - ($_->{real_w}->isa("Gtk2::ScrolledWindow") ? 1 : 0), + ($_->{real_w}->isa("Gtk2::ScrolledWindow") || $_->{real_w}->get_data('must_grow') ? 1 : 0), $_->{real_w}->isa("Gtk2::CheckButton") && !$_->{icon_w} && !$_->{e}{label} ? $_->{real_w} : gtkpack_(Gtk2::HBox->new, 0, $_->{icon_w}, |