aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@novell.com>2005-01-25 10:25:24 +0800
committerHans Petter <hansp@src.gnome.org>2005-01-25 10:25:24 +0800
commit099cdcea99e064a01de4c4f1cf9aa7e051a5ba4a (patch)
tree0d917ebafda31ea58e695efc20b6d17b51985014 /composer
parent7857bee857d1c799d569f1043b004b63d9afab7b (diff)
downloadgsoc2013-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')
-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