summaryrefslogtreecommitdiff
path: root/kberylsettings/beryl.py
diff options
context:
space:
mode:
authornatural <natural>2006-12-30 02:28:44 +0000
committernatural <natural>2006-12-30 02:28:44 +0000
commitb3bd6e4163a79f03edf2c2c6935b530d2af21e14 (patch)
tree9300073e0adaf4ab4c42ec3f0436d49527163d81 /kberylsettings/beryl.py
parentd5c0b65e73186b30cdf2ab7e5ebf72cddc852a2a (diff)
downloadkberylsettings-b3bd6e4163a79f03edf2c2c6935b530d2af21e14.tar.gz
kberylsettings-b3bd6e4163a79f03edf2c2c6935b530d2af21e14.tar.bz2
Added numbered profile selections.
Added profile import (still not working). Completed all docstrings.
Diffstat (limited to 'kberylsettings/beryl.py')
-rw-r--r--kberylsettings/beryl.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/kberylsettings/beryl.py b/kberylsettings/beryl.py
index ff21e99..870f77d 100644
--- a/kberylsettings/beryl.py
+++ b/kberylsettings/beryl.py
@@ -12,7 +12,6 @@ from kberylsettings.lib import App, Signals, icon
from qt import QImage, QPixmap, QObject
-
class Context(QObject):
""" Context -> wraps berylsetting.Context instances with extra
methods and properties.
@@ -28,6 +27,12 @@ class Context(QObject):
context.Read()
self.context = context
+ def __getattr__(self, value):
+ """ x.__getattr__('name') <==> x.name
+
+ """
+ return getattr(self.context, value)
+
def __repr__(self):
""" x.__repr__() <==> repr(x)