about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
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 */
acker?id=45a26b111f8bdfe9fb534368eb29bb8963353d8a'>45a26b11 ^
e3b66089 ^
45a26b11 ^
e3b66089 ^
9db02541 ^



e3b66089 ^





9db02541 ^




e3b66089 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47