summaryrefslogtreecommitdiff
path: root/lib/process_xml.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:23:19 +0200
commit0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch)
tree69537ceb9787bb25ac363cc4e6cdaf0804d78363 /lib/process_xml.h
parent5.12 (diff)
downloadFreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.gz
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.bz2
FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.zip
5.13
Diffstat (limited to 'lib/process_xml.h')
-rw-r--r--lib/process_xml.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/lib/process_xml.h b/lib/process_xml.h
index d0396d6e..9dda330e 100644
--- a/lib/process_xml.h
+++ b/lib/process_xml.h
@@ -175,7 +175,7 @@ struct XmlGlobalSettings
onCompletionHistoryMax(8),
//deleteOnBothSides(false),
useRecyclerForManualDeletion(true), //enable if OS supports it; else user will have to activate first and then get an error message
-#ifdef FFS_WIN
+#if defined FFS_WIN || defined FFS_MAC
textSearchRespectCase(false),
#elif defined FFS_LINUX
textSearchRespectCase(true),
@@ -186,15 +186,17 @@ struct XmlGlobalSettings
{
//default external apps will be translated "on the fly"!!! First entry will be used for [Enter] or mouse double-click!
#ifdef FFS_WIN
- externelApplications.push_back(std::make_pair(L"Show in Explorer", //mark for extraction: _("Show in Explorer")
- L"explorer /select, \"%item_path%\""));
- externelApplications.push_back(std::make_pair(L"Open with default application", //mark for extraction: _("Open with default application")
- L"\"%item_path%\""));
+ externelApplications.push_back(std::make_pair(L"Show in Explorer", L"explorer /select, \"%item_path%\""));
+ externelApplications.push_back(std::make_pair(L"Open with default application", L"\"%item_path%\""));
+ //mark for extraction: _("Show in Explorer")
+ //mark for extraction: _("Open with default application")
#elif defined FFS_LINUX
- externelApplications.push_back(std::make_pair(L"Browse directory", //mark for extraction: _("Browse directory") Linux doesn't use the term "folder"
- L"xdg-open \"%item_folder%\""));
- externelApplications.push_back(std::make_pair(L"Open with default application", //mark for extraction: _("Open with default application")
- L"xdg-open \"%item_path%\""));
+ externelApplications.push_back(std::make_pair(L"Browse directory", L"xdg-open \"%item_folder%\""));
+ externelApplications.push_back(std::make_pair(L"Open with default application", L"xdg-open \"%item_path%\""));
+ //mark for extraction: _("Browse directory") Linux doesn't use the term "folder"
+#elif defined FFS_MAC
+ externelApplications.push_back(std::make_pair(L"Browse directory", L"open -R \"%item_path%\""));
+ externelApplications.push_back(std::make_pair(L"Open with default application", L"open \"%item_path%\""));
#endif
}
bgstack15