summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-11 16:02:31 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-11 16:02:31 +0000
commit051851bce3cade8903303494bd250813fd53093b (patch)
tree8d6529c6a5aeb061145e7d2744b57a0c8763a448 /perl-install/mygtk2.pm
parent64f2cfd274313554e4367f69910298e85f0d2dec (diff)
downloaddrakx-051851bce3cade8903303494bd250813fd53093b.tar
drakx-051851bce3cade8903303494bd250813fd53093b.tar.gz
drakx-051851bce3cade8903303494bd250813fd53093b.tar.bz2
drakx-051851bce3cade8903303494bd250813fd53093b.tar.xz
drakx-051851bce3cade8903303494bd250813fd53093b.zip
(title1_to_markup) make it clearer (needed for next commit)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index bcd1adb08..787fe9ba0 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -413,8 +413,11 @@ sub _gtk__Alignment {
sub title1_to_markup {
my ($label) = @_;
- $::isInstall ? '<span foreground="#5A8AD6">' . $label . '</span>'
- : '<b><big>' . $label . '</big></b>';
+ if ($::isInstall) {
+ qq(<span foreground="#5A8AD6">$label</span>);
+ } else {
+ qq(<b><big>$label</big></b>);
+ }
}
sub _gtk__Install_Title {