summary refs log tree commit diff stats
path: root/src/fe-gtk/plugin-tray.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2012-11-23 04:58:56 -0500
committerTingPing <tingping@tingping.se>2012-11-23 04:58:56 -0500
commit10b195a59ff1524ec779a9e061e56c4e9d7cf0fc (patch)
tree4f734931ef67112098e8d57627e7a35173551f98 /src/fe-gtk/plugin-tray.c
parent2cafe9ff9be533b69a273c43ac73d2805c455ed3 (diff)
relocate custom tray menu items
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r--src/fe-gtk/plugin-tray.c3
1 files changed, 1 insertions, 2 deletions
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);