Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar3/graphics/xocolor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sugar3/graphics/xocolor.py')
-rw-r--r--src/sugar3/graphics/xocolor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sugar3/graphics/xocolor.py b/src/sugar3/graphics/xocolor.py
index 395e345..c9af6b1 100644
--- a/src/sugar3/graphics/xocolor.py
+++ b/src/sugar3/graphics/xocolor.py
@@ -22,7 +22,7 @@ STABLE.
import random
import logging
-import gconf
+from gi.repository import GConf
colors = [
['#B20008', '#FF2B34'], \
@@ -237,7 +237,7 @@ class XoColor:
elif not is_valid(color_string):
logging.debug('Color string is not valid: %s, '
'fallback to default', color_string)
- client = gconf.client_get_default()
+ client = GConf.Client.get_default()
color_string = client.get_string('/desktop/sugar/user/color')
randomize = False
else: