summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2009-02-26 02:52:45 +0000
committertweenk <tweenk@users.sourceforge.net>2009-02-26 02:52:45 +0000
commit014dfe3aedbc0909f354068d2966f630f512a0e5 (patch)
treefd03a7ab222577b6a447f33480e4691d660b7e1a /src/main.cpp
parentadd #include <gtk/gtk.h> to fix defect #333767 (diff)
downloadinkscape-014dfe3aedbc0909f354068d2966f630f512a0e5.tar.gz
inkscape-014dfe3aedbc0909f354068d2966f630f512a0e5.zip
Several icon name fixes
(bzr r7373)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9da8c3048..bfee432ba 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -836,7 +836,10 @@ sp_main_gui(int argc, char const **argv)
g_return_val_if_fail(retVal == 0, 1);
// Add our icon directory to the search path for icon theme lookups.
+ gchar *usericondir = 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);
+ g_free(usericondir);
gdk_event_handler_set((GdkEventFunc)snooper, NULL, NULL);
Inkscape::Debug::log_display_config();