~canonical-platform-qa/ubuntu-system-settings-online-accounts/launch_fixture

« back to all changes in this revision

Viewing changes to src/module/RemovalConfirmation.qml

  • Committer: CI bot
  • Author(s): Alberto Mardegan
  • Date: 2014-05-30 13:30:01 UTC
  • mfrom: (107.1.13 master)
  • Revision ID: ps-jenkins@lists.canonical.com-20140530133001-an9lfy1dc1pfkifd
Release development branch

Features landing with this branch:
- Updating the ACL when applications are enabled/disabled in System Settings
- Write profile information in the XML files installed by click hooks
- Run tests with Python 3 autopilot.
- Merge signon-ui into online-accounts-ui 

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    title: i18n.dtr("ubuntu-system-settings-online-accounts", "Remove account")
33
33
    text: i18n.dtr("ubuntu-system-settings-online-accounts", "The %1 account will be removed only from your phone. You can add it again later.").arg(accountName)
34
34
 
 
35
    onVisibleChanged: if (!visible) closed()
 
36
 
35
37
    Button {
36
38
        text: i18n.dtr("ubuntu-system-settings-online-accounts", "Remove")
37
39
        onClicked: setConfirmed(true)
45
47
    function setConfirmed(isConfirmed) {
46
48
        confirmed = isConfirmed
47
49
        PopupUtils.close(root)
48
 
        closed()
49
50
    }
50
51
}