View Single Post
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#36
Hmm, after I install it and tried to change the shortcut it would seem that they work a little different now.

Mypaint writes over all accelmap.conf changes. The only changes that are kept are the ones that are made while in mypaint ...

Originally Posted by evan View Post
I change this but does not have any effect and when I quit mypaint I check and the value has been reverted to F11 by itself.
I been searching for the right files, but can't seem to find anything solid.

Was looking at:
home/opt/mypaint/share/mypaint/gui/keyboard.py
/home/opt/mypaint/share/mypaint/gui/drawwindow.py looks promising start @ line 101 for me.

Edit: Look like the drawwindow.py file does in fact keep the settings. However not all the menus are in here, so for now I will change as many of mine to the old shortcut and see what happens. Now I'm not sure if this is correct or not, so just keep that in mine if you try it.

found this in:
/home/opt/mypaint/share/mypaint/gui/main.py

# Recent gtk versions don't allow changing those menu shortcuts by
# default. <rant>Sigh. This very useful feature used to be the
# default behaviour even in the GIMP some time ago. I guess
# assigning a keyboard shortcut without a complicated dialog
# clicking marathon must have totally upset the people coming from
# windows.</rant>.

Last edited by xman; 2011-04-22 at 00:26.