Author: lluis
Date: 2007-05-17 10:23:33 -0400 (Thu, 17 May 2007)
New Revision: 77563
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/SolutionPad.cs
Log:
* MonoDevelop.Ide.Gui.Pads/SolutionPad.cs: Fill the tree if there is an
open combine when the pad is shown for the first time.
Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog 2007-05-17
14:22:38 UTC (rev 77562)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog 2007-05-17
14:23:33 UTC (rev 77563)
@@ -1,5 +1,10 @@
2007-05-17 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+ * MonoDevelop.Ide.Gui.Pads/SolutionPad.cs: Fill the tree if there is an
+ open combine when the pad is shown for the first time.
+
+2007-05-17 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
* MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs: A pad may already be
initialized but not yet added to the dock. So, a better way to know
when a pad needs to be added to the dock is just to check if the
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/SolutionPad.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/SolutionPad.cs
2007-05-17 14:22:38 UTC (rev 77562)
+++
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/SolutionPad.cs
2007-05-17 14:23:33 UTC (rev 77563)
@@ -45,6 +45,13 @@
Runtime.Properties.PropertyChanged +=
(PropertyEventHandler) Services.DispatchService.GuiDispatch (new
PropertyEventHandler (TrackPropertyChange));
}
+ public override void Initialize (NodeBuilder[] builders,
TreePadOption[] options)
+ {
+ base.Initialize (builders, options);
+ if (IdeApp.ProjectOperations.CurrentOpenCombine != null)
+ LoadTree
(IdeApp.ProjectOperations.CurrentOpenCombine);
+ }
+
void TrackPropertyChange (object o,
MonoDevelop.Core.Properties.PropertyEventArgs e)
{
if (e.OldValue != e.NewValue && e.Key ==
"MonoDevelop.Core.Gui.ProjectBrowser.ShowExtensions") {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches