aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* merge ryan's timedate1 fixes from the 13.04 branchCharles Kerr2013-05-032-88/+50
|\
| * Port to timedated instead of gnome-settings-daemon datetime mechanism.Ryan Lortie2013-03-262-88/+50
| |\ | | | | | | | | | Approved by PS Jenkins bot, Mathieu Trudel-Lapierre, Charles Kerr.
| | * prefs: remove second signal connection for toggle_ntpRyan Lortie2013-03-041-4/+1
| | | | | | | | | | | | | | | Copy/paste error. Thanks Charles. :)
| | * preferences: Add CanNTP supportRyan Lortie2013-03-041-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | If timedated has the CanNTP property then use it to set the sensitivity of the "Automatically from the internet" radio. This property is only available in new versions of systemd, so if the property is not set, leave the widget sensitive.
| | * Send proper arguments for SetTime callRyan Lortie2013-03-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | vs. the gnome-settings-daemon DateTimeMechanism, the systemd version adds an extra two boolean arguments and wants time in microseconds instead of seconds. Make sure we're doing that properly.
| | * Port to timedated instead of gnome-settings-daemon datetime mechanismRyan Lortie2013-03-012-87/+40
| | |
* | | Use logind instead of ConsoleKit to adjust the clock upon return from sleep. ↵Iain Lane2013-05-031-9/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | Fixes: https://bugs.launchpad.net/bugs/1156613. Approved by Martin Pitt, Mathieu Trudel-Lapierre, PS Jenkins bot.
| * | | 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.
* | | 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.