[gnome-builder] Add more mnemonics



commit b23dc0f407021889754d9543be5417ee7dbe5aff
Author: vanadiae <vanadiae35 gmail com>
Date:   Tue Jul 20 12:04:34 2021 +0200

    Add more mnemonics

 src/libide/greeter/ide-clone-surface.ui                  | 6 ++++--
 src/libide/gui/ide-frame-empty-state.ui                  | 6 ++++--
 src/plugins/create-project/gbp-create-project-surface.ui | 3 ++-
 src/plugins/editor/gbp-editor-frame-controls.ui          | 2 +-
 4 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/src/libide/greeter/ide-clone-surface.ui b/src/libide/greeter/ide-clone-surface.ui
index 1b9b1888f..d067d510c 100644
--- a/src/libide/greeter/ide-clone-surface.ui
+++ b/src/libide/greeter/ide-clone-surface.ui
@@ -304,7 +304,8 @@
                             <property name="halign">end</property>
                             <child>
                               <object class="GtkButton" id="clone_button">
-                                <property name="label" translatable="yes">Clone Project</property>
+                                <property name="label" translatable="yes">Clone _Project</property>
+                                <property name="use-underline">True</property>
                                 <property name="visible">true</property>
                                 <property name="can-default">True</property>
                                 <signal name="clicked" handler="ide_clone_surface_clone" 
object="IdeCloneSurface" swapped="true"/>
@@ -315,7 +316,8 @@
                             </child>
                             <child>
                               <object class="GtkButton" id="cancel_button">
-                                <property name="label" translatable="yes">Cancel</property>
+                                <property name="label" translatable="yes">_Cancel</property>
+                                <property name="use-underline">True</property>
                                 <property name="visible">true</property>
                                 <style>
                                   <class name="destructive-action"/>
diff --git a/src/libide/gui/ide-frame-empty-state.ui b/src/libide/gui/ide-frame-empty-state.ui
index 2df16d48a..a92bf7698 100644
--- a/src/libide/gui/ide-frame-empty-state.ui
+++ b/src/libide/gui/ide-frame-empty-state.ui
@@ -85,14 +85,16 @@
             <child>
               <object class="GtkButton">
                 <property name="action-name">editor.open-file</property>
-                <property name="label" translatable="yes">Open File…</property>
+                <property name="label" translatable="yes">_Open File…</property>
+                <property name="use-underline">True</property>
                 <property name="visible">true</property>
               </object>
             </child>
             <child>
               <object class="GtkButton">
                 <property name="action-name">win.new-terminal</property>
-                <property name="label" translatable="yes">New Terminal</property>
+                <property name="label" translatable="yes">_New Terminal</property>
+                <property name="use-underline">True</property>
                 <property name="visible">true</property>
               </object>
             </child>
diff --git a/src/plugins/create-project/gbp-create-project-surface.ui 
b/src/plugins/create-project/gbp-create-project-surface.ui
index 5ed65f58d..7118f586a 100644
--- a/src/plugins/create-project/gbp-create-project-surface.ui
+++ b/src/plugins/create-project/gbp-create-project-surface.ui
@@ -325,7 +325,8 @@
                     <property name="visible">true</property>
                     <child>
                       <object class="GtkButton" id="create_button">
-                        <property name="label" translatable="yes">Create Project</property>
+                        <property name="label" translatable="yes">_Create Project</property>
+                        <property name="use-underline">True</property>
                         <property name="halign">end</property>
                         <property name="visible">true</property>
                         <style>
diff --git a/src/plugins/editor/gbp-editor-frame-controls.ui b/src/plugins/editor/gbp-editor-frame-controls.ui
index d3aa8bc13..86f60efc4 100644
--- a/src/plugins/editor/gbp-editor-frame-controls.ui
+++ b/src/plugins/editor/gbp-editor-frame-controls.ui
@@ -80,6 +80,6 @@
   </template>
   <object class="DzlSimplePopover" id="goto_line_popover">
     <property name="title" translatable="yes">Go to Line</property>
-    <property name="button-text" translatable="yes">Go</property>
+    <property name="button-text" translatable="yes">_Go</property>
   </object>
 </interface>


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