From 5054b4c5b3465b6cc00cf8be9674d88d771cf869 Mon Sep 17 00:00:00 2001 From: "Todd T. Fries" Date: Wed, 13 Jun 2012 12:02:07 -0500 Subject: show url fixes --- xombrero.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'xombrero.c') 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 */ -- cgit 1.4.1-2-gfad0