Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpgritti@gmail.com>2008-09-30 22:06:35 (GMT)
committer Marco Pesenti Gritti <mpgritti@gmail.com>2008-09-30 22:06:35 (GMT)
commit5215434bd729895cc99759998ac103c3b7c510d8 (patch)
tree6af64ad19f1e04256fe6b0ec9d3dbfaa50394fff /bin
parentd6a7c53d38dc01f1d11664485b7aeab10691542d (diff)
Fix view module case.
Diffstat (limited to 'bin')
-rw-r--r--bin/sugar-shell7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/sugar-shell b/bin/sugar-shell
index afa8b55..8f50032 100644
--- a/bin/sugar-shell
+++ b/bin/sugar-shell
@@ -37,7 +37,7 @@ dbus.glib.threads_init()
from sugar import logger
from sugar.profile import get_profile
-from jarabe.view import Shell
+from jarabe.view import shell
from jarabe.shellservice import ShellService
from jarabe.hardware import hardwaremanager
from jarabe.intro.window import IntroWindow
@@ -81,8 +81,7 @@ def _shell_started_cb():
def _software_update_cb():
'''Ask the homeview to display an alert about available software updates
'''
- shell = Shell.get_instance()
- home_box = shell.home_window.get_home_box()
+ home_box = shell.get_instance().home_window.get_home_box()
home_box.show_software_updates_alert()
def main():
@@ -148,7 +147,7 @@ def main():
break
# TODO: move initializations from the Shell constructor to a start() method
- Shell.get_instance()
+ shell.get_instance()
ShellService()
session_manager = get_session_manager()