Merge lp:~gero-bare/maya/maya-exclude-nonwritable-calendars-in-enventdialog into lp:~elementary-apps/maya/trunk
Proposed by
Gero.Bare
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Corentin Noël | ||||
Approved revision: | 686 | ||||
Merged at revision: | 693 | ||||
Proposed branch: | lp:~gero-bare/maya/maya-exclude-nonwritable-calendars-in-enventdialog | ||||
Merge into: | lp:~elementary-apps/maya/trunk | ||||
Diff against target: |
55 lines (+19/-4) 2 files modified
core/Model/CalendarModel.vala (+15/-1) src/Widgets/CalendarButton.vala (+4/-3) |
||||
To merge this branch: | bzr merge lp:~gero-bare/maya/maya-exclude-nonwritable-calendars-in-enventdialog | ||||
Related bugs: |
|
||||
Related blueprints: |
Freya Release Candidate
(High)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Corentin Noël | code | Approve | |
Review via email: mp+241876@code.launchpad.net |
This proposal supersedes a proposal from 2014-11-15.
Commit message
Exclude read-only calendars from the eventdialog.
Description of the change
Introduced a new check. If the calendar is not writable is excluded from being added in the EventDialog.
This in the case of for example Birthday and Anniversaries calendar which is not writable thus doesn't make sense add to EventDialog.
see the comment bellow over this check if (src.writable == true && src.enabled == true && calmodel.
To post a comment you must log in.
Here are some comments and required fixes about this merge (see inline comments)