# HG changeset patch # User Paul Boddie # Date 1388876446 -3600 # Node ID 4a2810b3c645fb131c714365ae254c5ed577959b # Parent 3b413e38db6047e40e7da0aab7522534b10cc2f3 Added J?r?me's patch to work around a bug in exo-open for XFCE 4.10. Updated the release information. diff -r 3b413e38db60 -r 4a2810b3c645 PKG-INFO --- a/PKG-INFO Thu Sep 06 00:28:27 2012 +0200 +++ b/PKG-INFO Sun Jan 05 00:00:46 2014 +0100 @@ -1,12 +1,12 @@ Metadata-Version: 1.1 Name: desktop -Version: 0.4.1 +Version: 0.4.2 Author: Paul Boddie Author-email: paul at boddie org uk Maintainer: Paul Boddie Maintainer-email: paul at boddie org uk Home-page: http://www.python.org/pypi/desktop -Download-url: http://www.boddie.org.uk/python/downloads/desktop-0.4.1.tar.gz +Download-url: http://www.boddie.org.uk/python/downloads/desktop-0.4.2.tar.gz Summary: Simple desktop integration for Python License: LGPLv3 Description: Desktop environment detection, inspection; support for opening dialogues and resources. diff -r 3b413e38db60 -r 4a2810b3c645 README.txt --- a/README.txt Thu Sep 06 00:28:27 2012 +0200 +++ b/README.txt Sun Jan 05 00:00:46 2014 +0100 @@ -64,6 +64,11 @@ ROX-Filer Supports file opening using "rox " but not URL opening. +New in desktop 0.4.2 (Changes since desktop 0.4.1) +-------------------------------------------------- + + * Added XFCE 4.10 "mailto:" fix contributed by Jérôme Laheurte. + New in desktop 0.4.1 (Changes since desktop 0.4) ------------------------------------------------ diff -r 3b413e38db60 -r 4a2810b3c645 desktop/__init__.py --- a/desktop/__init__.py Thu Sep 06 00:28:27 2012 +0200 +++ b/desktop/__init__.py Sun Jan 05 00:00:46 2014 +0100 @@ -6,8 +6,8 @@ detection and resource opening support for a selection of common and standardised desktop environments. -Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012 Paul Boddie -Copyright (C) 2012 Jérôme Laheurte +Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012, 2013 Paul Boddie +Copyright (C) 2012, 2013 Jérôme Laheurte This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free @@ -75,7 +75,7 @@ The desktop.windows module permits the inspection of desktop windows. """ -__version__ = "0.4.1" +__version__ = "0.4.2" import os import sys @@ -278,7 +278,12 @@ cmd = ["gnome-open", url] elif desktop_in_use == "XFCE": - cmd = ["exo-open", url] + # exo-open 0.10 cannot parse the mailto: URL scheme if there is no + # recipient + if url.lower().startswith('mailto:'): + cmd = ["exo-open", "--launch", "MailReader", url] + else: + cmd = ["exo-open", url] elif desktop_in_use == "Mac OS X": cmd = ["open", url] diff -r 3b413e38db60 -r 4a2810b3c645 docs/COPYING.txt --- a/docs/COPYING.txt Thu Sep 06 00:28:27 2012 +0200 +++ b/docs/COPYING.txt Sun Jan 05 00:00:46 2014 +0100 @@ -1,8 +1,8 @@ Licence Agreement for desktop ----------------------------- -Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012 Paul Boddie -Copyright (C) 2012 Jérôme Laheurte +Copyright (C) 2005, 2006, 2007, 2008, 2009, 2012, 2013 Paul Boddie +Copyright (C) 2012, 2013 Jérôme Laheurte This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free diff -r 3b413e38db60 -r 4a2810b3c645 setup.py --- a/setup.py Thu Sep 06 00:28:27 2012 +0200 +++ b/setup.py Sun Jan 05 00:00:46 2014 +0100 @@ -8,6 +8,6 @@ author = "Paul Boddie", author_email = "paul@boddie.org.uk", url = "http://www.python.org/pypi/desktop", - version = "0.4.1", + version = "0.4.2", packages = ["desktop"] )