summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRaphael Rosch <launchpad@insaner.com>2015-11-20 17:34:03 +0000
committerinsaner <launchpad@insaner.com>2015-11-20 17:34:03 +0000
commit9211d88591d6bbb00a803237cf5c6fa2860e5a96 (patch)
treeef60cbbd9a8860fda6dc1432045d968b2bd82d90 /src/main.cpp
parentfix for bug 1517740 (crash in some cases in selection sets) (diff)
downloadinkscape-9211d88591d6bbb00a803237cf5c6fa2860e5a96.tar.gz
inkscape-9211d88591d6bbb00a803237cf5c6fa2860e5a96.zip
window/task bar icon missing when installed in non-standard location
Fixed bugs: - https://launchpad.net/bugs/1516238 (bzr r14479)
Diffstat (limited to '')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5393ddc6f..840643a90 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1045,6 +1045,10 @@ sp_main_gui(int argc, char const **argv)
gchar *usericondir = Inkscape::Application::profile_path("icons");
gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(), usericondir);
gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(), INKSCAPE_PIXMAPDIR);
+#ifdef INKSCAPE_THEMEDIR
+ gtk_icon_theme_append_search_path(gtk_icon_theme_get_default(), INKSCAPE_THEMEDIR);
+ gtk_icon_theme_rescan_if_needed (gtk_icon_theme_get_default());
+#endif
g_free(usericondir);
gdk_event_handler_set((GdkEventFunc)snooper, NULL, NULL);