Re: [PATCH] gitk: put all startup code into a proc to enable re-sourcing
- From
Paul Mackerras <paulus@samba.org>
- Date
- Mar 23, 2009, 10:04 UTC
- Message-ID
- <18887.24242.451428.980685@cargo.ozlabs.ibm.com>
- In-Reply-To
- <87prh3e7p2.fsf@users.sourceforge.net>
Pat Thoyts writes:
Show 6 quoted lines
> All the startup code is moved into a procedure. All the variables > get initialized using 'variable' to ensure they are in the global > namespace. This makes it possible to re-source the script during > development from the Tk console or a tkcon interactive session. > > Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
The patch does other stuff as well, that should be mentioned in the patch description or split out into a separate patch - namely it changes error_popup on win32 (why?) and it introduces some ttk widget use into confirm_popup.
Paul.