summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--perl-install/install/NEWS2
-rw-r--r--perl-install/ugtk2.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 3b73f28d6..c3310c93e 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- ugtk2: use given title if available instead of default step title (#32923)
+
Version 10.4.180 - 27 August 2007, by Thierry Vignaud
- bug command: fix choosing the usb-key/floppy drive
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},