Add get_current_activity accessor

This commit is contained in:
Dan Williams 2006-09-24 23:12:46 -04:00
parent 07c0ffbb7d
commit da221ee84e

View File

@ -59,6 +59,9 @@ class BuddyModel(gobject.GObject):
def get_buddy(self):
return self._buddy
def get_current_activity(self):
return self._cur_activity
def __update_buddy(self, buddy):
if not buddy:
raise ValueError("Buddy cannot be None.")