[the-board] [ui] Set gtk icon theme path in main.js



commit d58fccc108c8c76949aa447453da493194208099
Author: Lucas Rocha <lucasr gnome org>
Date:   Sat Nov 13 23:46:42 2010 +0000

    [ui] Set gtk icon theme path in main.js

 src/js/ui/main.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/js/ui/main.js b/src/js/ui/main.js
index 7edf679..7d783a5 100644
--- a/src/js/ui/main.js
+++ b/src/js/ui/main.js
@@ -18,6 +18,9 @@ function onActivate(application) {
     let mxIcontheme = Mx.IconTheme.get_default();
     mxIcontheme.set_search_paths([Path.ICONS_DIR]);
 
+    let gtkIcontheme = Gtk.IconTheme.get_default();
+    gtkIcontheme.append_search_path(Path.ICONS_DIR);
+
     let style = Mx.Style.get_default();
     style.load_from_file(Path.STYLE_DIR + "style.css");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]