[MonoDevelop] One-shot dialogs from add-ins

Chris Howie cdhowie at gmail.com
Wed Mar 18 16:55:02 EDT 2009


On Wed, Mar 18, 2009 at 4:17 PM, Casey Marshall
<casey.s.marshall at gmail.com> wrote:
> Nope, I still get corruption in the solution tree view:

That's because you are running Gtk.Main.Iteration(), which runs an
iteration of the main loop.  And you're doing that on another thread.
:)

What you might do instead is the JavaScript-ish thing where after you
are done with the dialog you spawn off another thread to finish the
process.  It's ugly though.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers


More information about the Monodevelop-list mailing list