From 10b195a59ff1524ec779a9e061e56c4e9d7cf0fc Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 23 Nov 2012 04:58:56 -0500 Subject: relocate custom tray menu items --- src/fe-gtk/plugin-tray.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/fe-gtk') diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c index f71cce7a..093e9395 100644 --- a/src/fe-gtk/plugin-tray.c +++ b/src/fe-gtk/plugin-tray.c @@ -579,13 +579,12 @@ tray_menu_cb (GtkWidget *widget, guint button, guint time, gpointer userdata) if (away_status == 2) gtk_widget_set_sensitive (item, FALSE); + menu_add_plugin_items (menu, "\x5$TRAY", NULL); tray_make_item (menu, NULL, tray_menu_quit_cb, NULL); mg_create_icon_item (_("_Preferences"), GTK_STOCK_PREFERENCES, menu, tray_menu_settings, NULL); tray_make_item (menu, NULL, tray_menu_quit_cb, NULL); mg_create_icon_item (_("_Quit"), GTK_STOCK_QUIT, menu, tray_menu_quit_cb, NULL); - menu_add_plugin_items (menu, "\x5$TRAY", NULL); - g_object_ref (menu); g_object_ref_sink (menu); g_object_unref (menu); -- cgit 1.4.1