relocate custom tray menu items

This commit is contained in:
TingPing 2012-11-23 04:58:56 -05:00
parent 2cafe9ff9b
commit 10b195a59f
1 changed files with 1 additions and 2 deletions

View File

@ -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);