|
From: <svn...@op...> - 2009-11-03 13:29:29
|
Author: henrik Date: Tue Nov 3 14:29:10 2009 New Revision: 5918 URL: http://www.opensync.org/changeset/5918 Log: The mozilla-sync configuration file now accepts the NAME of a lightning calender, not the ID (which nobody knows anyway and is hard to get at without manually running sqlite3) Modified: plugins/mozilla-sync/trunk/src/mozilla-sync Modified: plugins/mozilla-sync/trunk/src/mozilla-sync ============================================================================== --- plugins/mozilla-sync/trunk/src/mozilla-sync Mon Nov 2 22:40:13 2009 (r5917) +++ plugins/mozilla-sync/trunk/src/mozilla-sync Tue Nov 3 14:29:10 2009 (r5918) @@ -22,22 +22,13 @@ </Resource> <Resource> - <!-- Identifier of the Mozilla calendar. - Under the profile directory there should be a file called storage.sdb - This file contains the Mozilla calendars. - Try the shell command sqlite3 /home/someone/.thunderbird/ab1cde23/storage.sdb - And in this sqlite3 command window give the command - SELECT p.value, c.uri FROM cal_calendars AS c - LEFT JOIN cal_calendars_prefs AS p ON c.id=p.calendar WHERE p.name='name'; - The identifier is given in the URL after moz-profile-calendar://?id= - If the URL has no ?id= the identifier is zero --> <Enabled>1</Enabled> <Formats> <Format> <Name>vevent20</Name> </Format> </Formats> - <Name>0</Name> + <Name>MyLightningCalendar</Name> <ObjType>event</ObjType> </Resource> |