aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--libsylph/defs.h4
-rw-r--r--src/prefs_common_dialog.c6
3 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b36e4e2..f871955b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-07
+
+ * libsylph/defs.h
+ src/prefs_common_dialog.c: made DEFAULT_BROWSER_CMD 'xdg-open'
+ (thanks to Doruk Fisek). Removed obsolete commands.
+
2010-04-02
* version 3.0.2
diff --git a/libsylph/defs.h b/libsylph/defs.h
index baa7c676..e80ce08c 100644
--- a/libsylph/defs.h
+++ b/libsylph/defs.h
@@ -1,6 +1,6 @@
/*
* LibSylph -- E-Mail client library
- * Copyright (C) 1999-2005 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2010 Hiroyuki Yamamoto
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -93,7 +93,7 @@
/* #define DEFAULT_INC_PATH "/usr/bin/imget" */
/* #define DEFAULT_INC_PROGRAM "imget" */
#define DEFAULT_SENDMAIL_CMD "/usr/sbin/sendmail -t -i"
-#define DEFAULT_BROWSER_CMD "mozilla-firefox -remote 'openURL(%s,new-window)'"
+#define DEFAULT_BROWSER_CMD "xdg-open '%s'"
#ifdef _PATH_MAILDIR
# define DEFAULT_SPOOL_PATH _PATH_MAILDIR
diff --git a/src/prefs_common_dialog.c b/src/prefs_common_dialog.c
index 59972ccb..efe5d66a 100644
--- a/src/prefs_common_dialog.c
+++ b/src/prefs_common_dialog.c
@@ -2637,13 +2637,11 @@ static GtkWidget *prefs_extcmd_create(void)
_("(Default browser)"),
#else
DEFAULT_BROWSER_CMD,
- "mozilla-firefox '%s'",
+ "sensible-browser '%s'",
+ "firefox -remote 'openURL(%s,new-window)'",
"firefox '%s'",
"mozilla -remote 'openURL(%s,new-window)'",
"mozilla '%s'",
- "netscape -remote 'openURL(%s,new-window)'",
- "netscape '%s'",
- "gnome-moz-remote --newwin '%s'",
"rxvt -e w3m '%s'",
"rxvt -e lynx '%s'",
#endif