Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/sugar-shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-07-30 13:34:02 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-07-30 13:34:02 (GMT)
commite2beb5b566bbe81d29bdb0fd39122334706092ca (patch)
treef45d53dca1712570f00cae519d87cbf21d902a8f /shell/sugar-shell
parent72857326d28917131604837ca7e1201d320be606 (diff)
Start intro if config is absent or corrupted.
Cleanups.
Diffstat (limited to 'shell/sugar-shell')
-rwxr-xr-xshell/sugar-shell3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/sugar-shell b/shell/sugar-shell
index 8bd3dd0..8d9fd2f 100755
--- a/shell/sugar-shell
+++ b/shell/sugar-shell
@@ -74,8 +74,7 @@ _start_matchbox()
_setup_translations()
# Do initial setup if needed
-key = profile.get_pubkey()
-if not key or not len(key):
+if not profile.is_valid():
win = intro.IntroWindow()
win.show_all()
gtk.main()