TelepathyClient: make chat notifications resident
This ensures that chat notifications don't get removed from the message tray when clicked. https://bugzilla.gnome.org/show_bug.cgi?id=637810
This commit is contained in:
parent
d2f675e41c
commit
53f53c5a91
@ -593,6 +593,7 @@ Notification.prototype = {
|
||||
|
||||
_init: function(source) {
|
||||
MessageTray.Notification.prototype._init.call(this, source, source.title, null, { customContent: true });
|
||||
this.setResident(true);
|
||||
|
||||
this._responseEntry = new St.Entry({ style_class: 'chat-response' });
|
||||
this._responseEntry.clutter_text.connect('activate', Lang.bind(this, this._onEntryActivated));
|
||||
|
Loading…
Reference in New Issue
Block a user