1.1 --- a/PKG-INFO Fri Nov 11 12:27:40 2005 +0000
1.2 +++ b/PKG-INFO Fri Nov 11 17:18:36 2005 +0000
1.3 @@ -1,12 +1,12 @@
1.4 Metadata-Version: 1.1
1.5 Name: desktop
1.6 -Version: 0.1
1.7 +Version: 0.2
1.8 Author: Paul Boddie
1.9 Author-email: paul at boddie org uk
1.10 Maintainer: Paul Boddie
1.11 Maintainer-email: paul at boddie org uk
1.12 Home-page: http://www.python.org/sf?id=1301512
1.13 -Download-url: http://www.boddie.org.uk/python/downloads/desktop-0.1.tar.gz
1.14 +Download-url: http://www.boddie.org.uk/python/downloads/desktop-0.2.tar.gz
1.15 Summary: Simple desktop integration for Python
1.16 License: Academic Free License version 2.1
1.17 Description: This module provides desktop environment detection and resource
2.1 --- a/README.txt Fri Nov 11 12:27:40 2005 +0000
2.2 +++ b/README.txt Fri Nov 11 17:18:36 2005 +0000
2.3 @@ -36,5 +36,5 @@
2.4 New in desktop 0.2 (Changes since desktop 0.1)
2.5 ----------------------------------------------
2.6
2.7 - * Added waiting for launcher processes by default.
2.8 + * Added support for waiting for launcher processes.
2.9 * Added a tests directory.
3.1 --- a/desktop.py Fri Nov 11 12:27:40 2005 +0000
3.2 +++ b/desktop.py Fri Nov 11 17:18:36 2005 +0000
3.3 @@ -56,7 +56,7 @@
3.4 http://lists.freedesktop.org/archives/xdg/2004-August/004489.html
3.5 """
3.6
3.7 -__version__ = "0.1"
3.8 +__version__ = "0.2"
3.9
3.10 import os
3.11 import sys
3.12 @@ -103,7 +103,7 @@
3.13 os.waitpid(pid, os.P_WAIT)
3.14 return pid
3.15
3.16 -def open(url, desktop=None, wait=1):
3.17 +def open(url, desktop=None, wait=0):
3.18
3.19 """
3.20 Open the 'url' in the current desktop's preferred file browser. If the
3.21 @@ -121,9 +121,9 @@
3.22 process identifier cannot be determined, None is returned.
3.23
3.24 An optional 'wait' parameter is also available for advanced usage and, if
3.25 - 'wait' is set to a false value, this function will not wait for the
3.26 - launching mechanism to complete before returning (as opposed to waiting and
3.27 - then returning, as is the default behaviour).
3.28 + 'wait' is set to a true value, this function will wait for the launching
3.29 + mechanism to complete before returning (as opposed to immediately returning
3.30 + as is the default behaviour).
3.31 """
3.32
3.33 # Attempt to detect a desktop environment.