[gnome-documents] preview: add tooltips on preview navbar buttons



commit 39eecaae535547388c612f6a97b3ca91b0b680fb
Author: Alessandro Campagni <alessandro campagni gmail com>
Date:   Mon Apr 29 00:03:26 2013 +0200

    preview: add tooltips on preview navbar buttons
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699121

 src/preview.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/preview.js b/src/preview.js
index c4fd463..888aa65 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -590,7 +590,8 @@ const PreviewNavBar = new Lang.Class({
         let button = new Gtk.Button({ action_name: 'app.places',
                                       child: new Gtk.Image({ icon_name: 'view-list-symbolic',
                                                              pixel_size: 16 }),
-                                      valign: Gtk.Align.CENTER
+                                      valign: Gtk.Align.CENTER,
+                                      tooltip_text: _("Bookmarks")
                                     });
         let buttonArea = this.widget.get_button_area();
         buttonArea.pack_start(button, false, false, 0);
@@ -598,7 +599,8 @@ const PreviewNavBar = new Lang.Class({
         button = new Gtk.ToggleButton({ action_name: 'app.bookmark-page',
                                         child: new Gtk.Image({ icon_name: 'bookmark-add-symbolic',
                                                                pixel_size: 16 }),
-                                        valign: Gtk.Align.CENTER
+                                        valign: Gtk.Align.CENTER,
+                                        tooltip_text: _("Bookmark this page")
                                       });
         buttonArea.pack_start(button, false, false, 0);
     },


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