Patch #869 2006-02-27 23:32

sethjackson

Update the project template dialog
Download
869-Update_the_proj.patch (1.3 KB)
Category
Application::Refinement
Status
Closed
Close date
2006-02-28 08:05
Assigned to
 
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 &quot;CodeBlocks&quot;!</label>
+                    <label>   Please note the dot (.) in front of &quot;codeblocks&quot;!</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>
takeshimiya 2006-02-27 23:58

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>

sethjackson 2006-02-28 00:06

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. :)

sethjackson 2006-02-28 00:09

OK. Here you go. Thanks Takeshi Miya. :)

sethjackson 2006-02-28 00:35

Missed one *more* thing &quot;CodeBlocks&quot; should be

&quot;codeblocks&quot; Whew! My bad guys.... :P

killerbot 2006-02-28 06:39

will apply it this afternoon

killerbot 2006-02-28 08:05

applied.

Thanks for your help.