gimp r26628 - in branches/soc-2008-tagging: . app/widgets



Author: aurisj
Date: Sun Aug 17 19:58:49 2008
New Revision: 26628
URL: http://svn.gnome.org/viewvc/gimp?rev=26628&view=rev

Log:
2008-08-17  Aurimas JuÅka  <aurisj svn gnome org>

	* app/widgets/gimptagentry.c (gimp_tag_entry_auto_complete):
	sort autocompletion candidates so that they can be cycled in correct
	order.



Modified:
   branches/soc-2008-tagging/ChangeLog
   branches/soc-2008-tagging/app/widgets/gimptagentry.c

Modified: branches/soc-2008-tagging/app/widgets/gimptagentry.c
==============================================================================
--- branches/soc-2008-tagging/app/widgets/gimptagentry.c	(original)
+++ branches/soc-2008-tagging/app/widgets/gimptagentry.c	Sun Aug 17 19:58:49 2008
@@ -674,6 +674,8 @@
       gimp_tag_entry_get_completion_candidates (GIMP_TAG_ENTRY (entry),
                                                 tags,
                                                 completion_prefix);
+  completion_candidates = g_list_sort (completion_candidates,
+                                       gimp_tag_compare_func);
   if (tag_entry->tab_completion_index >= 0
       && completion_candidates)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]