diff options
author | damien <damien@mandriva.com> | 2003-11-27 10:29:01 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2003-11-27 10:29:01 +0000 |
commit | e9a03bf97270ba453a4e30f4b25b462965df8b36 (patch) | |
tree | 3101fc5c2f095ec05d70a2f03e47e7d975a3de26 /perl-install/ugtk2.pm | |
parent | f753c690f4068073c9d111d33a923c61400d7a4c (diff) | |
download | drakx-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar drakx-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar.gz drakx-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar.bz2 drakx-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar.xz drakx-e9a03bf97270ba453a4e30f4b25b462965df8b36.zip |
added xpadding/ypadding options in create_packtable
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index f228b39ff..8a4f27ce2 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', 5, 0) : + 'fill', 'fill', defined $options->{xpadding} ? $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; |