summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-11-06 16:35:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-11-06 22:13:15 +0100
commitca360dfe03882e27584ca38146940440b4891758 (patch)
tree7401985f4d787babc1644aa445c7a66cb28c671a /cui
parente54c3b962e89689b34f96c717de730c8f1077b0f (diff)
tdf#138030 be consistent wrt return triggering activate
the design is that "activate" (pressing return) in the entries will press "new" if that option is available and otherwise trigger the default "ok" button Change-Id: I39e78fc603daa753614594b09188c089e1ab5a03 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105417 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/uiconfig/ui/acorreplacepage.ui2
1 files changed, 2 insertions, 0 deletions
diff --git a/cui/uiconfig/ui/acorreplacepage.ui b/cui/uiconfig/ui/acorreplacepage.ui
index afb923205ac5..dc211707f8f9 100644
--- a/cui/uiconfig/ui/acorreplacepage.ui
+++ b/cui/uiconfig/ui/acorreplacepage.ui
@@ -160,6 +160,7 @@
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="width_chars">25</property>
+ <property name="activates-default">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="newtext-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="acorreplacepage|extended_tip|newtext">Enter the replacement text, graphic, frame, or OLE object that you want to replace the text in the Replace box. If you have selected text, a graphic, a frame, or an OLE object in your document, the relevant information is already entered here.</property>
@@ -177,6 +178,7 @@
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="width_chars">25</property>
+ <property name="activates-default">True</property>
<child internal-child="accessible">
<object class="AtkObject" id="origtext-atkobject">
<property name="AtkObject::accessible-description" translatable="yes" context="acorreplacepage|extended_tip|origtext">Enter the word, abbreviation or word part that you want to replace while you type. Wildcard character sequence .* in the end of word results the replacement of the word before arbitrary suffixes, too. Wildcard character sequence .* before the word results the replacement after arbitrary prefixes, too. For example, the pattern "i18n.*" with the replacement text "internationalization" finds and replaces "i18ns" with "internationalizations", or the pattern ".*..." with the replacement text "…" finds and replaces three dots in "word..." with the typographically correct precomposed Unicode horizontal ellipsis ("word…").</property>