Mercurial > pidgin
diff console/libgnt/gntwidget.c @ 15008:7589733ba1aa
[gaim-migrate @ 17789]
F10 to show the menu of a window. F11 to show the context-menu. I would've used
shift+F10 if terminfo permitted.
Fix a bug where F10 etc. could not be used for rebinding.
committer: Tailor Script <tailor@pidgin.im>
| author | Sadrul Habib Chowdhury <imadil@gmail.com> |
|---|---|
| date | Mon, 20 Nov 2006 04:05:33 +0000 |
| parents | 94c69d2efae5 |
| children | 9ca8095b6243 |
line wrap: on
line diff
--- a/console/libgnt/gntwidget.c Mon Nov 20 03:57:47 2006 +0000 +++ b/console/libgnt/gntwidget.c Mon Nov 20 04:05:33 2006 +0000 @@ -239,6 +239,7 @@ /* This is relevant for all widgets */ gnt_bindable_class_register_action(GNT_BINDABLE_CLASS(klass), "context-menu", context_menu, GNT_KEY_POPUP, NULL); + gnt_bindable_register_binding(GNT_BINDABLE_CLASS(klass), "context-menu", GNT_KEY_F11, NULL); gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), GNT_BINDABLE_CLASS(klass)); GNTDEBUG;
