[Monodevelop-patches-list] r490 - trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Thu Jan 15 16:41:09 EST 2004
Author: jluke
Date: 2004-01-15 16:41:08 -0500 (Thu, 15 Jan 2004)
New Revision: 490
Modified:
trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/FolderNodeCommands.cs
Log:
whoops, forgot this part
Modified: trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/FolderNodeCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/FolderNodeCommands.cs 2004-01-15 20:49:35 UTC (rev 489)
+++ trunk/MonoDevelop/src/Main/Base/Commands/ProjectBrowserCommands/FolderNodeCommands.cs 2004-01-15 21:41:08 UTC (rev 490)
@@ -74,12 +74,10 @@
} else {
ResourceService resourceService = (ResourceService)ServiceManager.Services.GetService(typeof(IResourceService));
- int ret = new SharpMessageBox("Move or copy",
- "Move or copy file ?",
- "&Move",
- "&Copy",
- resourceService.GetString("Global.CancelButtonText")
- ).ShowMessageBox();
+ MessageDialog md = new MessageDialog ((Window) WorkbenchSingleton.Workbench, DialogFlags.Modal | DialogFlags.DestroyWithParent, MessageType.Question, ButtonsType.YesNo, "Move or copy file ?");
+ int ret = md.Run ();
+ md.Hide ();
+
if (ret == 2 || ret == -1) {
return;
}
More information about the Monodevelop-patches-list
mailing list