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

Lex Trotman elextr at xxxxx
Sat Jul 11 13:08:37 UTC 2009


Hi all,

A new version of the build-system branch is in svn.

Fixes many of the problems with loading, storing and selecting menu items by
priority when changing filetypes.

I have added a routine to print the current menu items table each time a
menu item is requested, first the current filetype is printed then the
table.
The table is printed by increasing priority across the line, each column has
two lines for each menu item, the first is the label, the second is the
command. There is a blank line between groups.  The routine is enabled by
setting PRINTBUILDCMDS to TRUE at compile time or setting printbuildcmds to
1 using a debugger.  Be warned it makes lots of output but could be useful
for debugging complex configurations.

Cheers
Lex

PS A question for Enrico/Nick, I was using geany.html as a test file and I
noticed that it is interpreted as XML and so doesn't have the ability to
show it in a browser, I thought I had *another* bug :( until I noticed the
filetype was wrong.  Is this intentional or is there something subtle in the
determination of the filetype?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20090711/0eb196f6/attachment.html>


More information about the Devel mailing list