diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-06-14 19:01:17 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-06-14 19:01:17 (GMT) |
commit | 3ea146e17c8f1679d58fbc38b06734851673d9f9 (patch) | |
tree | e751a03808e0c4bd7ac26b50a74b05e81d5ec481 /sugar/shell/shell.py | |
parent | 4a7aac0e01127d8b7c8d84170980df3c5988d556 (diff) |
Initial start page implementation
Diffstat (limited to 'sugar/shell/shell.py')
-rwxr-xr-x | sugar/shell/shell.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sugar/shell/shell.py b/sugar/shell/shell.py index aaf1569..12a3396 100755 --- a/sugar/shell/shell.py +++ b/sugar/shell/shell.py @@ -10,6 +10,7 @@ import pango import sugar.util from sugar.shell.PresenceWindow import PresenceWindow from sugar.shell.Owner import ShellOwner +from sugar.shell.StartPage import StartPage class ActivityHost(dbus.service.Object): @@ -226,10 +227,10 @@ class ActivityContainer(dbus.service.Object): self.window.set_geometry_hints(min_width = 640, max_width = 640, min_height = 480, max_height = 480) self.notebook = gtk.Notebook() - #tab_label = gtk.Label("My Laptop") - #empty_label = gtk.Label("This activity could launch other activities / be a help page") - #empty_label.show() - #self.notebook.append_page(empty_label, tab_label) + tab_label = gtk.Label("Everyone") + tab_page = StartPage() + self.notebook.append_page(tab_page, tab_label) + tab_page.show() self.notebook.show() self.notebook.connect("switch-page", self.notebook_tab_changed) |