diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-10-22 10:44:29 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2008-10-22 10:44:29 (GMT) |
commit | 520a7223f32e198bf8b633f524d52a04ac8e40ad (patch) | |
tree | 651cd2edcb0177baef8af1548572d76f23f835b1 /src | |
parent | 18f66f4c959e6b44b0363aaeb983137b135e06a2 (diff) |
Add a method for getting the bundle path of the currently active activity
Diffstat (limited to 'src')
-rw-r--r-- | src/jarabe/model/shell.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jarabe/model/shell.py b/src/jarabe/model/shell.py index 1810e7e..64f5e09 100644 --- a/src/jarabe/model/shell.py +++ b/src/jarabe/model/shell.py @@ -203,6 +203,10 @@ class Activity(gobject.GObject): """Returns the activity's PID""" return self._window.get_pid() + def get_bundle_path(self): + """Returns the activity's bundle directory""" + return self._activity_info.get_path() + def equals(self, activity): if self._activity_id and activity.get_activity_id(): return self._activity_id == activity.get_activity_id() |