[Geany-devel] ANN: Configurable Build Menu Alpha in SVN

Thomas Martitz thomas.martitz at xxxxx
Sat Jul 11 20:16:44 UTC 2009


Thomas Martitz schrieb:
>
> I'm looking at the code in the hope I can add it. It's a bit hard for 
> me to read the code, it lacks comments and structure here and there, 
> but I hope I'll find my way. 


Alright, I've got to the point where I can add it.

BUT I needed to rewrite much parts (such as doing separate (even if it's 
the same) handling of GeanyBuildCommand.label and .command in a loop 
instead). The code duplication and hardcodedness was so irritating that 
I couldn't get it to work without.

I attached the patch. In case it's accepted, I can continue to work in 
really integrating the working dir field (I didn't add it yet). Adding 
the working dir entry field is mostly adding a item to the enum 
GeanyBuildCmdEntries now.


Best regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: working_dir.diff
Type: text/x-patch
Size: 22406 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090711/97e107a1/attachment.bin>


More information about the Devel mailing list