Re: [Evolution-hackers] 2.0 Composer question



Status on composer:
I get the following error from evolution-1.5 when trying to send out a
meeting request. The same error occurs if I use
evolution-launch-composer from the tools dir.
Attached patch enables 1.5 in the tools dir for easy testing.
Anyone working on this? Or is it just my system?
Ronald

===error====
asked to activate component_id
`OAFIID:GNOME_Evolution_Addressbook_SelectNames:1.5'
 
(evolution-1.5:12877): Gtk-CRITICAL **: file gtktable.c: line 596
(gtk_table_attach): assertion `GTK_IS_WIDGET (child)' failed
 
(evolution-1.5:12877): Gtk-CRITICAL **: file gtktable.c: line 596
(gtk_table_attach): assertion `GTK_IS_WIDGET (child)' failed
 
(evolution-1.5:12877): Gtk-CRITICAL **: file gtkwidget.c: line 1827
(gtk_widget_hide): assertion `GTK_IS_WIDGET (widget)' failed
 
(evolution-1.5:12877): Gtk-CRITICAL **: file gtkwidget.c: line 1827
(gtk_widget_hide): assertion `GTK_IS_WIDGET (widget)' failed
 
(evolution-1.5:12877): EBook-CRITICAL **: file eab-book-util.c: line 63
(eab_name_and_email_query): assertion `book && E_IS_BOOK (book)' failed



On Wed, 2003-12-03 at 20:48, Ronald Kuetemeier wrote:
> Hi Guys,
> I finally got around to look at the 1.5 code base. 
> Since I can't get a Component from the Shell anymore. My question is
> does the Composer still have to run under the Shell as in 1.4.X? Or is
> the only way to send a mail now to use mailto: and invoke it with the
> Shell from an out of memory app.  I personally would like to use and see
> the corba interface working, haven't tried it yet with out of memory
> apps.
> Thanks,
> Ronald
>  
> 
> _______________________________________________
> evolution-hackers maillist  -  evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers
> 
? tools.patch
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/evolution/tools/Makefile.am,v
retrieving revision 1.25
diff -u -a -r1.25 Makefile.am
--- Makefile.am	21 Oct 2003 18:24:46 -0000	1.25
+++ Makefile.am	4 Dec 2003 22:43:42 -0000
@@ -1,5 +1,6 @@
 privlibexec_PROGRAMS =			\
-	killev
+	killev \
+	evolution-launch-composer
 
 INCLUDES =						\
 	-DG_LOG_DOMAIN=\"evolution-tools\"		\
@@ -35,4 +36,12 @@
 killev_LDADD =							\
 	$(top_builddir)/e-util/libeutil.la
 
+evolution_launch_composer_SOURCES =				\
+	evolution-launch-composer.c				\
+	$(CORBA_SOURCE)
+
+evolution_launch_composer_LDADD =				\
+	$(EVOLUTION_CALENDAR_LIBS)	
+
+
 CLEANFILES = evolution-addressbook-clean $(BUILT_SOURCES)
Index: evolution-launch-composer.c
===================================================================
RCS file: /cvs/gnome/evolution/tools/evolution-launch-composer.c,v
retrieving revision 1.2
diff -u -a -r1.2 evolution-launch-composer.c
--- evolution-launch-composer.c	28 Feb 2003 07:48:26 -0000	1.2
+++ evolution-launch-composer.c	4 Dec 2003 22:43:42 -0000
@@ -43,8 +43,8 @@
 
 #define READ_CHUNK_SIZE 8192
 
-#define E_SHELL_OAFIID  "OAFIID:GNOME_Evolution_Shell"
-#define COMPOSER_OAFIID "OAFIID:GNOME_Evolution_Mail_Composer"
+#define E_SHELL_OAFIID  "OAFIID:GNOME_Evolution_Shell:1.5"
+#define COMPOSER_OAFIID "OAFIID:GNOME_Evolution_Mail_Composer:1.5"
 #define NOTNULL(x) ((x) ? (x) : "")
 
 typedef struct {
@@ -226,11 +226,11 @@
 	GNOME_Evolution_Composer composer;
 
 	/* First, I obtain an object reference that represents the Shell, to make sure it's running. */
-	shell = bonobo_activation_activate_from_id (E_SHELL_OAFIID, 0, NULL, NULL);
+/*       	shell = bonobo_activation_activate_from_id (E_SHELL_OAFIID, 0, NULL, NULL); */
 
-	printf ("shell == %p\n", shell);
+/* 	printf ("shell == %p\n", shell); */
 
-	g_return_val_if_fail (shell != CORBA_OBJECT_NIL, NULL);
+/* 	g_return_val_if_fail (shell != CORBA_OBJECT_NIL, NULL); */
 
 	/* Next, I obtain an object reference that represents the Composer. */
 	composer = bonobo_activation_activate_from_id (COMPOSER_OAFIID, 0, NULL, NULL);


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