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 /vcl/uiconfig | |
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 'vcl/uiconfig')
-rw-r--r-- | vcl/uiconfig/ui/printdialog.ui | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui index a1ddf06e5c5d..2fbd6a604ab9 100644 --- a/vcl/uiconfig/ui/printdialog.ui +++ b/vcl/uiconfig/ui/printdialog.ui @@ -614,6 +614,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> + <property name="activates_default">True</property> <property name="placeholder_text" translatable="yes" context="printdialog|pagerange">e.g.: 1, 3-5, 7, 9</property> </object> <packing> @@ -729,6 +730,7 @@ <property name="can_focus">True</property> <property name="valign">center</property> <property name="hexpand">True</property> + <property name="activates_default">True</property> <property name="adjustment">adjustment2</property> </object> <packing> @@ -1006,6 +1008,7 @@ <child> <object class="GtkSpinButton" id="pagemarginsb:0mm"> <property name="can_focus">True</property> + <property name="activates_default">True</property> </object> <packing> <property name="left_attach">1</property> @@ -1028,6 +1031,7 @@ <child> <object class="GtkSpinButton" id="sheetmarginsb:0mm"> <property name="can_focus">True</property> + <property name="activates_default">True</property> </object> <packing> <property name="left_attach">1</property> @@ -1077,6 +1081,7 @@ <child> <object class="GtkSpinButton" id="pagerows"> <property name="can_focus">True</property> + <property name="activates_default">True</property> </object> <packing> <property name="left_attach">1</property> @@ -1086,6 +1091,7 @@ <child> <object class="GtkSpinButton" id="pagecols"> <property name="can_focus">True</property> + <property name="activates_default">True</property> </object> <packing> <property name="left_attach">3</property> |