[gnome-shell/wip/sass: 97/98] popupMenu: Use a StWidget instead of a Separator
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/sass: 97/98] popupMenu: Use a StWidget instead of a Separator
- Date: Fri, 20 Feb 2015 14:25:21 +0000 (UTC)
commit be230253bc524f313a9011028d146de470b4ff48
Author: Carlos Soriano <csoriano gnome org>
Date: Fri Feb 20 10:35:30 2015 +0100
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
js/ui/popupMenu.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 3baf71f..ffa78e5 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -264,8 +264,8 @@ const PopupSeparatorMenuItem = new Lang.Class({
Lang.bind(this, this._syncVisibility));
this._syncVisibility();
- this._separator = new Separator.HorizontalSeparator({ style_class: 'popup-separator-menu-item' });
- this.actor.add(this._separator.actor, { expand: true });
+ this._separator = new St.Widget({ style_class: 'popup-separator-menu-item' });
+ this.actor.add(this._separator, { expand: true });
},
_syncVisibility: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]