From: Jon A. Cruz Date: Thu, 31 Dec 2009 10:04:42 +0000 (-0800) Subject: Document properties now treats lcms file load failures as non-fatal. Fixes bug #501782 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=61e20c7364b3506cfc4a54c78c8044b1d957230a;p=inkscape.git Document properties now treats lcms file load failures as non-fatal. Fixes bug #501782 --- diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index 982fb3415..a7241ea40 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -353,6 +353,7 @@ DocumentProperties::populate_available_profiles(){ while ((filename = (gchar *)g_dir_read_name(directory)) != NULL) { gchar* full = g_build_filename(it->c_str(), filename, NULL); if ( !Inkscape::IO::file_test( full, G_FILE_TEST_IS_DIR ) ) { + cmsErrorAction( LCMS_ERROR_SHOW ); cmsHPROFILE hProfile = cmsOpenProfileFromFile(full, "r"); if (hProfile != NULL){ const gchar* name;