windowAttentionHandler: Allow extensions to disconnect the signal
That way extensions can easily disable / remove the "is ready" notification. https://bugzilla.gnome.org/show_bug.cgi?id=748846
This commit is contained in:
parent
9ad104585d
commit
feaf6108f9
@ -11,7 +11,8 @@ const WindowAttentionHandler = new Lang.Class({
|
|||||||
|
|
||||||
_init : function() {
|
_init : function() {
|
||||||
this._tracker = Shell.WindowTracker.get_default();
|
this._tracker = Shell.WindowTracker.get_default();
|
||||||
global.display.connect('window-demands-attention', Lang.bind(this, this._onWindowDemandsAttention));
|
this._windowDemandsAttentionId = global.display.connect('window-demands-attention',
|
||||||
|
Lang.bind(this, this._onWindowDemandsAttention));
|
||||||
},
|
},
|
||||||
|
|
||||||
_getTitleAndBanner: function(app, window) {
|
_getTitleAndBanner: function(app, window) {
|
||||||
|
Loading…
Reference in New Issue
Block a user