summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3cd6f00)
raw | patch | inline | side by side (parent: 3cd6f00)
author | Jon A. Cruz <jon@joncruz.org> | |
Sun, 18 Jul 2010 06:32:23 +0000 (23:32 -0700) | ||
committer | Jon A. Cruz <jon@joncruz.org> | |
Sun, 18 Jul 2010 06:32:23 +0000 (23:32 -0700) |
src/extension/system.cpp | patch | blob | history | |
src/preferences-skeleton.h | patch | blob | history |
index 6ffa7f57f8428b6c3c60edf4efa48390c2e18b0a..5412a5cc0b2a5de3c9e59cbcefa8060917be3016 100644 (file)
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
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 {
index dd925490e7966dc92327b3b921fa64cf1de33247..c73cae17f46a1ab61cdb7f044ca044713b6f2d39 100644 (file)
" <group id=\"exportarea\"/>\n"
" <group id=\"defaultxdpi\"/>\n"
" </group>\n"
-" <group id=\"save_as\" default=\"\" append_extension=\"1\" enable_preview=\"1\" path=\"\"/>\n"
+" <group id=\"save_as\" default=\"\" append_extension=\"1\" enable_preview=\"1\" path=\"\" use_current_dir=\"1\"/>\n"
" <group id=\"save_copy\" default=\"\" append_extension=\"1\" enable_preview=\"1\" path=\"\"/>\n"
" <group id=\"open\" enable_preview=\"1\" path=\"\"/>\n"
" <group id=\"import\" enable_preview=\"1\" path=\"\"/>\n"