Merge lp:~seb128/ubuntu-system-settings/security-dash-option into lp:ubuntu-system-settings

Proposed by Sebastien Bacher on 2015-05-21
Status: Merged
Approved by: Ken VanDine on 2015-05-26
Approved revision: 1418
Merged at revision: 1426
Proposed branch: lp:~seb128/ubuntu-system-settings/security-dash-option
Merge into: lp:ubuntu-system-settings
Diff against target: 88 lines (+0/-62)
3 files modified
plugins/security-privacy/CMakeLists.txt (+0/-1)
plugins/security-privacy/Dash.qml (+0/-52)
plugins/security-privacy/PageComponent.qml (+0/-9)
To merge this branch: bzr merge lp:~seb128/ubuntu-system-settings/security-dash-option
Reviewer Review Type Date Requested Status
Jonas G. Drange (community) Approve on 2015-05-26
Matthew Paul Thomas design 2015-05-21 Approve on 2015-05-22
PS Jenkins bot continuous-integration Approve on 2015-05-21
Review via email: mp+259770@code.launchpad.net

Commit Message

[security-privacy] remove obsolete dash search option

Description of the Change

[security-privacy] remove obsolete dash search option

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/security-privacy/CMakeLists.txt'
2--- plugins/security-privacy/CMakeLists.txt 2015-01-26 13:35:57 +0000
3+++ plugins/security-privacy/CMakeLists.txt 2015-05-21 13:38:07 +0000
4@@ -21,7 +21,6 @@
5 set(QML_SOURCES
6 AppAccess.qml
7 AppAccessControl.qml
8- Dash.qml
9 here-terms.qml
10 Location.qml
11 LockSecurity.qml
12
13=== removed file 'plugins/security-privacy/Dash.qml'
14--- plugins/security-privacy/Dash.qml 2014-02-13 14:37:42 +0000
15+++ plugins/security-privacy/Dash.qml 1970-01-01 00:00:00 +0000
16@@ -1,52 +0,0 @@
17-/*
18- * Copyright (C) 2013 Canonical Ltd
19- *
20- * This program is free software: you can redistribute it and/or modify
21- * it under the terms of the GNU General Public License version 3 as
22- * published by the Free Software Foundation.
23- *
24- * This program is distributed in the hope that it will be useful,
25- * but WITHOUT ANY WARRANTY; without even the implied warranty of
26- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27- * GNU General Public License for more details.
28- *
29- * You should have received a copy of the GNU General Public License
30- * along with this program. If not, see <http://www.gnu.org/licenses/>.
31- *
32- * Authors:
33- * Sebastien Bacher <sebastien.bacher@canonical.com>
34- *
35- */
36-
37-import GSettings 1.0
38-import QtQuick 2.0
39-import Ubuntu.Components 0.1
40-import Ubuntu.Components.ListItems 0.1 as ListItem
41-import SystemSettings 1.0
42-
43-ItemPage {
44- id: dashPage
45- title: i18n.tr("Dash search")
46-
47- GSettings {
48- id: unitySettings
49- schema.id: "com.canonical.Unity.Lenses"
50- onChanged: {
51- if (key == "remoteContentSearch")
52- if (value == 'all')
53- selectorId.selectedIndex = 1
54- else
55- selectorId.selectedIndex = 0
56- }
57- }
58-
59- ListItem.ItemSelector {
60- id: selectorId
61- text: i18n.tr("Return results from:")
62- model: [i18n.tr("Phone only"), i18n.tr("Phone and Internet")]
63- selectedIndex: (unitySettings.remoteContentSearch === 'all') ? 1 : 0
64- expanded: true
65- onSelectedIndexChanged:
66- unitySettings.remoteContentSearch = (selectorId.selectedIndex == 0) ? "none" : "all"
67- }
68-}
69
70=== modified file 'plugins/security-privacy/PageComponent.qml'
71--- plugins/security-privacy/PageComponent.qml 2015-01-26 15:04:02 +0000
72+++ plugins/security-privacy/PageComponent.qml 2015-05-21 13:38:07 +0000
73@@ -194,15 +194,6 @@
74 visible: showAllUI
75 }
76
77- ListItem.SingleValue {
78- id: dashSearchId
79- text: i18n.tr("Dash search")
80- value: (unitySettings.remoteContentSearch === 'all') ?
81- i18n.tr("Phone and Internet") :
82- i18n.tr("Phone only")
83- progression: true
84- onClicked: pageStack.push(Qt.resolvedUrl("Dash.qml"))
85- }
86 QDBusActionGroup {
87 id: locationActionGroup
88 busType: DBus.SessionBus

Subscribers

People subscribed via source and target branches