[libadwaita/wip/exalm/view-switcher-button: 1/2] demo: Add mnemonics to the view switcher example
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/view-switcher-button: 1/2] demo: Add mnemonics to the view switcher example
- Date: Fri, 29 Oct 2021 17:01:41 +0000 (UTC)
commit b39e83a6255f43b9a9c662e611c2b475a87ee487
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]