From: Doug B. <dou...@gm...> - 2013-09-02 12:40:37
|
Vassilii et al, Just a reminder that we need to be very careful when backporting fixes that involve signature changes to code in maintenance mode. The addons system has a method of matching version numbers for a specific Gramps base for situations like this. I've change the ChangeGivenNames addon Batch tool to require at least 3.4.6 and 4.0.2 respectively. That should make it so that these addons are only downloaded when a user is using that version (or later) of Gramps. Thanks! -Doug On Wed, Aug 21, 2013 at 4:04 PM, Vassilii Khachaturov <vas...@ta...> wrote: > Hi fellow devs, > > in the scope of fixing bug# 6953, I have introduced an extra argument to > BatchTool -- uistate, which you already know from the tool > initialization API. > > Previously, tools would swallow uistate and BatchTool wouldn't know if > there's any UI, then it would try to pop up a UI warning about an > impossibility to undo the tool action, and then proceed. > > Now, if BatchTool sees there is no UI (and so it's run from the > cmdline), it would just delegate to the base Tool class, and do nothing > else. There is no UI to request any undo, so the user doesn't care about > the warning anyway. > > If you own a 3rd-party tool that uses the BatchTool class, please update > your tool accordingly. > > V. > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel |