Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2015-11-23 16:28:08 +0300
committerMarius Ungureanu <marius.ungureanu@xamarin.com>2015-11-23 16:28:08 +0300
commita05bc0f6d0591f71c5e4e5786108118f51c68fe1 (patch)
tree7f2461f99d89c2c17588e61037c24bc25a07150d /main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors
parent31a6bd9d2464cdcc80ca97ef31874d4dce6808e7 (diff)
parentc8b63be6ed2063d54c7cc9cbfb80974882fa5bc2 (diff)
Merge remote-tracking branch 'origin/master' into roslyn
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/FilePathEditor.cs11
1 files changed, 4 insertions, 7 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/FilePathEditor.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/FilePathEditor.cs
index 37da6db915..9f4149a059 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/FilePathEditor.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.PropertyGrid.Editors/FilePathEditor.cs
@@ -26,9 +26,7 @@
using System;
using System.Linq;
-
using MonoDevelop.Core;
-using MonoDevelop.Components.Extensions;
namespace MonoDevelop.Components.PropertyGrid.PropertyEditors
{
@@ -42,17 +40,16 @@ namespace MonoDevelop.Components.PropertyGrid.PropertyEditors
public override void LaunchDialogue ()
{
var kindAtt = this.Property.Attributes.OfType<FilePathIsFolderAttribute> ().FirstOrDefault ();
- SelectFileDialogAction action;
-
+ FileChooserAction action;
string title;
if (kindAtt == null) {
- action = SelectFileDialogAction.Open;
+ action = FileChooserAction.Open;
title = GettextCatalog.GetString ("Select File...");
} else {
- action = SelectFileDialogAction.SelectFolder;
+ action = FileChooserAction.SelectFolder;
title = GettextCatalog.GetString ("Select Folder...");
}
- var fs = new SelectFileDialog (title, action);
+ var fs = new MonoDevelop.Components.SelectFileDialog (title, action);
if (fs.Run ())
Property.SetValue (Instance, fs.SelectedFile);
}