[MonoDevelop] Closing modified files

Lluis Sanchez lluis at ximian.com
Mon May 30 06:45:24 EDT 2005


> Hi.
> 
> I am working on a quick patch which adds a cancel button to the dialog
> you get when closing a modified file. Currently AskQuestion is used
> which returns a bool. I would like the new method to return a
> Gtk.ResponseType, but this would make MonoDevelop.Core
> (IMessageService) reference the Gtk assembly. Do we want this
> reference?

I don't think so. We can easily avoid the dependency by creating a new
enum with Yes, No, Cancel. BTW, a cancel button does not always make
sense when asking a question, so it should be optional.

Lluis.

> 
> /Jacob
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list