[Users] [Bug 2355] Embedding external editor through GtkSocket

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Feb 15 11:15:01 CET 2012


--- Comment #6 from David Schneider  2012-02-15 11:15:00 ---
Created an attachment (id=1076)
 --> (http://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=1076)
WIP: Graceful quitting of the socketted editors

WIP patch of graceful quitting of socketted editors.  Must be applied on top of
patch 1056.
With this, send, send later, save draft, and close act more like the built-in
This is not ideal, however.  Since we cannot tell the difference between the
user taking time to respond "save" to a save as dialog versus the user outright
canceling it, we wait for 5 seconds for the app to quit before deciding that
the user canceled the action.
Also, for certain IO events to fire we empty the GTK main loop, which is an
ugly (and potentially dangerous) hack.  We hide the editor vbox to avoid extra
redraws in that instance.  Ideally, we trigger the correct events ourselves so
that we don't have to iterate the main loop.

If you have any ideas/suggestions on how to fix the above issues (or other
suggestions in general), please comment.

Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Users mailing list