summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-19 07:09:57 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-19 07:09:57 -0300
commit5361ab35f32aaaccf85aa0e6657cb92422be0f6a (patch)
tree35dc567492af083354b0e6580a8f649c64131e8c /gui/sheet.c
parent9f2062ad1ae59ccaf97d471b86f5760943f5a124 (diff)
downloadeeshow-5361ab35f32aaaccf85aa0e6657cb92422be0f6a.tar.gz
eeshow-5361ab35f32aaaccf85aa0e6657cb92422be0f6a.tar.bz2
eeshow-5361ab35f32aaaccf85aa0e6657cb92422be0f6a.zip
eeshow/gui/sheet.c (sheet_key): recognize GDK_KEY_KP_Home, GDK_KEY_KP_Delete
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index cfb13f8..359348d 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -416,11 +416,13 @@ static void sheet_key(void *user, int x, int y, int keyval)
break;
case GDK_KEY_Home:
+ case GDK_KEY_KP_Home:
if (sheet != ctx->new_hist->sheets)
go_to_sheet(ctx, ctx->new_hist->sheets);
break;
case GDK_KEY_BackSpace:
case GDK_KEY_Delete:
+ case GDK_KEY_KP_Delete:
go_up_sheet(ctx);
break;
case GDK_KEY_Page_Up: