popupMenu: fix spacing between columns

This patch didn't get updated for the st_theme_node_get_spacing() change.
This commit is contained in:
Dan Winship 2010-10-28 14:03:45 -04:00
parent c3e557b162
commit f365484a5c

View File

@ -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) {