okay... still bugs with StringIdler
authorACC Murphy <[email protected]>
Tue, 21 Sep 2004 10:16:07 +0000 (10:16 +0000)
committerACC Murphy <[email protected]>
Tue, 21 Sep 2004 10:16:07 +0000 (10:16 +0000)
sql-edition/servers/Idler.py
sql-edition/servers/VendServer.py

index 80963a8..babfab1 100755 (executable)
@@ -189,7 +189,8 @@ class StringIdler(Idler):
                self.text = text
 
        def next(self):
-               self.mk.update_display()
+               #self.mk.update_display()
+               self.v.display(" %8.8s " % ("BOG"))
 
        def reset(self):
                self.mk.set_message(self.text, True, None)
index 71097bb..7c4a278 100755 (executable)
@@ -182,8 +182,6 @@ def setup_idlers(v):
        global idlers, idler
        idlers = [
                TrainIdler(v),
-               StringIdler(v),
-               StringIdler(v, text=CREDITS),
                GrayIdler(v),
                GrayIdler(v,one="*",zero="-"),
                GrayIdler(v,one="/",zero="\\"),
@@ -192,6 +190,8 @@ def setup_idlers(v):
                GrayIdler(v,one="/",zero="\\",reorder=1),
                GrayIdler(v,one="X",zero="O",reorder=1),
                ]
+               #StringIdler(v),
+               #StringIdler(v, text=CREDITS),
        idler = choose_idler()
 
 def choose_idler():

UCC git Repository :: git.ucc.asn.au