From ab06e88a367e81769cd8d228dc977a03c79de737 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 24 Jul 2008 17:32:32 +0000 Subject: (new) do not display any banner icon at install time --- perl-install/interactive/gtk.pm | 2 +- perl-install/ugtk2.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 25e60329f..004fb0d44 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -840,7 +840,7 @@ sub wait_messageW { title => $title, pop_it => defined $o->{pop_wait_messages} ? $o->{pop_wait_messages} : !$::isInstall, modal => 1, - $::isInstall ? (banner => Gtk2::Banner->new((get_default_step_items())[0], $message)) : (), + $::isInstall ? (banner => Gtk2::Banner->new('empty-banner', $message)) : (), no_Window_Manager => exists $o->{no_Window_Manager} ? $o->{no_Window_Manager} : !$::isStandalone, if__($::main_window, transient_for => $::main_window), child => gtknew('VBox', padding => 4, border_width => 10, children => [ diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index b14567740..b534be1c7 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -724,7 +724,7 @@ sub new { my $o = bless { %opts }, $type; while (my $e = shift @tempory::objects) { $e->destroy } - my $icon = find { _find_imgfile($_) } $opts{icon}, (get_default_step_items())[0], 'banner-generic-ad'; + my $icon = find { _find_imgfile($_) } $::isInstall ? 'empty-banner' : $opts{icon}; my $banner_title = $opts{banner_title}; my $window = gtknew( 'MagicWindow', -- cgit v1.2.1