summaryrefslogtreecommitdiffstats
path: root/src/toolbars/navigation/uri-entry.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-14 23:09:33 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-14 23:09:33 (EST)
commit0da420729ff5249c31de1744f216b40395db0e67 (patch)
tree0833724b828f825e1e378d92a1a44eddbd1cf4b0 /src/toolbars/navigation/uri-entry.c
parent3099827d2d89cb009bd19c1836c35b98cbafc278 (diff)
downloadmarquee-0da420729ff5249c31de1744f216b40395db0e67.zip
marquee-0da420729ff5249c31de1744f216b40395db0e67.tar.gz
marquee-0da420729ff5249c31de1744f216b40395db0e67.tar.bz2
mq_uri_entry_grab_focus(): New function
Diffstat (limited to 'src/toolbars/navigation/uri-entry.c')
-rw-r--r--src/toolbars/navigation/uri-entry.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/toolbars/navigation/uri-entry.c b/src/toolbars/navigation/uri-entry.c
index 2a76f7c..0781596 100644
--- a/src/toolbars/navigation/uri-entry.c
+++ b/src/toolbars/navigation/uri-entry.c
@@ -309,3 +309,9 @@ mq_uri_entry_new(MqWebView *web_view, const gchar *uri)
"uri", uri,
NULL);
}
+
+void
+mq_uri_entry_grab_focus(MqUriEntry *uri_entry)
+{
+ gtk_widget_grab_focus(uri_entry->uri_entry);
+}