comparison console/libgnt/gnttree.c @ 14823:10244943bbc9

[gaim-migrate @ 17590] Fix the ctr-n and ctr-p binding in the tree-widget. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 27 Oct 2006 18:19:40 +0000
parents 8a0cfee11af8
children 6ec7e963d186
comparison
equal deleted inserted replaced
14822:ac0ce6064000 14823:10244943bbc9
708 parent_class->bindings = g_hash_table_duplicate(parent_class->bindings, g_str_hash, 708 parent_class->bindings = g_hash_table_duplicate(parent_class->bindings, g_str_hash,
709 g_str_equal, g_free, (GDestroyNotify)gnt_widget_action_param_free); 709 g_str_equal, g_free, (GDestroyNotify)gnt_widget_action_param_free);
710 710
711 gnt_widget_class_register_action(parent_class, "move-up", action_up, 711 gnt_widget_class_register_action(parent_class, "move-up", action_up,
712 "\033" GNT_KEY_UP, NULL); 712 "\033" GNT_KEY_UP, NULL);
713 gnt_widget_register_binding(parent_class, "move-up", "\033" GNT_KEY_CTRL_N, NULL); 713 gnt_widget_register_binding(parent_class, "move-up", GNT_KEY_CTRL_N, NULL);
714 gnt_widget_class_register_action(parent_class, "move-down", action_down, 714 gnt_widget_class_register_action(parent_class, "move-down", action_down,
715 "\033" GNT_KEY_DOWN, NULL); 715 "\033" GNT_KEY_DOWN, NULL);
716 gnt_widget_register_binding(parent_class, "move-down", "\033" GNT_KEY_CTRL_P, NULL); 716 gnt_widget_register_binding(parent_class, "move-down", GNT_KEY_CTRL_P, NULL);
717 gnt_widget_class_register_action(parent_class, "page-up", action_page_up, 717 gnt_widget_class_register_action(parent_class, "page-up", action_page_up,
718 "\033" GNT_KEY_PGUP, NULL); 718 "\033" GNT_KEY_PGUP, NULL);
719 gnt_widget_class_register_action(parent_class, "page-down", action_page_down, 719 gnt_widget_class_register_action(parent_class, "page-down", action_page_down,
720 "\033" GNT_KEY_PGDOWN, NULL); 720 "\033" GNT_KEY_PGDOWN, NULL);
721 721