[gnome-control-center/gbsneto/applications-panel-cleanups: 16/16] applications: Add descriptions to permission rows




commit 0d12894a5a664b2087b9f336ac64536f7bbca1cb
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Jan 20 16:25:45 2022 -0300

    applications: Add descriptions to permission rows
    
    As per mockups.

 panels/applications/cc-applications-panel.ui | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/panels/applications/cc-applications-panel.ui b/panels/applications/cc-applications-panel.ui
index a556a6d95..a937a3667 100644
--- a/panels/applications/cc-applications-panel.ui
+++ b/panels/applications/cc-applications-panel.ui
@@ -110,84 +110,98 @@
                 <child>
                   <object class="CcToggleRow" id="search">
                     <property name="title" translatable="yes">Search</property>
+                    <property name="subtitle" translatable="yes">Receive system searches and send 
results.</property>
                     <signal name="notify::allowed" handler="search_cb" object="CcApplicationsPanel" 
swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcInfoRow" id="no_search">
                     <property name="title" translatable="yes">Search</property>
+                    <property name="subtitle" translatable="yes">Receive system searches and send 
results.</property>
                     <property name="info" translatable="yes">Disabled</property>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="notification">
                     <property name="title" translatable="yes">Notifications</property>
+                    <property name="subtitle" translatable="yes">Show system notifications.</property>
                     <signal name="notify::allowed" handler="notification_cb" object="CcApplicationsPanel" 
swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="background">
                     <property name="title" translatable="yes">Run in background</property>
+                    <property name="subtitle" translatable="yes">Allow activity when the app is 
closed.</property>
                     <signal name="notify::allowed" handler="background_cb" swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="wallpaper">
-                    <property name="title" translatable="yes">Set Desktop Background</property>
+                    <property name="title" translatable="yes">Change Wallpaper</property>
+                    <property name="subtitle" translatable="yes">Change the desktop wallpaper.</property>
                     <signal name="notify::allowed" handler="wallpaper_cb" swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="sound">
                     <property name="title" translatable="yes">Sounds</property>
+                    <property name="subtitle" translatable="yes">Reproduce sounds.</property>
                     <signal name="notify::allowed" handler="sound_cb" object="CcApplicationsPanel" 
swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcInfoRow" id="no_sound">
                     <property name="title" translatable="yes">Sounds</property>
+                    <property name="subtitle" translatable="yes">Reproduce sounds.</property>
                     <property name="info" translatable="yes">Disabled</property>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="shortcuts">
-                    <property name="title" translatable="yes">Inhibit system keyboard shortcuts</property>
+                    <property name="title" translatable="yes">Inhibit Shortcuts</property>
+                    <property name="subtitle" translatable="yes">Block standard keyboard 
shortcuts.</property>
                     <signal name="notify::allowed" handler="shortcuts_cb" swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="camera">
                     <property name="title" translatable="yes">Camera</property>
+                    <property name="subtitle" translatable="yes">Take pictures with the camera.</property>
                     <signal name="notify::allowed" handler="camera_cb" object="CcApplicationsPanel" 
swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcInfoRow" id="no_camera">
                     <property name="title" translatable="yes">Camera</property>
+                    <property name="subtitle" translatable="yes">Take pictures with the camera.</property>
                     <property name="info" translatable="yes">Disabled</property>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="microphone">
                     <property name="title" translatable="yes">Microphone</property>
+                    <property name="subtitle" translatable="yes">Record audio with the microphone.</property>
                     <signal name="notify::allowed" handler="microphone_cb" object="CcApplicationsPanel" 
swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcInfoRow" id="no_microphone">
                     <property name="title" translatable="yes">Microphone</property>
+                    <property name="subtitle" translatable="yes">Record audio with the microphone.</property>
                     <property name="info" translatable="yes">Disabled</property>
                   </object>
                 </child>
                 <child>
                   <object class="CcToggleRow" id="location">
                     <property name="title" translatable="yes">Location Services</property>
+                    <property name="subtitle" translatable="yes">Access device location data.</property>
                     <signal name="notify::allowed" handler="location_cb" object="CcApplicationsPanel" 
swapped="yes"/>
                   </object>
                 </child>
                 <child>
                   <object class="CcInfoRow" id="no_location">
                     <property name="title" translatable="yes">Location Services</property>
+                    <property name="subtitle" translatable="yes">Access device location data.</property>
                     <property name="info" translatable="yes">Disabled</property>
                   </object>
                 </child>


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