From 099cdcea99e064a01de4c4f1cf9aa7e051a5ba4a Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Tue, 25 Jan 2005 02:25:24 +0000 Subject: Set pointers to the contact editor creation functions in the entries, so 2005-01-24 Hans Petter Jansson * 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. svn path=/trunk/; revision=28540 --- composer/e-msg-composer-hdrs.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'composer/e-msg-composer-hdrs.c') 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 -- cgit v1.2.3