[gnome-documents] selections: Use labels instead of tooltips for Open



commit 220713bfff2ea527a2214a42c73e4f9fd530d943
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Aug 7 11:37:37 2013 +0200

    selections: Use labels instead of tooltips for Open
    
    We are now using labelled buttons instead of just icons. Hence it
    makes sense to update the label itself. This is also consistent with
    how it is shown in the gear menu.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=699910

 src/selections.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/selections.js b/src/selections.js
index f47edfb..1c1a907 100644
--- a/src/selections.js
+++ b/src/selections.js
@@ -858,7 +858,7 @@ const SelectionToolbar = new Lang.Class({
             // Translators: this is the Open action in a context menu
             openLabel = _("Open");
         }
-        this._toolbarOpen.set_tooltip_text(openLabel);
+        this._toolbarOpen.set_label(openLabel);
 
         this._toolbarPrint.set_sensitive(showPrint);
         this._toolbarProperties.set_sensitive(showProperties);


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