aboutsummaryrefslogtreecommitdiff
path: root/src/menu.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix cppcheck errors/warningsRobert Tari2022-02-081-3/+9
|
* src/menu.cpp: Remove redundant code block:Robert Tari2022-02-081-4/+0
| | | | Since a_after_today and b_after_today are the same, comparing them is pointless.
* Drop the 'ubuntu' prefix from the alarm types and functionsRobert Tari2021-10-281-4/+6
|
* re-enable the calendar component in phone mode tooLukáš Tinkl2021-08-291-2/+2
|
* revert r426 & r427 to remove the calendar from the phone profileCharles Kerr2021-08-291-2/+2
|
* Make sure that the ocurrence time is used to build the url to launch ↵Renato Araujo Oliveira Filho2021-08-291-2/+5
| | | | external application.
* get event selection up-to-date with the spec, including showing in-progress ↵Charles Kerr2021-08-291-18/+93
| | | | events. add unit tests to cover event priority and display order.
* src/menu.cpp: Pipe appointment strings through ↵Mike Gabriel2021-06-241-4/+19
| | | | ayatana_common_utils_ellipsize + add GSettings watcher for max-menu-text-length.
* gsettings: Drop the 'show-clock' setting. Always show the clock.Robert Tari2020-09-051-6/+1
| | | | | | | The 'show-clock' gsetting option made it possible to "hide" the time from the indicator. Fixes AyatanaIndicator/ayatana-indicator-datetime#16.
* Replace x-canonical attributesRobert Tari2020-08-111-11/+11
|
* Time *and* Date.Simon Quigley2020-08-061-2/+2
|
* Capitalize Settings in indicator menu to match capitalization style.Jeremy Bicha2020-08-061-1/+1
|
* add the locations specifically for Phone and Desktop only (w/o greeter profiles)Lukáš Tinkl2018-03-261-13/+16
|
* phone<-->desktop convergenceCharles Kerr2018-03-261-19/+16
|
* URL dispatcher support: Build phone code, even if URL dispatcher is unavailable.Mike Gabriel2018-03-261-16/+2
|
* README.md: Add some manual line breaks.Mike Gabriel2017-12-081-3/+3
|
* Indicator namespace adaptations.Mike Gabriel2017-12-081-4/+4
|
* Make the datetime indicator build on non-Ubuntu systems (which mostly lack ↵Mike Gabriel2017-12-081-2/+17
| | | | url-dispatcher and Ubuntu Touch sound schema files.
* Fork ayatana-indicator-datetime from Ubuntu's indicator-datetime.Mike Gabriel2017-05-171-2/+2
|
* use the new DateTime::start_of_day() and DateTime::start_of_minute() functions.Charles Kerr2015-03-141-2/+2
|
* ensure that disabled alarms aren't shown in indicator-datetime and that ↵Charles Kerr2014-12-071-4/+4
| | | | notifications aren't shown for them.
* rename title from 'Upcoming events' to 'Time & Date'Charles Kerr2014-10-031-1/+1
|
* change header from 'Upcoming' to 'Upcoming events'Charles Kerr2014-09-081-1/+1
|
* add comments & examples for translators to help them to fix bug #1001595 for ↵Charles Kerr2014-03-271-1/+5
| | | | their locale.
* Change the desktop menu's settings menuitem's label to match the spec. ↵Charles Kerr2014-03-241-28/+38
|\ | | | | | | Fixes: 1296585
| * fix settings menuitem label on the desktop.Charles Kerr2014-03-241-6/+8
| |
| * make the phone and desktop actions more consistent with each other; eg, ↵Charles Kerr2014-03-221-24/+32
| | | | | | | | 'indicator.desktop.open-calendar-app' + 'indicator.phone.open-calendar-app'
| * give 'phone' and 'desktop' their own action namespaces. Fix documentation on ↵Charles Kerr2014-03-211-2/+2
| | | | | | | | 'activate-settings', since there are two forms of it, one for phone and one for desktop.
* | when clicking onto a different calendar date on the Desktop, show the events ↵Charles Kerr2014-03-201-8/+17
|/ | | | for that calendar day starting at the beginning of the day, rather than the current time of day.
* Don't list an 'Add Event…' button if there's not a calendar app availableCharles Kerr2014-03-091-8/+11
|\
| * In the Desktop profile, don't show the 'Add Event…' button if evolution ↵Charles Kerr2014-03-061-8/+11
| | | | | | | | can't be launched.
* | decouple the planner's states; need three separate sets: upcoming-now (for ↵Charles Kerr2014-03-091-4/+10
|/ | | | alarms in the current time), upcoming-calendar (to show events coming from the selected calendar date), and calendar-month (all the appointments in the month displayed in the menu).
* fix typo in previous commitCharles Kerr2014-02-241-1/+1
|
* actually, why keep the local variable at all. Use g_menu_model_get_n_items() ↵Charles Kerr2014-02-231-2/+1
| | | | to see if we've reached MAX_APPTS yet.
* don't let each iteration of a recurring event/alarm spam out other upcoming ↵Charles Kerr2014-02-231-4/+4
| | | | event/alarms in the menu.
* another pass at removing alarms from the menu once they're no longer ↵Charles Kerr2014-02-051-9/+28
| | | | upcoming. This version fixes the header's icon as well.
* remove upcoming events from the menu once they're no longer upcoming.Charles Kerr2014-02-051-0/+7
|
* when displaying alarms, use the 'alarm-clock' key matching the icon in ↵Charles Kerr2014-02-031-61/+8
| | | | ubuntu-mobile-icons
* update the header state when the planner's appointments changeCharles Kerr2014-02-031-0/+1
|
* copyediting: use 'nullptr' instead of 'NULL' in c++ sourceCharles Kerr2014-02-021-1/+1
|
* copyediting: as per review, use name_of_thing() instead of ↵Charles Kerr2014-01-301-7/+7
| | | | get_name_of_thing() or getNameOfThing()
* following on the review comment covered in the last commit, use ↵Charles Kerr2014-01-301-12/+12
| | | | shared_ptr<const X> instead of shared_ptr<X> where possible.
* as per review, there were a few places that accidentally passed a ↵Charles Kerr2014-01-301-2/+2
| | | | shared_ptr<X>& instead of a const shared_ptr<X>&
* as per review, constify getters where possible. This isn't always possible ↵Charles Kerr2014-01-301-5/+0
| | | | due to system APIs asking for non-const pointers.
* as per review, don't inline unless there are performance issuesCharles Kerr2014-01-301-0/+6
|
* as per review, don't inline gettersCharles Kerr2014-01-301-0/+26
|
* fix 'clock app' menuitem on phone profile reported by seb128 and update the ↵Charles Kerr2014-01-301-4/+13
| | | | corresponding unit tests
* fix disabled 'Add Event…' menuitem issue reported in testing by seb128; ↵Charles Kerr2014-01-291-1/+1
| | | | add a test for this regression
* fix instant calendar toggle issue reported in testing by seb128; add a test ↵Charles Kerr2014-01-291-2/+5
| | | | for this regression
* sync with lp:~larsu/indicator-datetime/reset-date and add corresponding unit ↵Charles Kerr2014-01-291-0/+2
| | | | tests.