~pkunal-parmar/ubuntu-calendar-app/Minor-Performance

« back to all changes in this revision

Viewing changes to NewEvent.qml

  • Committer: Tarmac
  • Author(s): Nekhelesh Ramananthan
  • Date: 2014-09-16 19:31:49 UTC
  • mfrom: (451.1.2 replace-x-icon)
  • Revision ID: tarmac-20140916193149-4fakdr1tv7huqcz7
Replaces the "X" icon in the NewEvent page with the standard "<" icon as requested by design for clock app. Fixes: https://bugs.launchpad.net/bugs/1370138.

Approved by Mihir Soni, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        endTimeInput.text = Qt.formatTime(endDate);
54
54
    }
55
55
 
56
 
    head {
57
 
        backAction: Action {
58
 
            iconName: "close"
59
 
            onTriggered: pageStack.pop();
60
 
        }
61
 
 
62
 
        actions: [
63
 
            Action {
64
 
                iconName: "ok"
65
 
                objectName: "save"
66
 
                text: i18n.tr("Save")
67
 
                enabled: !!titleEdit.text.trim()
68
 
                onTriggered: saveToQtPim();
69
 
            }
70
 
        ]
 
56
    head.actions: Action {
 
57
        iconName: "ok"
 
58
        objectName: "save"
 
59
        text: i18n.tr("Save")
 
60
        enabled: !!titleEdit.text.trim()
 
61
        onTriggered: saveToQtPim();
71
62
    }
72
63
 
73
64
    Component.onCompleted: {