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:
Marina Zhurakhinskaya 2010-12-22 02:41:11 -05:00
parent d2f675e41c
commit 53f53c5a91

View File

@ -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));