summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-29 14:58:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-29 14:58:57 +0000
commitfc960a62467bde5939585310b395d45967d4e26b (patch)
tree0856ba1e0c3baaa5a950800ce834f5676c28bf99 /perl-install/ugtk2.pm
parentca5618f635de75bbd42bc790dcfaa8a4471b6b58 (diff)
downloaddrakx-fc960a62467bde5939585310b395d45967d4e26b.tar
drakx-fc960a62467bde5939585310b395d45967d4e26b.tar.gz
drakx-fc960a62467bde5939585310b395d45967d4e26b.tar.bz2
drakx-fc960a62467bde5939585310b395d45967d4e26b.tar.xz
drakx-fc960a62467bde5939585310b395d45967d4e26b.zip
- ugtk2: use given title if available instead of default step title (#32923)
Diffstat (limited to 'perl-install/ugtk2.pm')
-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 4d43080a9..1a312a18c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -728,7 +728,7 @@ sub new {
'MagicWindow',
title => $title || '',
pop_it => $o->{pop_it},
- $::isInstall ? (banner => Gtk2::Banner->new($opts{icon} ? ($icon, $title) : get_default_step_items())) : (),
+ $::isInstall ? (banner => Gtk2::Banner->new($icon, $title || (get_default_step_items())[1])) : (),
$::isStandalone && $banner_title && $icon ? (banner => Gtk2::Banner->new($icon, $banner_title)) : (),
child => gtknew('VBox'),
width => $opts{width}, height => $opts{height}, default_width => $opts{default_width}, default_height => $opts{default_height},