Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model/homeactivity.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-12-24 14:39:00 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-12-24 14:39:00 (GMT)
commitb3c2368eaccd666066ba57bb496091f2631d64dc (patch)
tree4d8acda2b466c94548d76dc24e1fb531c6935415 /shell/model/homeactivity.py
parent0d1e07d9c34a4e1c24cc5f374963ad55b7ee035b (diff)
Complete the shell model/view split, finally
Diffstat (limited to 'shell/model/homeactivity.py')
-rw-r--r--shell/model/homeactivity.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/model/homeactivity.py b/shell/model/homeactivity.py
index b38fc36..2143ef2 100644
--- a/shell/model/homeactivity.py
+++ b/shell/model/homeactivity.py
@@ -21,6 +21,7 @@ from sugar import profile
class HomeActivity:
def __init__(self, registry, window):
self._window = window
+ self._xid = window.get_xid()
self._service = Activity.get_service(window.get_xid())
self._id = self._service.get_id()
@@ -45,6 +46,9 @@ class HomeActivity:
def get_id(self):
return self._id
+ def get_xid(self):
+ return self._xid
+
def get_window(self):
return self._window