summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f2a67e2)
raw | patch | inline | side by side (parent: f2a67e2)
author | bryce <bryce@users.sourceforge.net> | |
Sun, 4 Feb 2007 21:56:15 +0000 (21:56 +0000) | ||
committer | bryce <bryce@users.sourceforge.net> | |
Sun, 4 Feb 2007 21:56:15 +0000 (21:56 +0000) |
src/file.cpp | patch | blob | history |
diff --git a/src/file.cpp b/src/file.cpp
index 0c4941c36b2f3e201c638ecc94f188a85765bda2..521579d69f73775c628135e9911e4422e478d5fb 100644 (file)
--- a/src/file.cpp
+++ b/src/file.cpp
// the default layer, etc. If you wish to localize this file, please create a
// localized share/templates/default.xx.svg file, where xx is your language code.
char *default_template = g_build_filename(dirname, _("default.svg"), NULL);
- char *user_default_template = g_build_filename(profile_path("templates"), _("default.svg"), NULL);
- if (Inkscape::IO::file_test(user_default_template, G_FILE_TEST_IS_REGULAR)) {
- return sp_file_new(user_default_template);
- } else if (Inkscape::IO::file_test(default_template, G_FILE_TEST_IS_REGULAR)) {
+ if (Inkscape::IO::file_test(default_template, G_FILE_TEST_IS_REGULAR)) {
return sp_file_new(default_template);
}
}