Mercurial > geeqie
comparison src/bar_sort.c @ 1461:e015b6573d36
improved config file formatting
author | nadvornik |
---|---|
date | Thu, 19 Mar 2009 22:12:14 +0000 |
parents | 1817f5178db3 |
children | 1b3751ac4743 |
comparison
equal
deleted
inserted
replaced
1460:8178ef34d257 | 1461:e015b6573d36 |
---|---|
721 | 721 |
722 if (!bar) return; | 722 if (!bar) return; |
723 sd = g_object_get_data(G_OBJECT(bar), "bar_sort_data"); | 723 sd = g_object_get_data(G_OBJECT(bar), "bar_sort_data"); |
724 if (!sd) return; | 724 if (!sd) return; |
725 | 725 |
726 WRITE_STRING("<bar_sort\n"); | 726 WRITE_NL(); WRITE_STRING("<bar_sort "); |
727 indent++; | |
728 write_bool_option(outstr, indent, "enabled", GTK_WIDGET_VISIBLE(bar)); | 727 write_bool_option(outstr, indent, "enabled", GTK_WIDGET_VISIBLE(bar)); |
729 WRITE_INT(*sd, mode); | 728 WRITE_INT(*sd, mode); |
730 WRITE_INT(*sd, action); | 729 WRITE_INT(*sd, action); |
731 WRITE_INT(*sd, selection); | 730 WRITE_INT(*sd, selection); |
732 WRITE_CHAR(*sd, filter_key); | 731 WRITE_CHAR(*sd, filter_key); |
733 indent--; | 732 WRITE_STRING("/>"); |
734 WRITE_STRING("/>\n"); | |
735 } | 733 } |
736 | 734 |
737 | 735 |
738 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ | 736 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |