From fc960a62467bde5939585310b395d45967d4e26b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 29 Aug 2007 14:58:57 +0000 Subject: - ugtk2: use given title if available instead of default step title (#32923) --- perl-install/install/NEWS | 2 ++ perl-install/ugtk2.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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}, -- cgit v1.2.1