[Evolution-hackers] How to wirte a Contacts Python Plugin to call external program with arguments?

2010-02-02 Thread Miguel Angel CaƱedo
Hi: I would like to write an evolution plugin (preferabily in python) to add a very simple extension: When looking at the contacts list in the addressbook, I want to add a button, toolbar button, menu or contextual menu (what ever is easier), that will call an external python progrm and will pass

Re: [Evolution-hackers] Build failures with latest git in evolution-mapi

2010-02-02 Thread Matthew Barnes
On Tue, 2010-02-02 at 17:45 -0500, Paul Smith wrote: > > OTOH, you are better of sticking with the released version of openchange > > and samba. 0.9 and alpha10 respectively. I don't think evo-mapi uses the > > latest svn revision of openchange anymore. Johnny would know better. > > I've been usin

Re: [Evolution-hackers] Build failures with latest git in evolution-mapi

2010-02-02 Thread Paul Smith
On Tue, 2010-02-02 at 17:42 -0500, Suman Manjunath wrote: > On Tue, 2010-02-02 at 16:57 -0500, Paul Smith wrote: > > Hi all; > > > > Since the openchange project recently added a new feature, I think there > > are compile problems in evolution-mapi. Doing a full git upgrade (and > > svn upgrade o

Re: [Evolution-hackers] Build failures with latest git in evolution-mapi

2010-02-02 Thread Suman Manjunath
On Tue, 2010-02-02 at 16:57 -0500, Paul Smith wrote: > Hi all; > > Since the openchange project recently added a new feature, I think there > are compile problems in evolution-mapi. Doing a full git upgrade (and > svn upgrade of openchange) an hour or two ago, then a complete clean > build, I get

[Evolution-hackers] Build failures with latest git in evolution-mapi

2010-02-02 Thread Paul Smith
Hi all; Since the openchange project recently added a new feature, I think there are compile problems in evolution-mapi. Doing a full git upgrade (and svn upgrade of openchange) an hour or two ago, then a complete clean build, I get these warnings (the warnings MIGHT have been there before, I can

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Paul Smith
On Tue, 2010-02-02 at 15:21 -0500, Matthew Barnes wrote: > On Tue, 2010-02-02 at 15:00 -0500, Paul Smith wrote: > > On Tue, 2010-02-02 at 14:30 -0500, Jeffrey Stedfast wrote: > > > If you want to get warnings about the aliasing stuff, it seems that > > > -Wstrict-aliasing=2 is the one you want. > >

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Matthew Barnes
On Tue, 2010-02-02 at 15:00 -0500, Paul Smith wrote: > On Tue, 2010-02-02 at 14:30 -0500, Jeffrey Stedfast wrote: > > If you want to get warnings about the aliasing stuff, it seems that > > -Wstrict-aliasing=2 is the one you want. > > Yep, as Jeff points out GCC does provide warnings; in fact, -Wa

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Paul Smith
On Tue, 2010-02-02 at 14:30 -0500, Jeffrey Stedfast wrote: > Matthew Barnes wrote: > > On Tue, 2010-02-02 at 12:27 -0500, Paul Smith wrote: > > > >> Anyway, I agree with you that if Evo makes use of this type of aliasing > >> then we should definitely add that flag to the default makefile flags.

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Jeffrey Stedfast
Matthew Barnes wrote: > On Tue, 2010-02-02 at 12:27 -0500, Paul Smith wrote: > >> Anyway, I agree with you that if Evo makes use of this type of aliasing >> then we should definitely add that flag to the default makefile flags. >> Configure can check for it and use it if present. >> > > Don

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Jeffrey Stedfast
Xavier Bestel wrote: > On Tue, 2010-02-02 at 18:13 +, Matthew Barnes wrote: > >> On Tue, 2010-02-02 at 12:27 -0500, Paul Smith wrote: >> >>> Anyway, I agree with you that if Evo makes use of this type of aliasing >>> then we should definitely add that flag to the default makefile flags.

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Xavier Bestel
On Tue, 2010-02-02 at 18:13 +, Matthew Barnes wrote: > On Tue, 2010-02-02 at 12:27 -0500, Paul Smith wrote: > > Anyway, I agree with you that if Evo makes use of this type of aliasing > > then we should definitely add that flag to the default makefile flags. > > Configure can check for it and u

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Matthew Barnes
On Tue, 2010-02-02 at 12:27 -0500, Paul Smith wrote: > Anyway, I agree with you that if Evo makes use of this type of aliasing > then we should definitely add that flag to the default makefile flags. > Configure can check for it and use it if present. Done. Although, I imagine many distros have a

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Paul Smith
On Tue, 2010-02-02 at 11:05 -0500, Jeffrey Stedfast wrote: > Paul Smith wrote: > > On Mon, 2010-02-01 at 11:52 -0500, Jeffrey Stedfast wrote: > > > >> This weekend I discovered a particularly nasty bug in gcc 4.4 where gcc > >> would mistakenly optimize out important sections of code > >> when i

Re: [Evolution-hackers] gcc 4.4 may be causing a number of bugs in Evolution

2010-02-02 Thread Jeffrey Stedfast
Paul Smith wrote: > On Mon, 2010-02-01 at 11:52 -0500, Jeffrey Stedfast wrote: > >> This weekend I discovered a particularly nasty bug in gcc 4.4 where gcc >> would mistakenly optimize out important sections of code >> when it encountered a particular trick used in a ton of places inside >> Evol

[Evolution-hackers] Programmatically configure an Evolution account

2010-02-02 Thread Johan Groth
Hi all, I'm writing a program that will allow a user to generate two certificates, one for authentication and one for encryption. This program is also supposed to configure the user's Evolution account to use these certificates (ie s/mime settings). I found on the web site (http://library.gnome.or