summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mygtk2.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index a8d67e0ab..94103a6e3 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -399,6 +399,17 @@ sub _gtk__Label {
$w;
}
+
+sub _gtk__Alignment {
+ my ($w, $opts) = @_;
+
+ if (!$w) {
+ $w = Gtk2::Alignment->new(0, 0, 0, 0);
+ }
+ $w;
+}
+
+
sub title1_to_markup {
my ($label) = @_;
$::isInstall ? '<span foreground="#5A8AD6">' . $label . '</span>'