Mercurial > pidgin
comparison finch/libgnt/gntwidget.c @ 22810:95308e1b47d1
ctrl-x to open context menus. F11 was such a poor choice for this.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 02 May 2008 16:06:03 +0000 |
parents | d270b6aebabc |
children | 88d889b54df4 |
comparison
equal
deleted
inserted
replaced
22809:08bb9d490f38 | 22810:95308e1b47d1 |
---|---|
255 | 255 |
256 /* This is relevant for all widgets */ | 256 /* This is relevant for all widgets */ |
257 gnt_bindable_class_register_action(GNT_BINDABLE_CLASS(klass), "context-menu", context_menu, | 257 gnt_bindable_class_register_action(GNT_BINDABLE_CLASS(klass), "context-menu", context_menu, |
258 GNT_KEY_POPUP, NULL); | 258 GNT_KEY_POPUP, NULL); |
259 gnt_bindable_register_binding(GNT_BINDABLE_CLASS(klass), "context-menu", GNT_KEY_F11, NULL); | 259 gnt_bindable_register_binding(GNT_BINDABLE_CLASS(klass), "context-menu", GNT_KEY_F11, NULL); |
260 gnt_bindable_register_binding(GNT_BINDABLE_CLASS(klass), "context-menu", GNT_KEY_CTRL_X, NULL); | |
260 | 261 |
261 gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass)); | 262 gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass)); |
262 GNTDEBUG; | 263 GNTDEBUG; |
263 } | 264 } |
264 | 265 |