After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 658532 - Display a "need to run evo" dialog on first run
Display a "need to run evo" dialog on first run
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks: 659040
 
 
Reported: 2011-09-08 08:26 UTC by Alexander Larsson
Modified: 2011-09-14 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Larsson 2011-09-08 08:26:48 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.
Comment 1 Allan Day 2011-09-08 08:51:27 UTC
I hope we'll be able to avoid this in the future.
Comment 2 Matthew Barnes 2011-09-08 12:12:21 UTC
I'm working on this from the Evolution side for 3.4.  See: https://mail.gnome.org/archives/evolution-hackers/2011-August/msg00025.html
Comment 3 Matthias Clasen 2011-09-14 12:33:29 UTC
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
Comment 4 Alexander Larsson 2011-09-14 13:27:00 UTC
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.
Comment 5 Alexander Larsson 2011-09-14 14:14:51 UTC
Actually it doesn't seem to be creating the local addressbook in a test here...
Comment 6 Alexander Larsson 2011-09-14 20:06:33 UTC
This was due to passing only_if_exists when opening addressbooks in folks, that has now been fixed.