Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/sugar-shell
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-02-25 22:53:10 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-02-25 22:53:10 (GMT)
commit1f91f7f7afd34143721ac66936546e4444950369 (patch)
tree118bd73930190a901beed3809e31a73a2550bf28 /shell/sugar-shell
parent32a92a8c11631c0b5117fcbaa2c2b73ded11a8b3 (diff)
New intro/setup screen
Diffstat (limited to 'shell/sugar-shell')
-rwxr-xr-xshell/sugar-shell12
1 files changed, 7 insertions, 5 deletions
diff --git a/shell/sugar-shell b/shell/sugar-shell
index 5b85da1..9632ced 100755
--- a/shell/sugar-shell
+++ b/shell/sugar-shell
@@ -38,15 +38,17 @@ logger.start('shell')
if len(sys.argv) == 1:
sys.path.insert(0, os.path.join(env.get_data_dir(), 'shell'))
-from view.FirstTimeDialog import FirstTimeDialog
from view.Shell import Shell
from model.ShellModel import ShellModel
from shellservice import ShellService
+from intro import intro
-name = profile.get_nick_name()
-if not name or not len(name):
- dialog = FirstTimeDialog()
- dialog.run()
+# Do initial setup if needed
+key = profile.get_pubkey()
+if not key or not len(key):
+ win = intro.IntroWindow()
+ win.show_all()
+ gtk.main()
profile.update()
# Save our DBus Session Bus address somewhere it can be found