summaryrefslogtreecommitdiff
path: root/frontends/gtk/cookies.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/gtk/cookies.c')
-rw-r--r--frontends/gtk/cookies.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/gtk/cookies.c b/frontends/gtk/cookies.c
index d787e35fb..0df9719cb 100644
--- a/frontends/gtk/cookies.c
+++ b/frontends/gtk/cookies.c
@@ -309,13 +309,14 @@ static nserror nsgtk_cookies_init(void)
/* exported function documented gtk/cookies.h */
-nserror nsgtk_cookies_present(void)
+nserror nsgtk_cookies_present(const char *search_term)
{
nserror res;
res = nsgtk_cookies_init();
if (res == NSERROR_OK) {
gtk_window_present(cookie_window->wnd);
+ res = cookie_manager_set_search_string(search_term);
}
return res;
}