git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pat Thoyts <patthoyts@users.sourceforge.net>
To: Paul Mackerras <paulus@samba.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] gitk: put all startup code into a proc to enable re-sourcing
Date: Tue, 24 Mar 2009 00:40:33 +0100	[thread overview]
Message-ID: <49C81DF1.6010208@users.sourceforge.net> (raw)
In-Reply-To: <18887.24242.451428.980685@cargo.ozlabs.ibm.com>

Paul Mackerras wrote:
> Pat Thoyts writes:
> 
>>     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.

The changes to error_popup -- its fugly on windows. We have
tk_messageBox for showing message boxes and where available this
function will use a native messagebox which will look normal for the
platform.

However, these should be in the theme patch and not in a code
refactoring patch. So I apologize and will redo more carefully.

Pat Thoyts

      reply	other threads:[~2009-03-23 23:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-28  0:17 [PATCH] gitk: put all startup code into a proc to enable re-sourcing Pat Thoyts
2009-03-23 10:04 ` Paul Mackerras
2009-03-23 23:40   ` Pat Thoyts [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49C81DF1.6010208@users.sourceforge.net \
    --to=patthoyts@users.sourceforge.net \
    --cc=git@vger.kernel.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).