[gnome-shell] appMenu: Disable reactivity at the start of animation
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appMenu: Disable reactivity at the start of animation
- Date: Mon, 16 May 2011 23:13:01 +0000 (UTC)
commit c4f5274d74a04b88c5a8ba7615ed16b44c6c82a8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sat May 7 03:12:52 2011 -0400
appMenu: Disable reactivity at the start of animation
If you clicked on the application button while it was fading out, like
during a transition to the overview, a vestigal menu appeared.
https://bugzilla.gnome.org/show_bug.cgi?id=639459
js/ui/panel.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index cfc5e4d..6a24ac9 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -302,6 +302,7 @@ AppMenuButton.prototype = {
this._visible = true;
this.actor.show();
+ this.actor.reactive = true;
if (!this._targetIsCurrent)
return;
@@ -318,6 +319,7 @@ AppMenuButton.prototype = {
return;
this._visible = false;
+ this.actor.reactive = false;
if (!this._targetIsCurrent) {
this.actor.hide();
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]