# HG changeset patch # User drewp@bigasterisk.com # Date 2013-06-05 23:28:07 # Node ID df3220bb7a2d3614d6a69baf3c9d833187cca83a # Parent f987eb9c36724702e64ca7bf46559b04b8e1c6c8 make EditChoice prompt configurable Ignore-this: 731efbaa464350a0a416b0892726e531 diff --git a/light9/editchoice.py b/light9/editchoice.py --- a/light9/editchoice.py +++ b/light9/editchoice.py @@ -52,14 +52,14 @@ class EditChoice(tk.Frame): - list of recent resources that this choice was set to """ - def __init__(self, parent, graph, resourceObservable): + def __init__(self, parent, graph, resourceObservable, label="Editing:"): """ getResource is called to get the URI of the currently """ self.graph = graph self.frame = tk.Frame(parent, relief='raised', border=2) self.frame.pack(side='top') - tk.Label(self.frame, text="Editing:").pack(side='left') + tk.Label(self.frame, text=label).pack(side='left') self.currentLinkFrame = tk.Frame(self.frame) self.currentLinkFrame.pack(side='left')