From: Jon A. Cruz Date: Sun, 18 Jul 2010 08:51:05 +0000 (-0700) Subject: Correct default for save-as location. Fixes bug #561375. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=77392231f210f1b2164a01a0673da3eed94ede8b;p=inkscape.git Correct default for save-as location. Fixes bug #561375. --- diff --git a/src/extension/system.cpp b/src/extension/system.cpp index 6ffa7f57f..5412a5cc0 100644 --- a/src/extension/system.cpp +++ b/src/extension/system.cpp @@ -589,7 +589,7 @@ get_file_save_path (SPDocument *doc, FileSaveMethod method) { switch (method) { case FILE_SAVE_METHOD_SAVE_AS: { - bool use_current_dir = prefs->getBool("/dialogs/save_as/use_current_dir"); + bool use_current_dir = prefs->getBool("/dialogs/save_as/use_current_dir", true); if (doc->uri && use_current_dir) { path = Glib::path_get_dirname(doc->uri); } else { diff --git a/src/preferences-skeleton.h b/src/preferences-skeleton.h index dd925490e..c73cae17f 100644 --- a/src/preferences-skeleton.h +++ b/src/preferences-skeleton.h @@ -193,7 +193,7 @@ static char const preferences_skeleton[] = " \n" " \n" " \n" -" \n" +" \n" " \n" " \n" " \n"