r17620 by craig - #9940: Add /Users/craig/.local/share/color/icc to ICC profile locations

scribus-commit scribus-commit at lists.scribus.net
Sun Jun 24 13:39:39 UTC 2012


Author: craig
Date: Sun Jun 24 13:39:39 2012
New Revision: 17620

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17620
Log:
#9940: Add /Users/craig/.local/share/color/icc to ICC profile locations

Modified:
    trunk/Scribus/scribus/scpaths.cpp
    trunk/Scribus/scribus/ui/prefs_paths.cpp

Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17620&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp (original)
+++ trunk/Scribus/scribus/scpaths.cpp Sun Jun 24 13:39:39 2012
@@ -312,6 +312,7 @@
 #elif defined(Q_WS_X11)
 	iccProfDirs.append(QDir::homePath()+"/color/icc/");
 	iccProfDirs.append(QDir::homePath()+"/.color/icc/");
+	iccProfDirs.append(QDir::homePath()+"/.local/share/color/icc/");
 	iccProfDirs.append("/usr/share/color/icc/");
 	iccProfDirs.append("/usr/local/share/color/icc/");
 #elif defined(_WIN32)

Modified: trunk/Scribus/scribus/ui/prefs_paths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17620&path=/trunk/Scribus/scribus/ui/prefs_paths.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/prefs_paths.cpp (original)
+++ trunk/Scribus/scribus/ui/prefs_paths.cpp Sun Jun 24 13:39:39 2012
@@ -31,7 +31,7 @@
 void Prefs_Paths::languageChange()
 {
 	docDirLineEdit->setToolTip( "<qt>" + tr( "Default documents directory" ) + "</qt>" );
-	profileDirLineEdit->setToolTip( "<qt>" + tr( "Default ICC profiles directory. This cannot be changed with a document open. By default, Scribus will look in the System Directories under Mac OSX and Windows. On Linux and Unix, Scribus will search $home/.color/icc,/usr/share/color/icc and /usr/local/share/color/icc " ) + "</qt>" );
+	profileDirLineEdit->setToolTip( "<qt>" + tr( "Default ICC profiles directory. This cannot be changed with a document open. By default, Scribus will look in the System Directories under Mac OSX and Windows. On Linux and Unix, Scribus will search $home/.color/icc, $home/.local/share/color/icc, /usr/share/color/icc and /usr/local/share/color/icc" ) + "</qt>" );
 	scriptDirLineEdit->setToolTip( "<qt>" + tr( "Default Scripter scripts directory" ) + "</qt>" );
 	templateDirLineEdit->setToolTip( "<qt>"+ tr("Additional directory for document templates")+"</qt>" );
 }




More information about the scribus-commit mailing list