From 4d474e2f9ce30c1ac3feaa0e046c1a3db5a1dd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 20 Jan 2011 15:27:13 +0100 Subject: [PATCH] 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 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/ui/dash.js b/js/ui/dash.js index 0ddae0b2c..86dfacdda 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;