diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-01-11 00:18:00 +0100 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-01-11 00:18:00 +0100 |
commit | 1759dc27ca9ce0095fdc8ff53dc3728dfff78595 (patch) | |
tree | 10eb2c212be2a5c42f20a0f8eecbf6fea3da39ae /xchat-wdk.patch | |
parent | d83093fbbfa340b94fd5f5e35acb99315a368f42 (diff) |
disable tray context menu completely as it's pretty much useless ATM
Diffstat (limited to 'xchat-wdk.patch')
-rw-r--r-- | xchat-wdk.patch | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/xchat-wdk.patch b/xchat-wdk.patch index 5cae6432..2a5d9831 100644 --- a/xchat-wdk.patch +++ b/xchat-wdk.patch @@ -1635,7 +1635,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/palette.c xchat-wdk/src/ #include <fcntl.h> diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugin-tray.c xchat-wdk/src/fe-gtk/plugin-tray.c --- xchat-wdk.orig/src/fe-gtk/plugin-tray.c 2010-11-16 09:26:23 +0100 -+++ xchat-wdk/src/fe-gtk/plugin-tray.c 2011-01-10 09:32:04 +0100 ++++ xchat-wdk/src/fe-gtk/plugin-tray.c 2011-01-11 00:16:30 +0100 @@ -1,8 +1,7 @@ /* Copyright (C) 2006-2007 Peter Zelezny. */ @@ -1691,6 +1691,17 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/plugin-tray.c xchat-wdk/ mg_create_icon_item (_("_Quit"), GTK_STOCK_QUIT, menu, tray_menu_quit_cb, NULL); menu_add_plugin_items (menu, "\x5$TRAY", NULL); +@@ -631,8 +632,8 @@ + sticon = gtk_status_icon_new_from_pixbuf (ICON_NORMAL); + if (!sticon) + return; +- g_signal_connect (G_OBJECT (sticon), "popup-menu", +- G_CALLBACK (tray_menu_cb), sticon); ++ /* g_signal_connect (G_OBJECT (sticon), "popup-menu", ++ G_CALLBACK (tray_menu_cb), sticon); */ + g_signal_connect (G_OBJECT (sticon), "activate", + G_CALLBACK (tray_menu_restore_cb), NULL); + } @@ -650,15 +651,15 @@ /* FIXME: hides any previous private messages */ tray_hilight_count++; |