[gnome-shell] PopupMenu: restore the arrow when fast closing the menu
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] PopupMenu: restore the arrow when fast closing the menu
- Date: Mon, 20 Dec 2010 17:17:19 +0000 (UTC)
commit bfc7b98e1df800d529975995707919514bb0a45f
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Mon Dec 20 18:11:53 2010 +0100
PopupMenu: restore the arrow when fast closing the menu
When closing a submenu because the parent is closing, we skip the
animation, but we need to restore the arrow anyway.
js/ui/popupMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index d493c75..190f24a 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -909,6 +909,7 @@ PopupSubMenu.prototype = {
if (this._activeMenuItem)
this._activeMenuItem.setActive(false);
+ this._arrow.rotation_angle_z = 0;
this.actor.hide();
this.isOpen = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]