gnome-shell r101 - trunk/js/ui



Author: otaylor
Date: Mon Dec  1 21:53:49 2008
New Revision: 101
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=101&view=rev

Log:
Fix width of application text items

appdisplay.js: Fix missing parentheses for computation of
  the available width for the application name and description.

Modified:
   trunk/js/ui/appdisplay.js

Modified: trunk/js/ui/appdisplay.js
==============================================================================
--- trunk/js/ui/appdisplay.js	(original)
+++ trunk/js/ui/appdisplay.js	Mon Dec  1 21:53:49 2008
@@ -87,7 +87,7 @@
         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,



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