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@localhost.localdomain>2006-09-25 03:12:46 (GMT)
committer Dan Williams <dcbw@localhost.localdomain>2006-09-25 03:12:46 (GMT)
commitda221ee84e8200abc0de255ec02e3206ab6204b7 (patch)
treef4c047929977877911b229962a1b87494e243f28 /shell
parent07c0ffbb7df1ce5a52a58866412696326502cdab (diff)
Add get_current_activity accessor
Diffstat (limited to 'shell')
-rw-r--r--shell/model/BuddyModel.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/model/BuddyModel.py b/shell/model/BuddyModel.py
index 0606ca4..3a83689 100644
--- a/shell/model/BuddyModel.py
+++ b/shell/model/BuddyModel.py
@@ -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.")