diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-30 13:26:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-01 09:53:50 +0200 |
commit | eac301701e4f24a407c2b9df69e925e3d9cb4733 (patch) | |
tree | 9bcf4bec7eae785fd44b1c9e8740269094665aa0 /basctl | |
parent | 724cca5d89a856095f2720ce61b9cdffa84f49ec (diff) |
add activates_default to GtkEntries in dialogs
activates-default of True means pressing return activates the default
button of the action area, which is typically what vcl Edit did by
default.
Change-Id: I60bc1634b04a486af86526d887d0ada961b08076
Reviewed-on: https://gerrit.libreoffice.org/79860
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/uiconfig/basicide/ui/basicmacrodialog.ui | 1 | ||||
-rw-r--r-- | basctl/uiconfig/basicide/ui/defaultlanguage.ui | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/basctl/uiconfig/basicide/ui/basicmacrodialog.ui b/basctl/uiconfig/basicide/ui/basicmacrodialog.ui index b01d88ff8b9e..e806ad30eeaa 100644 --- a/basctl/uiconfig/basicide/ui/basicmacrodialog.ui +++ b/basctl/uiconfig/basicide/ui/basicmacrodialog.ui @@ -301,6 +301,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> + <property name="activates_default">True</property> </object> </child> </object> diff --git a/basctl/uiconfig/basicide/ui/defaultlanguage.ui b/basctl/uiconfig/basicide/ui/defaultlanguage.ui index 9d6f90420613..3904d8afc59e 100644 --- a/basctl/uiconfig/basicide/ui/defaultlanguage.ui +++ b/basctl/uiconfig/basicide/ui/defaultlanguage.ui @@ -233,6 +233,7 @@ <child internal-child="entry"> <object class="GtkEntry"> <property name="can_focus">False</property> + <property name="activates_default">True</property> </object> </child> </object> |