Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
wxKeyBinder problems/solutions discussion
Pecan:
--- Quote from: tiwag on January 12, 2006, 11:14:53 am ---
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 :?
did you notice the double slashes in the directory-path /home/tiwag//.codeblocks ?
it seems, that this
--- Code: --- //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
--- End code ---
has to be handled differently in win32 and unix OS's
HTH
tiwag
--- End quote ---
But.. But.. Isn't every thing but cbKeybinder04v16.ini handed to me by
ConfigManager::GetConfigFolder() ??
How can I change that ??
thanks
pecan
EDIT:
Oh, there's a <<wxFILE_SEP_PATH in there.
Now how did that get there?
Pecan:
1/17/2006 9:54 PM
Have commited KeyBinder v0.4.11 (svn 1791)
Fixed GTK Update()/File Open crash
Fixed GTK not savings key bindings
Modified Attach/UpdateAllCmd for speed
Thanks
pecan
Pecan:
I am aware that keybinder is broken with the new
"settings scheme" in svn 1838.
I'll put it back together as soon as I figure out where
all the pieces went.
thanks
pecan
thomas:
--- Quote from: Pecan on January 23, 2006, 03:07:41 pm ---I am aware that keybinder is broken with the new "settings scheme" in svn 1838.
--- End quote ---
Ah yes, I only just finished that one... :lol:
[attachment deleted by admin]
sethjackson:
--- Quote from: thomas on January 23, 2006, 05:22:11 pm ---
--- Quote from: Pecan on January 23, 2006, 03:07:41 pm ---I am aware that keybinder is broken with the new "settings scheme" in svn 1838.
--- End quote ---
Ah yes, I only just finished that one... :lol:
--- End quote ---
That is soooo cool. :lol: You have me cryin' thomas.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version