summaryrefslogtreecommitdiffstats
path: root/src/file.cpp
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2007-02-04 21:56:15 +0000
committerbryce <bryce@users.sourceforge.net>2007-02-04 21:56:15 +0000
commitd1c8696c4281e87fd5f33397e5272c90a601d1f4 (patch)
tree85410afa033bbf58ffbbba50e6d525bedaf5f0ca /src/file.cpp
parentPatch from Debian bug tracker from Daniel Kahn Gillmor (diff)
downloadinkscape-d1c8696c4281e87fd5f33397e5272c90a601d1f4.tar.gz
inkscape-d1c8696c4281e87fd5f33397e5272c90a601d1f4.zip
Reverting patch
(bzr r2328)
Diffstat (limited to 'src/file.cpp')
-rw-r--r--src/file.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/file.cpp b/src/file.cpp
index 0c4941c36..521579d69 100644
--- a/src/file.cpp
+++ b/src/file.cpp
@@ -128,10 +128,7 @@ sp_file_new_default()
// 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);
}
}