summaryrefslogtreecommitdiff
path: root/panel-menu
diff options
context:
space:
mode:
authorSeth Nickell <snickell@stanford.edu>2002-01-20 04:24:54 +0000
committerSeth Nickell <seth@src.gnome.org>2002-01-20 04:24:54 +0000
commit35270b57134ce41d410b5f09920942e463ce536b (patch)
tree2e27e92181b216786bb57efc85025232da3d232d /panel-menu
parentee48964a5cec55cd5ecc0686a4443555c83b2ba9 (diff)
Remove the border around the menu.
2002-01-19 Seth Nickell <snickell@stanford.edu> * panel-menu.c: (panel_menu_construct_applet): Remove the border around the menu.
Diffstat (limited to 'panel-menu')
-rw-r--r--panel-menu/ChangeLog6
-rw-r--r--panel-menu/panel-menu.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/panel-menu/ChangeLog b/panel-menu/ChangeLog
index d2c7f9184..38e530b2a 100644
--- a/panel-menu/ChangeLog
+++ b/panel-menu/ChangeLog
@@ -1,5 +1,11 @@
2002-01-19 Seth Nickell <snickell@stanford.edu>
+ * panel-menu.c: (panel_menu_construct_applet):
+
+ Remove the border around the menu.
+
+2002-01-19 Seth Nickell <snickell@stanford.edu>
+
* GNOME_PanelMenuApplet.server.in:
Rename "Menu Bar". Don't put in a Category.
diff --git a/panel-menu/panel-menu.c b/panel-menu/panel-menu.c
index 71705ed1e..8f090e3c0 100644
--- a/panel-menu/panel-menu.c
+++ b/panel-menu/panel-menu.c
@@ -167,6 +167,8 @@ panel_menu_construct_applet (PanelApplet *applet)
NULL);
panel_menu_config_load_prefs (panel_menu);
+ gtk_rc_parse_string ("style \"no_shadow\"\n{\nGtkMenuBar::shadow_type = GTK_SHADOW_NONE\n}\nclass \"GtkMenuBar\" style \"no_shadow\"\n");
+
panel_menu->menubar = gtk_menu_bar_new ();
panel_menu_config_load_layout (panel_menu);