[gnome-shell] TelepathyClient: fix regression from 6f5b700833305f455f3397f52baab11f69ec77d1



commit e62c66b1534226e1adde0687e32d39ed989907a3
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Sep 14 18:15:51 2012 +0200

    TelepathyClient: fix regression from 6f5b700833305f455f3397f52baab11f69ec77d1
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684035

 js/ui/components/telepathyClient.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js
index b1db3c6..4231706 100644
--- a/js/ui/components/telepathyClient.js
+++ b/js/ui/components/telepathyClient.js
@@ -488,7 +488,7 @@ const ChatSource = new Lang.Class({
         let rightClickMenu = this.parent();
         item = new PopupMenu.PopupMenuItem('');
         item.actor.connect('notify::mapped', Lang.bind(this, function() {
-            item.label.set_text(source.isMuted ? _("Unmute") : _("Mute"));
+            item.label.set_text(this.isMuted ? _("Unmute") : _("Mute"));
         }));
         item.connect('activate', Lang.bind(this, function() {
             this.setMuted(!this.isMuted);



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