Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/home/HomeWindow.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-15 12:24:26 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-15 12:24:26 (GMT)
commit844216585a1d4e8f6ec9033a213d0d6cf1e1694a (patch)
tree05b45a88c55ba4641c3dcc3fa8474d15399400f1 /shell/view/home/HomeWindow.py
parent5f99dcf9a5375847c970cfd769b3c85b84cf66b0 (diff)
Pass around the shell so that groups can reuse the grid
Diffstat (limited to 'shell/view/home/HomeWindow.py')
-rw-r--r--shell/view/home/HomeWindow.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/view/home/HomeWindow.py b/shell/view/home/HomeWindow.py
index b89420f..773ee77 100644
--- a/shell/view/home/HomeWindow.py
+++ b/shell/view/home/HomeWindow.py
@@ -9,9 +9,9 @@ from view.home.FriendsGroup import FriendsGroup
import sugar
class HomeWindow(gtk.Window):
- def __init__(self, shell_model):
+ def __init__(self, shell):
gtk.Window.__init__(self)
- self._shell_model = shell_model
+ self._shell = shell
self.realize()
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DESKTOP)
@@ -23,8 +23,8 @@ class HomeWindow(gtk.Window):
self.add(self._nb)
self._nb.show()
- self._add_page(HomeGroup(shell_model))
- self._add_page(FriendsGroup(shell_model))
+ self._add_page(HomeGroup(shell))
+ self._add_page(FriendsGroup(shell))
self._add_page(MeshGroup())
def _add_page(self, group):