aboutsummaryrefslogtreecommitdiff
path: root/libsylph/prefs_common.c
diff options
context:
space:
mode:
authorHiro <Hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-16 14:06:29 +0000
committerHiro <Hiro@ee746299-78ed-0310-b773-934348b2243d>2005-10-16 14:06:29 +0000
commit5c0a3497e9d19f1fc1b26c1ec335d82b1f3ac2f1 (patch)
treec790650b9765ef8b120e83246a03f8e237a30d1c /libsylph/prefs_common.c
parentd45214240a9d326147576f03171d2a84cb9e624f (diff)
win32: use ShellExecute() to open URI.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@652 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/prefs_common.c')
-rw-r--r--libsylph/prefs_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsylph/prefs_common.c b/libsylph/prefs_common.c
index 9b8af6e8..aaf50707 100644
--- a/libsylph/prefs_common.c
+++ b/libsylph/prefs_common.c
@@ -302,8 +302,12 @@ static PrefParam param[] = {
#endif
/* Other */
+#ifdef G_OS_WIN32
+ {"uri_open_command", NULL, &prefs_common.uri_cmd,
+#else
{"uri_open_command", DEFAULT_BROWSER_CMD, &prefs_common.uri_cmd,
P_STRING},
+#endif
{"print_command", "lpr %s", &prefs_common.print_cmd, P_STRING},
{"ext_editor_command", "gedit %s", &prefs_common.ext_editor_cmd,
P_STRING},