From 6bccda430e390768bd498a2e09f6ce6ce201cf2d Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 1 Dec 2008 21:53:49 +0000 Subject: [PATCH] Fix width of application text items appdisplay.js: Fix missing parentheses for computation of the available width for the application name and description. svn path=/trunk/; revision=101 --- js/ui/appdisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/appdisplay.js b/js/ui/appdisplay.js index 835609c7d..27032e280 100644 --- a/js/ui/appdisplay.js +++ b/js/ui/appdisplay.js @@ -87,7 +87,7 @@ AppDisplayItem.prototype = { this._group.add_actor(this._icon); let comment = appinfo.get_description(); - let text_width = width - me._icon.width + 4; + let text_width = width - (me._icon.width + 4); this._name = new Clutter.Label({ color: APPDISPLAY_NAME_COLOR, font_name: "Sans 14px", width: text_width,