[GRASS-dev] 6.4.1 blocker bugs? more on d.legend
Martin Landa
landa.martin at gmail.com
Fri Mar 4 12:03:23 EST 2011
Hi,
2011/2/4 Hamish <hamish_b at yahoo.com>:
> Helena wrote:
>> - would it be possible to grey out or hide the button "Use
>> mouse to size and place legend"?
>> everybody switches it on and tries to size the legend with
>> mouse without success
>> (there is no hint anywhere that this does not work),
>
> a wrapper script would be needed, similar to v.type.
> see `d.legend --script` for a template.
> I'd prefer that to changing the wording of the flag's description, as "for interactive xmons only" is too hard to explain to the new
> GUI user in just a few words.
>
> maybe module --interface description man-in-the-middle hijacking + ad-hoc override is possible in the wxPy code. ...? but it wouldn't be pretty.
I have implement it as `blackList` defined in menuform.py. In this
case `-m` flag is hidden only when dialog is launched from the GUI,
see r45552. Backported to devbr6. After some testing it could be
applied in relbr64 too.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list