[gnome-shell] Remove _onKeyPress() function in Notification
- From: Marina Zhurakhinskaya <marinaz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Remove _onKeyPress() function in Notification
- Date: Thu, 13 Jan 2011 23:39:21 +0000 (UTC)
commit a681a2ba02e18d5a06349ca3c564432ca5601ddd
Author: Marina Zhurakhinskaya <marinaz redhat com>
Date: Thu Jan 13 18:33:01 2011 -0500
Remove _onKeyPress() function in Notification
Its usage was removed in commit 4dd4c9f99f528667eb0b571a71ed23f61919f44b -
"Use more actor.grab_key_focus() and less stage.connect('key-press-event')".
js/ui/messageTray.js | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 57f5acf..1e896a9 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -706,15 +706,6 @@ Notification.prototype = {
this.destroy();
},
- _onKeyPress: function(actor, event) {
- let symbol = event.get_key_symbol();
- if (symbol == Clutter.Escape) {
- Main.messageTray.escapeTray();
- return true;
- }
- return false;
- },
-
ungrabFocus: function() {
if (!this._hasFocus)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]