diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-31 01:48:01 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-31 01:48:01 (EDT) |
commit | ca654cfbc868c990c2d31af3da98ceaa28ab252f (patch) | |
tree | 669857620e75629c0efa027c2ed7c10ae67363f4 /src | |
parent | 73759d75da834dada7b4748cdccd85a81d9fc495 (diff) | |
download | marquee-ca654cfbc868c990c2d31af3da98ceaa28ab252f.zip marquee-ca654cfbc868c990c2d31af3da98ceaa28ab252f.tar.gz marquee-ca654cfbc868c990c2d31af3da98ceaa28ab252f.tar.bz2 |
mq_web_view_view_source_scheme_methods.rewrite_uri(): Add "uri" parameter to URI
Diffstat (limited to 'src')
-rw-r--r-- | src/web-view-schemes/view-source.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c index 40fc496..b95af22 100644 --- a/src/web-view-schemes/view-source.c +++ b/src/web-view-schemes/view-source.c @@ -68,8 +68,8 @@ rewrite_uri(MqWebView G_GNUC_UNUSED *web_view, MqWebViewScheme *scheme, { /* TODO: Handle reloads and missing origin tab IDs (i.e. user loaded * "view-source:URI"). */ - return g_strdup_printf("view-source:origin-tab=%" PRId64, - scheme->view_source.origin_tab_id); + return g_strdup_printf("view-source:origin-tab=%" PRId64 "&uri=%s", + scheme->view_source.origin_tab_id, scheme->view_source.uri); } static gchar * |