[gnome-shell] notificationDaemon: Raise the app when clicking on a notification, not the MRU window
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] notificationDaemon: Raise the app when clicking on a notification, not the MRU window
- Date: Fri, 11 Oct 2013 17:37:32 +0000 (UTC)
commit 0892065649b43f659afc6bebcaa2ab89c706d80a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Oct 10 16:28:42 2013 -0400
notificationDaemon: Raise the app when clicking on a notification, not the MRU window
https://bugzilla.gnome.org/show_bug.cgi?id=709866
js/ui/notificationDaemon.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 2370a49..9287774 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -777,11 +777,8 @@ const Source = new Lang.Class({
if (this.app == null)
return;
- let windows = this.app.get_windows();
- if (windows.length > 0) {
- let mostRecentWindow = windows[0];
- Main.activateWindow(mostRecentWindow);
- }
+ this.app.activate();
+ Main.overview.hide();
},
destroy: function() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]