Merge lp:~renatofilho/dialer-app/fix-1362404 into lp:dialer-app

Proposed by Renato Araujo Oliveira Filho
Status: Merged
Approved by: Gustavo Pichorim Boiko
Approved revision: 266
Merged at revision: 271
Proposed branch: lp:~renatofilho/dialer-app/fix-1362404
Merge into: lp:dialer-app
Diff against target: 49 lines (+11/-12)
1 file modified
src/qml/LiveCallPage/LiveCall.qml (+11/-12)
To merge this branch: bzr merge lp:~renatofilho/dialer-app/fix-1362404
Reviewer Review Type Date Requested Status
Gustavo Pichorim Boiko (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+233978@code.launchpad.net

Commit message

Disable "back" action on live call while in greeter mode.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

Are there any related MPs required for this MP to build/function as expected? NO

Is your branch in sync with latest trunk? YES

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator? YES

Did you successfully run all tests found in your component's Test Plan on device or emulator? YES

If you changed the UI, was the change specified/approved by design? YES

If you changed UI labels, did you update the pot file? NO NECESSARY
If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?NO NECESSARY

Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
Yes

Did CI run pass? If not, please explain why.
Yes

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
Yes

Code looks good and works as expected!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/qml/LiveCallPage/LiveCall.qml'
2--- src/qml/LiveCallPage/LiveCall.qml 2014-09-02 22:34:43 +0000
3+++ src/qml/LiveCallPage/LiveCall.qml 2014-09-09 18:25:41 +0000
4@@ -56,10 +56,6 @@
5
6 property list<Action> regularActions: [
7 Action {
8- objectName: "fakeBackButton"
9- visible: false
10- },
11- Action {
12 id: newCallAction
13 objectName: "newCallButton"
14 iconName: "contact"
15@@ -67,15 +63,18 @@
16 onTriggered: pageStack.push(Qt.resolvedUrl("../ContactsPage/ContactsPage.qml"))
17 }
18 ]
19- property list<Action> greeterModeActions: [
20- Action {
21- objectName: "fakeBackButton"
22- visible: false
23- }
24- ]
25+
26+ property Action backAction: Action {
27+ id: backAction
28+ objectName: "backButton"
29+ iconName: "back"
30+ visible: !greeter.greeterActive
31+ onTriggered: pageStack.pop()
32+ }
33
34 title: caller
35- head.actions: greeter.greeterActive ? greeterModeActions : regularActions
36+ head.actions: greeter.greeterActive ? [] : regularActions
37+ head.backAction: backAction
38 head.sections.model: multipleAccounts ? [call.account.displayName] : undefined
39 x: header ? header.height : 0
40
41@@ -124,7 +123,7 @@
42 ListItems.Header { text: "Switch audio source:" }
43 Repeater {
44 model: audioOutputs
45- ListItems.Standard {
46+ ListItems.Standard {
47 text: nameForAudioId(modelData.id)
48 showDivider: index != model.count-1
49 onClicked: {

Subscribers

People subscribed via source and target branches