From 9f746af92c6f2609688fbc7b1bf88f0fa51e7a10 Mon Sep 17 00:00:00 2001 From: Santiago Collazo Date: Wed, 03 Apr 2013 00:15:13 +0000 Subject: Revert "Enable welcome activity" This reverts commit aa39c362854dabd5d998a607c625edd835f23106. --- diff --git a/bin/sugar-session b/bin/sugar-session index c011cbf..d8078a1 100755 --- a/bin/sugar-session +++ b/bin/sugar-session @@ -98,16 +98,6 @@ def cleanup_logs(logs_dir): dest_path = os.path.join(backup_dir, log) os.rename(source_path, dest_path) -def show_welcome_screen(): - path = os.path.expanduser('~/.welcome_screen') - if os.path.exists(path): - welcome_file_flag = open(path, 'r') - welcome_file_command = welcome_file_flag.read() - welcome_file_flag.close() - os.remove(path) - if subprocess.call(welcome_file_command.split()): - logging.warning('Can not display welcome screen.') - def start_ui_service(): from jarabe.view.service import UIService @@ -471,9 +461,6 @@ def main(): icons_path = os.path.join(config.data_path, 'icons') Gtk.IconTheme.get_default().append_search_path(icons_path) - # OLPC: open welcome screen if booted for the first time - show_welcome_screen() - if not intro.check_profile(): win = IntroWindow() win.connect("done", intro_window_done_cb) -- cgit v0.9.1