[nautilus] toolbar: Add explanatory tooltips to buttons



commit 664944468b13ef9b5d45a80b124a05bb67f35397
Author: Daniel Boles <dboles src gnome org>
Date:   Sun Sep 17 17:08:18 2017 +0100

    toolbar: Add explanatory tooltips to buttons
    
    These are nice to have for anyone and might also be useful for a11y.
    
    Now without introducing a syntax error!
    
    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..ef38422 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" translatable="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]