[gnome-shell] popupMenu: fix spacing between columns



commit f365484a5c97df96ce92d23c672bd0ed1622be58
Author: Dan Winship <danw gnome org>
Date:   Thu Oct 28 14:03:45 2010 -0400

    popupMenu: fix spacing between columns
    
    This patch didn't get updated for the st_theme_node_get_spacing() change.

 js/ui/popupMenu.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 23969a6..56c7013 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -81,9 +81,7 @@ PopupBaseMenuItem.prototype = {
     },
 
     _onStyleChanged: function (actor) {
-        let themeNode = actor.get_theme_node();
-        let [found, spacing] = themeNode.get_length('spacing', false);
-        this._spacing = found ? spacing : 0;
+        this._spacing = actor.get_theme_node().get_length('spacing');
     },
 
     _hoverChanged: function (actor) {



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