diff console/libgnt/gntwindow.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 f719225f988e
children 931644bcd74f
line wrap: on
line diff
--- a/console/libgnt/gntwindow.c	Mon Nov 20 03:57:47 2006 +0000
+++ b/console/libgnt/gntwindow.c	Mon Nov 20 04:05:33 2006 +0000
@@ -43,6 +43,7 @@
 
 	gnt_bindable_class_register_action(bindable, "show-menu", show_menu,
 				GNT_KEY_CTRL_O, NULL);
+	gnt_bindable_register_binding(bindable, "show-menu", GNT_KEY_F10, NULL);
 	gnt_style_read_actions(G_OBJECT_CLASS_TYPE(klass), bindable);
 
 	GNTDEBUG;