summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-24 15:34:31 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-04-24 15:34:31 +0200
commit74703d12ef6f72a057f11957181b6cf6f4730e2d (patch)
treea9126fd02863243e26fdc2881b3910b163d59c87 /components
parent68ed477e34756beb5b152f8077c2e2527bba4708 (diff)
downloadkube-74703d12ef6f72a057f11957181b6cf6f4730e2d.tar.gz
kube-74703d12ef6f72a057f11957181b6cf6f4730e2d.zip
Added the Fabric as an in application message bus
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/Kube.qml14
1 files changed, 6 insertions, 8 deletions
diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml
index 8537dba2..cc149e66 100644
--- a/components/kube/contents/ui/Kube.qml
+++ b/components/kube/contents/ui/Kube.qml
@@ -91,10 +91,12 @@ Controls2.ApplicationWindow {
91 //Controller 91 //Controller
92 Kube.FolderController { 92 Kube.FolderController {
93 id: folderController 93 id: folderController
94 Binding on folder { 94 }
95 //!! checks for the availability of the type 95 Kube.Listener {
96 when: !!folderListView.currentFolder 96 id: controllerListener
97 value: folderListView.currentFolder 97 filter: Kube.Messages.folderSelection
98 onMessageReceived: {
99 folderController.folder = message.folder
98 } 100 }
99 } 101 }
100 102
@@ -266,7 +268,6 @@ Controls2.ApplicationWindow {
266 268
267 Kube.MailListView { 269 Kube.MailListView {
268 id: mailListView 270 id: mailListView
269 parentFolder: accountFolderview.currentFolder
270 width: Kube.Units.gridUnit * 20 271 width: Kube.Units.gridUnit * 20
271 height: parent.height 272 height: parent.height
272 Layout.maximumWidth: app.width * 0.4 273 Layout.maximumWidth: app.width * 0.4
@@ -276,10 +277,7 @@ Controls2.ApplicationWindow {
276 277
277 Kube.ConversationView { 278 Kube.ConversationView {
278 id: mailView 279 id: mailView
279 mail: mailListView.currentMail
280 Layout.fillWidth: true 280 Layout.fillWidth: true
281 hideTrash: !accountFolderview.isTrashFolder
282 hideNonTrash: accountFolderview.isTrashFolder
283 } 281 }
284 } 282 }
285 } 283 }