comparison src/bar.c @ 2902:1c3289d48273

add headline field
author Igor Ippolitov <iippolitov@gmail.com>
date Mon, 20 Aug 2018 18:30:44 +0300
parents dc7c069a2745
children 2e7fd08bfbe4
comparison
equal deleted inserted replaced
2816:e993f52f08a2 2902:1c3289d48273
64 " <pane_comment id = 'title' expanded = 'true' key = 'Xmp.dc.title' height = '40' />" 64 " <pane_comment id = 'title' expanded = 'true' key = 'Xmp.dc.title' height = '40' />"
65 " </bar>" 65 " </bar>"
66 " </layout>" 66 " </layout>"
67 "</gq>"; 67 "</gq>";
68 68
69 static const gchar default_config_headline[] =
70 "<gq>"
71 " <layout id = '_current_'>"
72 " <bar>"
73 " <pane_comment id = 'headline' expanded = 'true' key = 'Xmp.photoshop.Headline' height = '40' />"
74 " </bar>"
75 " </layout>"
76 "</gq>";
77
69 static const gchar default_config_keywords[] = 78 static const gchar default_config_keywords[] =
70 "<gq>" 79 "<gq>"
71 " <layout id = '_current_'>" 80 " <layout id = '_current_'>"
72 " <bar>" 81 " <bar>"
73 " <pane_keywords id = 'keywords' expanded = 'true' key = '" KEYWORD_KEY "' />" 82 " <pane_keywords id = 'keywords' expanded = 'true' key = '" KEYWORD_KEY "' />"
190 {PANE_HISTOGRAM, "histogram", N_("Histogram"), default_config_histogram}, 199 {PANE_HISTOGRAM, "histogram", N_("Histogram"), default_config_histogram},
191 {PANE_COMMENT, "title", N_("Title"), default_config_title}, 200 {PANE_COMMENT, "title", N_("Title"), default_config_title},
192 {PANE_KEYWORDS, "keywords", N_("Keywords"), default_config_keywords}, 201 {PANE_KEYWORDS, "keywords", N_("Keywords"), default_config_keywords},
193 {PANE_COMMENT, "comment", N_("Comment"), default_config_comment}, 202 {PANE_COMMENT, "comment", N_("Comment"), default_config_comment},
194 {PANE_COMMENT, "rating", N_("Rating"), default_config_rating}, 203 {PANE_COMMENT, "rating", N_("Rating"), default_config_rating},
204 {PANE_COMMENT, "headline", N_("Headline"), default_config_headline},
195 {PANE_EXIF, "exif", N_("Exif"), default_config_exif}, 205 {PANE_EXIF, "exif", N_("Exif"), default_config_exif},
196 /* other pre-configured panes */ 206 /* other pre-configured panes */
197 {PANE_EXIF, "file_info", N_("File info"), default_config_file_info}, 207 {PANE_EXIF, "file_info", N_("File info"), default_config_file_info},
198 {PANE_EXIF, "location", N_("Location and GPS"), default_config_location}, 208 {PANE_EXIF, "location", N_("Location and GPS"), default_config_location},
199 {PANE_EXIF, "copyright", N_("Copyright"), default_config_copyright}, 209 {PANE_EXIF, "copyright", N_("Copyright"), default_config_copyright},