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 18:27:35 -0400
committerJosh Rickmar <jrick@devio.us>2012-06-01 18:27:35 -0400
commit50031ae7b9de66a0fcbf178e5d3f4d33c4a9c068 (patch)
tree17c721fa5d68bb6e2bdc255c03fe752e3ca604aa /xombrero.c
parent29e1c7496a0f6b7812e083aac8da186932fc8daf (diff)
downloadxombrero-50031ae7b9de66a0fcbf178e5d3f4d33c4a9c068.tar.gz
Replace the home directory in the about:about page with the path to
the config file, and make the last part of the path an link to spawn
external_editor to edit the configuration.
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xombrero.c b/xombrero.c
index 2164f7d..030ce49 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -88,7 +88,6 @@ TAILQ_HEAD(command_list, command_entry);
 #define XT_JS_DIR		("js")
 #define XT_SESSIONS_DIR		("sessions")
 #define XT_TEMP_DIR		("tmp")
-#define XT_CONF_FILE		("xombrero.conf")
 #define XT_QMARKS_FILE		("quickmarks")
 #define XT_SAVED_TABS_FILE	("main_session")
 #define XT_RESTART_TABS_FILE	("restart_tabs")
@@ -3134,9 +3133,9 @@ struct cmd {
 	{ "w",			0,	save_tabs,		0,			0 },
 	{ "wq",			0,	save_tabs_and_quit,	0,			0 },
 	{ "help",		0,	help,			0,			0 },
-	{ "about",		0,	about,			0,			0 },
+	{ "about",		0,	xtp_page_ab,		0,			0 },
 	{ "stats",		0,	stats,			0,			0 },
-	{ "version",		0,	about,			0,			0 },
+	{ "version",		0,	xtp_page_ab,		0,			0 },
 
 	/* js command */
 	{ "js",			0,	js_cmd,			XT_SHOW | XT_WL_PERSISTENT | XT_WL_SESSION,	0 },