Re: Bug: GtkAboutDialog does not hide when close button clicked

2007-05-03 Thread Torsten Schoenfeld
On Sun, 2007-04-29 at 21:56 -0400, muppet wrote:

> The close_cb() actually manipulates a couple of internal widgets to  
> which we do not have access.  About the best we can do is the  
> attached patch.

There's also this thread from some time ago with a Perl imitation of the
behavior:


I asked for feedback on it but received none.  That's why I never
committed it.

-- 
Bye,
-Torsten

___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: Bug: GtkAboutDialog does not hide when close button clicked

2007-05-03 Thread Jeffrey Ratcliffe
On 03/05/07, Torsten Schoenfeld <[EMAIL PROTECTED]> wrote:
> On Sun, 2007-04-29 at 21:56 -0400, muppet wrote:
>
> > The close_cb() actually manipulates a couple of internal widgets to
> > which we do not have access.  About the best we can do is the
> > attached patch.

I expect I'm missing the point, but what is wrong with:

  my $about = Gtk2::AboutDialog->new;
 $about->set_name ($program);
 $about->set_version ($version);
 $about->set_authors ($authors);
 $about->set_comments ($comments);
 $about->run;
 $about->destroy;

?

The close button works fine this way.

Jeff
___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list


Re: Bug: GtkAboutDialog does not hide when close button clicked

2007-05-03 Thread muppet

On May 3, 2007, at 3:01 PM, Torsten Schoenfeld wrote:

> On Sun, 2007-04-29 at 21:56 -0400, muppet wrote:
>
>> The close_cb() actually manipulates a couple of internal widgets to
>> which we do not have access.  About the best we can do is the
>> attached patch.
>
> There's also this thread from some time ago with a Perl imitation  
> of the
> behavior:
>  msg6.html>
>
> I asked for feedback on it but received none.  That's why I never
> committed it.

Guh, no wonder it seemed very familiar.  Now that i see the thread, i  
remember it.  :-(

In perl code, you have an easy implementation.  In xs code, you have  
less memory use at runtime, in shareable memory.

*shrug*

I'm fine with either patch.


--
One, two, free, four, five, six, sebben, eight, nine, ten, elebben,  
twull, fourteen, sickteen, sebbenteen, eightteen, elebbenteen,  
fiffeen, elebbenteen!
   -- Zella, aged three, counting to twenty.


___
gtk-perl-list mailing list
gtk-perl-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list