[gnome-shell] messageTray: Animate the context menu
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] messageTray: Animate the context menu
- Date: Mon, 18 Feb 2013 21:00:46 +0000 (UTC)
commit b292384380a9b9ce65408c6574df7441bd0f4b91
Author: Adel Gadllah <adel gadllah gmail com>
Date: Mon Feb 18 21:56:21 2013 +0100
messageTray: Animate the context menu
Use animation for opening and closing the menu.
js/ui/messageTray.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 57ab243..dc182d8 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1766,11 +1766,11 @@ const MessageTray = new Lang.Class({
this._grabHelper.grab({ actor: this._contextMenu.actor,
grabFocus: true,
onUngrab: Lang.bind(this, function () {
- this._contextMenu.close();
+ this._contextMenu.close(BoxPointer.PopupAnimation.FULL);
this._unlock();
})
});
- this._contextMenu.open();
+ this._contextMenu.open(BoxPointer.PopupAnimation.FULL);
},
close: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]