From 45fa64c3c9801f9719638f7fa2f4f11cc6505647 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 18 Nov 2011 07:51:28 -0500
Subject: [PATCH] - Added About tab in Settings

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

diff --git a/program/js/app.js b/program/js/app.js
index 2545145..37a2925 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -155,7 +155,7 @@
     }
 
     // enable general commands
-    this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', true);
+    this.enable_command('logout', 'mail', 'addressbook', 'settings', 'save-pref', 'compose', 'undo', 'about', true);
 
     if (this.env.permaurl)
       this.enable_command('permaurl', true);
@@ -504,6 +504,10 @@
         this.switch_task(command);
         break;
 
+      case 'about':
+        location.href = '?_task=settings&_action=about';
+        break;
+
       case 'permaurl':
         if (obj && obj.href && obj.target)
           return true;

--
Gitblit v1.9.1