Have commited KeyBinder v0.4.10 (svn 1719)
Separated out and demangled the GTK menuutils::Update()
menuitem update code.
thx pecan ! the menu items are clean now using wxGTK !
but there exists another problem, i can't save any new keyboard settings,
after applying the changes, keybinder pops up a messagebox, saying the
new keyboard layout is saved under "/home/tiwag//.codeblocks/cbKeyBinder04v16.ini"
but there is no such file existing :?
after you've OK'ed this dialog, a codeblocks error-message pops up, saying
11:05:21 AM: Failed to create a temporary file name (error 2: No such file or directory)
11:05:21 AM: can't open user configuration file.
did you notice the double slashes in the directory-path /home/tiwag
//.codeblocks ?
it seems, that this
//memorize the key file name as {%HOME%}\cbKeyBinder+{vers}.ini
m_sKeyFilename = ConfigManager::GetConfigFolder();
// remove the dots from version string (using first 3 chars)
wxString sPluginVersion=m_PluginInfo.version.BeforeLast('.'); //+v0.4.1
sPluginVersion.Replace(_T("."),_T(""));
m_sKeyFilename = m_sKeyFilename<<wxFILE_SEP_PATH<<m_PluginInfo.name<<sPluginVersion
<<_T("v")<<SDKverStr<<_T(".ini"); //+v0.4.1
has to be handled differently in win32 and unix OS's
HTH
tiwag