gmail mode patch

View: New views
2 Messages — Rating Filter:   Alert me  

gmail mode patch

by Rohan Nicholls-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey there all,

Just a very small tweak that I thought of because 'l' has
functionality in both conkeror (back) and gmail (open labels
dialogue).

I have also attached the diff, as well as putting it below.

Hth,

Rohan

diff --git a/modules/page-modes/gmail.js b/modules/page-modes/gmail.js
index 6ad3925..946c312 100644
--- a/modules/page-modes/gmail.js
+++ b/modules/page-modes/gmail.js
@@ -73,6 +73,7 @@ define_keymap("gmail_keymap", $parent =
content_buffer_normal_keymap);
     define_key(gmail_keymap, "S-u", null, $fallthrough);
     define_key(gmail_keymap, "]", null, $fallthrough);
     define_key(gmail_keymap, "[", null, $fallthrough);
+    define_key(gmail_keymap, "l", null, $fallthrough);

     define_keymap("gmail_richedit_keymap", $parent =
content_buffer_richedit_keymap);
     gmail_bind_common(gmail_richedit_keymap);

[gmail-lkey.diff]

diff --git a/modules/page-modes/gmail.js b/modules/page-modes/gmail.js
index 6ad3925..946c312 100644
--- a/modules/page-modes/gmail.js
+++ b/modules/page-modes/gmail.js
@@ -73,6 +73,7 @@ define_keymap("gmail_keymap", $parent = content_buffer_normal_keymap);
     define_key(gmail_keymap, "S-u", null, $fallthrough);
     define_key(gmail_keymap, "]", null, $fallthrough);
     define_key(gmail_keymap, "[", null, $fallthrough);
+    define_key(gmail_keymap, "l", null, $fallthrough);
 
     define_keymap("gmail_richedit_keymap", $parent = content_buffer_richedit_keymap);
     gmail_bind_common(gmail_richedit_keymap);


_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror

Re: gmail mode patch

by John J. Foerch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Sep 01, 2009 at 10:58:36AM +0200, Rohan Nicholls wrote:
> Hey there all,
>
> Just a very small tweak that I thought of because 'l' has
> functionality in both conkeror (back) and gmail (open labels
> dialogue).
>
> I have also attached the diff, as well as putting it below.

Thank you

--
John Foerch
_______________________________________________
Conkeror mailing list
Conkeror@...
https://www.mozdev.org/mailman/listinfo/conkeror