diff options
-rw-r--r-- | src/find-toolbar.c | 7 |
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); +} |