bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LessZilla/SeaMonkey: artwork and builds


From: incognu
Subject: Re: LessZilla/SeaMonkey: artwork and builds
Date: Wed, 11 Oct 2006 22:43:17 -0600
User-agent: Internet Messaging Program (IMP) H3 (4.0.3)

Quoting Karl Berry <address@hidden>:

P.S. As long as I'm asking random questions, does anyone know how to
disable the CTRL-W key binding in mozilla/seamonkey?  All the mozilla
docs seem to start with "it doesn't work this way in practice".  Great.


Hi Karl,

You can do this by hacking comm.jar.  The file you want is
chrome://communicator/content/platformCommunicatorOverlay.xul (extracted =
comm/content/communicator/platformCommunicatorOverlay.xul ).  Look for:

<!-- close -->
   <menuitem id="menu_close" label="&closeCmd.label;" key="key_close"
accesskey="&closeCmd.accesskey;" command="cmd_close"/>
   <key id="key_close"  key="&closeCmd.key;" command="cmd_close"
modifiers="accel"/>
   <key id="key_closeWindow"  key="&closeCmd.key;" command="cmd_closeWindow"
modifiers="accel,shift"/>

and then comment that out, repack, and try it.  Er, I just tested this briefly
and had no problems, but naturally you'll probably want to back up comm.jar
first.  SM (er, Incognilla) could crash because of it in the next five seconds
for all I know.

I don't know of another way to change SeaMonkey keyboard bindings, though there
may be. (I'd guess hacking the .dtd files referenced at the top of that file
might let you alter them.) I thought I'd heard of an extension to do it, but a
cursory look hasn't shown anything.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]