diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-01 18:22:11 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-08-01 18:22:11 (GMT) |
commit | d22f00d89486da4d0ae79cbd7252c20e142e7a86 (patch) | |
tree | 8af2e80924be1c56057ac9e472e10065fdeced53 /shell | |
parent | a197097164a898b3e5d498d218a492dba095bebe (diff) |
Don't set a server by default outside the emulator
Diffstat (limited to 'shell')
-rw-r--r-- | shell/intro/intro.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/intro/intro.py b/shell/intro/intro.py index b760c81..ba633e3 100644 --- a/shell/intro/intro.py +++ b/shell/intro/intro.py @@ -221,7 +221,10 @@ class IntroWindow(gtk.Window): section = 'Server' if not cp.has_section(section): cp.add_section(section) - cp.set(section, 'Server', 'olpc.collabora.co.uk') + if env.is_emulator(): + cp.set(section, 'Server', 'olpc.collabora.co.uk') + else: + cp.set(section, 'Server', '') cp.set(section, 'Registered', 'False') config_path = os.path.join(env.get_profile_path(), 'config') |