summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 01:53:40 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 01:53:40 (EDT)
commit200328e264b78c06a0ac28ad1b1b8fa1d27dac13 (patch)
treeb3bab039dd47d5ae4ec41856f32fcb094e04ba5e
parent124c9d7299edfbbdd8b0fee0a25619908d293506 (diff)
downloadmarquee-200328e264b78c06a0ac28ad1b1b8fa1d27dac13.zip
marquee-200328e264b78c06a0ac28ad1b1b8fa1d27dac13.tar.gz
marquee-200328e264b78c06a0ac28ad1b1b8fa1d27dac13.tar.bz2
MqWebView: Rewrite URI from primary clipboard
Allow URIs like "about:" and "about:preferences" to be loaded on middle click.
-rw-r--r--src/web-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web-view.c b/src/web-view.c
index f87a845..470be1e 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -507,7 +507,7 @@ static void
clipboard_text_recv_cb(GtkClipboard G_GNUC_UNUSED *clipboard,
const gchar *text, MqWebView *web_view)
{
- webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), text);
+ mq_web_view_load_uri(web_view, text);
}
/* This callback is a hack to determine on middle mouse click whether to open a