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:
authorLluis Sanchez <lluis@novell.com>2009-05-20 20:01:57 +0400
committerLluis Sanchez <lluis@novell.com>2009-05-20 20:01:57 +0400
commit3513c5d466b0f3722c72e2a78ed1efdb3dba3868 (patch)
treeded67e33d8e47023b99497797e96ccee90913728 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs
parent66427f6ce997207bc0271d5b9dea82ae90aa00f7 (diff)
* MonoDevelop.Ide.Gui.Pads\ErrorListPad.cs:
* MonoDevelop.Ide.Gui.Pads\MonodocTreePad.cs: * MonoDevelop.Ide.Gui.Components\TreeNodeNavigator.cs: * MonoDevelop.Ide.Gui.OptionPanels\MonoRuntimePanel.cs: * MonoDevelop.Ide.Gui.Dialogs\SelectEncodingsDialog.cs: * MonoDevelop.Ide.Gui.Components\ExtensibleTreeView.cs: * MonoDevelop.Ide.Gui.Components\TransactedTreeBuilder.cs: Don't use Gtk.TreeIter.Equals, since it's broken. Compare TreePaths instead. * MonoDevelop.Ide.Tasks\TaskService.cs: CommentTaskChangedEventArgs now provides the project of the file. Use it instead of looking for it in the ide. svn path=/trunk/monodevelop/; revision=134455
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs
index db1bce4181..fc7b2c9cd9 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs
@@ -144,7 +144,7 @@ namespace MonoDevelop.Ide.Gui.OptionPanels
return;
removedRuntimes.Add (tr);
}
- if (it.Equals (defaultIter)) {
+ if (store.GetPath (it).Equals (store.GetPath (defaultIter))) {
defaultIter = runningIter;
UpdateRow (defaultIter);
}
@@ -171,7 +171,7 @@ namespace MonoDevelop.Ide.Gui.OptionPanels
text = ((MonoRuntimeInfo)ob).DisplayName;
else
text = ((TargetRuntime)ob).DisplayName;
- if (it.Equals (defaultIter))
+ if (store.GetPath (it).Equals (store.GetPath (defaultIter)))
text = "<b>" + text + " (Default)</b>";
store.SetValue (it, 0, text);
}