comparison 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
comparison
equal deleted inserted replaced
979:8732c06d8aeb 980:a4a38ea9fbaa
387 WRITE_UINT(layout.dir_view_type); 387 WRITE_UINT(layout.dir_view_type);
388 WRITE_UINT(layout.file_view_type); 388 WRITE_UINT(layout.file_view_type);
389 WRITE_BOOL(layout.show_marks); 389 WRITE_BOOL(layout.show_marks);
390 WRITE_BOOL(layout.show_thumbnails); 390 WRITE_BOOL(layout.show_thumbnails);
391 WRITE_BOOL(layout.show_directory_date); 391 WRITE_BOOL(layout.show_directory_date);
392 WRITE_CHAR(layout.home_path);
392 WRITE_SEPARATOR(); 393 WRITE_SEPARATOR();
393 394
394 WRITE_BOOL(layout.save_window_positions); 395 WRITE_BOOL(layout.save_window_positions);
395 WRITE_SEPARATOR(); 396 WRITE_SEPARATOR();
396 397
771 READ_UINT(layout.dir_view_type); 772 READ_UINT(layout.dir_view_type);
772 READ_UINT(layout.file_view_type); 773 READ_UINT(layout.file_view_type);
773 READ_BOOL(layout.show_marks); 774 READ_BOOL(layout.show_marks);
774 READ_BOOL(layout.show_thumbnails); 775 READ_BOOL(layout.show_thumbnails);
775 READ_BOOL(layout.show_directory_date); 776 READ_BOOL(layout.show_directory_date);
777 READ_CHAR(layout.home_path);
776 778
777 /* window positions */ 779 /* window positions */
778 780
779 READ_BOOL(layout.save_window_positions); 781 READ_BOOL(layout.save_window_positions);
780 782