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

Lex Trotman elextr at xxxxx
Mon Jul 13 12:16:36 UTC 2009

2009/7/13 Andreas Mokros <am at medienpensionat.com>

> Hi.
> On Mon, 13 Jul 2009 11:18:08 +1000
> Lex Trotman <elextr at gmail.com> wrote:
> > Sorry that the short summary in the announcement email isn't clear,
> > as the table in the manual states, preferences is the ~/.config/geany
> > filetypes files.  It is worth a quick look at this table (near the
> > end of the build menu section) because the sources used for load and
> > save vary depending on which group the menu item is in (filetype,
> > non-filetype and execute).
> I had a look at that table. I think the problem was that I had no
> [build-menu]-entries in my own filedef, just the old [build-settings]
> and *then* the menu showed the [build-settings] of the general filedef.
> Now with some [build-menu]-entries in my filedef it works correctly.
> Just a minor issue and a bit irritating.

In an attempt to get backward compatability I try to load old format files
but don't write the new [build-menu] section until something is changed,
then the system works as it used to until it is configured.  Once something
is changed the old settings are ignored.  This allows old versions of Geany
to co-exist with the new one (at least it does for me).

But I can't get a good mapping from the old filedefs to the new settings so
I did the best I could, but there are some side effects.

Any better suggestions are welcome.

The only alternative is to ignore the old settings and re-write ALL the
filedefs to the new format prior to release and I don't want to do that.
Also then user changes couldn't be imported so thats probably not a good
idea anyway.

There are also a significant number of fixes in my working directory , but
at the moment I have a regular crash so I don't want to commit it just yet.
Maybe tomorrow.


> > There are three hidden settings,  in the config file in the
> > [build-menu] section called number_ft_menu_items,
> Ok. Will try that.
> --
> Mockey
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20090713/6d1a0886/attachment.html>

More information about the Devel mailing list