Skip to content

Commit

Permalink
#99 cleanup (aka Columbo)
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 25, 2019
1 parent 6cfd3be commit 4dcbc63
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions apstools/snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ def _build_gui_(self):
xsb.pack(side=tk.BOTTOM, fill=tk.X)
ysb.pack(side=tk.RIGHT, fill=tk.Y)

# self.snapview = tk.Text(fr)
self.snapview = textreadonly.TextReadOnly(fr)
xsb.configure(command=self.snapview.xview)
ysb.configure(command=self.snapview.yview)
Expand All @@ -253,10 +252,8 @@ def receiver(self, event):
self.show_contents("\n".join(lines))

def show_contents(self, text):
# TODO: make snapview writable
self.snapview.delete("1.0", tk.END)
self.snapview.insert(tk.END, text)
# TODO: make snapview read-only

def load_data(self):
parents = []
Expand Down

0 comments on commit 4dcbc63

Please sign in to comment.