Fixed missing RevisionComment class

svn: r497
This commit is contained in:
Don Allingham 2001-10-19 15:07:56 +00:00
parent fe55fc6ca3
commit 0802142434

View File

@ -41,6 +41,24 @@ _date_re = re.compile("date:\s+([^;]+);")
_sep = '-' * 10
_end = "=" * 10
class RevisionComment:
def __init__(self,filename,save_file):
self.filename = filename
self.save = save_file
self.top = libglade.GladeXML(const.gladeFile, "revcom")
self.top.signal_autoconnect({
"on_savecomment_clicked" : self.on_savecomment_clicked,
})
self.text = self.top.get_widget("text")
self.win = self.top.get_widget("revcom")
self.win.show()
def on_savecomment_clicked(self,obj):
comment = self.text.get_text()
utils.destroy_passed_object(self.win)
self.save(self.filename,comment)
class RevisionSelect: