[Sugar-devel] [PATCH sugar] Tell gconf to sync after the intro screen.
Sascha Silbe
sascha-pgp at silbe.org
Mon Jan 17 15:58:05 EST 2011
From: Michael Stone <michael at laptop.org>
This way, we don't have to repeat the intro screen if we die soon after it
ends, e.g., because of SIGINT.
Reviewed-By: Sascha Silbe <sascha-pgp at silbe.org>
---
src/jarabe/intro/window.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/jarabe/intro/window.py b/src/jarabe/intro/window.py
index ad6e9be..a18a0d2 100644
--- a/src/jarabe/intro/window.py
+++ b/src/jarabe/intro/window.py
@@ -50,6 +50,7 @@ def create_profile(name, color=None, pixbuf=None):
client = gconf.client_get_default()
client.set_string('/desktop/sugar/user/nick', name)
client.set_string('/desktop/sugar/user/color', color.to_string())
+ client.suggest_sync()
# Generate keypair
import commands
--
1.7.2.3
More information about the Sugar-devel
mailing list