diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-17 13:53:43 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-17 13:53:43 (EDT) |
commit | 9da0db1d83cdfc32c140d9416c0ee10529739d0f (patch) | |
tree | 496328c9911bd5e3f3c25f3730b9c3a4304b0923 | |
parent | 37733b6c3e88ee99b97f944792e23026e524f4dc (diff) | |
download | marquee-9da0db1d83cdfc32c140d9416c0ee10529739d0f.zip marquee-9da0db1d83cdfc32c140d9416c0ee10529739d0f.tar.gz marquee-9da0db1d83cdfc32c140d9416c0ee10529739d0f.tar.bz2 |
src/tab-chrome.c: Restore URI bar style on URI change
-rw-r--r-- | src/tab-chrome.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tab-chrome.c b/src/tab-chrome.c index 1b07236..93878fd 100644 --- a/src/tab-chrome.c +++ b/src/tab-chrome.c @@ -184,6 +184,8 @@ load_changed_cb(WebKitWebView *web_view, WebKitLoadEvent load_event, case WEBKIT_LOAD_COMMITTED: gtk_entry_set_text(GTK_ENTRY(chrome->uri_entry), webkit_web_view_get_uri(web_view)); + gtk_entry_set_attributes(GTK_ENTRY(chrome->uri_entry), + NULL); break; case WEBKIT_LOAD_FINISHED: gtk_entry_set_progress_fraction( @@ -258,6 +260,7 @@ uri_cb(WebKitWebView *web_view, GParamSpec __attribute__((unused)) *paramspec, { gtk_entry_set_text(GTK_ENTRY(chrome->uri_entry), webkit_web_view_get_uri(web_view)); + gtk_entry_set_attributes(GTK_ENTRY(chrome->uri_entry), NULL); } static void |