mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Updated for new AppleScript structure and moved to Lib (it's far too useful to lurk in the source folder).
This commit is contained in:
parent
18b47a07b7
commit
742ca0385a
1 changed files with 2 additions and 8 deletions
|
|
@ -14,15 +14,9 @@ Jack Jansen, CWI, January 1996.
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import aetools
|
import aetools
|
||||||
import Standard_Suite
|
import Netscape
|
||||||
import WWW_Suite
|
|
||||||
import MacOS
|
import MacOS
|
||||||
|
|
||||||
class Netscape(aetools.TalkTo, Standard_Suite.Standard_Suite, WWW_Suite.WorldWideWeb_suite_2c__as_defined_in_Spyglass_spec_2e_):
|
|
||||||
pass
|
|
||||||
|
|
||||||
SIGNATURE='MOSS'
|
|
||||||
|
|
||||||
Error = 'nsremote.Error'
|
Error = 'nsremote.Error'
|
||||||
|
|
||||||
_talker = None
|
_talker = None
|
||||||
|
|
@ -30,7 +24,7 @@ _talker = None
|
||||||
def _init():
|
def _init():
|
||||||
global _talker
|
global _talker
|
||||||
if _talker == None:
|
if _talker == None:
|
||||||
_talker = Netscape(SIGNATURE)
|
_talker = Netscape.Netscape()
|
||||||
|
|
||||||
def list(dpyinfo=""):
|
def list(dpyinfo=""):
|
||||||
_init()
|
_init()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue