diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-10 17:21:52 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@laptop.org> | 2013-01-22 09:30:28 (GMT) |
commit | a0603257fde1f0facdf0141d07c9d6ef6d2b89b4 (patch) | |
tree | 1138f866ba8b353d86510f741285f691e8f16e8d | |
parent | 18f4c36a593f54df9efc404b0520dcce6713ca1f (diff) |
Setup icon theme in set_theme
Acked-by: Simon Schampijer <simon@laptop.org>
-rwxr-xr-x | src/jarabe/main.py | 6 |
1 files 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) |