gimp r26467 - in branches/soc-2008-tagging: . app/widgets
- From: aurisj svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26467 - in branches/soc-2008-tagging: . app/widgets
- Date: Sat, 9 Aug 2008 19:06:30 +0000 (UTC)
Author: aurisj
Date: Sat Aug 9 19:06:30 2008
New Revision: 26467
URL: http://svn.gnome.org/viewvc/gimp?rev=26467&view=rev
Log:
2008-08-09 Aurimas JuÅka <aurisj svn gnome org>
* app/widgets/gimptagentry.c: some auto-completion tweaks.
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 Sat Aug 9 19:06:30 2008
@@ -897,7 +897,7 @@
}
*cursor = '\0';
- prefix = g_strdup (g_strstrip (prefix_start));
+ prefix = g_strdup (g_strchug (prefix_start));
g_free (original_string);
return prefix;
@@ -1970,7 +1970,11 @@
&& tag_entry->mask->str[tag_entry->mask->len - 2] == 'w')
{
gtk_editable_delete_text (GTK_EDITABLE (tag_entry), tag_entry->mask->len - 1, tag_entry->mask->len);
- position--;
+
+ if (position == tag_entry->mask->len)
+ {
+ position--;
+ }
}
/* strip extra whitespace in the middle */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]