evolution r36706 - in branches/kill-bonobo: addressbook/gui/widgets calendar/gui calendar/gui/alarm-notify calendar/modules composer mail



Author: mbarnes
Date: Fri Oct 31 16:53:15 2008
New Revision: 36706
URL: http://svn.gnome.org/viewvc/evolution?rev=36706&view=rev

Log:
Get composer integration working with the rest of the modules, but man do
we have circular dependencies all over the place!  Big house of cards.


Modified:
   branches/kill-bonobo/addressbook/gui/widgets/Makefile.am
   branches/kill-bonobo/addressbook/gui/widgets/eab-gui-util.c
   branches/kill-bonobo/calendar/gui/Makefile.am
   branches/kill-bonobo/calendar/gui/alarm-notify/alarm-queue.c
   branches/kill-bonobo/calendar/gui/itip-utils.c
   branches/kill-bonobo/calendar/modules/Makefile.am
   branches/kill-bonobo/composer/Makefile.am
   branches/kill-bonobo/mail/Makefile.am

Modified: branches/kill-bonobo/addressbook/gui/widgets/Makefile.am
==============================================================================
--- branches/kill-bonobo/addressbook/gui/widgets/Makefile.am	(original)
+++ branches/kill-bonobo/addressbook/gui/widgets/Makefile.am	Fri Oct 31 16:53:15 2008
@@ -32,8 +32,6 @@
 	eab-contact-display.h			\
 	eab-gui-util.c				\
 	eab-gui-util.h				\
-	eab-vcard-control.c			\
-	eab-vcard-control.h			\
 	e-minicard.c				\
 	e-minicard.h				\
 	e-minicard-label.c			\
@@ -58,6 +56,7 @@
 	gal-view-factory-minicard.h
 
 libeabwidgets_la_LIBADD =					\
+	$(top_builddir)/composer/libcomposer.la			\
 	$(top_builddir)/widgets/misc/libemiscwidgets.la
 
 CLEANFILES = $(BUILT_SOURCES)

Modified: branches/kill-bonobo/addressbook/gui/widgets/eab-gui-util.c
==============================================================================
--- branches/kill-bonobo/addressbook/gui/widgets/eab-gui-util.c	(original)
+++ branches/kill-bonobo/addressbook/gui/widgets/eab-gui-util.c	Fri Oct 31 16:53:15 2008
@@ -629,16 +629,6 @@
 	ContactCopyDone done_cb;
 };
 
-#if 0
-static void
-contact_deleted_cb (EBook* book, EBookStatus status, gpointer user_data)
-{
-	if (status != E_BOOK_ERROR_OK) {
-		eab_error_dialog (_("Error removing contact"), status);
-	}
-}
-#endif
-
 static void
 do_delete (gpointer data, gpointer user_data)
 {
@@ -791,7 +781,6 @@
 static void
 eab_send_to_contact_and_email_num_list (GList *contact_list)
 {
-#if 0  /* NOT READY FOR COMPOSER YET */
 	EMsgComposer *composer;
 	EComposerHeaderTable *table;
 	GPtrArray *to_array;
@@ -855,7 +844,6 @@
 	e_destination_freev (convert.destinations);
 
 	gtk_widget_show (GTK_WIDGET (composer));
-#endif
 }
 
 static const char *
@@ -880,7 +868,6 @@
 static void
 eab_send_contact_list_as_attachment (GList *contacts)
 {
-#if 0 /* NOT READY FOR COMPOSER YET */
 	EMsgComposer *composer;
 	EComposerHeaderTable *table;
 	CamelMimePart *attachment;
@@ -957,7 +944,6 @@
 	}
 
 	gtk_widget_show (GTK_WIDGET (composer));
-#endif
 }
 
 void

Modified: branches/kill-bonobo/calendar/gui/Makefile.am
==============================================================================
--- branches/kill-bonobo/calendar/gui/Makefile.am	(original)
+++ branches/kill-bonobo/calendar/gui/Makefile.am	Fri Oct 31 16:53:15 2008
@@ -177,6 +177,7 @@
 
 libcal_gui_la_LIBADD =					\
 	$(WIN32_BOOTSTRAP_LIBS)						\
+	$(top_builddir)/composer/libcomposer.la				\
 	$(top_builddir)/widgets/menus/libmenus.la			\
 	$(top_builddir)/shell/libeshell.la				\
 	$(top_builddir)/calendar/common/libevolution-calendarprivate.la	\

Modified: branches/kill-bonobo/calendar/gui/alarm-notify/alarm-queue.c
==============================================================================
--- branches/kill-bonobo/calendar/gui/alarm-notify/alarm-queue.c	(original)
+++ branches/kill-bonobo/calendar/gui/alarm-notify/alarm-queue.c	Fri Oct 31 16:53:15 2008
@@ -910,6 +910,7 @@
 static void
 edit_component (ECal *client, ECalComponent *comp)
 {
+#if 0  /* KILL-BONOBO */
 	const char *uid;
 	const char *uri;
 	ECalSourceType source_type;
@@ -953,6 +954,7 @@
 
 	/* Get rid of the factory */
 	bonobo_object_release_unref (factory, NULL);
+#endif
 }
 
 typedef struct {

Modified: branches/kill-bonobo/calendar/gui/itip-utils.c
==============================================================================
--- branches/kill-bonobo/calendar/gui/itip-utils.c	(original)
+++ branches/kill-bonobo/calendar/gui/itip-utils.c	Fri Oct 31 16:53:15 2008
@@ -1098,7 +1098,6 @@
                         ECalComponent *comp,
                         GSList *attach_list)
 {
-#if 0 /* KILL-BONOBO */
 	struct CalMimeAttach *mime_attach;
 	GSList *l;
 
@@ -1131,14 +1130,12 @@
 		g_free (mime_attach->description);
 		g_free (mime_attach->encoded_data);
 	}
-#endif
 }
 
 gboolean
 itip_send_comp (ECalComponentItipMethod method, ECalComponent *send_comp,
 		ECal *client, icalcomponent *zones, GSList *attachments_list, GList *users)
 {
-#if 0  /* KILL-BONOBO */
 	EMsgComposer *composer;
 	EComposerHeaderTable *table;
 	EDestination **destinations;
@@ -1186,11 +1183,9 @@
 	table = e_msg_composer_get_header_table (composer);
 	em_composer_utils_setup_default_callbacks (composer);
 
-#if 0  /* KILL-BONOBO */
 	e_composer_header_table_set_subject (table, subject);
 	e_composer_header_table_set_account_name (table, from);
 	e_composer_header_table_set_destinations_to (table, destinations);
-#endif
 
 	e_destination_freev (destinations);
 
@@ -1212,7 +1207,7 @@
 		description = comp_description (comp);
 
 		body = camel_text_to_html (
-			body, CAMEL_MIME_FILTER_TOHTML_PRE, 0);
+			description, CAMEL_MIME_FILTER_TOHTML_PRE, 0);
 		e_msg_composer_set_body_text (composer, body, -1);
 		g_free (body);
 
@@ -1257,9 +1252,6 @@
 	g_free (ical_string);
 
 	return retval;
-#endif
-
-	return FALSE;
 }
 
 gboolean
@@ -1270,7 +1262,6 @@
                         icalcomponent *zones,
                         GSList *attachments_list)
 {
-#if 0  /* KILL-BONOBO */
 	EMsgComposer *composer;
 	EComposerHeaderTable *table;
 	EDestination **destinations;
@@ -1300,11 +1291,9 @@
 	table = e_msg_composer_get_header_table (composer);
 	em_composer_utils_setup_default_callbacks (composer);
 
-#if 0  /* KILL-BONOBO */
 	e_composer_header_table_set_subject (table, subject);
 	e_composer_header_table_set_account_name (table, from);
 	e_composer_header_table_set_destinations_to (table, destinations);
-#endif
 
 	e_destination_freev (destinations);
 
@@ -1427,9 +1416,6 @@
 	g_free (subject);
 	g_free (ical_string);
 	return retval;
-#endif
-
-	return FALSE;
 }
 
 gboolean

Modified: branches/kill-bonobo/calendar/modules/Makefile.am
==============================================================================
--- branches/kill-bonobo/calendar/modules/Makefile.am	(original)
+++ branches/kill-bonobo/calendar/modules/Makefile.am	Fri Oct 31 16:53:15 2008
@@ -67,14 +67,17 @@
 libevolution_module_calendars_la_LIBADD =		\
 	$(WIN32_BOOTSTRAP_LIBS)				\
 	$(top_builddir)/shell/libeshell.la		\
-	$(top_builddir)/calendar/gui/libcal-gui.la
+	$(top_builddir)/calendar/gui/libcal-gui.la	\
+	$(top_builddir)/addressbook/gui/component/libevolution-addressbook.la
 
 libevolution_module_memos_la_LIBADD =			\
 	$(WIN32_BOOTSTRAP_LIBS)				\
 	$(top_builddir)/shell/libeshell.la		\
-	$(top_builddir)/calendar/gui/libcal-gui.la
+	$(top_builddir)/calendar/gui/libcal-gui.la	\
+	$(top_builddir)/addressbook/gui/component/libevolution-addressbook.la
 
 libevolution_module_tasks_la_LIBADD =			\
 	$(WIN32_BOOTSTRAP_LIBS)				\
 	$(top_builddir)/shell/libeshell.la		\
-	$(top_builddir)/calendar/gui/libcal-gui.la
+	$(top_builddir)/calendar/gui/libcal-gui.la	\
+	$(top_builddir)/addressbook/gui/component/libevolution-addressbook.la

Modified: branches/kill-bonobo/composer/Makefile.am
==============================================================================
--- branches/kill-bonobo/composer/Makefile.am	(original)
+++ branches/kill-bonobo/composer/Makefile.am	Fri Oct 31 16:53:15 2008
@@ -25,8 +25,6 @@
 	$(EVOLUTION_MAIL_CFLAGS)
 
 libcomposer_la_SOURCES = 			\
-	$(IDL_GENERATED)			\
-	$(HTML_EDITOR_GENERATED)		\
 	e-composer-actions.c			\
 	e-composer-actions.h			\
 	e-composer-autosave.c			\
@@ -49,6 +47,9 @@
 	e-msg-composer.c			\
 	e-msg-composer.h
 
+libcomposer_la_LIBADD =						\
+	$(top_builddir)/widgets/misc/libemiscwidgets.la
+
 uidir = $(evolutionuidir)
 ui_DATA = evolution-composer.ui
 
@@ -57,7 +58,7 @@
 	mail-composer.error.xml			\
 	ChangeLog.pre-1-4
 
-BUILT_SOURCES = $(IDL_GENERATED) $(HTML_EDITOR_GENERATED) $(error_DATA)
+BUILT_SOURCES = $(error_DATA)
 CLEANFILES = $(BUILT_SOURCES)
 
 dist-hook:

Modified: branches/kill-bonobo/mail/Makefile.am
==============================================================================
--- branches/kill-bonobo/mail/Makefile.am	(original)
+++ branches/kill-bonobo/mail/Makefile.am	Fri Oct 31 16:53:15 2008
@@ -155,10 +155,14 @@
 	message-tag-followup,h
 
 libevolution_module_mail_la_LIBADD =			\
-	$(top_builddir)/composer/libcomposer.la		\
-	$(top_builddir)/mail/importers/libevolution-mail-importers.la \
+	$(top_builddir)/e-util/libeutil.la		\
 	$(top_builddir)/shell/libeshell.la		\
-	$(top_builddir)/widgets/misc/libemiscwidgets.la
+	$(top_builddir)/composer/libcomposer.la		\
+	$(top_builddir)/widgets/table/libetable.la	\
+	$(top_builddir)/widgets/text/libetext.la	\
+	$(top_builddir)/widgets/misc/libemiscwidgets.la	\
+	$(top_builddir)/addressbook/gui/contact-editor/libecontacteditor.la \
+	$(top_builddir)/mail/importers/libevolution-mail-importers.la
 
 # plugin mail api
 #mailinclude_HEADERS =				\
@@ -293,12 +297,6 @@
 endif
 
 #libevolution_mail_la_LIBADD =					\
-#	$(top_builddir)/e-util/libeutil.la			\
-#	$(top_builddir)/shell/libeshell.la			\
-#	$(top_builddir)/composer/libcomposer.la			\
-#	$(top_builddir)/widgets/table/libetable.la		\
-#	$(top_builddir)/widgets/text/libetext.la		\
-#	$(top_builddir)/widgets/misc/libemiscwidgets.la		\
 #	$(top_builddir)/widgets/misc/libefilterbar.la		\
 #	$(top_builddir)/filter/libfilter.la			\
 #	$(top_builddir)/widgets/menus/libmenus.la		\



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