Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

(Oops!) Removes a few comments added by the previos commit.

git-svn-id: svn://cherokee-project.com/wizards2@6789 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
commit 69e00db0236d259389edcf2b9ead1e01fc060705 1 parent 6b8144e
@alobbs alobbs authored
Showing with 0 additions and 37 deletions.
  1. +0 −37 Wizard2_GUI.py
View
37 Wizard2_GUI.py
@@ -41,31 +41,6 @@
# Phase's base
#
-OLD = """
-class Phase_OLD (CTK.Box):
- def __init__ (self, title):
- CTK.Box.__init__ (self)
- self.title = title
- self.cont = CTK.Box()
-
- def __iadd__ (self, w):
- self.cont += w
- return self
-
- def Render (self):
- box = CTK.Box()
- box += CTK.RawHTML ('<h2>%s</h2>' %(_(self.title)))
- box += self.cont
- return box.Render()
-
- def __call__ (self):
- if hasattr (self, '__build_GUI__'):
- self.cont = CTK.Box()
- self.__build_GUI__()
-
- return self.Render().toStr()
-"""
-
class Phase (CTK.Box):
def __init__ (self, title):
CTK.Box.__init__ (self)
@@ -84,18 +59,6 @@ def Render (self):
def __call__ (self):
return self.Render().toStr()
-
-# self.title_added = False
-
-
-
-# def Render (self):
-# if not self.title_added:
-# self += CTK.RawHTML ('<h2>%s</h2>' %(_(self.title)))
-# self.title_added = True
-
-# return CTK.Box.Render (self)
-
def __callOLD__ (self):
if hasattr (self, '__build_GUI__'):
self.Empty()
Please sign in to comment.
Something went wrong with that request. Please try again.