[Monodevelop-patches-list] r915 - trunk/MonoDevelop/src/Main/Base/Commands
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Feb 14 21:03:36 EST 2004
Author: jluke
Date: 2004-02-14 21:03:35 -0500 (Sat, 14 Feb 2004)
New Revision: 915
Modified:
trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
Log:
default to HOME temporarily
Modified: trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-02-15 01:46:17 UTC (rev 914)
+++ trunk/MonoDevelop/src/Main/Base/Commands/FileCommands.cs 2004-02-15 02:03:35 UTC (rev 915)
@@ -211,8 +211,10 @@
public override void Run()
{
Gtk.FileSelection fs = new Gtk.FileSelection ("File to Open");
+ fs.Complete (Environment.GetEnvironmentVariable ("HOME"));
int response = fs.Run ();
string name = fs.Filename;
+ fs.Hide ();
fs.Destroy ();
// fdiag.AddExtension = true;
@@ -292,6 +294,7 @@
}
Gtk.FileSelection fs = new Gtk.FileSelection ("File to Open");
+ fs.Complete (Environment.GetEnvironmentVariable ("HOME"));
int response = fs.Run ();
string name = fs.Filename;
fs.Destroy ();
More information about the Monodevelop-patches-list
mailing list