Depois de alguns espreitar, descobri que toda a interface do usuário está no arquivo omni.jar
. Para alterar o atalho, você precisa editar o accesskey
do rótulo definido em chrome/de/locale/browser/browser.dtd
. No meu caso, o patch é assim:
diff -r 4a8bdaa9a867 chrome/browser/content/browser/browser.xul
--- a/chrome/browser/content/browser/browser.xul Mon Apr 25 17:56:36 2011 +0200
+++ b/chrome/browser/content/browser/browser.xul Tue Apr 26 22:31:21 2011 +0200
@@ -609,7 +609,6 @@
oncommand="gContextMenu.reloadImage();"/>
<menuitem id="context-viewimage"
label="&viewImageCmd.label;"
- accesskey="&viewImageCmd.accesskey;"
oncommand="gContextMenu.viewMedia(event);"
onclick="checkForMiddleClick(this, event);"/>
<menuitem id="context-viewvideo"
diff -r 4a8bdaa9a867 chrome/browser/content/browser/web-panels.xul
--- a/chrome/browser/content/browser/web-panels.xul Mon Apr 25 17:56:36 2011 +0200
+++ b/chrome/browser/content/browser/web-panels.xul Tue Apr 26 22:31:21 2011 +0200
@@ -130,7 +130,6 @@
oncommand="gContextMenu.reloadImage();"/>
<menuitem id="context-viewimage"
label="&viewImageCmd.label;"
- accesskey="&viewImageCmd.accesskey;"
oncommand="gContextMenu.viewMedia(event);"
onclick="checkForMiddleClick(this, event);"/>
<menuitem id="context-viewvideo"
diff -r 4a8bdaa9a867 chrome/de/locale/browser/browser.dtd
--- a/chrome/de/locale/browser/browser.dtd Mon Apr 25 17:56:36 2011 +0200
+++ b/chrome/de/locale/browser/browser.dtd Tue Apr 26 22:31:21 2011 +0200
@@ -347,7 +347,6 @@
<!ENTITY reloadImageCmd.label "Grafik neu laden">
<!ENTITY reloadImageCmd.accesskey "G">
<!ENTITY viewImageCmd.label "Grafik anzeigen">
-<!ENTITY viewImageCmd.accesskey "r">
<!ENTITY viewImageInfoCmd.label "Grafik-Info anzeigen">
<!ENTITY viewImageInfoCmd.accesskey "o">
<!ENTITY viewVideoCmd.label "Video anzeigen">
Altere o arquivo, crie um novo JAR, faça backup do antigo omni.jar , pare o firefox, copie o novo arquivo para o local do antigo, inicie o firefox em um console [*], ore.
[*] Isso permite que você veja se cometeu algum erro ao editar os arquivos.