From fc3f48c05a02829466ab0dc472c96be3e14259e3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 10 Nov 2012 14:11:55 -0800 Subject: [PATCH] pspp-sheet-view: Enable Home and End in sheet. However, they go to the top and bottom. --- src/ui/gui/pspp-sheet-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/gui/pspp-sheet-view.c b/src/ui/gui/pspp-sheet-view.c index be1be518b2..a69ca32937 100644 --- a/src/ui/gui/pspp-sheet-view.c +++ b/src/ui/gui/pspp-sheet-view.c @@ -12275,11 +12275,13 @@ pspp_sheet_view_event (GtkWidget *widget, switch (event->keyval) { case GDK_Left: case GDK_KP_Left: + case GDK_Home: case GDK_KP_Home: if (!is_all_selected (widget) && !is_at_left (widget)) return FALSE; break; case GDK_Right: case GDK_KP_Right: + case GDK_End: case GDK_KP_End: if (!is_all_selected (widget) && !is_at_right (widget)) return FALSE; break; -- 2.30.2