Index: panel-menu-bar.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/panel-menu-bar.c,v
retrieving revision 1.56
diff -u -p -r1.56 panel-menu-bar.c
--- panel-menu-bar.c	10 Feb 2005 20:36:24 -0000	1.56
+++ panel-menu-bar.c	12 Feb 2005 08:46:43 -0000
@@ -310,18 +310,6 @@ panel_menu_bar_append_place_item (PanelM
 static void
 panel_menu_bar_recreate_menus (PanelMenuBar *menubar)
 {
-	if (menubar->priv->applications_menu) {
-		gtk_widget_destroy (menubar->priv->applications_menu);
-		menubar->priv->applications_menu = panel_menu_bar_create_applications_menu (menubar);
-		panel_menu_bar_connect_menu_signals (menubar,
-						     &menubar->priv->applications_menu);
-		panel_applet_menu_set_recurse (GTK_MENU (menubar->priv->applications_menu),
-					       "menu_panel",
-					       menubar->priv->panel);
-		gtk_menu_item_set_submenu (GTK_MENU_ITEM (menubar->priv->applications_item),
-					   menubar->priv->applications_menu);
-	}
-
 	if (menubar->priv->desktop_menu) {
 		gtk_widget_destroy (menubar->priv->desktop_menu);
 		menubar->priv->desktop_menu = panel_menu_bar_create_desktop_menu (menubar);
@@ -351,37 +339,12 @@ panel_menu_bar_recreate_places_menu (Pan
 	}
 }
 
-static void
-panel_menu_bar_append_applications_menu (GtkWidget    *menu,
-					 PanelMenuBar *menubar)
-{
-	GtkWidget *item;
-
-	if (!g_object_get_data (G_OBJECT (menu), "panel-menu-needs-appending"))
-		return;
-
-	g_object_set_data (G_OBJECT (menu), "panel-menu-needs-appending", NULL);
-
-	item = menu_create_action_item (PANEL_ACTION_RUN);
-
-	if (item != NULL &&
-	    GTK_MENU_SHELL (menubar->priv->applications_menu)->children != NULL) {
-		add_menu_separator (menubar->priv->applications_menu);
-		gtk_menu_shell_append (GTK_MENU_SHELL (menubar->priv->applications_menu),
-				       item);
-	}
-}
-
 static GtkWidget *
 panel_menu_bar_create_applications_menu (PanelMenuBar *menubar)
 {
 	GtkWidget *applications_menu;
 
 	applications_menu = create_applications_menu ("applications.menu", NULL);
-
-	g_signal_connect (applications_menu, "show",
-			  G_CALLBACK (panel_menu_bar_append_applications_menu),
-			  menubar);
 
 	return applications_menu;
 }
