gimp r28044 - in trunk: . app/widgets



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]