[Monodevelop-patches-list] r1144 - trunk/MonoDevelop/src/Main/Base/Commands
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Thu Mar 11 15:38:54 EST 2004
Author: jluke
Date: 2004-03-11 15:38:54 -0500 (Thu, 11 Mar 2004)
New Revision: 1144
Modified:
trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
Log:
.Hide the dialog
Modified: trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-03-11 19:56:58 UTC (rev 1143)
+++ trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-03-11 20:38:54 UTC (rev 1144)
@@ -266,15 +266,7 @@
public override void Run()
{
-#if !GTK
- using (OpenFileDialog fdiag = new OpenFileDialog()) {
- fdiag.AddExtension = true;
-#endif
-
string[] fileFilters = (string[])(AddInTreeSingleton.AddInTree.GetTreeNode("/SharpDevelop/Workbench/FileFilter").BuildChildItems(this)).ToArray(typeof(string));
-#if !GTK
- fdiag.Filter = String.Join("|", fileFilters);
-#endif
bool foundFilter = false;
// search filter like in the current selected project
@@ -317,6 +309,7 @@
"MonoDevelopProjects")).ToString();
fs.Complete (defaultFolder);
int response = fs.Run ();
+ fs.Hide ();
string name = fs.Filename;
if (response == (int)Gtk.ResponseType.Ok) {
More information about the Monodevelop-patches-list
mailing list