aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/uzbl-core.c
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-09-15 23:14:52 +0000
committerGravatar Brendan Taylor <whateley@gmail.com>2011-09-17 17:04:04 +0000
commitb327b2147a28a2a81cf591875d3f4aee2aa971d4 (patch)
tree18ebadcef84b6d7ba838f1b1fc369fc63a8e459b /src/uzbl-core.c
parent65ace942fdabfd6116163a21eec7cd7bbd3cbcb1 (diff)
convert show_status to a getter
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r--src/uzbl-core.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index 8449c28..05be103 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -743,7 +743,7 @@ update_title(void) {
const gchar *title_format = b->title_format_long;
/* Update the status bar if shown */
- if (b->show_status) {
+ if (get_show_status()) {
title_format = b->title_format_short;
gchar *parsed = expand(b->status_format, 0);
@@ -1098,10 +1098,7 @@ main (int argc, char* argv[]) {
settings_init();
/* Update status bar */
- if (!uzbl.behave.show_status)
- gtk_widget_hide(uzbl.gui.status_bar);
- else
- update_title();
+ update_title();
/* WebInspector */
set_up_inspector();