gimp r28044 - in trunk: . app/widgets
- From: aurisj svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r28044 - in trunk: . app/widgets
- Date: Mon, 16 Feb 2009 14:44:07 +0000 (UTC)
Author: aurisj
Date: Mon Feb 16 14:44:04 2009
New Revision: 28044
URL: http://svn.gnome.org/viewvc/gimp?rev=28044&view=rev
Log:
* 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.
Modified:
trunk/ChangeLog
trunk/app/widgets/gimptagentry.c
Modified: trunk/app/widgets/gimptagentry.c
==============================================================================
--- trunk/app/widgets/gimptagentry.c (original)
+++ trunk/app/widgets/gimptagentry.c Mon Feb 16 14:44:04 2009
@@ -376,8 +376,10 @@
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_assign_tags (entry);
}
+ else if (entry->mode == GIMP_TAG_ENTRY_MODE_QUERY)
+ {
+ gimp_tag_entry_query_tag (entry);
+ }
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]