[libadwaita/wip/exalm/view-switcher-button: 11/12] demo: Add mnemonics to the view switcher example




commit 0089a69c7d5bb9c386aa2089935c9b943d474d4d
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Oct 29 22:01:22 2021 +0500

    demo: Add mnemonics to the view switcher example

 demo/adw-view-switcher-demo-window.ui | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/demo/adw-view-switcher-demo-window.ui b/demo/adw-view-switcher-demo-window.ui
index 28a0c10c..e5465833 100644
--- a/demo/adw-view-switcher-demo-window.ui
+++ b/demo/adw-view-switcher-demo-window.ui
@@ -26,8 +26,9 @@
             <child>
               <object class="AdwViewStackPage">
                 <property name="name">page1</property>
-                <property name="title" translatable="yes">World</property>
+                <property name="title" translatable="yes">_World</property>
                 <property name="icon-name">clock-world-symbolic</property>
+                <property name="use-underline">True</property>
                 <property name="child">
                   <object class="GtkLabel">
                     <property name="margin-top">24</property>
@@ -42,8 +43,9 @@
             <child>
               <object class="AdwViewStackPage">
                 <property name="name">page2</property>
-                <property name="title" translatable="yes">Alarm</property>
+                <property name="title" translatable="yes">_Alarm</property>
                 <property name="icon-name">clock-alarm-symbolic</property>
+                <property name="use-underline">True</property>
                 <property name="child">
                   <object class="GtkLabel">
                     <property name="margin-top">24</property>
@@ -58,10 +60,11 @@
             <child>
               <object class="AdwViewStackPage">
                 <property name="name">page3</property>
-                <property name="title" translatable="yes">Stopwatch</property>
+                <property name="title" translatable="yes">_Stopwatch</property>
                 <property name="icon-name">clock-stopwatch-symbolic</property>
                 <property name="badge-number">3</property>
                 <property name="needs-attention">true</property>
+                <property name="use-underline">True</property>
                 <property name="child">
                   <object class="GtkLabel">
                     <property name="margin-top">24</property>
@@ -76,8 +79,9 @@
             <child>
               <object class="AdwViewStackPage">
                 <property name="name">page4</property>
-                <property name="title" translatable="yes">Timer</property>
+                <property name="title" translatable="yes">Tim_er</property>
                 <property name="icon-name">clock-timer-symbolic</property>
+                <property name="use-underline">True</property>
                 <property name="child">
                   <object class="GtkLabel">
                     <property name="margin-top">24</property>


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