aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/component/select-names/e-select-names-model.c9
2 files changed, 8 insertions, 9 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ce0475481a..1ffdb3ad50 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2004-06-24 Radek Doulik <rodo@ximian.com>
+
+ * gui/component/select-names/e-select-names-model.c
+ (e_select_names_model_get_textification): do not limit the text
+ len to 2047 characters
+
+ See bug #60366
+
2004-06-23 Hans Petter Jansson <hpj@ximian.com>
* gui/contact-editor/contact-editor.glade: Set window to be invisible
diff --git a/addressbook/gui/component/select-names/e-select-names-model.c b/addressbook/gui/component/select-names/e-select-names-model.c
index 46b66d5ef1..49b9e5039d 100644
--- a/addressbook/gui/component/select-names/e-select-names-model.c
+++ b/addressbook/gui/component/select-names/e-select-names-model.c
@@ -22,9 +22,6 @@
#include "e-select-names-marshal.h"
#include "eab-book-util.h"
-#define MAX_LENGTH 2047
-
-
enum {
E_SELECT_NAMES_MODEL_CHANGED,
E_SELECT_NAMES_MODEL_RESIZED,
@@ -214,12 +211,6 @@ e_select_names_model_get_textification (ESelectNamesModel *model, const char *se
}
text = g_strjoinv (separator, strv);
-
- if (g_utf8_strlen(text, -1) > MAX_LENGTH) {
- char *p = g_utf8_offset_to_pointer (text, MAX_LENGTH);
- *p = '\0';
- text = g_realloc (text, p - text + 1);
- }
g_free (strv);