Mercurial > code > home > repos > light9
changeset 851:df3220bb7a2d
make EditChoice prompt configurable
Ignore-this: 731efbaa464350a0a416b0892726e531
author | drewp@bigasterisk.com |
---|---|
date | Wed, 05 Jun 2013 23:28:07 +0000 |
parents | f987eb9c3672 |
children | d5ba3e20f666 |
files | light9/editchoice.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/editchoice.py Wed Jun 05 23:25:57 2013 +0000 +++ b/light9/editchoice.py Wed Jun 05 23:28:07 2013 +0000 @@ -52,14 +52,14 @@ - 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')