aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
Commit message (Collapse)AuthorAgeFilesLines
* wrap globals into a struct as a precursor to turning the service code into a ↵Charles Kerr2013-05-131-371/+417
| | | | GObject
* g_object_unref doesn't require G_OBJECT()Charles Kerr2013-05-121-8/+7
|
* compile cleanly with -WextraCharles Kerr2013-05-121-21/+32
|
* extract EDS code into its own mockable classCharles Kerr2013-05-121-532/+282
|
* rename the 'DatetimeLocation' classes to the more accurate name ↵Charles Kerr2013-05-061-9/+9
| | | | 'DatetimeTimezone'
* make location-file (the /etc/timezone monitor) a sibling of location-geoclue ↵Charles Kerr2013-05-061-53/+22
| | | | (the geoclue service monitor)
* readability changes suggested by larsCharles Kerr2013-05-061-4/+3
|
* sync with trunkCharles Kerr2013-05-061-15/+16
|\
| * merge ryan's timedate1 fixes from the 13.04 branchCharles Kerr2013-05-031-6/+6
| |\
| | * Port to timedated instead of gnome-settings-daemon datetime mechanismRyan Lortie2013-03-011-6/+6
| | |
| * | Whitespace fixesIain Lane2013-03-191-6/+6
| | |
| * | Use logind instead of UPower as the UPower interface we're relying on will ↵Iain Lane2013-03-191-8/+12
| | | | | | | | | | | | go away
| * | Use NotifyResume from UPower to trigger the clock adjustment on resumeIain Lane2013-03-181-11/+8
| |/ | | | | | | | | Removes a ConsoleKit dependency.
* | fix a g_critical by calling gtk_init() before we try to get the icon size.Charles Kerr2013-05-031-0/+2
| |
* | refactor the geoclue code into its own class.Charles Kerr2013-05-031-180/+34
|/
* Fix timezonefile reference leak in build_timezone. Fixes: ↵Colin Watson2013-02-041-0/+1
|\ | | | | | | | | | | https://bugs.launchpad.net/bugs/1111628. Approved by Mathieu Trudel-Lapierre, PS Jenkins bot.
| * Fix timezonefile reference leak in build_timezone.Colin Watson2013-01-311-0/+1
| |
* | Correct signatures of callbacks passed to g_object_connect. Fixes: ↵Colin Watson2013-01-311-12/+29
|\ \ | |/ |/| | | | | | | https://bugs.launchpad.net/bugs/1110362. Approved by Mathieu Trudel-Lapierre, PS Jenkins bot.
| * Correct signatures of callbacks passed to g_object_connect.Colin Watson2013-01-301-12/+29
| |
* | Check for NULL appointments in hide_all_appointments.Colin Watson2013-01-301-2/+4
|/
* remove g_type_init() calls and bump glib minimum to 2.35.4, where ↵Charles Kerr2013-01-171-2/+0
| | | | g_type_init() is deprecated
* minor copyediting in the geoclue sectionCharles Kerr2012-11-041-14/+8
|
* only use geoclue if ↵Charles Kerr2012-11-041-2/+14
| | | | com.canonical.indicator.datetime.show-auto-detected-location is true. honor GSettings changes for that variable to disable/enable our use of geoclue.
* copyeditingCharles Kerr2012-11-041-24/+13
|
* new functions, geo_start() and geo_stop(), so that geo_client_invalid() and ↵Charles Kerr2012-11-041-11/+17
| | | | main() don't have to duplicate each other's code
* clarify variable names: the GeoclueMaster is 'geo_master'; the ↵Charles Kerr2012-11-041-15/+17
| | | | GeoclueMasterClient is 'geo_client'
* move geoclue variables to the geoclue section of the codeCharles Kerr2012-11-041-6/+15
|
* extract method geo_set_timezone() from geo_address_cb() and ↵Charles Kerr2012-11-041-23/+13
| | | | geo_client_invalid() s.t. modifying the geo_location variable always happens in just one place.
* Display all-day events in localtime rather than utc. Fixes: ↵Charles Kerr2012-11-031-1/+1
|\ | | | | | | | | | | https://bugs.launchpad.net/bugs/1000182. Approved by Lars Uebernickel, PS Jenkins bot.
| * express all-day events in the local timezoneCharles Kerr2012-11-011-1/+1
| |
* | in month_changed_cb(), remove the call to hide_all_appointments() to avoid ↵Charles Kerr2012-11-011-2/+0
| | | | | | | | flicker, same idea as previous commit.
* | in day_selected_cb(), remove the call to hide_all_appointments() to avoid ↵Charles Kerr2012-10-291-2/+0
| | | | | | | | flicker coming from the idle interval between this func and update_appointment_menu_items_idle(). Suggested by thjaeger.
* | make hide_all_appointments() do what its function name says it does.Charles Kerr2012-10-291-1/+3
|/
* fix off-by-one error in the appointments dbusmenuitem arrayCharles Kerr2012-10-091-1/+1
|
* Check return value of e_cal_client_new for NULLLars Uebernickel2012-10-051-0/+6
|
* get i-datetime's use of the EDS 3.5 API working.Charles Kerr2012-10-041-126/+115
|\
| * copyediting: tweak indentationCharles Kerr2012-10-041-5/+6
| |
| * a timing issue was causing the appointment menuitems to be grouped into the ↵Charles Kerr2012-10-031-56/+40
| | | | | | | | wrong section. Resolve this by creating them at the same time as the 'Add Event...' menuitem in the same group.
| * Our client code for EDS 3.5 is triggering a periodic loop of rebuilds:Charles Kerr2012-10-031-30/+54
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * don't use gconf to see if evolution accounts are installed -- we can have ↵Charles Kerr2012-10-031-10/+14
| | | | | | | | calendars even if gconf returns empty
| * fix populate_appointment_instances() to use ECalComponents instead of ↵Charles Kerr2012-10-031-43/+19
|/ | | | ECalClients.
* copyediting: typo tweakCharles Kerr2012-09-201-1/+1
|
* Fix r190 typo. Yet another reminder to drink my morning coffee /before/ pushing.Charles Kerr2012-09-201-1/+1
|
* for SKEW_DIFF_THRESHOLD_SEC and SKEW_CHECK_INTERVAL_SEC, use #define instead ↵Charles Kerr2012-09-201-5/+3
| | | | of enum
* move declaration of SKEW_CHECK_INTERVAL_SEC and SKEW_DIFF_THRESHOLD_SEC to ↵Charles Kerr2012-09-201-7/+7
| | | | the top of the file.
* clocks don't skew very often, so let's reduce the frequency that we test for ↵Charles Kerr2012-09-191-6/+14
| | | | this.
* in datetime-service, add a seconds timer that watches for clock skew and ↵Charles Kerr2012-09-191-7/+37
| | | | rebuilds the labels when it finds it
* rename 'timer' as 'day_timer' to make room in the namespace for a second timerCharles Kerr2012-09-191-18/+18
|
* Stop watching the address provider change, we don't really careTed Gould2012-09-121-25/+0
|
* cyphermox patch to support EDS 3.6's APICharles Kerr2012-07-121-92/+84
|