summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab-chrome.c3
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