aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Barrucadu <mike@barrucadu.co.uk>2009-04-26 14:48:26 +0100
committerGravatar Barrucadu <mike@barrucadu.co.uk>2009-04-26 14:48:26 +0100
commitb749b7b6e4042c935ed35e6805dc738ddfe0f450 (patch)
treeb6040f69c64479f6e1790c36f111bc6a0f1513a8 /uzbl.c
parente0b702fb695c43ff324eec28e79f96af602f49aa (diff)
Added show_status variable to settings_init()
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/uzbl.c b/uzbl.c
index c22a5fc..35f21cd 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -54,6 +54,7 @@ static gchar* history_file = NULL;
static gchar* fifodir = NULL;
static gchar* download_handler = NULL;
static gboolean always_insert_mode = FALSE;
+static gboolean show_status = FALSE;
static gboolean insert_mode = FALSE;
static gchar* modkey = NULL;
@@ -407,6 +408,9 @@ settings_init () {
always_insert_mode = g_key_file_get_boolean (config, "behavior", "always_insert_mode", NULL);
printf ("Always insert mode: %s\n", (always_insert_mode ? "TRUE" : "FALSE"));
+ show_status = g_key_file_get_boolean (config, "behavior", "show_status", NULL);
+ printf ("Show status: %s\n", (show_status ? "TRUE" : "FALSE"));
+
modkey = g_key_file_get_value (config, "behavior", "modkey", NULL);
if (modkey) {
printf ("Mod key: %s\n", modkey);