aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
Commit message (Collapse)AuthorAgeFilesLines
* remove unused old fileCharles Kerr2014-01-291-2432/+0
|
* Set calendar to the current date when the menu is popped upLars Uebernickel2014-01-291-1/+18
| | | | | | This makes use of the "submenu-action" attribute to get notified when the menu is popped up.
* Run the unity-control-center panel under Unity. Rename the unity panel to ↵Robert Ancell2014-01-221-2/+14
| | | | just "datetime"
* don't sink variants returned by g_icon_serialize(). Also, remove the overly ↵Charles Kerr2013-11-081-45/+11
| | | | complex dict_entry variants.
* copyeditingCharles Kerr2013-11-081-10/+13
|
* when setting a G_MENU_ATTRIBUTE_ICON property, use g_icon_serialize() output ↵Charles Kerr2013-11-081-53/+74
| | | | instead of a filename / themed icon name
* in the desktop greeter profile, don't allow the user to activate calendar dates.Charles Kerr2013-10-311-56/+32
|
* remove a debug tracer that accidentally got committedCharles Kerr2013-10-301-1/+0
|
* Add support for showing the year in indicator-datetimeCharles Kerr2013-10-301-1/+4
|
* sync with trunkCharles Kerr2013-10-241-1/+1
|\
| * make GObject a prerequisite of the IndicatorDatetimeClock interface.Charles Kerr2013-10-231-1/+1
| |
* | fix a trio of pedantic gcc warningsCharles Kerr2013-10-181-1/+1
| |
* | replace autotools with cmakeCharles Kerr2013-10-181-2/+0
|/
* since we keep reusing the same GVariants again and again forever, cache them.Charles Kerr2013-10-181-29/+54
|
* when building the desktop header state, reuse the label variantCharles Kerr2013-10-171-2/+5
|
* because it rarely changes, cache the header_label_format_string.Charles Kerr2013-10-171-18/+28
|
* cache the timezone strv; lazy-rebuilding it when neededCharles Kerr2013-10-171-2/+1
|
* cleanup: dead code removal, fix comments, smaller implementation of ↵Charles Kerr2013-10-171-1/+1
| | | | update_internal_localtime()
* refactor the timezone and current time provider into a gobject Interface ↵Charles Kerr2013-10-171-133/+97
| | | | 'IndicatorDatetimeClock'
* == Changes to planner-eds:Charles Kerr2013-10-171-27/+359
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The get-appointments GTask has a new task subtype for pulling an ECalComponent's uris asynchronously. When get_appointments() is called, create one GTask. We add subtasks to it for each client we know of for calling e_cal_client_generate_instances(). What's new is that for each ECalComponent we find in generate_instances(), we add another new subtask that tries to get the uris for that component. == Testing changes: Make "planner" a property in IndicatorDatetimeService so that we can swap in different appointment planners at runtime. This is for unit testing purposes. Add a mechanism for testing snap decisions without an EDS backend. == Service changes: Every time the appointment list changes, walk through it to find the alarm that will occur the soonest. Set a timer to wake up at that time. When the timer is reached, pop up a snap decision for each alarm set to that time. If the user clicks "OK", dispatch the URL associated with that alarm. Made the appointment menuitems clickable, they now dispatch the appointment's URL. Fixes: https://bugs.launchpad.net/bugs/1233176. Approved by PS Jenkins bot, Ted Gould.
| * in the alarm snap decision, add x-canonical-private-button-tint hint to ↵Charles Kerr2013-10-161-2/+6
| | | | | | | | highlight the 'Show' button
| * change ok/cancel buttons to the slightly-more-informative show/dismissCharles Kerr2013-10-161-3/+3
| |
| * sync with trunkCharles Kerr2013-10-161-13/+104
| |\
| * | use a two-button snap decision because one-button snap decisions don't show up.Charles Kerr2013-10-161-12/+22
| | |
| * | for testing purposes, fire off a snap decision as soon as the datetime ↵Charles Kerr2013-10-161-23/+10
| | | | | | | | | | | | indicator is started. this way one can test on phablet by running as user phablet
| * | tweak snap decision commentsCharles Kerr2013-10-141-5/+4
| | |
| * | extract-method: show_snap_decision_for_alarmCharles Kerr2013-10-091-36/+37
| | |
| * | more wiring in of mock objectsCharles Kerr2013-10-091-2/+5
| | |
| * | preliminary implementation of snap decisionCharles Kerr2013-10-091-14/+64
| | |
| * | move planner instantiation to main.c so that we can prepare to pass in a ↵Charles Kerr2013-10-091-20/+103
| | | | | | | | | | | | mock planner for testing
| * | add url activation for appointment menuitems on the phone profile.Charles Kerr2013-10-091-15/+59
| | |
| * | remove debugging stubsCharles Kerr2013-10-091-2/+2
| | |
| * | instead of testing for alarms once per minute, set a timer for the next ↵Charles Kerr2013-10-091-30/+89
| | | | | | | | | | | | alarm occurence.
| * | add a timer to periodically check to see if EDS alarms have been reached.Charles Kerr2013-10-081-0/+94
| | |
* | | Fixed datetime title text to read "Date and Time" rather than the day of the ↵Marcus Tomlinson2013-10-171-6/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | week (as per spec). Fixes: https://bugs.launchpad.net/bugs/1236400. Approved by PS Jenkins bot, Charles Kerr.
| * | Replace "Date and Time" menu title on phone with "Upcoming" according to ↵Marcus Tomlinson2013-10-161-1/+1
| | | | | | | | | | | | updated spec.
| * | Fixed date formatted string menu item to display the full name of current ↵Marcus Tomlinson2013-10-161-1/+1
| | | | | | | | | | | | day rather than the shortend version.
| * | Updated date formatted string in create_phone_calendar_section() from "%e %B ↵Marcus Tomlinson2013-10-161-1/+1
| | | | | | | | | | | | %Y" to "%a, %e %B %Y".
| * | Fixed datetime title text to read "Date and Time" rather than the day of the ↵Marcus Tomlinson2013-10-161-5/+2
| | | | | | | | | | | | week (as per spec).
* | | 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.