[nautilus] toolbar: Add explanatory tooltips to buttons



commit d68ae9aafc2a50ac36221331ae6ff6cff3ff1f33
Author: Daniel Boles <dboles src gnome org>
Date:   Sat Sep 2 12:37:42 2017 +0100

    toolbar: Add explanatory tooltips to buttons
    
    These are nice to have for anyone and might also be useful for a11y.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=787153

 src/resources/ui/nautilus-toolbar.ui |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index 0c435b7..60e04f5 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -17,6 +17,7 @@
             <property name="visible">True</property>
             <property name="sensitive">True</property>
             <property name="action_name">win.back</property>
+            <property name="tooltip-text" translatable="yes">Go back</property>
             <style>
               <class name="image-button"/>
             </style>
@@ -37,6 +38,7 @@
             <property name="visible">True</property>
             <property name="sensitive">True</property>
             <property name="action_name">win.forward</property>
+            <property name="tooltip-text" translatable="yes">Go forward</property>
             <style>
               <class name="image-button"/>
             </style>
@@ -76,6 +78,7 @@
         <property name="visible">True</property>
         <property name="sensitive">True</property>
         <property name="action_name">win.view-menu</property>
+        <property name="tooltip-text" translatable="yes">Open menu</property>
         <!-- Popover defined in nautilus-toolbar-menu.ui -->
         <style>
           <class name="image-button"/>
@@ -103,6 +106,7 @@
         <property name="visible">True</property>
         <property name="sensitive">True</property>
         <property name="action_name">slot.files-view-mode-toggle</property>
+        <property name="tooltip-text" Vranslatable="yes">Toggle view</property>
         <style>
           <class name="image-button"/>
         </style>
@@ -128,6 +132,7 @@
         <property name="visible">True</property>
         <property name="sensitive">True</property>
         <property name="action_name">slot.search-visible</property>
+        <property name="tooltip-text" translatable="yes">Search</property>
         <style>
           <class name="image-button"/>
         </style>
@@ -157,6 +162,7 @@
           <object class="GtkMenuButton" id="operations_button">
             <property name="visible">False</property>
             <property name="popover">operations_popover</property>
+            <property name="tooltip-text" translatable="yes">Show operations</property>
             <signal name="toggled" handler="on_operations_button_toggled" object="NautilusToolbar" 
swapped="yes"/>
             <style>
               <class name="button"/>
@@ -174,7 +180,7 @@
             <child internal-child="accessible">
               <object class="AtkObject">
                 <property name="accessible-name" translatable="yes">Operations in progress</property>
-                <property name="accessible-description" translatable="yes">Open operations in 
progress</property>
+                <property name="accessible-description" translatable="yes">Show operations in 
progress</property>
               </object>
             </child>
           </object>


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