call it button_new instead of new

"new" is sometimes a reserved keyword and it would be nice to not use
that name.
This commit is contained in:
Bryan Bishop 2013-11-17 20:35:44 -06:00
parent 185a29698e
commit fabc78f5db

View File

@ -149,10 +149,10 @@ class Application(Frame):
self.picker_frame = Frame(self)
self.picker_frame.grid(row=1, column=1)
self.new = Button(self.button_frame)
self.new["text"] = "New"
self.new["command"] = self.new_map
self.new.grid(row=0, column=0, padx=2)
self.button_new = Button(self.button_frame)
self.button_new["text"] = "New"
self.button_new["command"] = self.new_map
self.button_new.grid(row=0, column=0, padx=2)
self.open = Button(self.button_frame)
self.open["text"] = "Open"