On setting the update interval, if no accounts set, remove alarmd handler.
authorJose Dapena Paz <jdapena@igalia.com>
Fri, 24 Jul 2009 11:44:04 +0000 (13:44 +0200)
committerJose Dapena Paz <jdapena@igalia.com>
Fri, 24 Jul 2009 11:44:04 +0000 (13:44 +0200)
commit80299b6ee8f4712c618e032a4db98ef588a06151
tree19cee897a268819e112a55a6b92f17efde2adc99
parent54069012e574db72b68ed3a028907a5451204195
On setting the update interval, if no accounts set, remove alarmd handler.

* src/hildon2/modest-platform.c (modest_platform_set_update_interval):
  if there are no accounts available, then we set update interval to 0
  (remove alarmd cookies then).
src/hildon2/modest-platform.c