From 2984959869ff341299e12f6b2ada2aba49fef2e4 Mon Sep 17 00:00:00 2001 From: Jabiertxo Arraiza Cenoz Date: Tue, 24 Jul 2018 19:28:19 +0200 Subject: Add themes inkscape folder abailable by the app --- src/ui/dialog/inkscape-preferences.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/ui') 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; -- cgit v1.2.3