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 /sw/uiconfig/swriter/ui/renameobjectdialog.ui | |
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 'sw/uiconfig/swriter/ui/renameobjectdialog.ui')
-rw-r--r-- | sw/uiconfig/swriter/ui/renameobjectdialog.ui | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/uiconfig/swriter/ui/renameobjectdialog.ui b/sw/uiconfig/swriter/ui/renameobjectdialog.ui index 11bb9c620f02..f24f42ffe7cd 100644 --- a/sw/uiconfig/swriter/ui/renameobjectdialog.ui +++ b/sw/uiconfig/swriter/ui/renameobjectdialog.ui @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.20.4 --> +<!-- Generated with glade 3.22.1 --> <interface domain="sw"> <requires lib="gtk+" version="3.18"/> <object class="GtkDialog" id="RenameObjectDialog"> @@ -10,6 +10,9 @@ <property name="default_width">0</property> <property name="default_height">0</property> <property name="type_hint">dialog</property> + <child> + <placeholder/> + </child> <child internal-child="vbox"> <object class="GtkBox" id="dialog-vbox1"> <property name="can_focus">False</property> @@ -115,6 +118,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="hexpand">True</property> + <property name="activates_default">True</property> </object> <packing> <property name="left_attach">1</property> @@ -149,8 +153,5 @@ <action-widget response="-6">cancel</action-widget> <action-widget response="-11">help</action-widget> </action-widgets> - <child> - <placeholder/> - </child> </object> </interface> |