pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gui: Make Enter work in the Goto Case dialog.


From: Ben Pfaff
Subject: [PATCH] gui: Make Enter work in the Goto Case dialog.
Date: Mon, 12 Dec 2011 21:36:05 -0800

Without this change, Enter does nothing in the dialog that Edit|Goto Case
brings up.  With this change, Enter activates the Goto button.
---
Any comments?

Thanks,

Ben.

 src/ui/gui/goto-case.ui |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/ui/gui/goto-case.ui b/src/ui/gui/goto-case.ui
index 48fb6e4..6cea986 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>
-- 
1.7.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]