From f365484a5c97df96ce92d23c672bd0ed1622be58 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 28 Oct 2010 14:03:45 -0400 Subject: [PATCH] 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 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 23969a6a5..56c7013c4 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) {