cui/uiconfig/ui/acorreplacepage.ui |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ca360dfe03882e27584ca38146940440b4891758
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Nov 6 16:35:57 2020 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Nov 6 22:13:15 2020 +0100

    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 <caol...@redhat.com>

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>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to