aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_common_dialog.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-02-25 06:34:07 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2011-02-25 06:34:07 +0000
commit070e412f18875b74e329d932d65b2917d8d81bd7 (patch)
tree9a892d712cf507a9bcef1df2a65481020c3b9427 /src/prefs_common_dialog.c
parentb81cb2016a3fb6bb6f297a057516aac13e5bcf42 (diff)
use 'open' command on OS X.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2847 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_common_dialog.c')
-rw-r--r--src/prefs_common_dialog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index 36554540..6a4108e7 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -2732,7 +2732,7 @@ static GtkWidget *prefs_extcmd_create(void)
gtk_table_attach (GTK_TABLE (ext_table), uri_combo, 1, 2, 0, 1,
GTK_EXPAND | GTK_FILL, 0, 0, 0);
gtkut_combo_set_items (GTK_COMBO (uri_combo),
-#ifdef G_OS_WIN32
+#if defined(G_OS_WIN32) || defined(__APPLE__)
_("(Default browser)"),
#else
DEFAULT_BROWSER_CMD,
@@ -2760,6 +2760,8 @@ static GtkWidget *prefs_extcmd_create(void)
gtkut_combo_set_items (GTK_COMBO (exteditor_combo),
#ifdef G_OS_WIN32
"notepad '%s'",
+#elif defined(__APPLE__)
+ "open -t '%s'",
#else
"gedit %s",
"kedit %s",