Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ActivityHost.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-08-17 12:23:52 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-08-17 12:23:52 (GMT)
commitf65d23c44002fe94477cb3354667e9297e386092 (patch)
treeffa41ac5844b5660288af9f8c80e880e3d5584a7 /shell/ActivityHost.py
parent10f356cb22ffcaddfbbcd0b8332ef65409e5bf5f (diff)
Add icon for activity to the donut.
Add signals in the shell for window open/close and use them in the task view.
Diffstat (limited to 'shell/ActivityHost.py')
-rw-r--r--shell/ActivityHost.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ActivityHost.py b/shell/ActivityHost.py
index 639c589..84577c1 100644
--- a/shell/ActivityHost.py
+++ b/shell/ActivityHost.py
@@ -20,9 +20,15 @@ class ActivityHost:
self._gdk_window = gtk.gdk.window_foreign_new(self._xid)
self._people_window = PeopleWindow(shell, self)
+ info = self._shell.get_registry().get_activity(self._default_type)
+ self._icon_name = info.get_icon()
+
def get_id(self):
return self._id
+ def get_icon_name(self):
+ return self._icon_name
+
def share(self):
self._people_window.share()
self._activity.share()