From 4d112b7162c44a09bcce93510728b7bc1352fc4d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 27 Nov 2003 13:34:40 +0000 Subject: (create_packtable) simplify xpadding managment --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/ugtk2.pm') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 50bde81cb..5549346a6 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -465,7 +465,7 @@ sub create_packtable { ref $_ or $_ = Gtk2::Label->new($_); $j != $#$l && !$options->{mcc} ? $w->attach($_, $j, $j + 1, $i, $i + 1, - 'fill', 'fill', defined $options->{xpadding} ? $options->{xpadding} : 5, $options->{ypadding} || 0) : + 'fill', 'fill', $options->{xpadding} || 5, $options->{ypadding} || 0) : $w->attach($_, $j, $j + 1, $i, $i + 1, ['expand', 'fill'], ref($_) eq 'Gtk2::ScrolledWindow' || $_->get_data('must_grow') ? ['expand', 'fill'] : [], 0, 0); $_->show; -- cgit v1.2.1