[gnome-control-center] sharing: add mnemonic_widget relations for better accessibility



commit 817afb63992ba20c101350e33aa23eeb8be18337
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Mon Jan 21 09:40:46 2013 -0500

    sharing: add mnemonic_widget relations for better accessibility
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692200

 panels/sharing/sharing.ui |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/panels/sharing/sharing.ui b/panels/sharing/sharing.ui
index 69eb14a..52ccc05 100644
--- a/panels/sharing/sharing.ui
+++ b/panels/sharing/sharing.ui
@@ -96,6 +96,7 @@
                 <property name="hexpand">True</property>
                 <property name="label" translatable="yes">&lt;b&gt;Share Public Folder&lt;/b&gt;</property>
                 <property name="use_markup">True</property>
+                <property name="mnemonic_widget">share-public-folder-switch</property>
               </object>
               <packing>
                 <property name="left_attach">0</property>
@@ -110,6 +111,7 @@
                 <property name="can_focus">False</property>
                 <property name="halign">start</property>
                 <property name="label" translatable="yes">Only share with Trusted Devices</property>
+                <property name="mnemonic_widget">only-share-trusted-devices-switch</property>
               </object>
               <packing>
                 <property name="left_attach">0</property>
@@ -125,10 +127,10 @@
                 <child>
                   <object class="GtkLabel" id="label4">
                     <property name="visible">True</property>
-                    <property name="can_focus">False</property>
                     <property name="halign">start</property>
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes">Only Receive From Trusted Devices</property>
+                    <property name="mnemonic_widget">only-receive-from-trusted-devices-switch</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
@@ -164,6 +166,7 @@
                 <property name="halign">start</property>
                 <property name="label" translatable="yes">&lt;b&gt;Save Received Files to Downloads Folder&lt;/b&gt;</property>
                 <property name="use_markup">True</property>
+                <property name="mnemonic_widget">save-received-files-to-downloads-switch</property>
               </object>
               <packing>
                 <property name="left_attach">0</property>
@@ -389,6 +392,7 @@
                             <property name="halign">start</property>
                             <property name="hexpand">True</property>
                             <property name="label">Remote Login</property>
+                            <property name="mnemonic_widget">remote-login-switch</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>
@@ -517,6 +521,7 @@
                 <property name="hexpand">True</property>
                 <property name="label" translatable="yes">&lt;b&gt;Share Media On This Network&lt;/b&gt;</property>
                 <property name="use_markup">True</property>
+                <property name="mnemonic_widget">share-media-switch</property>
               </object>
               <packing>
                 <property name="left_attach">0</property>
@@ -531,6 +536,7 @@
                 <property name="can_focus">False</property>
                 <property name="xalign">0</property>
                 <property name="label" translatable="yes">Shared Folders</property>
+                <property name="mnemonic_widget">scrolledwindow1</property>
               </object>
               <packing>
                 <property name="left_attach">0</property>
@@ -729,6 +735,7 @@
                 <property name="hexpand">True</property>
                 <property name="label" translatable="yes">&lt;b&gt;Share Public Folder On This Network&lt;/b&gt;</property>
                 <property name="use_markup">True</property>
+                <property name="mnemonic_widget">share-public-folder-on-network-switch</property>
               </object>
               <packing>
                 <property name="left_attach">0</property>
@@ -750,6 +757,7 @@
                     <property name="halign">start</property>
                     <property name="label" translatable="yes">Require Password</property>
                     <property name="use_markup">True</property>
+                    <property name="mnemonic_widget">personal-file-sharing-require-password-switch</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
@@ -765,6 +773,7 @@
                     <property name="halign">start</property>
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes">Password</property>
+                    <property name="mnemonic_widget">personal-file-sharing-password-entry</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
@@ -1043,6 +1052,7 @@
                     <property name="hexpand">True</property>
                     <property name="label" translatable="yes">&lt;b&gt;Remote View&lt;/b&gt;</property>
                     <property name="use_markup">True</property>
+                    <property name="mnemonic_widget">remote-view-switch</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
@@ -1058,6 +1068,7 @@
                     <property name="halign">start</property>
                     <property name="label" translatable="yes">&lt;b&gt;Remote Control&lt;/b&gt;</property>
                     <property name="use_markup">True</property>
+                    <property name="mnemonic_widget">remote-control-switch</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>
@@ -1077,6 +1088,7 @@
                         <property name="can_focus">False</property>
                         <property name="halign">start</property>
                         <property name="label" translatable="yes">Require Password</property>
+                        <property name="mnemonic_widget">remote-control-require-password-switch</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -1093,6 +1105,7 @@
                         <property name="hexpand">True</property>
                         <property name="label" translatable="yes">Approve All Connections</property>
                         <property name="use_markup">True</property>
+                        <property name="mnemonic_widget">approve-all-connections-switch</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -1138,6 +1151,7 @@
                             <property name="halign">start</property>
                             <property name="hexpand">True</property>
                             <property name="label" translatable="yes">Password</property>
+                            <property name="mnemonic_widget">remote-control-password-entry</property>
                           </object>
                           <packing>
                             <property name="expand">False</property>



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