aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-datetime.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-10-03 22:56:10 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-10-03 22:56:10 -0500
commit0048385ecec65c6bbfad527261ac9d8ac180d0ef (patch)
treeb6c02186a82d1ae992da0d6a4cf974e856da4197 /src/indicator-datetime.c
parent6db1219ef000df92d5389922123fe85170fa9350 (diff)
downloadayatana-indicator-datetime-0048385ecec65c6bbfad527261ac9d8ac180d0ef.tar.gz
ayatana-indicator-datetime-0048385ecec65c6bbfad527261ac9d8ac180d0ef.tar.bz2
ayatana-indicator-datetime-0048385ecec65c6bbfad527261ac9d8ac180d0ef.zip
Our client code for EDS 3.5 is triggering a periodic loop of rebuilds:
1. We create an ESource and listen for its "changed" signal. 2. EDS appears to be emitting a "changed" idly after the source is created. 3. We handle the changed event by rebuilding our source list... goto 1. This commit breaks the loop by building the appointment source list once on startup and keeping it as a private field. It adds upkeep code to rebuild the list when the EDS registry tells us that sources have been added or removed.
Diffstat (limited to 'src/indicator-datetime.c')
0 files changed, 0 insertions, 0 deletions