From 9b29406c633c912e1fbc11f148f556f0ad205cc1 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 1 Sep 2008 15:13:05 +0000 Subject: (_gtk__Label_Left) export padding value so that interactive::gtk can reuse it --- perl-install/mygtk2.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 94103a6e3..4001d7fa1 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -355,10 +355,12 @@ sub _gtk__WrappedLabel { _gtk__Label($w, $opts); } +our $left_padding = 20; + sub _gtk__Label_Left { my ($w, $opts) = @_; $opts->{alignment} ||= [ 0, 0 ]; - $opts->{padding} = [ 20, 0 ]; + $opts->{padding} = [ $left_padding, 0 ]; _gtk__WrappedLabel($w, $opts); } -- cgit v1.2.1