From: Jon A. Cruz Date: Sun, 18 Jul 2010 06:32:23 +0000 (-0700) Subject: Correct the default for the save-as location to match the UI. Fixes bug #561375 ... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e4dbb4b6d639fb56b6a94d78101f2c5f047028bb;p=inkscape.git Correct the default for the save-as location to match the UI. Fixes bug #561375 (pending branch) --- 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"