badd54a14d
and just use xdg-open.
19 lines
644 B
Plaintext
19 lines
644 B
Plaintext
$OpenBSD: patch-sonata_misc_py,v 1.1 2011/07/27 15:27:26 ajacoutot Exp $
|
|
--- sonata/misc.py.orig Wed Jul 27 17:22:46 2011
|
|
+++ sonata/misc.py Wed Jul 27 17:22:03 2011
|
|
@@ -159,13 +159,7 @@ def browser_load(docslink, browser, window):
|
|
if browser and browser.strip():
|
|
browsers = [browser.strip()]
|
|
else:
|
|
- browsers = ["gnome-open", # default, we are a "gnome" app
|
|
- "x-www-browser", # default on Debian-based systems
|
|
- "exo-open",
|
|
- "kfmclient openURL",
|
|
- "firefox",
|
|
- "mozilla",
|
|
- "opera"]
|
|
+ browsers = ["xdg-open"]
|
|
for browser in browsers:
|
|
try:
|
|
subprocess.Popen(browser.split()+[docslink])
|