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 673610 - gnome-shell-calendar-server: deal with Evolution's move to GSettings
gnome-shell-calendar-server: deal with Evolution's move to GSettings
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 673474 673637 673672 674224 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-04-05 21:57 UTC by Owen Taylor
Modified: 2012-04-19 00:15 UTC
See Also:
GNOME target: 3.4
GNOME version: ---


Attachments
gnome-shell-calender-server: fix debug prints (1.63 KB, patch)
2012-04-05 21:57 UTC, Owen Taylor
committed Details | Review
gnome-shell-calendar-server: deal with Evolution's move to GSettings (9.83 KB, patch)
2012-04-05 21:57 UTC, Owen Taylor
committed Details | Review

Description Owen Taylor 2012-04-05 21:57:30 UTC
Somehow nobody has noticed that the configuration we were looking at for
enabled calendars is no longer at the location where we were looking.
Comment 1 Owen Taylor 2012-04-05 21:57:33 UTC
Created attachment 211435 [details] [review]
gnome-shell-calender-server: fix debug prints

Several debug prints not normally compiled were referencing enumeration
values that have since been renamed.
Comment 2 Owen Taylor 2012-04-05 21:57:36 UTC
Created attachment 211436 [details] [review]
gnome-shell-calendar-server: deal with Evolution's move to GSettings

Evolution now stores its selected calendars and tasks in GSettings, not
in GConf. If we don't look at the new location, then we'll not pick up
newly added and enabled calendars, making the calendar effectively not
work for new installs.
Comment 3 Milan Bouchet-Valat 2012-04-06 12:29:22 UTC
*** Bug 673637 has been marked as a duplicate of this bug. ***
Comment 4 Jasper St. Pierre (not reading bugmail) 2012-04-06 14:48:36 UTC
Review of attachment 211435 [details] [review]:

Sure.
Comment 5 Jasper St. Pierre (not reading bugmail) 2012-04-07 00:37:40 UTC
*** Bug 673672 has been marked as a duplicate of this bug. ***
Comment 6 Jasper St. Pierre (not reading bugmail) 2012-04-07 00:40:14 UTC
Review of attachment 211436 [details] [review]:

ugh. I'm disappointed that 1) it's half GConf and half GSettings, and 2) e-d-s doesn't handle this for us, but well...

Otherwise, this looks fine.
Comment 7 Ionut Biru 2012-04-16 13:19:05 UTC
can this patch land in master before 3.4.1?
Comment 8 Owen Taylor 2012-04-16 16:42:43 UTC
Attachment 211435 [details] pushed as 0e8fd45 - gnome-shell-calender-server: fix debug prints
Attachment 211436 [details] pushed as 5046938 - gnome-shell-calendar-server: deal with Evolution's move to GSettings
Comment 9 Matthew Barnes 2012-04-17 14:57:46 UTC
(In reply to comment #6)
> ugh. I'm disappointed that 1) it's half GConf and half GSettings, and 2) e-d-s
> doesn't handle this for us, but well...

For the record I'm working on the remaining GConf keys, but it's taking a long time to complete.

The horrible XML account blobs that Evolution keeps in GConf are not destined for GSettings.  Instead they're destined for a whole new account format and a whole new API.

Details are here if you're curious...
http://live.gnome.org/Evolution/ESourceFileFormat

I shall help with the gnome-shell-calendar-server porting as soon as this lands.
Comment 10 Frederic Bezies 2012-04-18 13:51:41 UTC
*** Bug 673474 has been marked as a duplicate of this bug. ***
Comment 11 Jasper St. Pierre (not reading bugmail) 2012-04-19 00:15:20 UTC
*** Bug 674224 has been marked as a duplicate of this bug. ***