mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-22 15:48:52 -05:00
disable tray context menu completely as it's pretty much useless ATM
This commit is contained in:
parent
d83093fbbf
commit
1759dc27ca
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user