2
* Copyright 2012-2013 Canonical Ltd.
4
* This file is part of dialer-app.
6
* dialer-app is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 3.
10
* dialer-app is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
import Ubuntu.Components 1.1
21
import Ubuntu.Components.Popups 0.1
22
import Ubuntu.Telephony 0.1
27
property string phoneNumber: ""
28
property string accountId: ""
29
text: i18n.tr("Change all Call associations to " + mainView.account.displayName +"?")
31
anchors.left: parent.left
32
anchors.right: parent.right
35
anchors.horizontalCenter: parent.horizontalCenter
38
objectName: "setDefaultSimCardDialogNo"
40
color: UbuntuColors.orange
42
PopupUtils.close(dialogue)
43
mainView.call(phoneNumber, accountId)
48
objectName: "setDefaultSimCardDialogYes"
50
color: UbuntuColors.orange
52
telepathyHelper.setDefaultAccount(TelepathyHelper.Call, mainView.account)
53
PopupUtils.close(dialogue)
54
mainView.call(phoneNumber, accountId)
61
id: dontAskAgainCheckbox
63
onCheckedChanged: settings.dialPadDontAsk = checked
66
text: i18n.tr("Don't ask again")
67
anchors.verticalCenter: dontAskAgainCheckbox.verticalCenter
70
onClicked: dontAskAgainCheckbox.checked = !dontAskAgainCheckbox.checked