Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/sugar-shell
diff options
context:
space:
mode:
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