Ah, that patch doesn't work on Gnome because all the browser settings in
liferea other than manual get ignored in Gnome. Setting the browser default to
manual doesn't seem to work either.
Purging all the browser options other than manual (x-www-browser) works for
Gnome and works for a vanilla KDE install as well. It's not pretty, but it
fixes all 4 problems listed above.
New patch attached.
--- a/src/browser.c
+++ b/src/browser.c
@@ -28,50 +28,6 @@
#include ui/liferea_shell.h
static struct browser browsers[] = {
- {
- default, N_(Default Browser), NULL, /* triggering gtk_show_uri() */
- NULL, NULL,
- NULL, NULL,
- NULL, NULL
- },
- {
- /* tested with SeaMonkey 1.0.6 */
- mozilla, Mozilla, mozilla %s,
- NULL, mozilla -remote openURL(%s),
- NULL, mozilla -remote 'openURL(%s,new-window)',
- NULL, mozilla -remote 'openURL(%s,new-tab)'
- },
- {
- /* tested with Firefox 1.5 and 2.0 */
- firefox, Firefox,firefox \%s\,
- NULL, firefox -a firefox -remote \openURL(%s)\,
- NULL, firefox -a firefox -remote 'openURL(%s,new-window)',
- NULL, firefox -a firefox -remote 'openURL(%s,new-tab)'
- },
- {
- opera, Opera,opera \%s\,
- opera \%s\, opera -remote \openURL(%s)\,
- opera -newwindow \%s\, NULL,
- opera -newpage \%s\, NULL
- },
- {
- epiphany, Epiphany,epiphany \%s\,
- NULL, NULL,
- epiphany \%s\, NULL,
- epiphany -n \%s\, NULL
- },
- {
- konqueror, Konqueror, kfmclient openURL \%s\,
- NULL, NULL,
- NULL, NULL,
- NULL, NULL
- },
- {
- x-www-browser, x-www-browser, x-www-browser \%s\,
- NULL, NULL,
- NULL, NULL,
- NULL, NULL
- },
{ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
};