comparison 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
comparison
equal deleted inserted replaced
27829:2f05586afa12 27830:c18e82b59f02
64 #include <gdk/gdkkeysyms.h> 64 #include <gdk/gdkkeysyms.h>
65 #include <gtk/gtk.h> 65 #include <gtk/gtk.h>
66 #include <gdk/gdk.h> 66 #include <gdk/gdk.h>
67 67
68 #define HEADLINE_CLOSE_SIZE 12 68 #define HEADLINE_CLOSE_SIZE 12
69
70 /* I noticed that some of short cuts are very annoying.
71 If you really want to use them, change this to 1. --yaz
72 */
73 #define ENABLE_SHORTCUT 0
69 74
70 typedef struct 75 typedef struct
71 { 76 {
72 PurpleAccount *account; 77 PurpleAccount *account;
73 78
3184 { "/Tools/sep2", NULL, NULL, 0, "<Separator>", NULL }, 3189 { "/Tools/sep2", NULL, NULL, 0, "<Separator>", NULL },
3185 { N_("/Tools/_File Transfers"), "<CTL>T", pidgin_xfer_dialog_show, 0, "<Item>", NULL }, 3190 { N_("/Tools/_File Transfers"), "<CTL>T", pidgin_xfer_dialog_show, 0, "<Item>", NULL },
3186 { N_("/Tools/R_oom List"), NULL, pidgin_roomlist_dialog_show, 0, "<Item>", NULL }, 3191 { N_("/Tools/R_oom List"), NULL, pidgin_roomlist_dialog_show, 0, "<Item>", NULL },
3187 { N_("/Tools/System _Log"), NULL, gtk_blist_show_systemlog_cb, 3, "<Item>", NULL }, 3192 { N_("/Tools/System _Log"), NULL, gtk_blist_show_systemlog_cb, 3, "<Item>", NULL },
3188 { "/Tools/sep3", NULL, NULL, 0, "<Separator>", NULL }, 3193 { "/Tools/sep3", NULL, NULL, 0, "<Separator>", NULL },
3194 #if ENABLE_SHORTCUT
3189 { N_("/Tools/Mute _Sounds"), "<CTL>S", pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL }, 3195 { N_("/Tools/Mute _Sounds"), "<CTL>S", pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL },
3196 #else
3197 { N_("/Tools/Mute _Sounds"), NULL, pidgin_blist_mute_sounds_cb, 0, "<CheckItem>", NULL },
3198 #endif
3190 /* Help */ 3199 /* Help */
3191 { N_("/_Help"), NULL, NULL, 0, "<Branch>", NULL }, 3200 { N_("/_Help"), NULL, NULL, 0, "<Branch>", NULL },
3192 { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP }, 3201 { N_("/Help/Online _Help"), "F1", gtk_blist_show_onlinehelp_cb, 0, "<StockItem>", GTK_STOCK_HELP },
3193 { N_("/Help/_Debug Window"), NULL, toggle_debug, 0, "<Item>", NULL }, 3202 { N_("/Help/_Debug Window"), NULL, toggle_debug, 0, "<Item>", NULL },
3194 #if GTK_CHECK_VERSION(2,6,0) 3203 #if GTK_CHECK_VERSION(2,6,0)