classification
Title: use gvfs-open/xdg-open in Lib/webbrowser.py
Type: Stage: committed/rejected
Components: Library (Lib) Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: doko Nosy List: doko, eric.araujo, python-dev, r.david.murray
Priority: normal Keywords: patch

Created on 2012-04-04 12:17 by doko, last changed 2012-04-05 01:51 by r.david.murray. This issue is now closed.

Messages (5)
msg157472 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-04-04 12:17
[forwarded from https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/971311]

The webbrowser.py is using gnome-open. This is no longer supported by gnome, instead they use gvfs-open. The attached patch adds support for this and will also use xdg-open if available as this is meant to be the 
cross desktop tool to use for this kind of task, see http://portland.freedesktop.org/wiki/
msg157473 - (view) Author: Roundup Robot (python-dev) Date: 2012-04-04 12:19
New changeset 70c58903b52e by Matthias Klose in branch 'default':
- Issue #14493: Use gvfs-open/xdg-open in Lib/webbrowser.py.
http://hg.python.org/cpython/rev/70c58903b52e
msg157478 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012-04-04 13:51
If gvfs is preferred, should its if block come second, or perhaps those two should be an if/elif block?
msg157479 - (view) Author: Matthias Klose (doko) * (Python committer) Date: 2012-04-04 14:06
I don't think so. the register calls append to the list, don't overwrite it.
msg157486 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2012-04-04 15:11
OK, sounds fine.  Shall we close this as fixed then?
History
Date User Action Args
2012-04-05 01:51:54r.david.murraysetstatus: open -> closed
resolution: fixed
stage: committed/rejected
2012-04-05 01:08:49eric.araujosetnosy: + eric.araujo
2012-04-04 15:11:52r.david.murraysetmessages: + msg157486
2012-04-04 14:06:36dokosetmessages: + msg157479
2012-04-04 13:51:39r.david.murraysetnosy: + r.david.murray
messages: + msg157478
2012-04-04 12:19:10python-devsetnosy: + python-dev
messages: + msg157473
2012-04-04 12:17:20dokocreate