close window hooks are called twice
Reported by Roger | February 16th, 2010 @ 01:35 AM
Currently if you close a window using the upper right "x" or
what not, the on_close hooks are (correctly) called once. However
if you call win.close programmatically, the hooks are called twice,
it seems (ex: file -> close windows).
Thanks.
Comments and changes to this ticket
-
Daniel Lucraft February 17th, 2010 @ 07:44 PM
Added Redcar::ReentryHelpers to deal with this kind of thing.
http://github.com/danlucraft/redcar/commit/e09ac1ea08d668bb8b00333f...
-
Daniel Lucraft February 17th, 2010 @ 07:44 PM
- State changed from open to resolved
-
Roger February 20th, 2010 @ 12:09 AM
Hmm. Appears that this is back...
This commit appears to fix it for the about_to_close message, to make it unique, too
http://github.com/rdp/redcar/commit/4112eb51c6b231f10ba1957de2fcb70...
Dunno if that's the "best" way or what not...
-r
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A programmer's text editor for Gnome.