gnucash maint: Bug 798272 - Key Pad Up/Down arrow keys not working for item list

Robert Fewell bobit at code.gnucash.org
Sun Jan 23 06:02:11 EST 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/815706ad (commit)
	from  https://github.com/Gnucash/gnucash/commit/12331c3d (commit)



commit 815706ad695a12590364b170ceb90f94297386a0
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Sat Jan 22 12:34:26 2022 +0000

    Bug 798272 - Key Pad Up/Down arrow keys not working for item list
    
    Add the key pad up/down and also the page_up/down keys to the list of
    keys used for the gnc_item_list.

diff --git a/gnucash/register/register-gnome/gnucash-item-list.c b/gnucash/register/register-gnome/gnucash-item-list.c
index c6543b20d..625b9aa67 100644
--- a/gnucash/register/register-gnome/gnucash-item-list.c
+++ b/gnucash/register/register-gnome/gnucash-item-list.c
@@ -367,6 +367,10 @@ gnc_item_list_key_event (GtkWidget* widget, GdkEventKey* event, gpointer data)
     case GDK_KEY_Page_Down:
     case GDK_KEY_Up:
     case GDK_KEY_Down:
+    case GDK_KEY_KP_Up:
+    case GDK_KEY_KP_Down:
+    case GDK_KEY_KP_Page_Up:
+    case GDK_KEY_KP_Page_Down:
         /* These go to the clist */
         return FALSE;
     }



Summary of changes:
 gnucash/register/register-gnome/gnucash-item-list.c | 4 ++++
 1 file changed, 4 insertions(+)



More information about the gnucash-changes mailing list