summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-10-04 00:14:34 +0000
committerOlivier Blin <oblin@mandriva.com>2008-10-04 00:14:34 +0000
commitdc2de25698604d37a155adee3a13551ab2862042 (patch)
tree22bba3c645ddbf1cfba95bf5305af7887bd1d6f4
parent72739c4f68237f0c5a11cbc726684e45a01b004e (diff)
downloadcontrol-center-dc2de25698604d37a155adee3a13551ab2862042.tar
control-center-dc2de25698604d37a155adee3a13551ab2862042.tar.gz
control-center-dc2de25698604d37a155adee3a13551ab2862042.tar.bz2
control-center-dc2de25698604d37a155adee3a13551ab2862042.tar.xz
control-center-dc2de25698604d37a155adee3a13551ab2862042.zip
do not show banner when no application is embedded
-rw-r--r--NEWS2
-rwxr-xr-xcontrol-center8
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));
}
}