[PATCH 2/2] Make dock menu work properly
- From: Vasily Khoruzhick <anarsoul gmail com>
- To: Giovanni Campagna <gcampagna src gnome org>, Gnome Shell List <gnome-shell-list gnome org>
- Cc: Vasily Khoruzhick <anarsoul gmail com>
- Subject: [PATCH 2/2] Make dock menu work properly
- Date: Sun, 9 Oct 2011 11:41:17 +0300
Signed-off-by: Vasily Khoruzhick <anarsoul gmail com>
---
extensions/dock/extension.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/extensions/dock/extension.js b/extensions/dock/extension.js
index ac42744..02c9650 100644
--- a/extensions/dock/extension.js
+++ b/extensions/dock/extension.js
@@ -683,7 +683,7 @@ DockIcon.prototype = {
this._menu.connect('activate-window', Lang.bind(this, function (menu, window) {
this.activateWindow(window);
}));
- this._menu.connect('popup', Lang.bind(this, function (menu, isPoppedUp) {
+ this._menu.connect('open-state-changed', Lang.bind(this, function (menu, isPoppedUp) {
if (!isPoppedUp){
//Restore value of autohidedock
this._dock._restoreHideDock();
@@ -777,7 +777,6 @@ DockIconMenu.prototype = {
this._source = source;
this.connect('activate', Lang.bind(this, this._onActivate));
- this.connect('open-state-changed', Lang.bind(this, this._onOpenStateChanged));
this.actor.add_style_class_name('dock-menu');
--
1.7.7
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]