1.1 --- a/desktop.py Fri Nov 11 12:27:40 2005 +0000
1.2 +++ b/desktop.py Fri Nov 11 17:18:36 2005 +0000
1.3 @@ -56,7 +56,7 @@
1.4 http://lists.freedesktop.org/archives/xdg/2004-August/004489.html
1.5 """
1.6
1.7 -__version__ = "0.1"
1.8 +__version__ = "0.2"
1.9
1.10 import os
1.11 import sys
1.12 @@ -103,7 +103,7 @@
1.13 os.waitpid(pid, os.P_WAIT)
1.14 return pid
1.15
1.16 -def open(url, desktop=None, wait=1):
1.17 +def open(url, desktop=None, wait=0):
1.18
1.19 """
1.20 Open the 'url' in the current desktop's preferred file browser. If the
1.21 @@ -121,9 +121,9 @@
1.22 process identifier cannot be determined, None is returned.
1.23
1.24 An optional 'wait' parameter is also available for advanced usage and, if
1.25 - 'wait' is set to a false value, this function will not wait for the
1.26 - launching mechanism to complete before returning (as opposed to waiting and
1.27 - then returning, as is the default behaviour).
1.28 + 'wait' is set to a true value, this function will wait for the launching
1.29 + mechanism to complete before returning (as opposed to immediately returning
1.30 + as is the default behaviour).
1.31 """
1.32
1.33 # Attempt to detect a desktop environment.