aboutsummaryrefslogtreecommitdiff
path: root/src
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
* minor tweak to properties array initializationCharles Kerr2013-05-131-3/+1
|
* g_object_unref doesn't require G_OBJECT()Charles Kerr2013-05-121-8/+7
|
* compile cleanly with -WextraCharles Kerr2013-05-124-29/+42
|
* extract EDS code into its own mockable classCharles Kerr2013-05-126-532/+1046
|
* minor documentation & #include cleanups to the timezone classesCharles Kerr2013-05-125-24/+15
|
* in timezone-file, check to see if the new timezone differs from the old one ↵Charles Kerr2013-05-061-6/+13
| | | | before emitting a property-change notification
* rename the 'DatetimeLocation' classes to the more accurate name ↵Charles Kerr2013-05-0611-279/+279
| | | | 'DatetimeTimezone'
* make location-file (the /etc/timezone monitor) a sibling of location-geoclue ↵Charles Kerr2013-05-065-55/+322
| | | | (the geoclue service monitor)
* readability changes suggested by larsCharles Kerr2013-05-062-5/+4
|
* sync with trunkCharles Kerr2013-05-062-97/+60
|\
| * 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.
* | | | 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-036-180/+536
|/ / /
* | | 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
|