Mercurial > geeqie.yaz
diff src/bar_comment.c @ 1461:e015b6573d36
improved config file formatting
author | nadvornik |
---|---|
date | Thu, 19 Mar 2009 22:12:14 +0000 |
parents | c44f21235ffe |
children | 1b3751ac4743 |
line wrap: on
line diff
--- a/src/bar_comment.c Tue Mar 17 23:03:07 2009 +0000 +++ b/src/bar_comment.c Thu Mar 19 22:12:14 2009 +0000 @@ -150,14 +150,12 @@ pcd = g_object_get_data(G_OBJECT(pane), "pane_data"); if (!pcd) return; - WRITE_STRING("<pane_comment\n"); - indent++; + WRITE_NL(); WRITE_STRING("<pane_comment "); write_char_option(outstr, indent, "pane.title", gtk_label_get_text(GTK_LABEL(pcd->pane.title))); WRITE_BOOL(*pcd, pane.expanded); WRITE_CHAR(*pcd, key); WRITE_INT(*pcd, height); - indent--; - WRITE_STRING("/>\n"); + WRITE_STRING("/>"); } static void bar_pane_comment_notify_cb(FileData *fd, NotifyType type, gpointer data)