about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-06-01 17:25:36 -0400
committerJosh Rickmar <jrick@devio.us>2012-06-01 17:25:36 -0400
commit1e2c5ad606b967ebff3f1f81c7e49b48520c8f6a (patch)
treedbac155c9f618588d09f493c8101505fce76fe6b /xombrero.c
parent861831aad1d1114be754d027683a46bf20e5b664 (diff)
downloadxombrero-1e2c5ad606b967ebff3f1f81c7e49b48520c8f6a.tar.gz
Make all runtime settings unsettable by using the ':set setting ='
command.  This will reset the value to its default.
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/xombrero.c b/xombrero.c
index 0c7840b..4a34938 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -7877,17 +7877,17 @@ main(int argc, char **argv)
 	buffercmd_init();
 
 	/* set default string settings */
-	home = g_strdup("https://www.cyphertite.com");
-	search_string = g_strdup("about:search");
+	home = g_strdup(XT_DS_HOME);
+	search_string = g_strdup(XT_DS_SEARCH_STRING);
 	resource_dir = g_strdup("/usr/local/share/xombrero/");
 	strlcpy(runtime_settings, "runtime", sizeof runtime_settings);
-	cmd_font_name = g_strdup("monospace normal 9");
-	oops_font_name = g_strdup("monospace normal 9");
-	statusbar_font_name = g_strdup("monospace normal 9");
-	tabbar_font_name = g_strdup("monospace normal 9");
+	cmd_font_name = g_strdup(XT_DS_CMD_FONT_NAME);
+	oops_font_name = g_strdup(XT_DS_OOPS_FONT_NAME);
+	statusbar_font_name = g_strdup(XT_DS_STATUSBAR_FONT_NAME);
+	tabbar_font_name = g_strdup(XT_DS_TABBAR_FONT_NAME);
 	statusbar_elems = g_strdup("BP");
-	spell_check_languages = g_strdup("en_US");
-	encoding = g_strdup("UTF-8");
+	spell_check_languages = g_strdup(XT_DS_SPELL_CHECK_LANGUAGES);
+	encoding = g_strdup(XT_DS_ENCODING);
 
 	/* read config file */
 	if (strlen(conf) == 0)