summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2003-11-27 10:29:01 +0000
committerdamien <damien@mandriva.com>2003-11-27 10:29:01 +0000
commite9a03bf97270ba453a4e30f4b25b462965df8b36 (patch)
tree3101fc5c2f095ec05d70a2f03e47e7d975a3de26
parentf753c690f4068073c9d111d33a923c61400d7a4c (diff)
downloaddrakx-backup-do-not-use-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar
drakx-backup-do-not-use-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar.gz
drakx-backup-do-not-use-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar.bz2
drakx-backup-do-not-use-e9a03bf97270ba453a4e30f4b25b462965df8b36.tar.xz
drakx-backup-do-not-use-e9a03bf97270ba453a4e30f4b25b462965df8b36.zip
added xpadding/ypadding options in create_packtable
-rw-r--r--perl-install/ugtk2.pm2
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;