Author: lluis
Date: 2007-05-14 11:00:17 -0400 (Mon, 14 May 2007)
New Revision: 77357

Removed:
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/PadContentCollection.cs
Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
   trunk/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am
   trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Codons/PadCodon.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs
   trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContent.cs
   trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Pad.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProgressMonitors.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs
   trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs
   trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
Log:
* MonoDevelop.Ide.mdp, Makefile.am,
  MonoDevelop.Ide.Gui/PadContentCollection.cs: Removed unused file.
* MonoDevelop.Ide.Gui/IPadContent.cs, MonoDevelop.Ide.Gui/Workbench.cs,
  MonoDevelop.Ide.Gui/ProgressMonitors.cs,
  MonoDevelop.Ide.Gui/Pad.cs: Added ID paremeter to
  Workbench.ShowPad. The ID is not part of IPadContent anymore. It
  must be specified either in the addin.xml file or when calling
  ShowPad.
* MonoDevelop.Ide.Gui/IPadContainer.cs: Added Id property.
* MonoDevelop.Ide.Gui/DefaultWorkbench.cs,
  MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs,
  MonoDevelop.Ide.Codons/PadCodon.cs: Added PadId property to
  PadCodon. This property is the id set in the extension node, or one
  specified by the user when calling ShowPad.

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2007-05-14 
14:52:28 UTC (rev 77356)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2007-05-14 
15:00:17 UTC (rev 77357)
@@ -1,5 +1,22 @@
 2007-05-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
+       * MonoDevelop.Ide.mdp, Makefile.am,
+         MonoDevelop.Ide.Gui/PadContentCollection.cs: Removed unused file.
+       * MonoDevelop.Ide.Gui/IPadContent.cs, MonoDevelop.Ide.Gui/Workbench.cs,
+         MonoDevelop.Ide.Gui/ProgressMonitors.cs,
+         MonoDevelop.Ide.Gui/Pad.cs: Added ID paremeter to
+         Workbench.ShowPad. The ID is not part of IPadContent anymore. It
+         must be specified either in the addin.xml file or when calling
+         ShowPad.
+       * MonoDevelop.Ide.Gui/IPadContainer.cs: Added Id property.
+       * MonoDevelop.Ide.Gui/DefaultWorkbench.cs,
+         MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs,
+         MonoDevelop.Ide.Codons/PadCodon.cs: Added PadId property to
+         PadCodon. This property is the id set in the extension node, or one
+         specified by the user when calling ShowPad.
+
+2007-05-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
        * MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs: Fix incorrect type check
          in CreatePadContent. The pad codon can't be a widget, the check
          must be done for the content pad. Restore the code that updates the

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am      2007-05-14 
14:52:28 UTC (rev 77356)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am      2007-05-14 
15:00:17 UTC (rev 77357)
@@ -244,7 +244,6 @@
        MonoDevelop.Ide.Gui/OutputProgressMonitor.cs \
        MonoDevelop.Ide.Gui/Pad.cs \
        MonoDevelop.Ide.Gui/PadCollection.cs \
-       MonoDevelop.Ide.Gui/PadContentCollection.cs \
        MonoDevelop.Ide.Gui/ProgressMonitors.cs \
        MonoDevelop.Ide.Gui/ProjectOperations.cs \
        MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs \

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Codons/PadCodon.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Codons/PadCodon.cs   
    2007-05-14 14:52:28 UTC (rev 77356)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Codons/PadCodon.cs   
    2007-05-14 15:00:17 UTC (rev 77357)
@@ -43,6 +43,7 @@
        public class PadCodon : ExtensionNode
        {
                IPadContent content;
+               string id;
                
                [NodeAttribute("_label", "Display name of the pad.")]
                string label = null;
@@ -73,6 +74,11 @@
                        }
                }
                
+               public string PadId {
+                       get { return id != null ? id : base.Id; }
+                       set { id = value; }
+               }
+               
                public string Label {
                        get { return GettextCatalog.GetString(label); }
                }
@@ -120,8 +126,9 @@
                {
                }
                
-               public PadCodon (IPadContent content, string label, string 
defaultPlacement, string icon)
+               public PadCodon (IPadContent content, string id, string label, 
string defaultPlacement, string icon)
                {
+                       this.id               = id;
                        this.padContent       = content;
                        this.label            = label;
                        this.defaultPlacement = defaultPlacement;

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs
  2007-05-14 14:52:28 UTC (rev 77356)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs
  2007-05-14 15:00:17 UTC (rev 77357)
@@ -573,10 +573,11 @@
                        }
                        return null;
                }
+               
                public PadCodon GetPad(string id)
                {
                        foreach (PadCodon pad in PadContentCollection) {
-                               if (pad.Id == id) {
+                               if (pad.PadId == id) {
                                        return pad;
                                }
                        }

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs 
    2007-05-14 14:52:28 UTC (rev 77356)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContainer.cs 
    2007-05-14 15:00:17 UTC (rev 77357)
@@ -36,6 +36,7 @@
 {
        public interface IPadWindow
        {
+               string Id { get; }
                string Title { get; set; }
                string Icon { get; set; }
                bool Visible { get; set; }
@@ -86,6 +87,10 @@
                        }
                }
                
+               public string Id {
+                       get { return codon.PadId; }
+               }
+               
                public bool Visible {
                        get {
                                return layout.IsVisible (codon);

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContent.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContent.cs   
    2007-05-14 14:52:28 UTC (rev 77356)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/IPadContent.cs   
    2007-05-14 15:00:17 UTC (rev 77357)
@@ -19,13 +19,6 @@
                void Initialize (IPadWindow container);
 
                /// <summary>
-               /// Id of the pad
-               /// </summary>
-               string Id {
-                       get;
-               }
-               
-               /// <summary>
                /// Returns the Gtk Widget for this pad.
                /// </summary>
                Gtk.Widget Control {

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Pad.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Pad.cs       
2007-05-14 14:52:28 UTC (rev 77356)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Pad.cs       
2007-05-14 15:00:17 UTC (rev 77357)
@@ -57,7 +57,7 @@
                }
                
                public string Id {
-                       get { return window.Content.Id; }
+                       get { return window.Id; }
                }
                
                public void BringToFront ()

Deleted: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/PadContentCollection.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/PadContentCollection.cs
      2007-05-14 14:52:28 UTC (rev 77356)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/PadContentCollection.cs
      2007-05-14 15:00:17 UTC (rev 77357)
@@ -1,247 +0,0 @@
-// <file>
-//     <copyright see="prj:///doc/copyright.txt"/>
-//     <license see="prj:///doc/license.txt"/>
-//     <owner name="Mike Krüger" email="[EMAIL PROTECTED]"/>
-//     <version value="$version"/>
-// </file>
-using System;
-using System.Collections;
-
-namespace MonoDevelop.Ide.Gui
-{
-       /// <summary>
-       ///     <para>
-       ///       A collection that stores <see cref='.IPadContent'/> objects.
-       ///    </para>
-       /// </summary>
-       /// <seealso cref='.PadContentCollection'/>
-       [Serializable()]
-       internal class PadContentCollection : CollectionBase {
-               
-               /// <summary>
-               ///     <para>
-               ///       Initializes a new instance of <see 
cref='.PadContentCollection'/>.
-               ///    </para>
-               /// </summary>
-               public PadContentCollection() {
-               }
-               
-               /// <summary>
-               ///     <para>
-               ///       Initializes a new instance of <see 
cref='.PadContentCollection'/> based on another <see 
cref='.PadContentCollection'/>.
-               ///    </para>
-               /// </summary>
-               /// <param name='value'>
-               ///       A <see cref='.PadContentCollection'/> from which the 
contents are copied
-               /// </param>
-               public PadContentCollection(PadContentCollection value) {
-                       this.AddRange(value);
-               }
-               
-               /// <summary>
-               ///     <para>
-               ///       Initializes a new instance of <see 
cref='.PadContentCollection'/> containing any array of <see 
cref='.IPadContent'/> objects.
-               ///    </para>
-               /// </summary>
-               /// <param name='value'>
-               ///       A array of <see cref='.IPadContent'/> objects with 
which to intialize the collection
-               /// </param>
-               public PadContentCollection(IPadContent[] value) {
-                       this.AddRange(value);
-               }
-               
-               /// <summary>
-               /// <para>Represents the entry at the specified index of the 
<see cref='.IPadContent'/>.</para>
-               /// </summary>
-               /// <param name='index'><para>The zero-based index of the entry 
to locate in the collection.</para></param>
-               /// <value>
-               ///    <para> The entry at the specified index of the 
collection.</para>
-               /// </value>
-               /// <exception 
cref='System.ArgumentOutOfRangeException'><paramref name='index'/> is outside 
the valid range of indexes for the collection.</exception>
-               public IPadContent this[int index] {
-                       get {
-                               return ((IPadContent)(List[index]));
-                       }
-                       set {
-                               List[index] = value;
-                       }
-               }
-               
-               public IPadContent this [string id] {
-                       get {
-                               foreach (IPadContent padContent in this) {
-                                       if (padContent.Id == id) {
-                                               return padContent;
-                                       }
-                               }
-                               return null;
-                       }
-               }
-               
-               
-               
-               /// <summary>
-               ///    <para>Adds a <see cref='.IPadContent'/> with the 
specified value to the
-               ///    <see cref='.PadContentCollection'/> .</para>
-               /// </summary>
-               /// <param name='value'>The <see cref='.IPadContent'/> to 
add.</param>
-               /// <returns>
-               ///    <para>The index at which the new element was 
inserted.</para>
-               /// </returns>
-               /// <seealso cref='.PadContentCollection.AddRange'/>
-               public int Add(IPadContent value) {
-                       return List.Add(value);
-               }
-               
-               /// <summary>
-               /// <para>Copies the elements of an array to the end of the 
<see cref='.PadContentCollection'/>.</para>
-               /// </summary>
-               /// <param name='value'>
-               ///    An array of type <see cref='.IPadContent'/> containing 
the objects to add to the collection.
-               /// </param>
-               /// <returns>
-               ///   <para>None.</para>
-               /// </returns>
-               /// <seealso cref='.PadContentCollection.Add'/>
-               public void AddRange(IPadContent[] value) {
-                       for (int i = 0; (i < value.Length); i = (i + 1)) {
-                               this.Add(value[i]);
-                       }
-               }
-               
-               /// <summary>
-               ///     <para>
-               ///       Adds the contents of another <see 
cref='.PadContentCollection'/> to the end of the collection.
-               ///    </para>
-               /// </summary>
-               /// <param name='value'>
-               ///    A <see cref='.PadContentCollection'/> containing the 
objects to add to the collection.
-               /// </param>
-               /// <returns>
-               ///   <para>None.</para>
-               /// </returns>
-               /// <seealso cref='.PadContentCollection.Add'/>
-               public void AddRange(PadContentCollection value) {
-                       for (int i = 0; (i < value.Count); i = (i + 1)) {
-                               this.Add(value[i]);
-                       }
-               }
-               
-               /// <summary>
-               /// <para>Gets a value indicating whether the
-               ///    <see cref='.PadContentCollection'/> contains the 
specified <see cref='.IPadContent'/>.</para>
-               /// </summary>
-               /// <param name='value'>The <see cref='.IPadContent'/> to 
locate.</param>
-               /// <returns>
-               /// <para><see langword='true'/> if the <see 
cref='.IPadContent'/> is contained in the collection;
-               ///   otherwise, <see langword='false'/>.</para>
-               /// </returns>
-               /// <seealso cref='.PadContentCollection.IndexOf'/>
-               public bool Contains(IPadContent value) {
-                       return List.Contains(value);
-               }
-               
-               /// <summary>
-               /// <para>Copies the <see cref='.PadContentCollection'/> values 
to a one-dimensional <see cref='System.Array'/> instance at the
-               ///    specified index.</para>
-               /// </summary>
-               /// <param name='array'><para>The one-dimensional <see 
cref='System.Array'/> that is the destination of the values copied from <see 
cref='.PadContentCollection'/> .</para></param>
-               /// <param name='index'>The index in <paramref name='array'/> 
where copying begins.</param>
-               /// <returns>
-               ///   <para>None.</para>
-               /// </returns>
-               /// <exception cref='System.ArgumentException'><para><paramref 
name='array'/> is multidimensional.</para> <para>-or-</para> <para>The number 
of elements in the <see cref='.PadContentCollection'/> is greater than the 
available space between <paramref name='arrayIndex'/> and the end of <paramref 
name='array'/>.</para></exception>
-               /// <exception cref='System.ArgumentNullException'><paramref 
name='array'/> is <see langword='null'/>. </exception>
-               /// <exception 
cref='System.ArgumentOutOfRangeException'><paramref name='arrayIndex'/> is less 
than <paramref name='array'/>'s lowbound. </exception>
-               /// <seealso cref='System.Array'/>
-               public void CopyTo(IPadContent[] array, int index) {
-                       List.CopyTo(array, index);
-               }
-               
-               /// <summary>
-               ///    <para>Returns the index of a <see cref='.IPadContent'/> 
in
-               ///       the <see cref='.PadContentCollection'/> .</para>
-               /// </summary>
-               /// <param name='value'>The <see cref='.IPadContent'/> to 
locate.</param>
-               /// <returns>
-               /// <para>The index of the <see cref='.IPadContent'/> of 
<paramref name='value'/> in the
-               /// <see cref='.PadContentCollection'/>, if found; otherwise, 
-1.</para>
-               /// </returns>
-               /// <seealso cref='.PadContentCollection.Contains'/>
-               public int IndexOf(IPadContent value) {
-                       return List.IndexOf(value);
-               }
-               
-               /// <summary>
-               /// <para>Inserts a <see cref='.IPadContent'/> into the <see 
cref='.PadContentCollection'/> at the specified index.</para>
-               /// </summary>
-               /// <param name='index'>The zero-based index where <paramref 
name='value'/> should be inserted.</param>
-               /// <param name=' value'>The <see cref='.IPadContent'/> to 
insert.</param>
-               /// <returns><para>None.</para></returns>
-               /// <seealso cref='.PadContentCollection.Add'/>
-               public void Insert(int index, IPadContent value) {
-                       List.Insert(index, value);
-               }
-               
-               /// <summary>
-               ///    <para>Returns an enumerator that can iterate through
-               ///       the <see cref='.PadContentCollection'/> .</para>
-               /// </summary>
-               /// <returns><para>None.</para></returns>
-               /// <seealso cref='System.Collections.IEnumerator'/>
-               public new IPadContentEnumerator GetEnumerator() {
-                       return new IPadContentEnumerator(this);
-               }
-               
-               /// <summary>
-               ///    <para> Removes a specific <see cref='.IPadContent'/> 
from the
-               ///    <see cref='.PadContentCollection'/> .</para>
-               /// </summary>
-               /// <param name='value'>The <see cref='.IPadContent'/> to 
remove from the <see cref='.PadContentCollection'/> .</param>
-               /// <returns><para>None.</para></returns>
-               /// <exception cref='System.ArgumentException'><paramref 
name='value'/> is not found in the Collection. </exception>
-               public void Remove(IPadContent value) {
-                       List.Remove(value);
-               }
-               
-               public class IPadContentEnumerator : object, IEnumerator {
-                       
-                       private IEnumerator baseEnumerator;
-                       
-                       private IEnumerable temp;
-                       
-                       public IPadContentEnumerator(PadContentCollection 
mappings) {
-                               this.temp = ((IEnumerable)(mappings));
-                               this.baseEnumerator = temp.GetEnumerator();
-                       }
-                       
-                       public IPadContent Current {
-                               get {
-                                       return 
((IPadContent)(baseEnumerator.Current));
-                               }
-                       }
-                       
-                       object IEnumerator.Current {
-                               get {
-                                       return baseEnumerator.Current;
-                               }
-                       }
-                       
-                       public bool MoveNext() {
-                               return baseEnumerator.MoveNext();
-                       }
-                       
-                       bool IEnumerator.MoveNext() {
-                               return baseEnumerator.MoveNext();
-                       }
-                       
-                       public void Reset() {
-                               baseEnumerator.Reset();
-                       }
-                       
-                       void IEnumerator.Reset() {
-                               baseEnumerator.Reset();
-                       }
-               }
-       }
-}

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProgressMonitors.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProgressMonitors.cs
  2007-05-14 14:52:28 UTC (rev 77356)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/ProgressMonitors.cs
  2007-05-14 15:00:17 UTC (rev 77357)
@@ -120,8 +120,7 @@
                        
                        DefaultMonitorPad monitorPad = new DefaultMonitorPad 
(title, icon);
                        monitorId++;
-                       monitorPad.Id = "OutputPad" + monitorId;
-                       pad = IdeApp.Workbench.ShowPad (monitorPad, title, 
"Bottom", icon);
+                       pad = IdeApp.Workbench.ShowPad (monitorPad, "OutputPad" 
+ monitorId, title, "Bottom", icon);
                        if (bringToFront) pad.BringToFront ();
 
                        return new OutputProgressMonitor (monitorPad, title, 
icon);
@@ -156,8 +155,7 @@
                        }
                        
                        SearchResultPad monitorPad = new SearchResultPad ();
-                       monitorPad.Id = "SearchPad" + (monitorId++);
-                       pad = IdeApp.Workbench.ShowPad (monitorPad, 
GettextCatalog.GetString ("Search Results"), "Bottom", 
MonoDevelop.Core.Gui.Stock.FindIcon);
+                       pad = IdeApp.Workbench.ShowPad (monitorPad, "SearchPad" 
+ (monitorId++), GettextCatalog.GetString ("Search Results"), "Bottom", 
MonoDevelop.Core.Gui.Stock.FindIcon);
                        if (bringToFront) pad.BringToFront ();
 
                        return new SearchProgressMonitor (monitorPad, title);

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs
        2007-05-14 14:52:28 UTC (rev 77356)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceLayout.cs
        2007-05-14 15:00:17 UTC (rev 77357)
@@ -208,7 +208,7 @@
                        {
                                if (!activePadCollection.Contains (content))
                                {
-                                       DockItem item = dock.GetItemByName 
(content.Id);
+                                       DockItem item = dock.GetItemByName 
(content.PadId);
                                        if (item != null)
                                                item.HideItem ();
                                }
@@ -320,7 +320,7 @@
                {
                        if (activePadCollection.Contains (content))
                        {
-                               DockItem item = dock.GetItemByName (content.Id);
+                               DockItem item = dock.GetItemByName 
(content.PadId);
                                return item;
                        }
                        return null;
@@ -442,7 +442,7 @@
                        window.IconChanged += new EventHandler (UpdatePad);
                        
                        string windowTitle = GettextCatalog.GetString 
(padCodon.Label);
-                       DockItem item = new DockItem (padCodon.Id,
+                       DockItem item = new DockItem (padCodon.PadId,
                                                                 windowTitle,
                                                                 window.Icon,
                                                                 
DockItemBehavior.Normal);
@@ -559,7 +559,7 @@
                public void RedrawAllComponents()
                {
                        foreach (PadCodon content in 
((IWorkbench)workbench).PadContentCollection) {
-                               DockItem item = dock.GetItemByName (content.Id);
+                               DockItem item = dock.GetItemByName 
(content.PadId);
                                if (item != null)
                                        item.LongName = GetPadWindow 
(content).Title;
                        }

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs 
2007-05-14 14:52:28 UTC (rev 77356)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs 
2007-05-14 15:00:17 UTC (rev 77357)
@@ -246,9 +246,9 @@
                        return WrapPad (content);
                }
                
-               public Pad ShowPad (IPadContent padContent, string label, 
string defaultPlacement, string icon)
+               public Pad ShowPad (IPadContent padContent, string id, string 
label, string defaultPlacement, string icon)
                {
-                       return ShowPad (new PadCodon (padContent, label, 
defaultPlacement, icon));
+                       return ShowPad (new PadCodon (padContent, id, label, 
defaultPlacement, icon));
                }
                
                public FileViewer[] GetFileViewers (string fileName)

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp      
2007-05-14 14:52:28 UTC (rev 77356)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp      
2007-05-14 15:00:17 UTC (rev 77357)
@@ -84,7 +84,6 @@
     <File name="./MonoDevelop.Ide.Gui/IWorkbench.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Gui/IWorkbenchLayout.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Gui/IWorkbenchWindow.cs" subtype="Code" 
buildaction="Compile" />
-    <File name="./MonoDevelop.Ide.Gui/PadContentCollection.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Gui/ViewCommandHandlers.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Gui/ViewContentCollection.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Gui/WorkbenchWindowCollection.cs" 
subtype="Code" buildaction="Compile" />

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to