Re: [SOGo] Set calendar refresh time

2013-01-15 Thread Nobody

Just came across this as well.
In Lightning 1.9, if you extract the XPI, and edit the file 
calendar-js/calCalendarManager.js, you'll find the lines below :


if (refreshInterval === null) {
// Default to 30 minutes, in case the value is missing
refreshInterval = 30;
}

You might be able to get away with changing that value to 5 and zipping 
the extension back up.

This would work better for new deployments obviously.

I know its been a while since the original question was posted, but 
better late than never.


On 03/13/2012 07:57 AM, cerrisa...@yahoo.it wrote:

SOGo 1.3.12C, Thunderbird 10, Lightning 1.2.3. Configured on sogo-integrator
inserting the following line in chrome/content/general/ custom-preferences.js:
force_int_pref(calendar.autorefresh.timeout, 5);
But the refresh time in calendars remain 30 minute. Look at about:config and
find calendar.registry.HASH VALUE.refreshInterval, but don't know hot set int
in custom-preferences.js.
Can somebody help?
THX




The information contained in this e-mail message may be privileged, 
confidential and protected from disclosure. If you are not the intended 
recipient, any dissemination, distribution or copying is strictly prohibited. 
If you think that you have received this e-mail message in error, please e-mail 
the sender at the above e-mail address.

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Set calendar refresh time

2013-01-15 Thread Nobody
There is another place where the default calendar refresh interval is 
set within the contents of the Lightning extension, atleast for 1.9.


Its in chrome/calendar/content/calendar/calendar-properties-dialog.js

The line :

if (refreshInterval === null) refreshInterval = 30;

I changed it to 5, did a test install, and confirmed it worked.

Probably over complicating this though, I imagine there is a global 
preference value I'm just not aware of.


On 01/15/2013 04:53 PM, Nobody wrote:

Just came across this as well.
In Lightning 1.9, if you extract the XPI, and edit the file
calendar-js/calCalendarManager.js, you'll find the lines below :

if (refreshInterval === null) {
// Default to 30 minutes, in case the value is missing
refreshInterval = 30;
}

You might be able to get away with changing that value to 5 and zipping
the extension back up.
This would work better for new deployments obviously.

I know its been a while since the original question was posted, but
better late than never.

On 03/13/2012 07:57 AM, cerrisa...@yahoo.it wrote:

SOGo 1.3.12C, Thunderbird 10, Lightning 1.2.3. Configured on
sogo-integrator
inserting the following line in chrome/content/general/
custom-preferences.js:
force_int_pref(calendar.autorefresh.timeout, 5);
But the refresh time in calendars remain 30 minute. Look at
about:config and
find calendar.registry.HASH VALUE.refreshInterval, but don't know
hot set int
in custom-preferences.js.
Can somebody help?
THX




The information contained in this e-mail message may be privileged, 
confidential and protected from disclosure. If you are not the intended 
recipient, any dissemination, distribution or copying is strictly prohibited. 
If you think that you have received this e-mail message in error, please e-mail 
the sender at the above e-mail address.

--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Set calendar refresh time

2012-03-13 Thread cerrisauro
SOGo 1.3.12C, Thunderbird 10, Lightning 1.2.3. Configured on sogo-integrator
inserting the following line in chrome/content/general/ custom-preferences.js:
force_int_pref(calendar.autorefresh.timeout, 5);
But the refresh time in calendars remain 30 minute. Look at about:config and
find calendar.registry.HASH VALUE.refreshInterval, but don't know hot set int
in custom-preferences.js.
Can somebody help?
THX
-- 
users@sogo.nu
https://inverse.ca/sogo/lists