[Python-checkins] CVS: python/dist/src/Lib webbrowser.py,1.9,1.10
Eric S. Raymond
esr@users.sourceforge.net
Tue, 23 Jan 2001 07:49:37 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Lib gettext.py,1.10,1.11 gopherlib.py,1.7,1.8 gzip.py,1.20,1.21 htmlentitydefs.py,1.6,1.7 htmllib.py,1.15,1.16 httplib.py,1.31,1.32 ihooks.py,1.11,1.12 imaplib.py,1.22,1.23
- Next message: [Python-checkins] CVS: python/dist/src/Python exceptions.c,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv32739/Lib
Modified Files:
webbrowser.py
Log Message:
Fixed autoraise glitches.
Index: webbrowser.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/webbrowser.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** webbrowser.py 2001/01/23 13:49:44 1.9
--- webbrowser.py 2001/01/23 15:49:34 1.10
***************
*** 76,80 ****
self.command = cmd
! def open(self, url, new=0):
os.system(self.command % url)
--- 76,80 ----
self.command = cmd
! def open(self, url, new=0, autoraise=1):
os.system(self.command % url)
***************
*** 152,156 ****
return not rc
! def open(self, url, new=1):
# XXX Currently I know no way to prevent KFM from opening a new win.
self._remote("openURL %s" % url)
--- 152,156 ----
return not rc
! def open(self, url, new=1, autoraise=1):
# XXX Currently I know no way to prevent KFM from opening a new win.
self._remote("openURL %s" % url)
***************
*** 200,204 ****
return 1
! def open(self, url, new=0):
if new:
self._remote("LOADNEW " + url)
--- 200,204 ----
return 1
! def open(self, url, new=0, autoraise=1):
if new:
self._remote("LOADNEW " + url)
***************
*** 221,225 ****
class WindowsDefault:
! def open(self, url, new=0):
os.startfile(url)
--- 221,225 ----
class WindowsDefault:
! def open(self, url, new=0, autoraise=1):
os.startfile(url)
***************
*** 239,243 ****
else:
class InternetConfig:
! def open(self, url, new=0):
ic.launchurl(url)
--- 239,243 ----
else:
class InternetConfig:
! def open(self, url, new=0, autoraise=1):
ic.launchurl(url)
- Previous message: [Python-checkins] CVS: python/dist/src/Lib gettext.py,1.10,1.11 gopherlib.py,1.7,1.8 gzip.py,1.20,1.21 htmlentitydefs.py,1.6,1.7 htmllib.py,1.15,1.16 httplib.py,1.31,1.32 ihooks.py,1.11,1.12 imaplib.py,1.22,1.23
- Next message: [Python-checkins] CVS: python/dist/src/Python exceptions.c,1.19,1.20
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]