Commit a31ca23d authored by Aurimas Juška's avatar Aurimas Juška

fixed popup list (tag cloud) toggling by querying tags immediately instead

* app/widgets/gimptagentry.c (gimp_tag_entry_set_tag_string):
fixed popup list (tag cloud) toggling by querying tags immediately
instead of adding idle handler.

svn path=/trunk/; revision=28044
parent cf3e1831
2009-02-16 Aurimas Juška <aurisj@svn.gnome.org>
* app/widgets/gimptagentry.c (gimp_tag_entry_set_tag_string):
fixed popup list (tag cloud) toggling by querying tags immediately
instead of adding idle handler.
2009-02-16 Aurimas Juška <aurisj@svn.gnome.org>
* app/widgets/gimptagentry.c (gimp_tag_entry_commit_tags),
......
......@@ -376,8 +376,10 @@ gimp_tag_entry_set_tag_string (GimpTagEntry *entry,
g_return_if_fail (GIMP_IS_TAG_ENTRY (entry));
entry->internal_operation++;
entry->suppress_tag_query++;
gtk_entry_set_text (GTK_ENTRY (entry), tag_string);
gtk_editable_set_position (GTK_EDITABLE (entry), -1);
entry->suppress_tag_query--;
entry->internal_operation--;
gimp_tag_entry_commit_tags (entry);
......@@ -385,6 +387,10 @@ gimp_tag_entry_set_tag_string (GimpTagEntry *entry,
{
gimp_tag_entry_assign_tags (entry);
}
else if (entry->mode == GIMP_TAG_ENTRY_MODE_QUERY)
{
gimp_tag_entry_query_tag (entry);
}
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment