Add get_current_activity accessor
This commit is contained in:
parent
07c0ffbb7d
commit
da221ee84e
@ -59,6 +59,9 @@ class BuddyModel(gobject.GObject):
|
|||||||
def get_buddy(self):
|
def get_buddy(self):
|
||||||
return self._buddy
|
return self._buddy
|
||||||
|
|
||||||
|
def get_current_activity(self):
|
||||||
|
return self._cur_activity
|
||||||
|
|
||||||
def __update_buddy(self, buddy):
|
def __update_buddy(self, buddy):
|
||||||
if not buddy:
|
if not buddy:
|
||||||
raise ValueError("Buddy cannot be None.")
|
raise ValueError("Buddy cannot be None.")
|
||||||
|
Loading…
Reference in New Issue
Block a user