aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* this is an assertion, so use g_assert()Charles Kerr2013-05-011-1/+1
|
* since we're just testing to see if the calendar's been created yet, test for ↵Charles Kerr2013-05-011-2/+2
| | | | NULL instead of using IDO_IS_CALENDAR_MENU_ITEM()
* fix for the datetime g_critical reported by desrtCharles Kerr2013-05-011-20/+27
|
* minor tyop fix: s/notfy/notify/Charles Kerr2013-05-011-2/+2
|
* Go back to ISO 8601 datesMichael Terry2013-03-071-1/+4
|
* 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-241-1/+1
|\
| * fix off-by-one error in the appointments dbusmenuitem arrayCharles Kerr2012-10-091-1/+1
| |
* | remove stray semicolon found by CoverityCharles 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-042-131/+128
|\
| * 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.
| * fix r189 oops. This code would be cleaner if handled upstream in IDO... ↵Charles Kerr2012-10-031-2/+2
| | | | | | | | filed side ticket #1061364 for that side issue
| * 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.
| * When showing/hiding the menu, don't change the calendar date if it's already ↵Charles Kerr2012-10-031-5/+13
| | | | | | | | what we want. This way we avoid unnecessary appointment rebuilds in the service.
| * 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
|
* update all of the indicator's labels when the menu's visibility changes to trueCharles Kerr2012-09-191-0/+5
|
* 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
|
* * src/utils.cBob Owen2012-05-251-3/+4
| | | | | | | - generate_format_string_full - Changed space between date and time to Unicode en space. Added using UTF-8 hex encoding (0xE28082) to avoid the need to mess with CFLAGS to add std=c99. (LP: #749847)
* merge lp:~charlesk/indicator-datetime/lp-833325 to have locations follow the ↵Charles Kerr2012-05-214-22/+190
|\ | | | | | | sort order specified in https://wiki.ubuntu.com/TimeAndDate
| * Modify the timezone location sorting to follow mpt's design at ↵Charles Kerr2012-05-172-9/+166
| | | | | | | | | | | | | | | | | | 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-173-13/+24
| | | | | | | | https://wiki.ubuntu.com/TimeAndDate
* | fix a bug that caused the location settings to re-saved every time ↵Charles Kerr2012-05-171-1/+5
|/ | | | update_times() was called (which is periodically every 2 seconds).