[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gui: Make Enter work in the Goto Case dialog.
From: |
John Darrington |
Subject: |
Re: [PATCH] gui: Make Enter work in the Goto Case dialog. |
Date: |
Tue, 13 Dec 2011 07:12:25 +0000 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
I haven't tried it, but it seems perfectly sensible to me.
J'
On Mon, Dec 12, 2011 at 09:36:05PM -0800, Ben Pfaff wrote:
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
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature