[gnome-shell] TelepathyClient: make chat notifications resident



commit 53f53c5a917ac4ded63a39ee4cc8b151a34765cd
Author: Marina Zhurakhinskaya <marinaz redhat com>
Date:   Wed Dec 22 02:41:11 2010 -0500

    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

 js/ui/telepathyClient.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 5b57706..cb9a6f6 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]