Re: [Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-03 Thread Stuart Buchanan
On Sun, Jan 2, 2011 at 5:14 PM, Stuart Buchanan wrote: On Sun, Jan 2, 2011 at 3:44 PM, James Turner wrote: On 2 Jan 2011, at 14:56, Stuart Buchanan wrote: gui.menuEnable(fuel-and-payload, false); We can add new names for any other menus that we might want to disable on a per-aircraft basis,

Re: [Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-03 Thread syd adams
The following aircraft override the radio dialog, which has moved since v2.0.0. 777-200ER b1900d Citation-Bravo I've just pushed an enhancement to gui.nas that allows the aircraft developer to change the binding for a symbolically named dialog, in the same way that they can

Re: [Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-02 Thread Stuart Buchanan
On Sat, Jan 1, 2011 at 8:37 AM, I wrote: Adding symbolic names along with some helper functions for disabling them in Nasal/gui.nas is pretty easy.  I'm happy to take on writing the code etc. Probably not today though! It turns out that Nasal/gui.nas already had a menuEnable function for

Re: [Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-02 Thread James Turner
On 2 Jan 2011, at 14:56, Stuart Buchanan wrote: gui.menuEnable(fuel-and-payload, false); We can add new names for any other menus that we might want to disable on a per-aircraft basis, but from a quick skim through the menus I couldn't see any other candidates. Proving one again that

Re: [Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-02 Thread Citronnier - Alexis Bory
James Turner a écrit : On 2 Jan 2011, at 14:56, Stuart Buchanan wrote: gui.menuEnable(fuel-and-payload, false); We can add new names for any other menus that we might want to disable on a per-aircraft basis, but from a quick skim through the menus I couldn't see any other candidates.

Re: [Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-02 Thread Stuart Buchanan
On Sun, Jan 2, 2011 at 3:44 PM, James Turner wrote: On 2 Jan 2011, at 14:56, Stuart Buchanan wrote: gui.menuEnable(fuel-and-payload, false); We can add new names for any other menus that we might want to disable on a per-aircraft basis, but from a quick skim through the menus I couldn't see

Re: [Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-02 Thread Citronnier - Alexis Bory
f-14b updated and in git, so it uses symbolic name rather than labels. Alexis -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database

[Flightgear-devel] Disabling menu items (was Re: map question)

2011-01-01 Thread Stuart Buchanan
Happy new year everyone ! On 30 Dec 2010, at 23:19, ThorstenB wrote: I still vote for keeping the original menu ordering in the Equipment menu for the upcomming release, otherwise we have another incompatibility - and a very unnecessary one. It's very simple to avoid this issue for this