aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer-hdrs.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 7f34d08ade..2d7e532f33 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2005-01-24 Hans Petter Jansson <hpj@novell.com>
+
+ * e-msg-composer-hdrs.c (create_addressbook_entry): Set pointers to the
+ contact editor creation functions in the entries, so they can pop up
+ said editors.
+
2005-01-12 Not Zed <NotZed@Ximian.com>
* e-msg-composer.c (destroy): initialise composer before using it.
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 112216f090..f8ad7c6717 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -63,6 +63,10 @@
#include "mail/mail-component.h"
#include "mail/em-folder-tree.h"
+/* TEMPORARY KLUDGE */
+#include "addressbook/gui/contact-editor/e-contact-editor.h"
+#include "addressbook/gui/contact-list-editor/e-contact-list-editor.h"
+
/* Indexes in the GtkTable assigned to various items */
@@ -440,6 +444,9 @@ create_addressbook_entry (EMsgComposerHdrs *hdrs, const char *name)
g_signal_connect (name_selector_entry, "changed",
G_CALLBACK (addressbook_entry_changed), hdrs);
+ e_name_selector_entry_set_contact_editor_func (name_selector_entry, e_contact_editor_new);
+ e_name_selector_entry_set_contact_list_editor_func (name_selector_entry, e_contact_list_editor_new);
+
return GTK_WIDGET (name_selector_entry);
#if 0