summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-12 14:22:18 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-12 14:22:18 (EDT)
commitc7fb0dbb261a23cb5b14fb96ea7c96b8ff5b4676 (patch)
tree0c2e7b8607d4d6a26aedb26087655c2c3ce54325
parent51e56dfbbf8ae665adfddcf28423256aff0c917c (diff)
downloadmarquee-c7fb0dbb261a23cb5b14fb96ea7c96b8ff5b4676.zip
marquee-c7fb0dbb261a23cb5b14fb96ea7c96b8ff5b4676.tar.gz
marquee-c7fb0dbb261a23cb5b14fb96ea7c96b8ff5b4676.tar.bz2
mq_find_toolbar_reveal(): Define new function
Already declared in src/find-toolbar.h.
-rw-r--r--src/find-toolbar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/find-toolbar.c b/src/find-toolbar.c
index d61fc8e..3a2daad 100644
--- a/src/find-toolbar.c
+++ b/src/find-toolbar.c
@@ -287,3 +287,10 @@ mq_find_toolbar_new(MqWebView *web_view)
"web-view", web_view,
NULL));
}
+
+void
+mq_find_toolbar_reveal(MqFindToolbar *find_toolbar)
+{
+ gtk_revealer_set_reveal_child(GTK_REVEALER(find_toolbar), TRUE);
+ gtk_widget_grab_focus(find_toolbar->search_entry);
+}