Don't set a server by default outside the emulator

This commit is contained in:
Dan Williams 2007-08-01 14:22:11 -04:00
parent a197097164
commit d22f00d894

View File

@ -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')