Merge branch 'xchat-url-handler' into 'belenos'

Add make-xchat helper

This helper uses [this patch](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691477#28) to replace the reference to a nonfree browser (Opera) with a reference to the default system browser (x-www-browser). It should work on toutatis too.

See merge request !100
This commit is contained in:
Ruben Rodriguez 2015-06-17 18:36:56 +00:00
commit 9f71c69a1a
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,16 @@
Description: Changes default browser from Opera (which is non-free) to Epiphany.
Author: Marek Buras <cyfr0n@go2.pl>
Origin: vendor
Forwarded: no
Last-Update: 2013-01-29
--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -604,7 +604,7 @@
"NAME WII\n" "CMD quote WHOIS %2 %2\n\n";
static char defaultconf_urlhandlers[] =
- "NAME Open Link in Opera\n" "CMD !opera -remote 'openURL(%s)'\n\n";
+ "NAME Open Link in the default browser\n" "CMD !x-www-browser '%s'\n\n";
#ifdef USE_SIGACTION
/* Close and open log files on SIGUSR1. Usefull for log rotating */