[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: |
Ben Pfaff |
Subject: |
Re: [PATCH] gui: Make Enter work in the Goto Case dialog. |
Date: |
Tue, 13 Dec 2011 08:57:00 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Thanks. I pushed this.
John Darrington <address@hidden> writes:
> 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
--
Ben Pfaff
http://benpfaff.org