summaryrefslogtreecommitdiff
path: root/desktop/searchweb.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/searchweb.c')
-rw-r--r--desktop/searchweb.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/desktop/searchweb.c b/desktop/searchweb.c
index c07cac9d5..fed6f3e75 100644
--- a/desktop/searchweb.c
+++ b/desktop/searchweb.c
@@ -307,6 +307,16 @@ search_web_ico_callback(hlcache_handle *ico,
provider->ico_handle = NULL;
break;
+ case CONTENT_MSG_QUERY:
+ /** \todo QUERY - Decide what is right here */
+ /* For now, the only safe decision is to cancel the fetch */
+ event->data.query_msg->cb(false, event->data.query_msg->cb_pw);
+ return NSERROR_OK;
+
+ case CONTENT_MSG_QUERY_FINISHED:
+ /** \todo QUERY - Decide what is right here */
+ return NSERROR_OK;
+
default:
break;
}
@@ -467,6 +477,16 @@ default_ico_callback(hlcache_handle *ico,
ctx->default_ico_handle = NULL;
break;
+ case CONTENT_MSG_QUERY:
+ /** \todo QUERY - Decide what is right here */
+ /* For now, the only safe decision is to cancel the fetch */
+ event->data.query_msg->cb(false, event->data.query_msg->cb_pw);
+ return NSERROR_OK;
+
+ case CONTENT_MSG_QUERY_FINISHED:
+ /** \todo QUERY - Decide what is right here */
+ return NSERROR_OK;
+
default:
break;
}