summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b5907d8)
raw | patch | inline | side by side (parent: b5907d8)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 1 Apr 2007 01:18:06 +0000 (01:18 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sun, 1 Apr 2007 01:18:06 +0000 (01:18 +0000) |
src/inkscape.cpp | patch | blob | history |
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 799227bf37c9b2bec2af6b934a6c02ab8d046f99..af6ef4f05a125c5718c0f76a88e64e7a535072f0 100644 (file)
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -1238,6 +1238,29 @@ inkscape_init_config (Inkscape::XML::Document *doc, const gchar *config_name, co
return false;
}
}
+
+ // Also create (empty for now) subdirectories for the user's stuff
+ {
+ gchar *temp_dn = profile_path("templates");
+ Inkscape::IO::mkdir_utf8name(temp_dn);
+ }
+ {
+ gchar *temp_dn = profile_path("keys");
+ Inkscape::IO::mkdir_utf8name(temp_dn);
+ }
+ {
+ gchar *temp_dn = profile_path("icons");
+ Inkscape::IO::mkdir_utf8name(temp_dn);
+ }
+ {
+ gchar *temp_dn = profile_path("extensions");
+ Inkscape::IO::mkdir_utf8name(temp_dn);
+ }
+ {
+ gchar *temp_dn = profile_path("palettes");
+ Inkscape::IO::mkdir_utf8name(temp_dn);
+ }
+
} else if (!Inkscape::IO::file_test(dn, G_FILE_TEST_IS_DIR)) {
if (use_gui) {
// Not a directory