diff options
author | Arnavion <arnavion@gmail.com> | 2015-02-27 17:33:33 -0800 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2015-02-27 17:33:33 -0800 |
commit | 97bf0de0161b835d8fe23915b02f04d5da4c34ed (patch) | |
tree | a027a6514e91a15203d3733df5750be327a0fbc2 /src/fe-gtk/plugin-tray.c | |
parent | b6c4cfa2a322de5ab3d1dc5f3ab306c1576c24d4 (diff) |
Make Preferences option in plugin tray menu available on all platforms.
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r-- | src/fe-gtk/plugin-tray.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c index 447bd0cf..077a7c63 100644 --- a/src/fe-gtk/plugin-tray.c +++ b/src/fe-gtk/plugin-tray.c @@ -512,6 +512,7 @@ tray_check_hide (GtkWidget *menu) return G_SOURCE_CONTINUE; } +#endif static void tray_menu_settings (GtkWidget * wid, gpointer none) @@ -519,7 +520,6 @@ tray_menu_settings (GtkWidget * wid, gpointer none) extern void setup_open (void); setup_open (); } -#endif static void tray_menu_cb (GtkWidget *widget, guint button, guint time, gpointer userdata) @@ -568,10 +568,9 @@ tray_menu_cb (GtkWidget *widget, guint button, guint time, gpointer userdata) gtk_widget_set_sensitive (item, FALSE); menu_add_plugin_items (menu, "\x5$TRAY", NULL); -#ifdef WIN32 + tray_make_item (menu, NULL, tray_menu_quit_cb, NULL); mg_create_icon_item (_("_Preferences"), GTK_STOCK_PREFERENCES, menu, tray_menu_settings, NULL); -#endif tray_make_item (menu, NULL, tray_menu_quit_cb, NULL); mg_create_icon_item (_("_Quit"), GTK_STOCK_QUIT, menu, tray_menu_quit_cb, NULL); |