[gnome-shell-extensions] apps-menu: update for gnome-shell changes
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] apps-menu: update for gnome-shell changes
- Date: Tue, 19 Feb 2013 22:21:34 +0000 (UTC)
commit e5ae9e7110952ed90b9fc31c991fcc924a170c3d
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Tue Feb 19 23:20:15 2013 +0100
apps-menu: update for gnome-shell changes
After the stage hierarchy handling moved to LayoutManager, HotCorner
wants the layoutManager instance as a parameter.
extensions/apps-menu/extension.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index dcecfb1..afc1048 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -116,8 +116,8 @@ const HotCorner = new Lang.Class({
Name: 'HotCorner',
Extends: Layout.HotCorner,
- _init : function() {
- this.parent();
+ _init : function(layoutManager) {
+ this.parent(layoutManager);
},
_onCornerEntered : function() {
@@ -170,7 +170,7 @@ const ApplicationsButton = new Lang.Class({
_init: function() {
this.parent(1.0, null, false);
- this._hotCorner = new HotCorner();
+ this._hotCorner = new HotCorner(Main.layoutManager);
this.setMenu(new ApplicationsMenu(this.actor, 1.0, St.Side.TOP, this, this._hotCorner));
Main.panel.menuManager.addMenu(this.menu);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]