[gnome-shell-extensions] dock: fix showing in overview with gnome-shell master
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] dock: fix showing in overview with gnome-shell master
- Date: Thu, 30 Jun 2011 19:53:34 +0000 (UTC)
commit 939994d07db0d08c77d9e4d28dadc978b10a3b99
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Thu Jun 30 21:52:18 2011 +0200
dock: fix showing in overview with gnome-shell master
Chrome module no longer updates the visibility of objects when
the overview is shown or hidden, so we need to do it ourselves.
extensions/dock/extension.js | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/extensions/dock/extension.js b/extensions/dock/extension.js
index 7018495..c638b2d 100644
--- a/extensions/dock/extension.js
+++ b/extensions/dock/extension.js
@@ -82,7 +82,13 @@ Dock.prototype = {
AppFavorites.getAppFavorites().connect('changed', Lang.bind(this, this._queueRedisplay));
this._tracker.connect('app-state-changed', Lang.bind(this, this._queueRedisplay));
- Main.chrome.addActor(this.actor, { visibleInOverview: false });
+ Main.overview.connect('showing', Lang.bind(this, function() {
+ this.actor.hide();
+ }));
+ Main.overview.connect('hidden', Lang.bind(this, function() {
+ this.actor.show();
+ }));
+ Main.chrome.addActor(this.actor);
this.actor.lower_bottom();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]