Author Topic: Problem with shortcuts for user layouts  (Read 4266 times)

Phoenix

  • Guest
Problem with shortcuts for user layouts
« 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]

Offline Phatency

  • Multiple posting newcomer
  • *
  • Posts: 65
Re: Problem with shortcuts for user layouts
« Reply #1 on: August 21, 2006, 02:50:52 pm »
I was just going to post about the same issue. Where is the file located exactly?

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Problem with shortcuts for user layouts
« Reply #2 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


Phoenix

  • Guest
Re: Problem with shortcuts for user layouts
« Reply #3 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.

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: Problem with shortcuts for user layouts
« Reply #4 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