r21077 by craig -

scribus-commit scribus-commit at lists.scribus.net
Fri Mar 11 22:48:55 UTC 2016


Author: craig
Date: Fri Mar 11 22:48:55 2016
New Revision: 21077

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21077
Log:
Add usr share hyphen path to hyph dicts paths on linux

Modified:
    trunk/Scribus/scribus/scpaths.cpp

Modified: trunk/Scribus/scribus/scpaths.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21077&path=/trunk/Scribus/scribus/scpaths.cpp
==============================================================================
--- trunk/Scribus/scribus/scpaths.cpp	(original)
+++ trunk/Scribus/scribus/scpaths.cpp	Fri Mar 11 22:48:55 2016
@@ -323,6 +323,7 @@
 	QString linuxLocalPath("/usr/local/share/hunspell/");
 	QString linuxHunspellPath("/usr/share/hunspell/");
 	QString linuxMyspellPath("/usr/share/myspell/");
+	QString linuxHyphen1Path("/usr/share/hyphen/");
 	QString windowsLOPath("LibreOffice 3.5/share/extensions");
 	QDir d;
 	QStringList hyphDirs;
@@ -366,6 +367,9 @@
 			hyphDirs.append(progFiles+windowsLOPath + "/" + dir + "/");
 	}
 #elif defined(Q_OS_LINUX)
+	d.setPath(linuxHyhpen1Path);
+	if (d.exists())
+		hyphDirs.append(linuxHyphen1Path);
 	d.setPath(linuxHunspellPath);
 	if (d.exists())
 		hyphDirs.append(linuxHunspellPath);




More information about the scribus-commit mailing list