From dc2de25698604d37a155adee3a13551ab2862042 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sat, 4 Oct 2008 00:14:34 +0000 Subject: do not show banner when no application is embedded --- NEWS | 2 ++ control-center | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 1e528625..f6babb19 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- do not show banner when no application is embedded + Version 11.8.2 - 2 October 2008, Thierry Vignaud - use different icons for sources manager & drakstats diff --git a/control-center b/control-center index c04e2950..a4877d0b 100755 --- a/control-center +++ b/control-center @@ -690,7 +690,7 @@ build_list(); gtkadd($window_global, gtkpack_(Gtk2::VBox->new(0, 0), 0, $menu, - 0, $banner_notebook, + #0, $banner_notebook, 0, Gtk2::HSeparator->new, # 0, gtkset_size_request(Gtk2::VBox->new(10, 10), -1, 2), 1, gtkpack_(Gtk2::HBox->new(0, 0), @@ -739,8 +739,8 @@ foreach my $notebook ($banner_notebook) { # banner : -add2notebook($banner_notebook, "", Gtk2::Banner->new("/usr/share/icons/large/drakconf.png", - N("Welcome to the Mandriva Linux Control Center"))); +#add2notebook($banner_notebook, "", Gtk2::Banner->new("/usr/share/icons/large/drakconf.png", +# N("Welcome to the Mandriva Linux Control Center"))); my ($_hand_cursor, $wait_cursor) = map { Gtk2::Gdk::Cursor->new($_) } qw(hand2 watch); @@ -931,7 +931,7 @@ foreach (@tree) { }, ); - add2notebook($banner_notebook, "", Gtk2::Banner->new($icon, $text_orig)); + #add2notebook($banner_notebook, "", Gtk2::Banner->new($icon, $text_orig)); } } -- cgit v1.2.1