On 15 October 2012 15:07, John J. Foerch <[email protected]> wrote:
> The first thing to try is to see if some small change to
> gmail_focus_primary_frame (like frame number) resolves it.

Thanks, John: this seems to be the case.

In GMail window, buffer.top_frame.frames.length now goes up to 5,6 or 7.


The attached patch here solves the issues about keyboard shortcuts.
Could someone else please confirm?

(The keys PgUp, PgDown, Home, End are still dead though...)
diff --git a/modules/page-modes/gmail.js b/modules/page-modes/gmail.js
index 930de2b..5623bec 100644
--- a/modules/page-modes/gmail.js
+++ b/modules/page-modes/gmail.js
@@ -65,8 +65,9 @@ var gmail_modality = {
 
 function gmail_focus_primary_frame (buffer) {
     var frames = buffer.top_frame.frames;
-    if (frames.length >= 4)
-        buffer.top_frame.frames[3].focus();
+    var i=frames.length
+    if ( i >= 4)
+        buffer.top_frame.frames[i-1].focus();
 }
 
 define_page_mode("gmail-mode",
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to