diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index e5e992174..0c047487f 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -1500,6 +1500,8 @@ PopupComboMenu.prototype = { this.actor._delegate = this; this.actor.connect('key-press-event', Lang.bind(this, this._onKeyPressEvent)); this.actor.connect('key-focus-in', Lang.bind(this, this._onKeyFocusIn)); + sourceActor.connect('style-changed', + Lang.bind(this, this._onSourceActorStyleChanged)); this._activeItemPos = -1; global.focus_manager.add_group(this.actor); }, @@ -1519,6 +1521,10 @@ PopupComboMenu.prototype = { activeItem.actor.grab_key_focus(); }, + _onSourceActorStyleChanged: function() { + _ensureStyle(this.actor); + }, + open: function() { if (this.isOpen) return;