GNOME Bugzilla – Bug 657984
There needs to be somewhere to set the default eds addressbook
Last modified: 2011-09-20 10:38:26 UTC
Right now if you enable google contacts via goa an eds addressbook is created, but the default is still the local one. You need to switch the default from evolution. This should be possible to set up without starting evolution somehow. Maybe we want a switch in the goa control center panel, or maybe we just want it to always be the default if the local addressbook hasn't been set up.
The accounts rewrite I'm trying to finish up for 3.4 will strip Evolution of its special ESource powers and make it (hopefully) just another E-D-S client. Details: http://mail.gnome.org/archives/evolution-hackers/2011-August/msg00025.html The new libedataserver API: http://mbarnes.fedorapeople.org/account-mgmt/docs/libedataserver/index.html For now the Evolution module will have to handle it. My thought was to automatically make the Google address book and/or calendar the default if the only other ESource present is the built-in "Personal" one.
Does that mean we have to start evolution? If so, maybe you can add some hack where we can run it in "just create address books mode"?
Yeah, Evolution has to be started for the online-accounts module to run, notice any new GOA accounts, set up ESources for them, and then stuff them into GConf so the D-Bus services pick them up.
So, can we add a --create-default-addressbooks commandline argument to evolution?
That would be a very short-lived command line argument, and would require refactoring more Evolution startup code than I'm comfortable doing at this late date (it's already pretty complicated and brittle). I think we just have to live with this for 3.2. The mailing list post I linked to above puts forth a proper solution for 3.4 - namely a new D-Bus service to handle ESource management. I can look at fixing the default address book issue for 3.2 though.
We now support creating eds system and goa addressbooks from gnome-contacts, and we automatically set GOA addressbooks as default if there is no other addressbook marked as default. So, this bug is now only about having a UI for this, which is a dup of 654908, so closing as dup. *** This bug has been marked as a duplicate of bug 654908 ***