popupMenu: Use a StWidget instead of a Separator
We don't use the gradient part of a Separator, so we can just use a StWidget instead and shut up some warnings
This commit is contained in:
parent
e317bfdab7
commit
43ada376f8
@ -264,8 +264,8 @@ const PopupSeparatorMenuItem = new Lang.Class({
|
|||||||
Lang.bind(this, this._syncVisibility));
|
Lang.bind(this, this._syncVisibility));
|
||||||
this._syncVisibility();
|
this._syncVisibility();
|
||||||
|
|
||||||
this._separator = new Separator.HorizontalSeparator({ style_class: 'popup-separator-menu-item' });
|
this._separator = new St.Widget({ style_class: 'popup-separator-menu-item' });
|
||||||
this.actor.add(this._separator.actor, { expand: true });
|
this.actor.add(this._separator, { expand: true });
|
||||||
},
|
},
|
||||||
|
|
||||||
_syncVisibility: function() {
|
_syncVisibility: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user