aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-03-07 03:45:08 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-03-07 03:45:08 +0800
commitb3dabe72df7ad9899cfe36383c7dfdb6794c58a0 (patch)
tree633e8821ad8beea30a903cbda1fad39b647b8e40
parent0fdd199a2b2edccaec296602d3c93121455d2550 (diff)
downloadgsoc2013-evolution-b3dabe72df7ad9899cfe36383c7dfdb6794c58a0.tar
gsoc2013-evolution-b3dabe72df7ad9899cfe36383c7dfdb6794c58a0.tar.gz
gsoc2013-evolution-b3dabe72df7ad9899cfe36383c7dfdb6794c58a0.tar.bz2
gsoc2013-evolution-b3dabe72df7ad9899cfe36383c7dfdb6794c58a0.tar.lz
gsoc2013-evolution-b3dabe72df7ad9899cfe36383c7dfdb6794c58a0.tar.xz
gsoc2013-evolution-b3dabe72df7ad9899cfe36383c7dfdb6794c58a0.tar.zst
gsoc2013-evolution-b3dabe72df7ad9899cfe36383c7dfdb6794c58a0.zip
Fix glitch with inserting comma-delimited stuff when length > 1.
2001-03-06 Jon Trowbridge <trow@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): Fix glitch with inserting comma-delimited stuff when length > 1. svn path=/trunk/; revision=8571
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/select-names/e-select-names-text-model.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 16cd8cf5be..d188041709 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2001-03-06 Jon Trowbridge <trow@ximian.com>
+ * gui/component/select-names/e-select-names-text-model.c
+ (e_select_names_text_model_insert_length): Fix glitch with
+ inserting comma-delimited stuff when length > 1.
+
+2001-03-06 Jon Trowbridge <trow@ximian.com>
+
* backend/ebook/e-book.c (e_book_load_local_address_book): Added.
Just encapsulates opening
file://~username/evolution/local/Contactes/addressbook.db, so that
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 29ebbb7a3f..d66112d2bc 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
@@ -339,6 +339,7 @@ e_select_names_text_model_insert_length (ETextModel *model, gint pos, const gcha
repos.pos = pos;
repos.len = SEPLEN;
e_text_model_reposition (model, e_repos_insert_shift, &repos);
+ pos += SEPLEN;
}
} else {
@@ -362,6 +363,7 @@ e_select_names_text_model_insert_length (ETextModel *model, gint pos, const gcha
repos.pos = pos;
repos.len = SEPLEN;
e_text_model_reposition (model, e_repos_insert_shift, &repos);
+ pos += SEPLEN;
}
} else {