Code::Blocks Forums

User forums => Help => Topic started by: Phoenix on August 21, 2006, 01:54:33 pm

Title: Problem with shortcuts for user layouts
Post by: Phoenix on August 21, 2006, 01:54:33 pm
Hello,

I've downloaded latest nightly version (20/08/06) Unicode for Windows. I have a problem with assigning shortcuts for saved layouts. When I try to add new shortcut by pressing "Add" button I get message "KeyBinding file corrupted. Please delete it." Unfortunately I didn't found this file. Also I have noticed that I can assign shortcuts to any other "default" option from menu. If the solution is to edit keybinding file or deleting it, please tell me where can I find it.

[attachment deleted by admin]
Title: Re: Problem with shortcuts for user layouts
Post by: Phatency on August 21, 2006, 02:50:52 pm
I was just going to post about the same issue. Where is the file located exactly?
Title: Re: Problem with shortcuts for user layouts
Post by: tiwag on August 21, 2006, 03:02:18 pm
... latest nightly version (20/08/06) Unicode for Windows.
... I get message "KeyBinding file corrupted. Please delete it."
... please tell me where can I find it.

%APPDATA%\codeblocks\cbKeyBinder04v19.ini

Title: Re: Problem with shortcuts for user layouts
Post by: Phoenix on August 21, 2006, 03:26:32 pm
Thanks tiwag. There was no such file. As soon as I have created empty one everything is working correctly. I have already posted this thread as bug on Berlios.

Thanks again for your help.
Title: Re: Problem with shortcuts for user layouts
Post by: Pecan on September 03, 2006, 01:37:21 pm
Fixed SVN 2944

* cbKeyBinder v0.4.25d
- record dynamically changed menu items
- Get menu shortcuts via wxAcceratorEntry to appease wxGTK
- Add file name to corrupted file message
- Non Destructive update of menu items
- backup of .ini file to .ini.bak before delete/save