Hey Johan,
Back in R2138 the code was introduced to limit the choice for windows32 by a Mr Johan Enhelen back in 2007 ;-) :
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/2138
Then modified a bit by Joel Holdsworth a year later in R5160 to set it permanently to true:
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/5160
Looks like it can be cleaned up, hope this archeology helps!
Martin,
On Sat, 2013-08-03 at 23:00 +0200, Johan Engelen wrote:
Hi all, I came across this code:
void FloatingBehavior::onDesktopActivated (SPDesktop *desktop) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); gint transient_policy = prefs->getIntLimited("/options/transientpolicy/value", 1, 0, 2);
#ifdef WIN32 // Win32 special code to enable transient dialogs transient_policy = 2; #endif
Why is transient_policy hard-coded to 2 on Windows? And why not just set the transient_policy option to 2 per default for Windows?
Thanks, Johan
Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clk... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel