#! /bin/sh /usr/share/dpatch/dpatch-run
## 001-Use_sensible_browser_and_desactive_sounds by
## Josselin Mouette <joss@debian.org>
##
## DP: Use sensible-browser instead of firefox to catch http urls
## DP: Disable sounds because they have been removed due to license issue

diff -Nru nicotine+-1.2.6+svn.r139/pynicotine/config.py nicotine+-1.2.6+svn.r139.new/pynicotine/config.py
--- nicotine+-1.2.6+svn.r139/pynicotine/config.py	2006-10-21 00:49:17.000000000 +0200
+++ nicotine+-1.2.6+svn.r139.new/pynicotine/config.py	2006-10-26 18:42:48.000000000 +0200
@@ -65,8 +65,8 @@
  	"ui":{"icontheme": "", "chatme":"FOREST GREEN", "chatremote":"","chatlocal":"BLUE", \
  	"chathilite":"red", "search":"","searchq":"GREY", "decimalsep":",", "chatfont": "", \
  	"roomlistcollapsed": 0, "tabclosers": 1, "buddylistinchatrooms": 0, "trayicon": 1,
-	"soundenabled": 1, "soundtheme": "", "soundcommand": "play -q", "speechenabled": 0}, \
- 	"urls":{"urlcatching":1,"protocols":{"http":"firefox \"%s\" &"}, \
+	"soundenabled": 0, "soundtheme": "", "soundcommand": "play -q", "speechenabled": 0}, \
+ 	"urls":{"urlcatching":1,"protocols":{"http":"sensible-browser \"%s\" &"}, \
  	"humanizeurls":1}, "interests": {"likes":[], "dislikes":[]}, \
 	"ticker": {"default": "", "rooms": {}, "hide": 0},\
 	"players": {"default": "xmms -e ", "npothercommand": "", "npplayer": "infopipe", "npformatlist": [], "npformat": "" }}
