[Sugar-devel] [PATCH sugar 10/20] Setup icon theme in set_theme
Daniel Narvaez
dwnarvaez at gmail.com
Mon Dec 10 14:11:36 EST 2012
From: Daniel Narvaez <dwnarvaez at gmail.com>
---
src/jarabe/main.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/jarabe/main.py b/src/jarabe/main.py
index 71127b1..55c6b8c 100755
--- a/src/jarabe/main.py
+++ b/src/jarabe/main.py
@@ -148,6 +148,9 @@ def set_theme():
settings.set_property('gtk-theme-name', sugar_theme)
settings.set_property('gtk-icon-theme-name', 'sugar')
+ icons_path = os.path.join(config.data_path, 'icons')
+ Gtk.IconTheme.get_default().append_search_path(icons_path)
+
def start_home():
ui_service = UIService()
@@ -223,9 +226,6 @@ def main():
sys.path.append(config.ext_path)
- icons_path = os.path.join(config.data_path, 'icons')
- Gtk.IconTheme.get_default().append_search_path(icons_path)
-
if not intro.check_profile():
win = IntroWindow()
win.connect("done", intro_window_done_cb)
--
1.7.10.4
More information about the Sugar-devel
mailing list