summaryrefslogtreecommitdiffstats
path: root/src/io/resource.cpp
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2019-06-19 16:37:13 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2019-07-08 21:04:14 +0000
commit17187618d32ef44dfde4aa192f2d33a135c28d07 (patch)
tree5a982cb9cbc71ba6bd8b5fdf62a591adeefed93a /src/io/resource.cpp
parentAllow good render of multiples stylesheets (diff)
downloadinkscape-17187618d32ef44dfde4aa192f2d33a135c28d07.tar.gz
inkscape-17187618d32ef44dfde4aa192f2d33a135c28d07.zip
add improvements to color handling
Diffstat (limited to 'src/io/resource.cpp')
-rw-r--r--src/io/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/io/resource.cpp b/src/io/resource.cpp
index e65bfce1c..9f0f0a4ae 100644
--- a/src/io/resource.cpp
+++ b/src/io/resource.cpp
@@ -179,7 +179,7 @@ Glib::ustring get_filename(Type type, char const *filename, bool localized, bool
} else if (file_test(sys_filename, G_FILE_TEST_EXISTS)) {
result = Glib::ustring(sys_filename);
g_info("Found resource file '%s' in system directory:\n\t%s", filename, result.c_str());
- } else {
+ } else if (!silent) {
if (localized) {
g_warning("Failed to find resource file '%s'. Looked in:\n\t%s\n\t%s\n\t%s\n\t%s",
filename, user_filename_localized, user_filename, sys_filename_localized, sys_filename);