Switch to unified view

a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp
...
...
158
    if (prefs.queryStemLang == qlang) {
158
    if (prefs.queryStemLang == qlang) {
159
        curid = id;
159
        curid = id;
160
    }
160
    }
161
    }
161
    }
162
    preferencesMenu->setItemChecked(curid, true);
162
    preferencesMenu->setItemChecked(curid, true);
163
164
    setHelpIndex("RCL.SEARCH.SIMPLE");
163
165
164
    // Document categories buttons
166
    // Document categories buttons
165
    catgBGRP->setColumnLayout(1, Qt::Vertical);
167
    catgBGRP->setColumnLayout(1, Qt::Vertical);
166
    list<string> cats;
168
    list<string> cats;
167
    rclconfig->getMimeCategories(cats);
169
    rclconfig->getMimeCategories(cats);
...
...
975
    }
977
    }
976
    if (!istempfile)
978
    if (!istempfile)
977
    g_dynconf->enterDoc(fn, doc.ipath);
979
    g_dynconf->enterDoc(fn, doc.ipath);
978
    // We should actually monitor these processes so that we can
980
    // We should actually monitor these processes so that we can
979
    // delete the temp files when they exit
981
    // delete the temp files when they exit
982
    LOGDEB(("Executing: [%s]\n", ncmd.c_str()));
980
    system(ncmd.c_str());
983
    system(ncmd.c_str());
981
}
984
}
982
985
983
void RclMain::startManual()
986
void RclMain::startManual()
984
{
987
{
...
...
987
    Rcl::Doc doc;
990
    Rcl::Doc doc;
988
    doc.url = "file://";
991
    doc.url = "file://";
989
    doc.url = path_cat(doc.url, rclconfig->getDatadir());
992
    doc.url = path_cat(doc.url, rclconfig->getDatadir());
990
    doc.url = path_cat(doc.url, "doc");
993
    doc.url = path_cat(doc.url, "doc");
991
    doc.url = path_cat(doc.url, "usermanual.html");
994
    doc.url = path_cat(doc.url, "usermanual.html");
995
    LOGDEB(("RclMain::startManual: help index is %s\n", 
996
      g_helpIndex?g_helpIndex:"(null)"));
997
    if (g_helpIndex && *g_helpIndex) {
998
  doc.url += "#";
999
  doc.url += g_helpIndex;
1000
    }
992
    doc.mimetype = "text/html";
1001
    doc.mimetype = "text/html";
993
    startNativeViewer(doc);
1002
    startNativeViewer(doc);
994
}
1003
}
995
1004
996
// Search for document 'like' the selected one. We ask rcldb/xapian to find
1005
// Search for document 'like' the selected one. We ask rcldb/xapian to find