Re: [Evolution-hackers] Bug in main_system_beep?

2007-03-31 Thread Karl Relton
On Fri, 2007-03-30 at 12:34 +0530, Srinivasa Ragavan wrote:

  Whilst looking at the code for other things, I think I have spotted a
  bug in main_system_beep() in mail-session.c.
 You are absolutely right. It is a bug and the patch fixes it right. Just
 for tracking, file a bug and attach the patch to bugzilla (Pass us the
 bug id). It has to go for STABLE and trunk branches.
 

Bug id 424795.

I'm not sure what you mean by 'It has to go for STABLE and trunk
branches', I'll leave that to you.

Regards
Karl

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Bug in main_system_beep?

2007-03-31 Thread Srinivasa Ragavan
On Sat, 2007-03-31 at 10:05 +0100, Karl Relton wrote:
 
 I'm not sure what you mean by 'It has to go for STABLE and trunk
 branches', I'll leave that to you.

I mean that it has to be committed to those two SVN repositories.

-Srini
 

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Spliting evolution into several programs

2007-03-31 Thread Diego González
hi,

yesterday i gave a stab at spliting evolution into 3 components, attach
is a preliminary patch. 

The patch does the following things:
1) it creates three shells for Mail, Calendar and Addressbook
2) each shell does not have the switching buttons (but the menu is still
present although it does not do anything)
3) the settings components are only shown where they belong
4) modifies the New menu so that it only shows the meaningful
components inside each application.

Now, this is a Bonobo-based split (in that it uses bonobo as the basis
of the split (ie. there is only a new shell for each component, but the
components are still there), and there are several problems: 

a) not all the plugins can be used
b) the system that lets you add an address from the mailer does not work
as it requires functionality that belongs to the Address book component.
c) It is a Bonobo split, meaning that all the components and mostly
useless bonoboUI code is still there
d) I don't really know what to do with the memos and notes components
that belong to the calendar.

All in all this can be the begining of a crusade to remove BonoboUI (the
rest of the bonobo that is used in evolution is for communication with
EDS, but i believe there is plan and even a patch to port it to DBUS)
from Evolution and split it into 3 components, it only took me 3 hours
without knowing anything at all about evolution.

Other thing that might also be needed is to put the addressbook UI to
edit contacts into EDS this way there would be no inter-component
dependencies.

Last but not least i don't know how the exchange plugins work and thus i
don't know if this split breaks it and in which ways it does. 

Nevertheless i hope it shows a path for future work, i believe that if
evolution gets rid of the BonoboUI code contributors will find an easier
way into the code. I also say it shows a path because i don't think i
will have enough time to remove BonoboUI code.

I hope this inspires some hackers.

Best regards,
Diego

PD: i think the patch and files is everything i modified to make the
thing work, in case there is something left, just drop me a line.
Index: Makefile.am
===
--- Makefile.am	(revision 33345)
+++ Makefile.am	(working copy)
@@ -20,7 +20,7 @@
 	$(SHELL_CFLAGS)		\
 	$(EVOLUTION_TEST_CFLAGS)
 
-noinst_PROGRAMS = evolution
+noinst_PROGRAMS =  evolution evomail evocal evobook
 
 # Shell CORBA stuff
 
@@ -80,7 +80,8 @@
 # Shell library
 
 privsolib_LTLIBRARIES =	\
-	libeshell.la
+	libeshell.la	\
+	libshell.la
 
 eshellincludedir = $(privincludedir)/shell
 
@@ -115,9 +116,7 @@
 	$(top_builddir)/widgets/misc/libemiscwidgets.la	\
 	$(SHELL_LIBS)
 
-# Evolution executable
-
-evolution_SOURCES =\
+libshell_la_SOURCES =\
 	$(DATASERVER_IDL_GENERATED)		\
 	$(NM_SUPPORT_FILES)			\
 	e-component-registry.c			\
@@ -146,17 +145,68 @@
 	e-sidebar.c\
 	e-sidebar.h\
 	es-event.c\
-	es-menu.c\
+	es-menu.c
+
+libshell_la_LIBADD =			\
+	libeshell.la			\
+	$(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la	\
+	$(top_builddir)/widgets/misc/libemiscwidgets.la			\
+	$(top_builddir)/e-util/libeutil.la\
+	$(TZDIALOG_LIBS)		\
+	$(SHELL_LIBS)
+
+libshell_la_LDFLAGS = $(NO_UNDEFINED)
+
+# Evolution executable
+
+evolution_SOURCES =\
 	main.c	
 
 evolution_LDADD =			\
 	libeshell.la			\
+	libshell.la			\
 	$(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la	\
 	$(top_builddir)/widgets/misc/libemiscwidgets.la			\
 	$(top_builddir)/e-util/libeutil.la\
 	$(TZDIALOG_LIBS)		\
 	$(SHELL_LIBS)
 
+evomail_SOURCES =\
+	main-mail.c	
+
+evomail_LDADD =			\
+	libeshell.la			\
+	libshell.la			\
+	$(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la	\
+	$(top_builddir)/widgets/misc/libemiscwidgets.la			\
+	$(top_builddir)/e-util/libeutil.la\
+	$(TZDIALOG_LIBS)		\
+	$(SHELL_LIBS)
+
+evocal_SOURCES =\
+	main-cal.c
+
+evocal_LDADD =			\
+	libeshell.la			\
+	libshell.la			\
+	$(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la	\
+	$(top_builddir)/widgets/misc/libemiscwidgets.la			\
+	$(top_builddir)/e-util/libeutil.la\
+	$(TZDIALOG_LIBS)		\
+	$(SHELL_LIBS)
+
+evobook_SOURCES =\
+	main-book.c
+
+evobook_LDADD =			\
+	libeshell.la			\
+	libshell.la			\
+	$(top_builddir)/widgets/e-timezone-dialog/libetimezonedialog.la	\
+	$(top_builddir)/widgets/misc/libemiscwidgets.la			\
+	$(top_builddir)/e-util/libeutil.la\
+	$(TZDIALOG_LIBS)		\
+	$(SHELL_LIBS)
+
 # Test component
 
 if ENABLE_TEST_COMPONENT
@@ -182,7 +232,7 @@
 
 # Misc stuff
 
-server_in_files = GNOME_Evolution_Shell.server.in.in
+server_in_files = GNOME_Evolution_Shell.server.in.in GNOME_Evolution_CalShell.server.in.in GNOME_Evolution_MailShell.server.in.in GNOME_Evolution_BookShell.server.in.in
 server_DATA = $(server_in_files:.server.in.in=_$(BASE_VERSION).server)
 

Re: [Evolution-hackers] Minimize to Systray

2007-03-31 Thread Matthew Barnes
On Sat, 2007-03-31 at 22:23 -0500, Benjamin Gramlich wrote:
 Is it possible to have Evolution minimize to the system tray so that it
 can continue to run and notify me of email, but not crowd my window
 list?

No.  But you might look at a program called Mail Notification.

http://www.nongnu.org/mailnotify/

Matthew Barnes

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers