[evolution-patches] Addressbook bug #62085



Patch.

--
Hans Petter
? 57795.patch
? 58921.patch
? 62085.patch
? birthdate.patch
? log.diff
? out.diff
? gui/component/ldap-config.gladep
? gui/component/old
? gui/component/out
? gui/component/select-names/crap
? gui/contact-editor/hpj-contact-editor.glade
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/ChangeLog,v
retrieving revision 1.1803
diff -u -p -r1.1803 ChangeLog
--- ChangeLog	2 Aug 2004 18:34:30 -0000	1.1803
+++ ChangeLog	2 Aug 2004 23:35:21 -0000
@@ -1,3 +1,11 @@
+2004-08-02  Hans Petter Jansson  <hpj ximian com>
+
+	Fixes #62085.
+
+	* gui/contact-list-editor/e-contact-list-editor.c
+	(e_contact_list_editor_class_init): Set the save_contact method.
+	(e_contact_list_editor_save_contact): Implement.
+
 2004-08-02  JP Rosevear  <jpr novell com>
 
 	* conduit/address-conduit.c (addrconduit_load_configuration): get
Index: gui/contact-list-editor/e-contact-list-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/contact-list-editor/e-contact-list-editor.c,v
retrieving revision 1.62
diff -u -p -r1.62 e-contact-list-editor.c
--- gui/contact-list-editor/e-contact-list-editor.c	14 Jul 2004 22:31:58 -0000	1.62
+++ gui/contact-list-editor/e-contact-list-editor.c	2 Aug 2004 23:35:21 -0000
@@ -62,6 +62,7 @@ static void e_contact_list_editor_dispos
 static void     e_contact_list_editor_show       (EABEditor *editor);
 static void     e_contact_list_editor_raise      (EABEditor *editor);
 static void     e_contact_list_editor_close      (EABEditor *editor);
+static void     e_contact_list_editor_save_contact (EABEditor *editor, gboolean should_close);
 static gboolean e_contact_list_editor_is_valid   (EABEditor *editor);
 static gboolean e_contact_list_editor_is_changed (EABEditor *editor);
 static GtkWindow* e_contact_list_editor_get_window (EABEditor *editor);
@@ -150,6 +151,7 @@ e_contact_list_editor_class_init (EConta
 	editor_class->show = e_contact_list_editor_show;
 	editor_class->raise = e_contact_list_editor_raise;
 	editor_class->close = e_contact_list_editor_close;
+	editor_class->save_contact = e_contact_list_editor_save_contact;
 	editor_class->is_valid = e_contact_list_editor_is_valid;
 	editor_class->is_changed = e_contact_list_editor_is_changed;
 	editor_class->get_window = e_contact_list_editor_get_window;
@@ -430,6 +432,14 @@ is_named (EContactListEditor *editor)
 	g_free (string);
 
 	return named;
+}
+
+static void
+e_contact_list_editor_save_contact (EABEditor *editor, gboolean should_close)
+{
+	EContactListEditor *cle = E_CONTACT_LIST_EDITOR (editor);
+
+	save_contact (editor, should_close);
 }
 
 static gboolean


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]