[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/doctreeview
From:       Amilcar do Carmo Lucas <amilcar () ida ! ing ! tu-bs ! de>
Date:       2003-07-07 13:34:23
[Download RAW message or body]

CVS commit by aclu: 

On SuSE 8.2, and the full text search fails complaining it can't find the results.html file.
Gideon looks up the htsearch executable (parts/doctreeview/docsearch.cpp) in 
khelpcenterrc, but SuSE has entries for a wrapper script for the SuSEHelpcenter search here.

This patch makes Gideon look in kdevdoctreeviewrc for the htdig executables. 
Patch by: Charles Thorpe <cthorp at globalnet.co.uk>


  M +2 -2      docsearchdlg.cpp   1.14


--- kdevelop/parts/doctreeview/docsearchdlg.cpp  #1.13:1.14
@@ -100,7 +100,7 @@ void qt_leave_modal( QWidget *widget );
 bool DocSearchDialog::performSearch()
 {
-    KConfig config("khelpcenterrc", true);
+    KConfig config("kdevdoctreeviewrc", true);
     config.setGroup("htdig");
-    QString exe = config.readPathEntry("htsearch", kapp->dirs()->findExe("htsearch"));
+    QString exe = config.readPathEntry("htsearchbin", kapp->dirs()->findExe("htsearch"));
     if (exe.isEmpty()) {
         // Check for htsearch in /usr/lib/cgi-bin (for Debian systems)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic