Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-10-19 12:51:13 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-10-19 12:51:13 (GMT)
commitcf13a7ff5bcf4987d23d56669e6c984142033338 (patch)
tree733b0023be87681cb757e24f579a2e7c8be1c0ba /shell/model
parent21aa37cc24edf3b4f4e69e263f049c7298bf7bf0 (diff)
Unregister the chat service on destroy.
Diffstat (limited to 'shell/model')
-rw-r--r--shell/model/BuddyModel.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/shell/model/BuddyModel.py b/shell/model/BuddyModel.py
index 3205425..651e911 100644
--- a/shell/model/BuddyModel.py
+++ b/shell/model/BuddyModel.py
@@ -139,7 +139,4 @@ class BuddyModel(gobject.GObject):
def __buddy_current_activity_changed_cb(self, buddy, activity=None):
if not self._buddy:
return
- if activity:
- self.emit('current-activity-changed', activity)
- else:
- self.emit('current-activity-changed')
+ self.emit('current-activity-changed', activity)