public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
From: Ian Roxborough <irox@redhat.com>
To: Mo DeJong <supermo@bayarea.net>
Cc: sourcenav@sources.redhat.com
Subject: Re: Patch to get rid of error when closing last window
Date: Tue, 12 Feb 2002 17:15:00 -0000	[thread overview]
Message-ID: <20020212163929.22d85cb8.irox@redhat.com> (raw)
In-Reply-To: <20020208144412.288bb411.supermo@bayarea.net>


Thanks for the other patches, Mo.

I'm having trouble reproducing the error, I'm
assuming the there is some dialog or window some
where that needs to be openned or something to
cause the problem error on exit, but I can't
seem to trigger it.

Ian.

On Fri, 8 Feb 2002 14:44:12 -0800 Mo DeJong <supermo@bayarea.net> wrote:
>
> If you are using the CVS version of sourcenav and are running into an error
> while closing the last window in a project that looks something like this:
> 
> invalid command name "::.t2"
>     while executing
> "::.t2 itk_component delete button"
>     (in namespace inscope "::itk::Archetype" script line 1)
>     invoked from within
> 
> then you will want to test out the following patch. The patch fixes
> the problem but I am waiting to see what the itk maintainers think
> of the patch before submitting it for inclusion in the sources itcl
> module.
> 
> cheers
> Mo DeJong
> 
> 
> Index: itk/library/Toplevel.itk
> ===================================================================
> RCS file: /cvs/src/src/itcl/itk/library/Toplevel.itk,v
> retrieving revision 1.1.1.2
> diff -u -r1.1.1.2 Toplevel.itk
> --- Toplevel.itk	2001/09/09 19:49:05	1.1.1.2
> +++ Toplevel.itk	2002/02/08 22:17:17
> @@ -63,6 +63,12 @@
>              }
>              destroy $itk_hull
>          }
> +        itk_component delete hull
> +
> +        # Any remaining components must be outside the hull
> +        foreach component [component] {
> +            destroy [component $component]
> +        }
>      }
>  
>      itk_option define -title title Title "" {
> Index: itk/library/Widget.itk
> ===================================================================
> RCS file: /cvs/src/src/itcl/itk/library/Widget.itk,v
> retrieving revision 1.1.1.2
> diff -u -r1.1.1.2 Widget.itk
> --- Widget.itk	2001/09/09 19:49:05	1.1.1.2
> +++ Widget.itk	2002/02/08 22:17:17
> @@ -64,6 +64,12 @@
>              }
>              destroy $itk_hull
>          }
> +        itk_component delete hull
> +
> +        # Any remaining components must be outside the hull
> +        foreach component [component] {
> +            destroy [component $component]
> +        }
>      }
>  
>      private variable itk_hull ""

  reply	other threads:[~2002-02-13  0:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-12 16:49 Mo DeJong
2002-02-12 17:15 ` Ian Roxborough [this message]
2002-02-13  1:51   ` Mo DeJong
2002-02-19 20:27 ` Mo DeJong
2002-02-21 20:34   ` Ian Roxborough

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=20020212163929.22d85cb8.irox@redhat.com \
    --to=irox@redhat.com \
    --cc=sourcenav@sources.redhat.com \
    --cc=supermo@bayarea.net \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).