[gnome-shell/gnome-3-16] messageTray: Make notification banners unfocusable
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-16] messageTray: Make notification banners unfocusable
- Date: Thu, 16 Apr 2015 16:32:45 +0000 (UTC)
commit 5ec9f1550054b20ed1e5021e90f21f4d17ad813b
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Apr 10 17:29:17 2015 +0200
messageTray: Make notification banners unfocusable
Unlike entries in the calendar's message list, banners are not subject
to the normal keynav chain, and making the banner actor itself unfocusable
allows for the focus to be moved to the action area when expanded.
https://bugzilla.gnome.org/show_bug.cgi?id=747205
js/ui/messageTray.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 42c559f..7d2c3c8 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -508,6 +508,7 @@ const NotificationBanner = new Lang.Class({
_init: function(notification) {
this.parent(notification);
+ this.actor.can_focus = false;
this.actor.add_style_class_name('notification-banner');
this._buttonBox = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]