summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-04-12 22:27:11 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-04-12 22:27:11 (GMT)
commit3576066cad445e0b3870766fa661b534f9799de7 (patch)
treea0251816bb4ef3bbc54468d20e752a3896a9f827 /Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py
parent7b01a83488ebe1969b416d579e7df58576bb3c44 (diff)
downloadcpython-3576066cad445e0b3870766fa661b534f9799de7.zip
cpython-3576066cad445e0b3870766fa661b534f9799de7.tar.gz
cpython-3576066cad445e0b3870766fa661b534f9799de7.tar.bz2
Oops, _propdeclarations and friends are needed: gensuitemodule uses them
to lookup properties declared in base classes. Looking at it I'm not sure what the official scope if the property codes is, maybe it is only the (OSA) class in which they are used. But giving them global scope hasn't been a problem so far. Regenerated the standard suites, which are now also space-indented.
Diffstat (limited to 'Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py')
-rw-r--r--Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py62
1 files changed, 38 insertions, 24 deletions
diff --git a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py
index 4ab4911..ed09245 100644
--- a/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py
+++ b/Lib/plat-mac/lib-scriptpackages/SystemEvents/Login_Items_Suite.py
@@ -12,42 +12,42 @@ _code = 'logi'
class Login_Items_Suite_Events:
- pass
+ pass
class login_item(aetools.ComponentItem):
- """login item - an item to be launched or opened at login """
- want = 'logi'
+ """login item - an item to be launched or opened at login """
+ want = 'logi'
class _Prop__3c_Inheritance_3e_(aetools.NProperty):
- """<Inheritance> - All of the properties of the superclass. """
- which = 'c@#^'
- want = 'cobj'
+ """<Inheritance> - All of the properties of the superclass. """
+ which = 'c@#^'
+ want = 'cobj'
class _Prop_hidden(aetools.NProperty):
- """hidden - Is the Login Item hidden when launched? """
- which = 'hidn'
- want = 'bool'
+ """hidden - Is the Login Item hidden when launched? """
+ which = 'hidn'
+ want = 'bool'
class _Prop_kind(aetools.NProperty):
- """kind - the file type of the Login Item """
- which = 'kind'
- want = 'utxt'
+ """kind - the file type of the Login Item """
+ which = 'kind'
+ want = 'utxt'
class _Prop_name(aetools.NProperty):
- """name - the name of the Login Item """
- which = 'pnam'
- want = 'utxt'
+ """name - the name of the Login Item """
+ which = 'pnam'
+ want = 'utxt'
class _Prop_path(aetools.NProperty):
- """path - the file system path to the Login Item """
- which = 'ppth'
- want = 'utxt'
+ """path - the file system path to the Login Item """
+ which = 'ppth'
+ want = 'utxt'
login_items = login_item
import Standard_Suite
login_item._superclassnames = ['item']
login_item._privpropdict = {
- '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
- 'hidden' : _Prop_hidden,
- 'kind' : _Prop_kind,
- 'name' : _Prop_name,
- 'path' : _Prop_path,
+ '_3c_Inheritance_3e_' : _Prop__3c_Inheritance_3e_,
+ 'hidden' : _Prop_hidden,
+ 'kind' : _Prop_kind,
+ 'name' : _Prop_name,
+ 'path' : _Prop_path,
}
login_item._privelemdict = {
}
@@ -56,5 +56,19 @@ login_item._privelemdict = {
# Indices of types declared in this module
#
_classdeclarations = {
- 'logi' : login_item,
+ 'logi' : login_item,
+}
+
+_propdeclarations = {
+ 'c@#^' : _Prop__3c_Inheritance_3e_,
+ 'hidn' : _Prop_hidden,
+ 'kind' : _Prop_kind,
+ 'pnam' : _Prop_name,
+ 'ppth' : _Prop_path,
+}
+
+_compdeclarations = {
+}
+
+_enumdeclarations = {
}