Mercurial > geeqie
comparison src/bar_keywords.c @ 1461:e015b6573d36
improved config file formatting
author | nadvornik |
---|---|
date | Thu, 19 Mar 2009 22:12:14 +0000 |
parents | b24391991f7f |
children | 1b3751ac4743 |
comparison
equal
deleted
inserted
replaced
1460:8178ef34d257 | 1461:e015b6573d36 |
---|---|
245 PaneKeywordsData *pkd; | 245 PaneKeywordsData *pkd; |
246 | 246 |
247 pkd = g_object_get_data(G_OBJECT(pane), "pane_data"); | 247 pkd = g_object_get_data(G_OBJECT(pane), "pane_data"); |
248 if (!pkd) return; | 248 if (!pkd) return; |
249 | 249 |
250 WRITE_STRING("<pane_keywords\n"); | 250 WRITE_NL(); WRITE_STRING("<pane_keywords "); |
251 indent++; | |
252 write_char_option(outstr, indent, "pane.title", gtk_label_get_text(GTK_LABEL(pkd->pane.title))); | 251 write_char_option(outstr, indent, "pane.title", gtk_label_get_text(GTK_LABEL(pkd->pane.title))); |
253 WRITE_BOOL(*pkd, pane.expanded); | 252 WRITE_BOOL(*pkd, pane.expanded); |
254 WRITE_CHAR(*pkd, key); | 253 WRITE_CHAR(*pkd, key); |
255 indent--; | 254 WRITE_STRING("/>"); |
256 WRITE_STRING("/>\n"); | |
257 } | 255 } |
258 | 256 |
259 gint bar_pane_keywords_event(GtkWidget *bar, GdkEvent *event) | 257 gint bar_pane_keywords_event(GtkWidget *bar, GdkEvent *event) |
260 { | 258 { |
261 PaneKeywordsData *pkd; | 259 PaneKeywordsData *pkd; |