From e62c66b1534226e1adde0687e32d39ed989907a3 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Fri, 14 Sep 2012 18:15:51 +0200 Subject: [PATCH] TelepathyClient: fix regression from 6f5b700833305f455f3397f52baab11f69ec77d1 https://bugzilla.gnome.org/show_bug.cgi?id=684035 --- js/ui/components/telepathyClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index b1db3c6f0..42317065e 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);