Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-04-13 18:20:05 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-04-13 18:20:05 (GMT)
commit559c75a3173f246b9e7f1d3374faefee0becaa31 (patch)
treea2040ab2847e7d7badb3d4173abf5697420513e9 /shell
parent02900bbfbb9f5852de6f860128b7fb1596a600b4 (diff)
Fix friending somebody for real this time
Diffstat (limited to 'shell')
-rw-r--r--shell/model/Friends.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/model/Friends.py b/shell/model/Friends.py
index e3d7130..e2200ae 100644
--- a/shell/model/Friends.py
+++ b/shell/model/Friends.py
@@ -47,8 +47,8 @@ class Friends(gobject.GObject):
self.emit('friend-added', buddy_info)
def make_friend(self, buddy):
- if not self.has_buddy(buddy):
- self.add_friend(BuddyModel(buddy=buddy))
+ if not self.has_buddy(buddy):
+ self.add_friend(buddy)
self.save()
def remove(self, buddy_info):