aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Modify the timezone location sorting to follow mpt's design at ↵Charles Kerr2012-05-171-4/+1
| | | | | | | | | https://wiki.ubuntu.com/TimeAndDate - the auto-detected location, if enabled, is listed before user-specified locations - Locations in the indicator always mirror the Locations Dialog's ordering - Added sort-by-name and sort-by-time buttons in the Locations Dialog
* Add the "Time in auto-detected location" setting described in ↵Charles Kerr2012-05-171-13/+21
| | | | https://wiki.ubuntu.com/TimeAndDate
* require gtk3Charles Kerr2012-05-071-7/+0
|
* minor: silence two console warnings when the calendar app is disabled.Charles Kerr2012-04-221-2/+4
|
* merge lp:~charlesk/indicator-datetime/fiz-tz-offset to fix a timezone ↵Charles Kerr2012-04-021-8/+11
|\ | | | | | | sorting issue reported by seb128 and diagnosed by desrt.
| * fix timezone sorting issue reported by seb128 and diagnosed by desrtCharles Kerr2012-04-021-8/+11
|/
* free icaltimezone's list of builtin timezones when shutting downCharles Kerr2012-03-271-0/+2
|
* merge lp:~charlesk/indicator-datetime/lp-772340 to fix some memory leaks ↵Charles Kerr2012-03-201-63/+65
|\ | | | | | | related to appointments in indicator-datetime
| * leak: fix ESourceList leak in update_appointment_menu_items()Charles Kerr2012-03-181-0/+2
| |
| * leak: fix GdkPixbuf leak when setting up appointmentsCharles Kerr2012-03-181-0/+1
| |
| * minor: fix inefficient GSList walking -- only walk a GSList once instead of ↵Charles Kerr2012-03-181-11/+5
| | | | | | | | twice per node
| * leak: fix the comp_instance struct leaks allocated in ↵Charles Kerr2012-03-181-32/+31
| | | | | | | | populate_appointment_instances() from update_appointment_menu_items(). The list was freed, but not the structs pointed to by the list.
| * don't subtract one time_t from anotherCharles Kerr2012-03-181-8/+8
| |
| * leak: plug leaks related to use of gconf_client_get_list()Charles Kerr2012-03-181-1/+3
| |
| * minor: use g_clear_error() instead of g_error_free()Charles Kerr2012-03-181-11/+9
| |