diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-29 14:58:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-29 14:58:57 +0000 |
commit | fc960a62467bde5939585310b395d45967d4e26b (patch) | |
tree | 0856ba1e0c3baaa5a950800ce834f5676c28bf99 /perl-install/ugtk2.pm | |
parent | ca5618f635de75bbd42bc790dcfaa8a4471b6b58 (diff) | |
download | drakx-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.pm | 2 |
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}, |