Package: goldendict / 1.5.0~git20131003-1

wordnet-dict-paths Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/config.cc b/config.cc
index 77cfddf..a600c46 100644
--- a/config.cc
+++ b/config.cc
@@ -307,6 +307,9 @@ Class load() throw( exError )
 
     if ( QDir( "/usr/share/dictd" ).exists() )
       c.paths.push_back( Path( "/usr/share/dictd", true ) );
+    
+    if ( QDir( "/usr/share/goldendict-wordnet" ).exists() )
+      c.paths.push_back( Path( "/usr/share/goldendict-wordnet", true ) );
 
     if ( QDir( "/usr/share/opendict/dictionaries" ).exists() )
       c.paths.push_back( Path( "/usr/share/opendict/dictionaries", true ) );