Skip to content

Commit

Permalink
popupMenu: Mark the new 'menu' style class as important
Browse files Browse the repository at this point in the history
We need this so theming from the default theme is used in themes that don't yet
support the new style class for menus.
  • Loading branch information
JosephMcc committed Oct 26, 2016
1 parent 2dd1738 commit 008f566
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/ui/popupMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -2135,7 +2135,8 @@ PopupMenu.prototype = {
this.animating = false;
this._slidePosition = -1;

this.actor = new St.Bin({ style_class: 'menu' });
this.actor = new St.Bin({ style_class: 'menu',
important: true });
this.actor._delegate = this;
this.actor.connect('key-press-event', Lang.bind(this, this._onKeyPressEvent));

Expand Down

0 comments on commit 008f566

Please sign in to comment.