On 2/4/07, Bryce Harrington <bryce@...961...> wrote:
Patch from Debian has been applied to SVN HEAD:
"Custom default templates can now be specified per-user. Start a new document, make any customizations you wish - such as changing the paper size - and save to ~/.inkscape/templates/default.svg. Now, all new documents you create will be created with this template."
This is rather strange. This functionality has been available for quite some time. I just tested it and it works (before your change). It is quite eleganlty implemented in the current code:
sources.push_back( profile_path("templates") ); // first try user's local dir sources.push_back( g_strdup(INKSCAPE_TEMPLATESDIR) ); // then the system templates dir
Your patch just adds _another_ hack on top of that, which is completely unnecessary. Didn't the author of the patch try if it works first? If it didn't work for him it's likely just a bug which should be reported.
This functionality was documented in 0.44 release notes:
http://wiki.inkscape.org/wiki/index.php/ReleaseNotes044#Miscellaneous_improv...
So, Bryce, unless I'm missing something, I think we should revert this and contact the author of the patch.