Merge lp:~artmello/ubuntu-calendar-app/ubuntu-calendar-app-fix_1508440 into lp:ubuntu-calendar-app

Proposed by Arthur Mello
Status: Merged
Approved by: Renato Araujo Oliveira Filho
Approved revision: 806
Merged at revision: 807
Proposed branch: lp:~artmello/ubuntu-calendar-app/ubuntu-calendar-app-fix_1508440
Merge into: lp:ubuntu-calendar-app
Diff against target: 26 lines (+4/-4)
1 file modified
EventBubble.qml (+4/-4)
To merge this branch: bzr merge lp:~artmello/ubuntu-calendar-app/ubuntu-calendar-app-fix_1508440
Reviewer Review Type Date Requested Status
Renato Araujo Oliveira Filho (community) Approve
Jenkins Bot continuous-integration Approve
Review via email: mp+290091@code.launchpad.net

Commit message

Set event's title with strike-through text when user is not attending it

Description of the change

Set event's title with strike-through text when user is not attending it

To post a comment you must log in.
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) :
804. By Arthur Mello

Merge with trunk

805. By Arthur Mello

Use alias

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
806. By Arthur Mello

Do not change collor of declined events

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'EventBubble.qml'
2--- EventBubble.qml 2016-03-22 20:14:49 +0000
3+++ EventBubble.qml 2016-03-28 18:14:49 +0000
4@@ -38,6 +38,7 @@
5 property Flickable flickable;
6 property bool isEventBubble: true
7 property real minimumHeight: units.gu(4)
8+ property alias strikeoutTitle: eventTitle.font.strikeout
9
10 readonly property bool isSingleLine: (infoBubble.height < (minimumHeight * 2))
11 readonly property real startTimeInMinutes: event ? CanlendarCanvas.minutesSince(infoBubble.anchorDate, event.startDateTime) : 0.0
12@@ -64,11 +65,10 @@
13 }
14
15 if( endDateTime >= now) {
16+ bg.color = collection.color
17+
18 if( getOwnersStatus(collection) === EventAttendee.StatusDeclined ) {
19- //if owner of account is not attending event the dim it
20- bg.color = Qt.tint( collection.color, "#aaffffff" );
21- } else {
22- bg.color = collection.color
23+ infoBubble.strikeoutTitle = true;
24 }
25 } else {
26 //if event is on past then add some white color to original color

Subscribers

People subscribed via source and target branches

to status/vote changes: