diff pidgin/gtkblist.c @ 27830:c18e82b59f02

removed annoying "Mute Sounds" short cut key
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Wed, 30 Apr 2008 16:12:02 +0000
parents cc8903c59d6b
children 1dd0e007514d
line wrap: on
line diff
--- a/pidgin/gtkblist.c	Wed Apr 30 12:53:12 2008 +0000
+++ b/pidgin/gtkblist.c	Wed Apr 30 16:12:02 2008 +0000
@@ -67,6 +67,11 @@
 
 #define HEADLINE_CLOSE_SIZE 12
 
+/* I noticed that some of short cuts are very annoying.
+   If you really want to use them, change this to 1. --yaz
+*/
+#define ENABLE_SHORTCUT 0
+
 typedef struct
 {
 	PurpleAccount *account;
@@ -3186,7 +3191,11 @@
 	{ N_("/Tools/R_oom List"), NULL, pidgin_roomlist_dialog_show, 0, "<Item>", NULL },
 	{ N_("/Tools/System _Log"), NULL, gtk_blist_show_systemlog_cb, 3, "<Item>", NULL },
 	{ "/Tools/sep3", NULL, NULL, 0, "<Separator>", NULL },
+#if ENABLE_SHORTCUT
 	{ N_("/Tools/Mute _Sounds"), "<CTL>S", pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL },
+#else
+	{ N_("/Tools/Mute _Sounds"), NULL, pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL },
+#endif
 	/* Help */
 	{ N_("/_Help"), NULL, NULL, 0, "<Branch>", NULL },
 	{ N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP },