about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
authorTodd T. Fries <todd@fries.net>2012-06-13 12:02:07 -0500
committerTodd T. Fries <todd@fries.net>2012-06-13 14:43:23 -0500
commit5054b4c5b3465b6cc00cf8be9674d88d771cf869 (patch)
tree6c275da6fa700b9d712d0cbf1b171972fdec7488 /xombrero.c
parentfdc609f8700f63d50a90f80e609d176e6c31d462 (diff)
downloadxombrero-5054b4c5b3465b6cc00cf8be9674d88d771cf869.tar.gz
show url fixes
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xombrero.c b/xombrero.c
index 5d8dca6..324dd82 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -4330,11 +4330,12 @@ webview_load_finished_cb(WebKitWebView *wv, WebKitWebFrame *wf, struct tab *t)
 void
 webview_progress_changed_cb(WebKitWebView *wv, int progress, struct tab *t)
 {
-	gtk_entry_set_progress_fraction(GTK_ENTRY(t->uri_entry),
-	    progress == 100 ? 0 : (double)progress / 100);
 	if (show_url == 0) {
 		gtk_entry_set_progress_fraction(GTK_ENTRY(t->sbe.statusbar),
 		    progress == 100 ? 0 : (double)progress / 100);
+	} else {
+		gtk_entry_set_progress_fraction(GTK_ENTRY(t->uri_entry),
+		    progress == 100 ? 0 : (double)progress / 100);
 	}
 
 	update_statusbar_position(NULL, NULL);
@@ -7099,9 +7100,8 @@ create_new_tab(char *title, struct undo *u, int focus, int position)
 		    0);
 	} else {
 		t->toolbar = create_toolbar(t);
-		if (show_url)
-			gtk_box_pack_start(GTK_BOX(t->vbox), t->toolbar, FALSE,
-			    FALSE, 0);
+		gtk_box_pack_start(GTK_BOX(t->vbox), t->toolbar, FALSE, FALSE,
+		    0);
 	}
 
 	/* marks */