From 18ce92eb868a38de19c18f71646e923c9cb3bc85 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 3 Jan 2003 19:45:56 +0000 Subject: (create_packtable): ScrolledWindow are not the only one allowed to grow, widgets with get_data('must_grow') set are allowed too --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 622574401..d861b96d9 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -422,7 +422,7 @@ sub create_packtable { $w->attach($_, $j, $j + 1, $i, $i + 1, 'fill', 'fill', 5, 0) : $w->attach($_, $j, $j + 1, $i, $i + 1, - ['expand', 'fill'], ref($_) eq 'Gtk2::ScrolledWindow' ? ['expand', 'fill'] : [], 0, 0); + ['expand', 'fill'], ref($_) eq 'Gtk2::ScrolledWindow' || $_->get_data('must_grow') ? ['expand', 'fill'] : [], 0, 0); $_->show; } } @$l; -- cgit v1.2.1