Mercurial > pidgin
comparison console/libgnt/gnttree.c @ 14866:0387e8b1b8c2
[gaim-migrate @ 17635]
Fix ^n and ^p to not be backwards
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 31 Oct 2006 03:11:33 +0000 |
parents | c7651586e27b |
children | 70623f0d5cdc |
comparison
equal
deleted
inserted
replaced
14865:61c3edbaf048 | 14866:0387e8b1b8c2 |
---|---|
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", GNT_KEY_CTRL_N, NULL); | 713 gnt_widget_register_binding(parent_class, "move-up", GNT_KEY_CTRL_P, 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", GNT_KEY_CTRL_P, NULL); | 716 gnt_widget_register_binding(parent_class, "move-down", GNT_KEY_CTRL_N, 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 |