gnome-panel r11291 - trunk/gnome-panel



Author: bberg
Date: Thu Sep 11 14:33:03 2008
New Revision: 11291
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=11291&view=rev

Log:
2008-09-11  Benjamin Berg  <benjamin sipsolutions net>

        * menu.c: (panel_create_menu):
        * panel-context-menu.c: (panel_context_menu_create):
        Name the panel menus "gnome-panel-main-menu" for the menubar and
        main menu applet. The panels context menu is now called
        "gnome-panel-context-menu".


Modified:
   trunk/gnome-panel/ChangeLog
   trunk/gnome-panel/menu.c
   trunk/gnome-panel/panel-context-menu.c

Modified: trunk/gnome-panel/menu.c
==============================================================================
--- trunk/gnome-panel/menu.c	(original)
+++ trunk/gnome-panel/menu.c	Thu Sep 11 14:33:03 2008
@@ -275,6 +275,7 @@
 	}
 	
 	retval = gtk_menu_new ();
+	gtk_widget_set_name (retval, "gnome-panel-main-menu");
 	
 	panel_gconf_notify_add_while_alive ("/desktop/gnome/interface/menus_have_icons",
 					    (GConfClientNotifyFunc) menus_have_icons_changed,

Modified: trunk/gnome-panel/panel-context-menu.c
==============================================================================
--- trunk/gnome-panel/panel-context-menu.c	(original)
+++ trunk/gnome-panel/panel-context-menu.c	Thu Sep 11 14:33:03 2008
@@ -276,6 +276,7 @@
 	}
 
 	retval = create_empty_menu ();
+	gtk_widget_set_name (retval, "gnome-panel-context-menu");
 
 	if (!panel_lockdown_get_locked_down ())
 		panel_context_menu_build_edition (panel, retval);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]