forked from AuroraMiddleware/gtk
Handle character positions in UTF-8 strings correctly. (#133315, Theppitak
Fri Feb 6 22:38:54 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character positions in UTF-8 strings correctly. (#133315, Theppitak Karoonboonyanan)
This commit is contained in:
parent
95ba48b38f
commit
09284d7aa0
@ -1,3 +1,9 @@
|
||||
Fri Feb 6 22:38:54 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character
|
||||
positions in UTF-8 strings correctly. (#133315, Theppitak
|
||||
Karoonboonyanan)
|
||||
|
||||
2004-02-06 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* gtk/gtktoolbar.c (show_menu): Cleanup using
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Feb 6 22:38:54 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character
|
||||
positions in UTF-8 strings correctly. (#133315, Theppitak
|
||||
Karoonboonyanan)
|
||||
|
||||
2004-02-06 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* gtk/gtktoolbar.c (show_menu): Cleanup using
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Feb 6 22:38:54 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character
|
||||
positions in UTF-8 strings correctly. (#133315, Theppitak
|
||||
Karoonboonyanan)
|
||||
|
||||
2004-02-06 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* gtk/gtktoolbar.c (show_menu): Cleanup using
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Feb 6 22:38:54 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character
|
||||
positions in UTF-8 strings correctly. (#133315, Theppitak
|
||||
Karoonboonyanan)
|
||||
|
||||
2004-02-06 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* gtk/gtktoolbar.c (show_menu): Cleanup using
|
||||
|
@ -1,3 +1,9 @@
|
||||
Fri Feb 6 22:38:54 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character
|
||||
positions in UTF-8 strings correctly. (#133315, Theppitak
|
||||
Karoonboonyanan)
|
||||
|
||||
2004-02-06 Morten Welinder <terra@gnome.org>
|
||||
|
||||
* gtk/gtktoolbar.c (show_menu): Cleanup using
|
||||
|
@ -227,7 +227,7 @@ gtk_combo_entry_key_press (GtkEntry * entry, GdkEventKey * event, GtkCombo * com
|
||||
|
||||
if (nprefix && strlen (nprefix) > strlen (prefix))
|
||||
{
|
||||
gtk_editable_insert_text (editable, nprefix + pos,
|
||||
gtk_editable_insert_text (editable, g_utf8_offset_to_pointer (nprefix, pos),
|
||||
strlen (nprefix) - strlen (prefix), &pos);
|
||||
gtk_editable_set_position (editable, pos);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user