summaryrefslogtreecommitdiff
path: root/src/yelp-search-pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/yelp-search-pager.c')
-rw-r--r--src/yelp-search-pager.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/yelp-search-pager.c b/src/yelp-search-pager.c
index 2d56fd0c..1c7e0dec 100644
--- a/src/yelp-search-pager.c
+++ b/src/yelp-search-pager.c
@@ -1449,6 +1449,15 @@ slow_search_setup (YelpSearchPager *pager)
else
lang = "C";
+ if (!strcmp (pager->priv->search_terms, "")) {
+ pager->priv->slow_search_setup_process_id = 0;
+ priv->xslt_process_id =
+ g_idle_add_full (G_PRIORITY_LOW,
+ (GSourceFunc) process_xslt,
+ pager, NULL);
+ return FALSE;
+ }
+
command = g_strconcat("scrollkeeper-get-content-list ", lang, NULL);
if (g_spawn_command_line_sync (command, &content_list, &stderr_str, NULL, NULL)) {