aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
Commit message (Collapse)AuthorAgeFilesLines
* don't crash with a g_error() in on_bus_lost(). There's a valid case for this ↵Charles Kerr2013-10-161-3/+0
| | | | happening when the greeter's bus is force-shutdown
* make clock_app_icon_filename a field of IndicatorDatetimeServicePrivCharles Kerr2013-10-151-29/+40
|
* use the clock app's icon for the 'Clock' menuitem, and launch the clock app ↵Charles Kerr2013-10-151-2/+56
| | | | when it's clicked.
* cache our internal GTimeZone instead of constantly re-creating it. Fixes: ↵Charles Kerr2013-10-151-2/+29
|\ | | | | | | | | | | https://bugs.launchpad.net/bugs/1238043. Approved by PS Jenkins bot, Ted Gould.
| * random fiddling: add G_UNLIKELY to the internal_timezone testCharles Kerr2013-10-151-1/+1
| |
| * ccache our internal GTimeZone instead of constantly re-creating it.Charles Kerr2013-10-141-2/+29
| |
* | add an icon for alarm appointment menuitemsCharles Kerr2013-10-141-2/+6
| |
* | use ubuntu mobile's icon name for the alarm clock iconCharles Kerr2013-10-141-1/+1
|/
* don't use ascii quote marks.Charles Kerr2013-10-041-1/+1
|
* when an unsupported date format is being used, tell what it is so that we ↵Charles Kerr2013-10-041-1/+1
| | | | can triage the issue.
* start tracking failure-to-connect-to-bus errors on indicator-datetime. ↵Charles Kerr2013-10-041-0/+3
|\ | | | | | | | | | | Fixes: https://bugs.launchpad.net/bugs/1227519. Approved by PS Jenkins bot, Ted Gould.
| * start tracking failure-to-connect-to-bus on indicator-datetimeCharles Kerr2013-10-041-0/+3
| |
* | Update settings URL to settings:///system. Fixes: ↵Charles Kerr2013-10-031-1/+1
|\ \ | | | | | | | | | | | | | | | https://bugs.launchpad.net/bugs/1231444. Approved by Ted Gould, PS Jenkins bot.
| * | Update settings URL to settings:///systemCharles Kerr2013-10-031-1/+1
| |/
* / phone: show appointments at 1AM as '1 AM', clock times as '1:00 AM'Charles Kerr2013-10-031-1/+1
|/
* Use url-dispatcher instead of invoking system-settings directly.Charles Kerr2013-09-251-1/+2
|
* in the phone profile, move the day-of-week entry from the first menuitem to ↵Charles Kerr2013-09-111-5/+5
| | | | the header action state's title as per the spec
* add 'title' to the root action's state dictCharles Kerr2013-09-111-0/+4
|
* This change adds a GSettings* arg to the utils functions so that they don't ↵Charles Kerr2013-09-081-40/+10
|\ | | | | | | | | | | | | | | have to churn through temporary GSettings objects. These functions are usually called in a loop, causing a lot of GSettings temporaries, even though the calling code already has an instance for that GSettings schema. Approved by Ted Gould, PS Jenkins bot.
| * in the utils functions, add a GSettings argument for the functions that use ↵Charles Kerr2013-09-071-6/+7
| | | | | | | | a GSettings s.t. they don't have to keep reloading settings in a temporary every time they're called.
| * both service.c and utils.c have an enum for the time format mode, so share ↵Charles Kerr2013-09-071-9/+0
| | | | | | | | it in settings-shared.h
| * in service.c, remove unnecessary function get_time_format_mode()Charles Kerr2013-09-071-23/+1
| |
| * copyediting: use G_VARIANT_TYPE_VARDICT instead of G_VARIANT_TYPE('a{sv}')Charles Kerr2013-09-071-2/+2
| |
* | Protect against invalid begin or end dates. Fixes: ↵Ted Gould2013-09-081-4/+4
|\ \ | | | | | | | | | | | | | | | https://bugs.launchpad.net/bugs/1216263. Approved by PS Jenkins bot, Charles Kerr.
| * | Make all seconds a tenth of a second in boundsTed Gould2013-09-061-4/+4
| |/
* | in service.c's create_locations_section(), remove an unnecessary temporaryCharles Kerr2013-09-071-3/+1
| |
* | remove unnecessary strdup/free of the location menuitems' labelsCharles Kerr2013-09-071-3/+0
| |
* | remove unnecessary strdup/free of the location menuitems' labelsCharles Kerr2013-09-071-3/+2
| |
* | in service.c, use g_variant_new_take_string() instead of ↵Charles Kerr2013-09-071-7/+3
|\ \ | |/ |/| | | g_variant_new_string() where appropriate
| * in service.c, use g_variant_new_take_string() instead of ↵Charles Kerr2013-09-051-7/+3
| | | | | | | | g_variant_new_string() where appropriate
* | in update_appointment_lists(), safeguard against NULL GDateTimes.Charles Kerr2013-09-051-12/+13
| |
* | fix 'upcoming appointment' section menuitems issue reported by tedCharles Kerr2013-09-051-6/+3
|/
* use GSlice for allocating/freeing service's TimeLocation structsCharles Kerr2013-09-051-2/+2
|
* use GSlice for allocating/freeing service's setlocation_data structsCharles Kerr2013-09-051-2/+2
|
* update the service to use Planner's async APICharles Kerr2013-09-051-79/+148
|
* Don't use deprecated g_simple_action_group_insert; use ↵Iain Lane2013-08-221-3/+3
| | | | g_action_map_add_action instead
* Use month '1' when constructing the 'begin' range to decide which ↵Iain Lane2013-08-221-1/+1
| | | | | | | | appointments to display. GLib started validating the arguments to g_date_time_new and it turns out that '0' isn't a valid day of the month. :-)
* add 'terse' time formats for phone menu to match the spec.Charles Kerr2013-07-261-16/+17
|
* add the phone's header actionCharles Kerr2013-07-261-10/+92
|
* in the phone menu, add a 'Clock' menuitem above the alarm and appointment ↵Charles Kerr2013-07-251-0/+6
| | | | events.
* add a calendar icon to the todays-date menuitems as per specCharles Kerr2013-07-251-4/+7
|
* add calendar section for the phone menuCharles Kerr2013-07-251-29/+57
|
* split the phone and desktop flavors of the appointments section s.t. the ↵Charles Kerr2013-07-251-38/+54
| | | | phone menu doesn't have a 'Add Event…' menuitem
* in the appointments section, only show the next instance of recurring ↵Charles Kerr2013-07-251-1/+7
| | | | events. If the event is daily, say so in the time format string.
* Add support for displaying alarms.Charles Kerr2013-07-251-4/+10
| | | | | EDS treats alarms as attributes of existing calendar events, so the difference in supporting them in the indicator is largely visual -- we use a different x-canonical-type for the menuitem so that clients can render them differently, such as with an alarm icon.
* for the phone menu, add a 'Time & Date settings...' menuitem to launch ↵Charles Kerr2013-07-251-9/+29
| | | | 'system-settings time-date'
* add a (currently unimplemented) PROFILE_PHONE to our enumCharles Kerr2013-07-251-9/+16
|
* in service.c, use 'desktop_greeter' as the key instead of 'greeter'Charles Kerr2013-07-011-1/+1
|
* use … directly in strings instead of the C octal escaped UTF-8.Charles Kerr2013-06-281-1/+1
|
* remove the --replace command-line argument and property as we're using ↵Charles Kerr2013-06-201-91/+11
| | | | upstart for that