[gimp/gimp-2-10] plug-ins: fix a datasourcetype does not shown in metadata-editor.
- From: ONO Yoshio <onoyoshio src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: fix a datasourcetype does not shown in metadata-editor.
- Date: Mon, 1 Oct 2018 23:56:51 +0000 (UTC)
commit 41bacb7cbc77bc1f8b730487d40f59c782450a69
Author: ONO Yoshio <ohtsuka yoshio gmail com>
Date: Tue Oct 2 08:43:56 2018 +0900
plug-ins: fix a datasourcetype does not shown in metadata-editor.
Tag of DigitalSourceType has 5 entries, but the combobox shown
only 4 items.
(cherry picked from commit 3c92b5e00bc351c5237f62fc73982312f47ec154)
plug-ins/metadata/metadata-editor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/metadata/metadata-editor.c b/plug-ins/metadata/metadata-editor.c
index 79fa86c49d..13e38526d2 100644
--- a/plug-ins/metadata/metadata-editor.c
+++ b/plug-ins/metadata/metadata-editor.c
@@ -1663,7 +1663,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
gtk_widget_set_size_request (combo_widget, 180, height);
combo_widget = builder_get_widget (builder, "Xmp.iptcExt.DigitalSourceType");
- for (i = 0; i < 4; i++)
+ for (i = 0; i < 5; i++)
{
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_widget),
gettext (digitalsourcetype[i].display));
@@ -2997,7 +2997,7 @@ metadata_dialog_editor_set_metadata (GExiv2Metadata *metadata,
{
gint loop;
- for (loop = 0; loop < 4; loop++)
+ for (loop = 0; loop < 5; loop++)
{
if (! strcmp (digitalsourcetype[loop].data, value))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]