From: Ben Pfaff <blp@cs.stanford.edu> Date: Tue, 13 Dec 2011 05:35:01 +0000 (-0800) Subject: gui: Make Enter work in the Goto Case dialog. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c02b02272c51e3d00382cf7c9716402c047507b;p=pspp gui: Make Enter work in the Goto Case dialog. Without this change, Enter does nothing in the dialog that Edit|Goto Case brings up. With this change, Enter activates the Goto button. --- diff --git a/src/ui/gui/goto-case.ui b/src/ui/gui/goto-case.ui index 48fb6e4502..6cea9869a7 100644 --- a/src/ui/gui/goto-case.ui +++ b/src/ui/gui/goto-case.ui @@ -35,6 +35,7 @@ <property name="adjustment">adjustment1</property> <property name="can_focus">True</property> <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property> + <property name="activates-default">True</property> </object> <packing> <property name="position">1</property> @@ -54,6 +55,7 @@ <property name="border_width">5</property> <property name="layout_style">spread</property> <property name="buttons">PSPPIRE_BUTTON_GOTO_MASK | PSPPIRE_BUTTON_CANCEL_MASK</property> + <property name="default">PSPPIRE_BUTTON_GOTO_MASK</property> </object> <packing> <property name="expand">False</property>