diff options
author | Matt Ward <matt.ward@xamarin.com> | 2016-06-29 16:51:51 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@xamarin.com> | 2016-06-29 17:23:59 +0300 |
commit | 2bc289d4dfa42bafc85dfc657ad6d86ad1ca1f71 (patch) | |
tree | f9e8926030b55c832aa9aa5747f527e216e906cc /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components | |
parent | fb183f08d6d955136ab40bd0d1bfd24af39f8ce6 (diff) |
[Ide] Fix renaming a file containing ampersand shows another file
Fixed bug #35329 - Unable to rename a file with & in within the
resources directory
https://bugzilla.xamarin.com/show_bug.cgi?id=35329
In the solution pad when renaming a file that contained an ampersand
the label switched to another name. The problem was that the label
was being set to be the file name without the text being escaped.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs index f4d5e2d011..e50cc269cd 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs @@ -1352,7 +1352,7 @@ namespace MonoDevelop.Ide.Gui.Components string nodeName = node.NodeName; - GetNodeInfo (iter).Label = nodeName; + GetNodeInfo (iter).Label = GLib.Markup.EscapeText (nodeName); store.EmitRowChanged (store.GetPath (iter), iter); // Get and validate the initial text selection |