]> git.lyx.org Git - lyx.git/commit
Make the shortcuts work correctly with the mac.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 4 Jan 2007 17:10:24 +0000 (17:10 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 4 Jan 2007 17:10:24 +0000 (17:10 +0000)
commit4c1fb15143fb203b763f3dcdeee55567bbad8b1f
treedaaf87d815aea1e7f9004b43712a7811eb4059a0
parentf73fb4a2f4e164b516e51a8c3bc7d1d8548d0777
Make the shortcuts work correctly with the mac.

* src/frontends/LyXKeySym.h:
* src/frontends/qt4/QLyXKeySym.h:
* src/frontends/qt4/QLyXKeySym.C (print): add a forgui boolean that
tells whether the string should used localized names and special
characters.

* src/MenuBackend.C (binding):
* src/kbmap.C (print):
* src/kbsequence.C (print, printOptions): add forgui parameter.

* src/frontends/qt4/QLPopupMenu.C (addBinding): use a non-localaized
binding for Qt/Mac (because it needs to be parsed back) and a
localized one for the others (so that it looks good).

* src/kbmap.C (defkey,printbindings):
* src/lyxfunc.C (processKeySym,dispatch,viewStatusMessage): adapt to
above changes.

* src/kbmap.C (printKey): remove.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16510 a592a061-630c-0410-9148-cb99ea01b6c8
src/MenuBackend.C
src/MenuBackend.h
src/frontends/LyXKeySym.h
src/frontends/qt4/QLPopupMenu.C
src/frontends/qt4/QLyXKeySym.C
src/frontends/qt4/QLyXKeySym.h
src/kbmap.C
src/kbmap.h
src/kbsequence.C
src/kbsequence.h
src/lyxfunc.C