Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 79242 Details for
Bug 122151
Firefox blocks menus that were first accessed in fullscreen mode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
saves shortcuts when going to fullscreen mode, and restores them after
firefox-save-shortcuts--mozbug_127244.patch (text/plain), 1.73 KB, created by
Benno Schulenberg
on 2006-02-08 10:21:14 UTC
(
hide
)
Description:
saves shortcuts when going to fullscreen mode, and restores them after
Filename:
MIME Type:
Creator:
Benno Schulenberg
Created:
2006-02-08 10:21:14 UTC
Size:
1.73 KB
patch
obsolete
>--- mozilla/browser/base/content/browser.js.old 2006-02-08 16:17:53.000000000 +0100 >+++ mozilla/browser/base/content/browser.js 2006-02-08 16:22:57.000000000 +0100 >@@ -3141,10 +3141,37 @@ > } else { > // use moz-collapsed so it doesn't persist hidden/collapsed, > // so that new windows don't have missing toolbars >- if (aShow) >- els[i].removeAttribute("moz-collapsed"); >- else >- els[i].setAttribute("moz-collapsed", "true"); >+ if (aShow) { >+ els[i].removeAttribute("moz-collapsed"); >+ >+ if(els[i].getAttribute("id") == "toolbar-menubar") { >+ var menus = els[i].getElementsByTagNameNS(XULNS, "menu"); >+ >+ var j; >+ for(j = 0; j < menus.length; j++) { >+ if(menus[j].hasAttribute("saved-accesskey")) { >+ var savedAccesskey = menus[j].getAttribute("saved-accesskey"); >+ menus[j].setAttribute("accesskey", savedAccesskey); >+ menus[j].removeAttribute("saved-accesskey"); >+ } >+ } >+ } >+ } else { >+ els[i].setAttribute("moz-collapsed", "true"); >+ >+ if(els[i].getAttribute("id") == "toolbar-menubar") { >+ var menus = els[i].getElementsByTagNameNS(XULNS, "menu"); >+ >+ var j; >+ for(j = 0; j < menus.length; j++) { >+ if(menus[j].hasAttribute("accesskey")) { >+ var savedAccesskey = menus[j].getAttribute("accesskey"); >+ menus[j].setAttribute("saved-accesskey", savedAccesskey); >+ menus[j].removeAttribute("accesskey"); >+ } >+ } >+ } >+ } > } > } > #ifndef XP_MACOSX
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 122151
: 79242