[gnome-shell] telepathyClient: Remove some dead code



commit b2ae945cf275575f1edd7c879557ff56db839144
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Mar 17 02:25:15 2015 +0100

    telepathyClient: Remove some dead code
    
    This has been unused ever since we stopped logging presence changes in
    commit 4448b65a18a05d ...

 js/ui/components/telepathyClient.js |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index 44048d5..8e9b6ce 100644
--- a/js/ui/components/telepathyClient.js
+++ b/js/ui/components/telepathyClient.js
@@ -546,14 +546,8 @@ const ChatSource = new Lang.Class({
     },
 
     _presenceChanged: function (contact, presence, status, message) {
-        let msg, title;
-
-        title = GLib.markup_escape_text(this.title, -1);
-
+        let title = GLib.markup_escape_text(this.title, -1);
         this._notification.update(this._notification.title, null, { customContent: true, secondaryGIcon: 
this.getSecondaryIcon() });
-
-        if (message)
-            msg += ' <i>(' + GLib.markup_escape_text(message, -1) + ')</i>';
     },
 
     _pendingRemoved: function(channel, message) {


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