diff options
author | Hans Petter Jansson <hpj@novell.com> | 2005-01-25 10:25:24 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2005-01-25 10:25:24 +0800 |
commit | 099cdcea99e064a01de4c4f1cf9aa7e051a5ba4a (patch) | |
tree | 0d917ebafda31ea58e695efc20b6d17b51985014 /composer/e-msg-composer-hdrs.c | |
parent | 7857bee857d1c799d569f1043b004b63d9afab7b (diff) | |
download | gsoc2013-evolution-099cdcea99e064a01de4c4f1cf9aa7e051a5ba4a.tar.gz gsoc2013-evolution-099cdcea99e064a01de4c4f1cf9aa7e051a5ba4a.tar.zst gsoc2013-evolution-099cdcea99e064a01de4c4f1cf9aa7e051a5ba4a.zip |
Set pointers to the contact editor creation functions in the entries, so
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.
svn path=/trunk/; revision=28540
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 |