[geany/geany] ac76c8: Use Safari as the default browser on OS X
Jiří Techet
git-noreply at xxxxx
Tue Feb 10 16:23:27 UTC 2015
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Tue, 20 Jan 2015 18:33:06 UTC
Commit: ac76c84fdcf0f9bc2551ec4453df316531c81a9a
https://github.com/geany/geany/commit/ac76c84fdcf0f9bc2551ec4453df316531c81a9a
Log Message:
-----------
Use Safari as the default browser on OS X
Since Safari isn't on PATH, the open command has to be used
Modified Paths:
--------------
src/keyfile.c
Modified: src/keyfile.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -77,7 +77,11 @@
#else
#define GEANY_DEFAULT_TOOLS_TERMINAL "xterm -e \"/bin/sh %c\""
#endif
+#ifdef __APPLE__
+#define GEANY_DEFAULT_TOOLS_BROWSER "open -a safari"
+#else
#define GEANY_DEFAULT_TOOLS_BROWSER "firefox"
+#endif
#define GEANY_DEFAULT_TOOLS_PRINTCMD "lpr"
#define GEANY_DEFAULT_TOOLS_GREP "grep"
#define GEANY_DEFAULT_MRU_LENGTH 10
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list