Patch #869 2006-02-27 23:32
sethjackson
Update the project template dialog- Download
- 869-Update_the_proj.patch (1.3 KB)
Index: src/sdk/resources/new_from_template.xrc
===================================================================
--- src/sdk/resources/new_from_template.xrc (revision 2090)
+++ src/sdk/resources/new_from_template.xrc (working copy)
@@ -193,15 +193,15 @@
<object class="sizeritem">
<object class="wxStaticText">
<label>* To delete a user template, delete the similarly named folder created
- in %USER_HOME%\.CodeBlocks (for Windows)
- or $$(HOME)\.CodeBlocks (for other platforms).</label>
+ in %APPDATA%\codeblocks\UserTemplates (for Windows)
+ or ~/.codeblocks (for other platforms).</label>
</object>
<flag>wxLEFT|wxRIGHT</flag>
<border>8</border>
</object>
<object class="sizeritem">
<object class="wxStaticText">
- <label> Please note the dot (.) in front of "CodeBlocks"!</label>
+ <label> Please note the dot (.) in front of "codeblocks"!</label>
<fg>#800000</fg>
</object>
<flag>wxBOTTOM|wxLEFT|wxRIGHT</flag>
@@ -236,4 +236,4 @@
</object>
</object>
</object>
-</resource>
\ No newline at end of file
+</resource>
History
The patch is bad. Here are the corrections:
It should be
- in %USER_HOME%\.CodeBlocks (for Windows)
+ in %APPDATA%\codeblocks\UserTemplates (for Windows)
And it doesn't solves it for other platforms. Other platforms are case sensitive, so it should be
- or $$(HOME)\.CodeBlocks (for other platforms).</label>
+ or ~/.codeblocks (for other platforms).</label>
Well for some reason you can't see my comment. I said I didn't know if it was correct for othe platforms. ;) As for %APPDATA% I think %USER_HOME%\Application Data are one and the same??? I just blindly accepted that %USER_HOME% was OK seeing that is what the devs had put in the first place. Your correction is valid in either case though. Thanks for pointing it out. :)
OK. Here you go. Thanks Takeshi Miya. :)
Missed one *more* thing "CodeBlocks" should be
"codeblocks" Whew! My bad guys.... :P
will apply it this afternoon
applied.
Thanks for your help.