[gthumb] add the inconsistent tags to the suggested list
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] add the inconsistent tags to the suggested list
- Date: Mon, 5 Dec 2011 19:59:47 +0000 (UTC)
commit 29930dd001a3147c600683cfc6ef9e0f62e5526c
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Dec 5 20:06:51 2011 +0100
add the inconsistent tags to the suggested list
gthumb/gth-tags-entry.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-tags-entry.c b/gthumb/gth-tags-entry.c
index bb841b1..638474b 100644
--- a/gthumb/gth-tags-entry.c
+++ b/gthumb/gth-tags-entry.c
@@ -243,13 +243,14 @@ update_expanded_list_from_entry (GthTagsEntry *self)
tag_data[i] = g_new0 (TagData, 1);
tag_data[i]->name = g_strdup (all_tags[i]);
- tag_data[i]->suggested = FALSE;
tag_data[i]->used = FALSE;
tag_data[i]->inconsistent = (g_hash_table_lookup (self->priv->inconsistent, tag_data[i]->name) != NULL);
+ tag_data[i]->suggested = tag_data[i]->inconsistent;
for (j = 0; ! tag_data[i]->used && (used_tags[j] != NULL); j++)
if (g_utf8_collate (tag_data[i]->name, used_tags[j]) == 0) {
tag_data[i]->used = TRUE;
tag_data[i]->inconsistent = FALSE;
+ tag_data[i]->suggested = FALSE;
}
if (! tag_data[i]->used)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]