From: Ben Pfaff Date: Sat, 10 Nov 2012 22:11:55 +0000 (-0800) Subject: pspp-sheet-view: Enable Home and End in sheet. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc3f48c05a02829466ab0dc472c96be3e14259e3;p=pspp pspp-sheet-view: Enable Home and End in sheet. However, they go to the top and bottom. --- 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;