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

On Mon, 13 Jul 2009 11:18:08 +1000
Lex Trotman <elextr@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.

Cheers
Lex


> 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@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel