diff options
author | Barry Warsaw <barry@python.org> | 1998-09-28 23:41:12 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-09-28 23:41:12 (GMT) |
commit | 1ac18cd326648527c6fa5abf976285afd7a1b9eb (patch) | |
tree | ec9fdabbf528f5dc136cc5836f8a9eb08fea03c1 | |
parent | 0e3e6991787f869a684066bc54c58f29cd7f1c9f (diff) | |
download | cpython-1ac18cd326648527c6fa5abf976285afd7a1b9eb.zip cpython-1ac18cd326648527c6fa5abf976285afd7a1b9eb.tar.gz cpython-1ac18cd326648527c6fa5abf976285afd7a1b9eb.tar.bz2 |
simplify
-rw-r--r-- | Tools/pynche/Switchboard.py | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Tools/pynche/Switchboard.py b/Tools/pynche/Switchboard.py index e70461a..37b7851 100644 --- a/Tools/pynche/Switchboard.py +++ b/Tools/pynche/Switchboard.py @@ -1,16 +1,10 @@ class Switchboard: - def __init__(self, app, colordb, red, green, blue): - self.__app = app - self.__colordb = colordb - self.__red = red - self.__green = green - self.__blue = blue + def __init__(self): self.__views = [] def add_view(self, view): self.__views.append(view) - def update_views(self, srcview, red, green, blue): + def update_views(self, red, green, blue): for v in self.__views: - if v <> srcview: - v.update_yourself(red, green, blue) + v.update_yourself(red, green, blue) |