Mercurial > geeqie
diff src/rcfile.c @ 684:9f00d0d874fa
Save order of Properties dialog tabs to rc file.
Users of GTK+ <2.10 can set tabs order directly in the rc file,
others can move tabs using drag'n drop.
The option is named properties.tabs_order, its default value
is "123" which is General, Keywords, Exif tabs (left to right).
| author | zas_ |
|---|---|
| date | Sun, 18 May 2008 21:14:01 +0000 |
| parents | 81441380d3be |
| children | a3218946bd2d |
line wrap: on
line diff
--- a/src/rcfile.c Sun May 18 12:56:18 2008 +0000 +++ b/src/rcfile.c Sun May 18 21:14:01 2008 +0000 @@ -418,6 +418,9 @@ WRITE_INT(panels.sort.mode_state); WRITE_INT(panels.sort.selection_state); + WRITE_SUBTITLE("Properties dialog Options"); + WRITE_CHAR(properties.tabs_order); + WRITE_SUBTITLE("Image Options"); secure_fprintf(ssi, "# image.zoom_mode possible values are:\n" @@ -727,6 +730,9 @@ READ_INT(panels.sort.mode_state); READ_INT(panels.sort.selection_state); + /* properties dialog options */ + READ_CHAR(properties.tabs_order); + /* image options */ if (g_ascii_strcasecmp(option, "image.zoom_mode") == 0) {
