Re: [Kicad-developers] [PATCH] Add KICAD_TEMPLATE_DIR to Configure Paths... help

2018-10-03 Thread Wayne Stambaugh
John, I merged your patch. Thanks, Wayne On 10/2/2018 5:42 PM, John Beard wrote: > Hi Wayne, > > Here's the updated patch. The only changes are comments and var names. > > I'll keep looking at wxGrid cell tooltips. If anyone knows if we > already can do that (or WX has an easy way that's

Re: [Kicad-developers] [PATCH] Add KICAD_TEMPLATE_DIR to Configure Paths... help

2018-10-02 Thread John Beard
Hi Wayne, Here's the updated patch. The only changes are comments and var names. I'll keep looking at wxGrid cell tooltips. If anyone knows if we already can do that (or WX has an easy way that's doesn't need to deal with mouse events manually, please let me know!) Cheers, John On Tue, Oct 2,

Re: [Kicad-developers] [PATCH] Add KICAD_TEMPLATE_DIR to Configure Paths... help

2018-10-02 Thread Wayne Stambaugh
Hey John, No problem. I'll hold off until you send the revised patch. I'm fine with the current patch the way that it is. It was just the tool tip code that threw me off. I thought maybe there was something missing. Cheers, Wayne On 10/02/2018 04:45 PM, John Beard wrote: > Hi Wayne, > >

Re: [Kicad-developers] [PATCH] Add KICAD_TEMPLATE_DIR to Configure Paths... help

2018-10-02 Thread John Beard
Hi Wayne, Sorry about that, I actually started with the intention of providing tooltips for the wxGrids in the library manager and the paths configuration dialog. However, I found adding a tooltip to a wxGrid cells is not very easy, so I retreated to just updating the help text and

Re: [Kicad-developers] [PATCH] Add KICAD_TEMPLATE_DIR to Configure Paths... help

2018-10-01 Thread Wayne Stambaugh
Hey John, I like this solution to the translation issue better than some of the other solutions that have been proposed. I did notice that you added a function to provide the tooltip for defined env variable but you did not hook up the tooltip logic in the dialog. Are you planning to do that at

[Kicad-developers] [PATCH] Add KICAD_TEMPLATE_DIR to Configure Paths... help

2018-10-01 Thread John Beard
Hi, Small patch that: * Adds KICAD_TEMPLATE_DIR and KICAD_USER_TEMPLATE_DIR to the help dialog in Configure Paths... * Documents KICAD_PTEMPLATES as deprecated. * Moves some generic functions to do with env variables to a separate file. This means env var help text is no longer embedded in a