diff options
Diffstat (limited to 'components/mail')
-rw-r--r-- | components/mail/contents/ui/main.qml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/components/mail/contents/ui/main.qml b/components/mail/contents/ui/main.qml index 5fceaf30..39df6040 100644 --- a/components/mail/contents/ui/main.qml +++ b/components/mail/contents/ui/main.qml | |||
@@ -57,9 +57,6 @@ Controls2.ApplicationWindow { | |||
57 | //END Actions | 57 | //END Actions |
58 | 58 | ||
59 | //BEGIN ActionHandler | 59 | //BEGIN ActionHandler |
60 | |||
61 | //TODO | ||
62 | /* | ||
63 | KubeAction.ActionHandler { | 60 | KubeAction.ActionHandler { |
64 | actionId: "org.kde.kube.actions.reply" | 61 | actionId: "org.kde.kube.actions.reply" |
65 | function isReady(context) { | 62 | function isReady(context) { |
@@ -67,8 +64,8 @@ Controls2.ApplicationWindow { | |||
67 | } | 64 | } |
68 | 65 | ||
69 | function handler(context) { | 66 | function handler(context) { |
70 | var component = composerComponent.createObject(app) | 67 | composer.loadMessage(context.mail, false) |
71 | component.loadMessage(context.mail, false) | 68 | composer.open() |
72 | } | 69 | } |
73 | } | 70 | } |
74 | 71 | ||
@@ -78,11 +75,10 @@ Controls2.ApplicationWindow { | |||
78 | return context.mail && context.isDraft; | 75 | return context.mail && context.isDraft; |
79 | } | 76 | } |
80 | function handler(context) { | 77 | function handler(context) { |
81 | var component= composerComponent.createObject(app, {"draftMessage": context.mail}) | 78 | composer.loadMessage(context.mail, true) |
82 | component.loadMessage(context.mail, true) | 79 | composer.open() |
83 | } | 80 | } |
84 | } | 81 | } |
85 | */ | ||
86 | //END ActionHandler | 82 | //END ActionHandler |
87 | 83 | ||
88 | //Controller | 84 | //Controller |