aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/prefs_common_dialog.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index 37fae722..6b9201ca 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -1997,8 +1997,12 @@ static void prefs_other_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
+ "",
+#else
DEFAULT_BROWSER_CMD,
"mozilla-firefox '%s'",
+ "firefox '%s'",
"mozilla -remote 'openURL(%s,new-window)'",
"mozilla '%s'",
"netscape -remote 'openURL(%s,new-window)'",
@@ -2006,6 +2010,7 @@ static void prefs_other_create(void)
"gnome-moz-remote --newwin '%s'",
"rxvt -e w3m '%s'",
"rxvt -e lynx '%s'",
+#endif
NULL);
uri_entry = GTK_COMBO (uri_combo)->entry;