summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-07-24 17:28:19 +0000
committerJabiertxo Arraiza Cenoz <jtx@jtx.markerlab.es>2018-07-24 17:28:19 +0000
commit2984959869ff341299e12f6b2ada2aba49fef2e4 (patch)
tree1a0af64b915b7952f270c4e1f464913722c90085 /src/ui
parentToggle symbolic icons staff depending the theme has it or not (diff)
downloadinkscape-2984959869ff341299e12f6b2ada2aba49fef2e4.tar.gz
inkscape-2984959869ff341299e12f6b2ada2aba49fef2e4.zip
Add themes inkscape folder abailable by the app
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 0a040f87d..bc940bbe2 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -624,8 +624,11 @@ void InkscapePreferences::symbolicThemeCheck()
folder.erase(0, last_slash_idx + 1);
}
if (folder == prefs->getString("/theme/iconTheme")) {
- //TODO: check this on WIN
- path += "/scalable/actions";
+#ifdef WIN32
+ path += g_win32_locale_filename_from_utf8("/scalable/actions");
+#else
+ path += "/scalable/actions";
+#endif
Glib::ustring ret = Glib::build_filename(path, "3dbox_four_handles-symbolic.svg");
if (Glib::file_test(ret, Glib::FILE_TEST_EXISTS)) {
symbolic = true;