[gnome-shell] dash: Hide item labels



commit 4d474e2f9ce30c1ac3feaa0e046c1a3db5a1dd4c
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Jan 20 15:27:13 2011 +0100

    dash: Hide item labels
    
    With the current dash layout of a single column, nearly every icon
    label ends up ellipsized, even at the largest allowed icon size.
    Not showing any labels appears to be the cleanest approach in this
    case, so disable them in the dash.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=636156

 js/ui/dash.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/dash.js b/js/ui/dash.js
index 0ddae0b..86dfacd 100644
--- a/js/ui/dash.js
+++ b/js/ui/dash.js
@@ -26,6 +26,7 @@ RemoveFavoriteIcon.prototype = {
         this._iconActor = null;
         this.icon = new IconGrid.BaseIcon(_("Remove"),
                                            { setSizeManually: true,
+                                             showLabel: false,
                                              createIcon: Lang.bind(this, this._createIcon) });
         this.actor.set_child(this.icon.actor);
         this.actor._delegate = this;
@@ -192,7 +193,8 @@ Dash.prototype = {
 
     _addApp: function(app) {
         let display = new AppDisplay.AppWellIcon(app,
-                                                 { setSizeManually: true });
+                                                 { setSizeManually: true,
+                                                   showLabel: false });
         display._draggable.connect('drag-begin',
                                    Lang.bind(this, function() {
                                        display.actor.opacity = 50;



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