[gnome-builder] editor: Add mnemonics to search bar buttons and check boxes



commit 537271b5e0f5d716c7ec24201c5ac6ea7efa4a1d
Author: vanadiae <vanadiae35 gmail com>
Date:   Fri Jul 16 18:39:46 2021 +0200

    editor: Add mnemonics to search bar buttons and check boxes

 src/libide/editor/ide-editor-search-bar.ui | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-search-bar.ui b/src/libide/editor/ide-editor-search-bar.ui
index 286aa6228..de6d5c7ed 100644
--- a/src/libide/editor/ide-editor-search-bar.ui
+++ b/src/libide/editor/ide-editor-search-bar.ui
@@ -113,7 +113,8 @@
                 </child>
                 <child>
                   <object class="GtkButton" id="replace_button">
-                    <property name="label" translatable="yes">Replace</property>
+                    <property name="label" translatable="yes">_Replace</property>
+                    <property name="use-underline">True</property>
                     <property name="receives_default">False</property>
                     <property name="action_name">editor-search.replace</property>
                   </object>
@@ -124,7 +125,8 @@
                 </child>
                 <child>
                   <object class="GtkButton" id="replace_all_button">
-                    <property name="label" translatable="yes">Replace All</property>
+                    <property name="label" translatable="yes">Replace _All</property>
+                    <property name="use-underline">True</property>
                     <property name="receives_default">False</property>
                     <property name="action_name">editor-search.replace-all</property>
                   </object>
@@ -197,7 +199,8 @@
                 <property name="column_spacing">8</property>
                 <child>
                   <object class="GtkCheckButton" id="use_regex">
-                    <property name="label" translatable="yes">Regular expressions</property>
+                    <property name="label" translatable="yes">Regular _expressions</property>
+                    <property name="use-underline">True</property>
                     <property name="visible">True</property>
                     <property name="focus_on_click">False</property>
                     <property name="receives_default">False</property>
@@ -211,7 +214,8 @@
                 </child>
                 <child>
                   <object class="GtkCheckButton" id="case_sensitive">
-                    <property name="label" translatable="yes">Case sensitive</property>
+                    <property name="label" translatable="yes">_Case sensitive</property>
+                    <property name="use-underline">True</property>
                     <property name="visible">True</property>
                     <property name="receives_default">False</property>
                     <property name="xalign">0</property>
@@ -224,7 +228,8 @@
                 </child>
                 <child>
                   <object class="GtkCheckButton" id="whole_word">
-                    <property name="label" translatable="yes">Match whole word only</property>
+                    <property name="label" translatable="yes">_Match whole word only</property>
+                    <property name="use-underline">True</property>
                     <property name="visible">True</property>
                     <property name="receives_default">False</property>
                     <property name="xalign">0</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]