From 6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 14 May 2003 00:45:20 +0000 Subject: strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same. 2003-05-13 Chris Toshok * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_set_separator): strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same. (e_select_names_text_model_insert_length): big change, make this work with multibyte utf8. (e_select_names_text_model_delete): same. this could possibly use a tighter loop + a memmove, but this works. * gui/component/select-names/e-select-names-model.c (e_select_names_model_get_textification): make sure our truncation to MAX_LENGTH characters uses utf8 characters, not bytes. (e_select_names_model_name_pos): track e-text-model change. pos/length are now in utf8 character terms, so use g_utf8_strlen instead of strlen. (e_select_names_model_text_pos): same. svn path=/trunk/; revision=21165 --- addressbook/ChangeLog | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index fb355f6ac1..f21d687ee7 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,22 @@ +2003-05-13 Chris Toshok + + * gui/component/select-names/e-select-names-text-model.c + (e_select_names_text_model_set_separator): strlen -> + g_utf8_strlen. + (e_select_names_text_model_insert): same. + (e_select_names_text_model_insert_length): big change, make this + work with multibyte utf8. + (e_select_names_text_model_delete): same. this could possibly use + a tighter loop + a memmove, but this works. + + * gui/component/select-names/e-select-names-model.c + (e_select_names_model_get_textification): make sure our truncation + to MAX_LENGTH characters uses utf8 characters, not bytes. + (e_select_names_model_name_pos): track e-text-model change. + pos/length are now in utf8 character terms, so use g_utf8_strlen + instead of strlen. + (e_select_names_model_text_pos): same. + 2003-05-13 Chris Toshok * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): -- cgit v1.2.3