[gnome-control-center] notifications: Give mnemonic to labelled widgets



commit 472fd9d33d2f6f0ed981b915e59f50f36b1cd5a6
Author: Jiro Matsuzawa <jmatsuzawa gnome org>
Date:   Sat Sep 13 11:52:24 2014 +0900

    notifications: Give mnemonic to labelled widgets
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736606

 panels/notifications/edit-dialog.ui   |   18 ++++++++++++------
 panels/notifications/notifications.ui |    6 ++++--
 2 files changed, 16 insertions(+), 8 deletions(-)
---
diff --git a/panels/notifications/edit-dialog.ui b/panels/notifications/edit-dialog.ui
index d23ac07..1ed53a8 100644
--- a/panels/notifications/edit-dialog.ui
+++ b/panels/notifications/edit-dialog.ui
@@ -61,7 +61,8 @@
                         <property name="hexpand">True</property>
                         <property name="vexpand">True</property>
                         <property name="xalign">0</property>
-                        <property name="label" translatable="yes" context="notifications" comments="This is 
the per application switch for message tray usage.">Notifications</property>
+                        <property name="label" translatable="yes" context="notifications" comments="This is 
the per application switch for message tray usage.">_Notifications</property>
+                        <property name="use_underline">True</property>
                         <property name="mnemonic_widget">notifications-switch</property>
                       </object>
                       <packing>
@@ -112,7 +113,8 @@
                         <property name="vexpand">True</property>
                         <property name="xalign">0</property>
                         <property name="margin_end">15</property>
-                        <property name="label" translatable="yes" context="notifications" comments="This is 
the setting to configure sounds associated with notifications.">Sound Alerts</property>
+                        <property name="label" translatable="yes" context="notifications" comments="This is 
the setting to configure sounds associated with notifications.">Sound _Alerts</property>
+                        <property name="use_underline">True</property>
                         <property name="mnemonic_widget">sound-alerts-switch</property>
                       </object>
                       <packing>
@@ -162,7 +164,8 @@
                         <property name="vexpand">True</property>
                         <property name="xalign">0</property>
                         <property name="margin_end">15</property>
-                        <property name="label" translatable="yes" context="notifications">Notification 
Banners</property>
+                        <property name="label" translatable="yes" context="notifications">Notification 
_Banners</property>
+                        <property name="use_underline">True</property>
                         <property name="mnemonic_widget">notification-banners-switch</property>
                       </object>
                       <packing>
@@ -212,7 +215,8 @@
                         <property name="vexpand">True</property>
                         <property name="xalign">0</property>
                         <property name="margin_end">15</property>
-                        <property name="label" translatable="yes" context="notifications" comments="Banners 
here refers to message tray notifications in the middle of the screen.">Show Message Content in 
Banners</property>
+                        <property name="label" translatable="yes" context="notifications" comments="Banners 
here refers to message tray notifications in the middle of the screen.">Show Message _Content in 
Banners</property>
+                        <property name="use_underline">True</property>
                         <property name="mnemonic_widget">notification-banners-content-switch</property>
                       </object>
                       <packing>
@@ -262,7 +266,8 @@
                         <property name="vexpand">True</property>
                         <property name="xalign">0</property>
                         <property name="margin_end">15</property>
-                        <property name="label" translatable="yes" context="notifications">Lock Screen 
Notifications</property>
+                        <property name="label" translatable="yes" context="notifications">_Lock Screen 
Notifications</property>
+                        <property name="use_underline">True</property>
                         <property name="mnemonic_widget">lock-screen-notifications-switch</property>
                       </object>
                       <packing>
@@ -312,7 +317,8 @@
                         <property name="vexpand">True</property>
                         <property name="xalign">0</property>
                         <property name="margin_end">15</property>
-                        <property name="label" translatable="yes" context="notifications">Show Message 
Content on Lock Screen</property>
+                        <property name="label" translatable="yes" context="notifications">Show Message 
C_ontent on Lock Screen</property>
+                        <property name="use_underline">True</property>
                         <property name="mnemonic_widget">lock-screen-content-switch</property>
                       </object>
                       <packing>
diff --git a/panels/notifications/notifications.ui b/panels/notifications/notifications.ui
index ebe4ddc..304b154 100644
--- a/panels/notifications/notifications.ui
+++ b/panels/notifications/notifications.ui
@@ -58,7 +58,8 @@
                                 <property name="margin_bottom">8</property>
                                 <property name="hexpand">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Notification Banners</property>
+                                <property name="label" translatable="yes">Notification _Banners</property>
+                                <property name="use_underline">True</property>
                                 <property name="mnemonic_widget">ccnotify-switch-banners</property>
                               </object>
                               <packing>
@@ -107,7 +108,8 @@
                                 <property name="margin_bottom">8</property>
                                 <property name="hexpand">True</property>
                                 <property name="xalign">0</property>
-                                <property name="label" translatable="yes">Lock Screen 
Notifications</property>
+                                <property name="label" translatable="yes">_Lock Screen 
Notifications</property>
+                                <property name="use_underline">True</property>
                                 <property name="mnemonic_widget">ccnotify-switch-lock-screen</property>
                               </object>
                               <packing>


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