From e8b6e726f6e023a46e23c982ba7b3f76f0b657cb Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 26 Mar 2016 09:02:57 -0400
Subject: [PATCH] Add message menu with viewsource and edit actions in message/rfc822 preview

---
 program/js/app.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/js/app.js b/program/js/app.js
index 75560e7..72c0b03 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -342,7 +342,8 @@
         else if (this.env.action == 'get') {
           this.enable_command('download', 'print', true);
           if (this.env.is_message) {
-            this.enable_command('reply', 'reply-all', 'forward', 'forward-inline', 'forward-attachment', true);
+            this.enable_command('reply', 'reply-all', 'edit', 'viewsource',
+              'forward', 'forward-inline', 'forward-attachment', true);
             if (this.env.list_post)
               this.enable_command('reply-list', true);
           }

--
Gitblit v1.9.1