diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-03-02 10:21:55 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-03-02 10:21:55 +0800 |
commit | ba0d7abd390268b2e370f179018885a6067a67f1 (patch) | |
tree | 6f62c38a8b9d22e950393b3510860486743924ef /addressbook/gui/component/select-names/e-select-names-text-model.c | |
parent | 50ef074887b43f43dad3edb120d9abf30092c681 (diff) | |
download | gsoc2013-evolution-ba0d7abd390268b2e370f179018885a6067a67f1.tar.gz gsoc2013-evolution-ba0d7abd390268b2e370f179018885a6067a67f1.tar.zst gsoc2013-evolution-ba0d7abd390268b2e370f179018885a6067a67f1.zip |
Oops, we do need to be able to write to "text" after all (for things like
2001-03-01 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): Oops, we do need to be able to write to
"text" after all (for things like Reply-to: to work properly).
Fixed.
(impl_SelectNames_get_entry_for_section): Made "text" a writeable
property again.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Increment pos so that
we don't reverse strings when length > 1 (a particularly amusing
bug).
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_destroy): Check for NULL before calling
gtk_object_unref (GTK_OBJECT (---)), to get rid of annoying error
messages.
svn path=/trunk/; revision=8512
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-text-model.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-text-model.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-text-model.c b/addressbook/gui/component/select-names/e-select-names-text-model.c index 62e1676d20..71bb4b3533 100644 --- a/addressbook/gui/component/select-names/e-select-names-text-model.c +++ b/addressbook/gui/component/select-names/e-select-names-text-model.c @@ -408,11 +408,12 @@ e_select_names_text_model_insert_length (ETextModel *model, gint pos, const gcha repos.pos = pos; repos.len = this_length; e_text_model_reposition (model, e_repos_insert_shift, &repos); + + pos += this_length; } g_free (new_str); } - } } |