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
=== modified file 'push-helper.apparmor'
--- push-helper.apparmor 2014-12-08 10:25:48 +0000
+++ push-helper.apparmor 2015-09-10 21:06:02 +0000
@@ -7,5 +7,5 @@
7 "calendar",7 "calendar",
8 "webview"8 "webview"
9 ],9 ],
10 "policy_version": 1.210 "policy_version": 1.3
11}11}
1212
=== renamed file 'src/app/qml/components/Header.qml' => 'src/app/qml/components/NoteHeader.qml'
=== modified file 'src/app/qml/reminders.qml'
--- src/app/qml/reminders.qml 2015-09-08 18:10:48 +0000
+++ src/app/qml/reminders.qml 2015-09-10 21:06:02 +0000
@@ -27,6 +27,7 @@
27import Ubuntu.OnlineAccounts.Client 0.127import Ubuntu.OnlineAccounts.Client 0.1
28import Ubuntu.PushNotifications 0.128import Ubuntu.PushNotifications 0.1
29import Ubuntu.Content 1.029import Ubuntu.Content 1.0
30import com.canonical.Oxide 1.5
30import "components"31import "components"
31import "ui"32import "ui"
3233
@@ -491,6 +492,21 @@
491 }492 }
492 }493 }
493494
495 // FIXME: This is currently located here so it is always ready
496 // when we're constructing a WebView. Due to bug
497 // https://bugs.launchpad.net/oxide/+bug/1471779
498 // there's a race condition when creating both at the same time
499 WebContext {
500 id: webContext
501
502 userScripts: [
503 UserScript {
504 context: 'reminders://interaction'
505 url: Qt.resolvedUrl("ui/reminders-scripts.js");
506 }
507 ]
508 }
509
494 Column {510 Column {
495 id: statusBar511 id: statusBar
496 anchors { left: parent.left; right: parent.right; top: parent.top; topMargin: units.gu(6)}512 anchors { left: parent.left; right: parent.right; top: parent.top; topMargin: units.gu(6)}
497513
=== modified file 'src/app/qml/ui/EditNoteView.qml'
--- src/app/qml/ui/EditNoteView.qml 2015-07-25 01:52:22 +0000
+++ src/app/qml/ui/EditNoteView.qml 2015-09-10 21:06:02 +0000
@@ -131,7 +131,7 @@
131 width: parent.width131 width: parent.width
132 height: childrenRect.height132 height: childrenRect.height
133133
134 Header {134 NoteHeader {
135 id: header135 id: header
136 note: root.note136 note: root.note
137137
138138
=== modified file 'src/app/qml/ui/NoteView.qml'
--- src/app/qml/ui/NoteView.qml 2015-09-08 18:10:48 +0000
+++ src/app/qml/ui/NoteView.qml 2015-09-10 21:06:02 +0000
@@ -50,17 +50,6 @@
50 property bool dirty: false50 property bool dirty: false
51 }51 }
5252
53 WebContext {
54 id: webContext
55
56 userScripts: [
57 UserScript {
58 context: 'reminders://interaction'
59 url: Qt.resolvedUrl("reminders-scripts.js");
60 }
61 ]
62 }
63
64 Rectangle {53 Rectangle {
65 id: locationBar54 id: locationBar
66 y: noteTextArea.locationBarController.offset55 y: noteTextArea.locationBarController.offset
@@ -70,7 +59,7 @@
70 color: "white"59 color: "white"
71 z: 260 z: 2
7261
73 Header {62 NoteHeader {
74 id: headerContent63 id: headerContent
75 note: root.note64 note: root.note
76 editingEnabled: false65 editingEnabled: false
7766
=== modified file 'src/libqtevernote/utils/enmldocument.cpp'
--- src/libqtevernote/utils/enmldocument.cpp 2015-06-14 23:34:29 +0000
+++ src/libqtevernote/utils/enmldocument.cpp 2015-09-10 21:06:02 +0000
@@ -236,7 +236,7 @@
236236
237 if (type == TypeRichText) {237 if (type == TypeRichText) {
238 writer.writeStartElement("img");238 writer.writeStartElement("img");
239 writer.writeAttribute("src", checked ? "image://theme/select" : "../images/unchecked.svg");239 writer.writeAttribute("src", checked ? "image://theme/select" : "image://theme/select-none");
240 writer.writeAttribute("height", QString::number(gu(2)));240 writer.writeAttribute("height", QString::number(gu(2)));
241 } else if (type == TypeHtml){241 } else if (type == TypeHtml){
242 writer.writeStartElement("input");242 writer.writeStartElement("input");

Subscribers

People subscribed via source and target branches