diff src/rcfile.c @ 980:a4a38ea9fbaa

Add an option named layout.home_path which modifies the behavior of the Home button. By default, pressing this button goes to the user's home directory. When this option is set to a path, this path is used instead. One can change the option value through Preferences > Advanced > Navigation or directly in .geeqierc. Feature proposed by Colin Clark.
author zas_
date Fri, 22 Aug 2008 21:52:13 +0000
parents ad420f2eb789
children 6ca2c5fd7b13
line wrap: on
line diff
--- a/src/rcfile.c	Thu Aug 21 22:49:30 2008 +0000
+++ b/src/rcfile.c	Fri Aug 22 21:52:13 2008 +0000
@@ -389,6 +389,7 @@
 	WRITE_BOOL(layout.show_marks);
 	WRITE_BOOL(layout.show_thumbnails);
 	WRITE_BOOL(layout.show_directory_date);
+	WRITE_CHAR(layout.home_path);
 	WRITE_SEPARATOR();
 
 	WRITE_BOOL(layout.save_window_positions);
@@ -773,6 +774,7 @@
 		READ_BOOL(layout.show_marks);
 		READ_BOOL(layout.show_thumbnails);
 		READ_BOOL(layout.show_directory_date);
+		READ_CHAR(layout.home_path);
 
 		/* window positions */