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 /sd/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 'sd/uiconfig')
-rw-r--r-- | sd/uiconfig/simpress/ui/definecustomslideshow.ui | 9 | ||||
-rw-r--r-- | sd/uiconfig/simpress/ui/dlgfield.ui | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sd/uiconfig/simpress/ui/definecustomslideshow.ui b/sd/uiconfig/simpress/ui/definecustomslideshow.ui index 2bb4e3adc726..c920c9ac3b99 100644 --- a/sd/uiconfig/simpress/ui/definecustomslideshow.ui +++ b/sd/uiconfig/simpress/ui/definecustomslideshow.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="sd"> <requires lib="gtk+" version="3.18"/> <object class="GtkTreeStore" id="liststore1"> @@ -26,6 +26,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> @@ -121,6 +124,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="expand">False</property> @@ -315,9 +319,6 @@ <action-widget response="-6">cancel</action-widget> <action-widget response="-11">help</action-widget> </action-widgets> - <child> - <placeholder/> - </child> </object> <object class="GtkSizeGroup" id="sizegroup1"> <widgets> diff --git a/sd/uiconfig/simpress/ui/dlgfield.ui b/sd/uiconfig/simpress/ui/dlgfield.ui index b6e81af1518b..fdde47225c9d 100644 --- a/sd/uiconfig/simpress/ui/dlgfield.ui +++ b/sd/uiconfig/simpress/ui/dlgfield.ui @@ -184,6 +184,7 @@ <child internal-child="entry"> <object class="GtkEntry"> <property name="can_focus">True</property> + <property name="activates_default">True</property> </object> </child> </object> |