GNOME Bugzilla – Bug 658532
Display a "need to run evo" dialog on first run
Last modified: 2011-09-14 20:06:33 UTC
Right now you need to start evolution once to set up you addressbooks, including GOA integration. We need to detect the case where this hasn't happened and tell the user to start up evolution.
I hope we'll be able to avoid this in the future.
I'm working on this from the Evolution side for 3.4. See: https://mail.gnome.org/archives/evolution-hackers/2011-August/msg00025.html
Here is what Matt said recently on this topic: Rather than hack (and probably break) Evolution at the last minute, I suggest just copy and paste the code you need out of Evolution for 3.2, with the understanding that a proper solution is on the way. Most of what you need to cherry-pick is here: book_shell_backend_ensure_sources() http://git.gnome.org/browse/evolution/tree/modules/addressbook/e-book-shell-backend.c#n71 and here: online_accounts_google_sync_contacts() http://git.gnome.org/browse/evolution/tree/modules/online-accounts/e-online-accounts-google.c#n333
I added workaround code for 3.2 to set up accounts as needed. However it doesn't yet modify the default setting, see bug 659049 for that.
Actually it doesn't seem to be creating the local addressbook in a test here...
This was due to passing only_if_exists when opening addressbooks in folks, that has now been fixed.