Merge lp:~mzanetti/reminders-app/fix-missing-checkbox into lp:reminders-app

Proposed by Michael Zanetti
Status: Superseded
Proposed branch: lp:~mzanetti/reminders-app/fix-missing-checkbox
Merge into: lp:reminders-app
Diff against target: 102 lines (+20/-15)
5 files modified
push-helper.apparmor (+1/-1)
src/app/qml/reminders.qml (+16/-0)
src/app/qml/ui/EditNoteView.qml (+1/-1)
src/app/qml/ui/NoteView.qml (+1/-12)
src/libqtevernote/utils/enmldocument.cpp (+1/-1)
To merge this branch: bzr merge lp:~mzanetti/reminders-app/fix-missing-checkbox
Reviewer Review Type Date Requested Status
Ubuntu Notes app developers Pending
Review via email: mp+270749@code.launchpad.net

This proposal has been superseded by a proposal from 2015-09-10.

Commit message

Fix the missing icon for unchecked checkboxes in EditNoteView

To post a comment you must log in.
486. By Michael Zanetti

properly replace the icon with the one in the theme

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'push-helper.apparmor'
2--- push-helper.apparmor 2014-12-08 10:25:48 +0000
3+++ push-helper.apparmor 2015-09-10 21:06:02 +0000
4@@ -7,5 +7,5 @@
5 "calendar",
6 "webview"
7 ],
8- "policy_version": 1.2
9+ "policy_version": 1.3
10 }
11
12=== renamed file 'src/app/qml/components/Header.qml' => 'src/app/qml/components/NoteHeader.qml'
13=== modified file 'src/app/qml/reminders.qml'
14--- src/app/qml/reminders.qml 2015-09-08 18:10:48 +0000
15+++ src/app/qml/reminders.qml 2015-09-10 21:06:02 +0000
16@@ -27,6 +27,7 @@
17 import Ubuntu.OnlineAccounts.Client 0.1
18 import Ubuntu.PushNotifications 0.1
19 import Ubuntu.Content 1.0
20+import com.canonical.Oxide 1.5
21 import "components"
22 import "ui"
23
24@@ -491,6 +492,21 @@
25 }
26 }
27
28+ // FIXME: This is currently located here so it is always ready
29+ // when we're constructing a WebView. Due to bug
30+ // https://bugs.launchpad.net/oxide/+bug/1471779
31+ // there's a race condition when creating both at the same time
32+ WebContext {
33+ id: webContext
34+
35+ userScripts: [
36+ UserScript {
37+ context: 'reminders://interaction'
38+ url: Qt.resolvedUrl("ui/reminders-scripts.js");
39+ }
40+ ]
41+ }
42+
43 Column {
44 id: statusBar
45 anchors { left: parent.left; right: parent.right; top: parent.top; topMargin: units.gu(6)}
46
47=== modified file 'src/app/qml/ui/EditNoteView.qml'
48--- src/app/qml/ui/EditNoteView.qml 2015-07-25 01:52:22 +0000
49+++ src/app/qml/ui/EditNoteView.qml 2015-09-10 21:06:02 +0000
50@@ -131,7 +131,7 @@
51 width: parent.width
52 height: childrenRect.height
53
54- Header {
55+ NoteHeader {
56 id: header
57 note: root.note
58
59
60=== modified file 'src/app/qml/ui/NoteView.qml'
61--- src/app/qml/ui/NoteView.qml 2015-09-08 18:10:48 +0000
62+++ src/app/qml/ui/NoteView.qml 2015-09-10 21:06:02 +0000
63@@ -50,17 +50,6 @@
64 property bool dirty: false
65 }
66
67- WebContext {
68- id: webContext
69-
70- userScripts: [
71- UserScript {
72- context: 'reminders://interaction'
73- url: Qt.resolvedUrl("reminders-scripts.js");
74- }
75- ]
76- }
77-
78 Rectangle {
79 id: locationBar
80 y: noteTextArea.locationBarController.offset
81@@ -70,7 +59,7 @@
82 color: "white"
83 z: 2
84
85- Header {
86+ NoteHeader {
87 id: headerContent
88 note: root.note
89 editingEnabled: false
90
91=== modified file 'src/libqtevernote/utils/enmldocument.cpp'
92--- src/libqtevernote/utils/enmldocument.cpp 2015-06-14 23:34:29 +0000
93+++ src/libqtevernote/utils/enmldocument.cpp 2015-09-10 21:06:02 +0000
94@@ -236,7 +236,7 @@
95
96 if (type == TypeRichText) {
97 writer.writeStartElement("img");
98- writer.writeAttribute("src", checked ? "image://theme/select" : "../images/unchecked.svg");
99+ writer.writeAttribute("src", checked ? "image://theme/select" : "image://theme/select-none");
100 writer.writeAttribute("height", QString::number(gu(2)));
101 } else if (type == TypeHtml){
102 writer.writeStartElement("input");

Subscribers

People subscribed via source and target branches