diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-08-26 14:13:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-08-26 14:13:18 +0000 |
commit | 0381cb67373cd802101c299bc0adc3f15c13f2b3 (patch) | |
tree | 64f84aa48a90a5bb869d65854cab94eddc08da8a /perl-install/install/gtk.pm | |
parent | 099db4aa69c64e0e9d4811c1fc37b49aa02011e5 (diff) | |
download | drakx-0381cb67373cd802101c299bc0adc3f15c13f2b3.tar drakx-0381cb67373cd802101c299bc0adc3f15c13f2b3.tar.gz drakx-0381cb67373cd802101c299bc0adc3f15c13f2b3.tar.bz2 drakx-0381cb67373cd802101c299bc0adc3f15c13f2b3.tar.xz drakx-0381cb67373cd802101c299bc0adc3f15c13f2b3.zip |
(_gtk__Label_Right) factorize code
Diffstat (limited to 'perl-install/install/gtk.pm')
-rw-r--r-- | perl-install/install/gtk.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/install/gtk.pm b/perl-install/install/gtk.pm index 36855f148..99e2ede7f 100644 --- a/perl-install/install/gtk.pm +++ b/perl-install/install/gtk.pm @@ -116,8 +116,7 @@ sub create_steps_window { $steps{$_} ||= gtknew('Pixbuf', file => "steps_$_") foreach qw(on off done); my $category = sub { gtknew('HBox', spacing => 7, children => [ - 1, '', - 0, gtknew('Label', text_markup => '<b>' . uc($_[0]) . '</b>', widget_name => 'Step-categories'), + 1, gtknew('Label_Right', text_markup => '<b>' . uc($_[0]) . '</b>', widget_name => 'Step-categories'), 0, gtknew('Image', file => 'steps_off.png'), ]); }; @@ -133,8 +132,7 @@ sub create_steps_window { my $img = gtknew('Image', file => 'steps_off.png'); $steps{steps}{$_}{img} = $img; push @l, gtknew('HBox', spacing => 7, children => [ - 1, '', - 0, $steps{steps}{$_}{text} = gtknew('Label', text => translate($o->{steps}{$_}{text})), + 1, $steps{steps}{$_}{text} = gtknew('Label_Right', text => translate($o->{steps}{$_}{text})), 0, $img, ]); } |