Author: jacobilsoe
Date: 2006-11-28 12:38:25 -0500 (Tue, 28 Nov 2006)
New Revision: 68592

Added:
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoTypeDialog.cs
Removed:
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.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.Commands/SearchCommands.cs
   trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.addin.xml
   trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
   trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/generated.cs
   trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic
Log:
2006-11-28 Jacob Ils?\195?\184 Christensen <[EMAIL PROTECTED]>

        * MonoDevelop.Ide.Commands/SearchCommands.cs:
        * MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs:
        * MonoDevelop.Ide.Gui.Dialogs/GotoTypeDialog.cs:
        * MonoDevelop.Ide.addin.xml:
        * MonoDevelop.Ide.mdp:
        * gtk-gui/generated.cs:
        * gtk-gui/gui.stetic:
        * Makefile.am:
        Renamed Goto Class to Goto Type.



Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2006-11-28 
16:43:54 UTC (rev 68591)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2006-11-28 
17:38:25 UTC (rev 68592)
@@ -1,3 +1,15 @@
+2006-11-28 Jacob Ilsø Christensen <[EMAIL PROTECTED]>
+
+       * MonoDevelop.Ide.Commands/SearchCommands.cs:
+       * MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs:
+       * MonoDevelop.Ide.Gui.Dialogs/GotoTypeDialog.cs:
+       * MonoDevelop.Ide.addin.xml:
+       * MonoDevelop.Ide.mdp:
+       * gtk-gui/generated.cs:
+       * gtk-gui/gui.stetic:
+       * Makefile.am:
+       Renamed Goto Class to Goto Type.
+
 2006-11-27  Jacob Ilsø Christensen <[EMAIL PROTECTED]>
 
        * MonoDevelop.Ide.Commands/RefactoryCommands.cs:

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am      2006-11-28 
16:43:54 UTC (rev 68591)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am      2006-11-28 
17:38:25 UTC (rev 68592)
@@ -136,7 +136,7 @@
 MonoDevelop.Ide.Gui.Dialogs/GacReferencePanel.cs \
 MonoDevelop.Ide.Gui.Dialogs/ProjectReferencePanel.cs \
 MonoDevelop.Ide.Gui.Dialogs/SelectReferenceDialog.cs \
-MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs \
+MonoDevelop.Ide.Gui.Dialogs/GotoTypeDialog.cs \
 MonoDevelop.Ide.Gui.Pads/DefaultMonitorPad.cs \
 MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs \
 MonoDevelop.Ide.Gui.Pads/TaskListPad.cs \

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Commands/SearchCommands.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Commands/SearchCommands.cs
       2006-11-28 16:43:54 UTC (rev 68591)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Commands/SearchCommands.cs
       2006-11-28 17:38:25 UTC (rev 68592)
@@ -28,7 +28,7 @@
                FindPreviousSelection,
                FindBox,
                ReplaceInFiles,
-               GotoClass
+               GotoType
        }
 
        internal class FindInFilesHandler : CommandHandler
@@ -47,7 +47,7 @@
                }
        }
        
-       internal class GotoClassHandler : CommandHandler
+       internal class GotoTypeHandler : CommandHandler
        {
            protected override void Run()
            {           
@@ -56,7 +56,7 @@
                        return;
                }
                
-               GotoClassDialog dialog = new GotoClassDialog();
+               GotoTypeDialog dialog = new GotoTypeDialog();
                dialog.Show();                                          
            }
            

Deleted: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs
   2006-11-28 16:43:54 UTC (rev 68591)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs
   2006-11-28 17:38:25 UTC (rev 68592)
@@ -1,142 +0,0 @@
-/*
-Copyright (C) 2006  Jacob Ilsø Christensen
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-*/
-
-using System;
-using System.Collections;
-using System.Collections.Generic;
-
-using MonoDevelop.Ide.Gui;
-using MonoDevelop.Projects;
-using MonoDevelop.Projects.Parser;
-
-using Gtk;
-using Gdk;
-
-namespace MonoDevelop.Ide.Gui.Dialogs
-{      
-       public class GotoClassDialog : Gtk.Dialog
-       {
-               protected Gtk.TreeView treeview1;
-               private Dictionary<string, Pixbuf> icons;
-               
-               public GotoClassDialog()
-               {
-                       Stetic.Gui.Build(this, typeof(GotoClassDialog));
-                       
-                       icons = new Dictionary<string, Pixbuf>();
-                       SetupTreeView();                                        
                                                                        
-               }
-               
-               private void SetupTreeView()
-               {
-                       ListStore listStore = new ListStore(new Type[] { 
typeof(Pixbuf), typeof(string), typeof(string), typeof(IRegion) });
-                       TreeModelSort treeModelSort = new 
TreeModelSort(listStore);                     
-                       treeview1.Model = treeModelSort;
-
-                       TreeViewColumn classNameColumn = new TreeViewColumn();
-                       classNameColumn.Title = "Class";                        
-                       CellRendererPixbuf cellRendererPixbuf = new 
CellRendererPixbuf();
-                       classNameColumn.PackStart(cellRendererPixbuf, false);
-                       classNameColumn.AddAttribute(cellRendererPixbuf, 
"pixbuf", 0);                  
-                       CellRendererText cellRenderer = new CellRendererText();
-                       classNameColumn.PackStart(cellRenderer, true);
-                       classNameColumn.AddAttribute(cellRenderer, "text", 1);  
                
-                       treeview1.AppendColumn(classNameColumn);                
        
-                                       
-                       foreach (CombineEntry combineEntry in 
IdeApp.ProjectOperations.CurrentOpenCombine.Entries)
-                       {
-                               AddClassesToTreeView(combineEntry, listStore);
-                       }                                       
-                       
-                       treeModelSort.SetSortColumnId(2, SortType.Ascending);
-                       treeModelSort.ChangeSortColumn();                       
-               }
-
-               private void AddClassesToTreeView(CombineEntry entry, ListStore 
listStore)
-               {
-                       if (entry is Combine)
-                       {
-                               foreach (CombineEntry ce in 
((Combine)entry).Entries)
-                               {
-                                       AddClassesToTreeView(ce, listStore);
-                               }
-                       }
-                       else if (entry is Project)
-                       {
-                               Project project = entry as Project;             
                
-                               IParserContext ctx = 
IdeApp.ProjectOperations.ParserDatabase.GetProjectParserContext(project);
-
-                               foreach (IClass c in ctx.GetProjectContents())
-                               {                                               
                                
-                                       Pixbuf pixbuf = 
GetIcon(Services.Icons.GetIcon(c));                             
-                                       listStore.AppendValues(pixbuf, c.Name + 
" (" + c.Namespace + " namespace)", c.Name, c.Region);
-                               }
-                       }
-               }
-
-               private Pixbuf GetIcon(string id)
-               {                                       
-                       if (!icons.ContainsKey(id))
-                       {
-                               icons.Add(id, treeview1.RenderIcon(id, 
IconSize.Menu, "")); 
-                       }
-               
-                       return icons[id];
-               }
-
-               private void GotoClass()
-               {       
-                       IRegion region;
-                       TreeIter iter;
-                       TreeModel model;                        
-                       
-                       if (treeview1.Selection.GetSelected(out model, out 
iter))
-                       {
-                               region = (IRegion)model.GetValue(iter, 3);
-                       }
-                       else                
-                       {
-                               return;
-                       }
-                                                                               
           
-                       if (region.FileName == null)
-                       {
-                               return;
-                       }
-                   
-                       IdeApp.Workbench.OpenDocument(region.FileName, 
Math.Max(1, region.BeginLine), 1, true);
-                       
-                       Hide();
-               }
-
-               protected virtual void RowActivated(object o, 
Gtk.RowActivatedArgs args)
-               {
-                       GotoClass();
-               }
-
-               protected virtual void OkClicked(object sender, 
System.EventArgs e)
-               {
-                       GotoClass();
-               }
-
-               protected virtual void CancelClicked(object sender, 
System.EventArgs e)
-               {
-                       Hide();
-               }                               
-       }
-}
\ No newline at end of file

Copied: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoTypeDialog.cs
 (from rev 68478, 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs)
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs
   2006-11-26 15:36:52 UTC (rev 68478)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/GotoTypeDialog.cs
    2006-11-28 17:38:25 UTC (rev 68592)
@@ -0,0 +1,142 @@
+/*
+Copyright (C) 2006  Jacob Ilsø Christensen
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+*/
+
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+using MonoDevelop.Ide.Gui;
+using MonoDevelop.Projects;
+using MonoDevelop.Projects.Parser;
+
+using Gtk;
+using Gdk;
+
+namespace MonoDevelop.Ide.Gui.Dialogs
+{      
+       public class GotoTypeDialog : Gtk.Dialog
+       {
+               protected Gtk.TreeView treeview1;
+               private Dictionary<string, Pixbuf> icons;
+               
+               public GotoTypeDialog()
+               {
+                       Stetic.Gui.Build(this, typeof(GotoTypeDialog));
+                       
+                       icons = new Dictionary<string, Pixbuf>();
+                       SetupTreeView();                                        
                                                                        
+               }
+               
+               private void SetupTreeView()
+               {
+                       ListStore listStore = new ListStore(new Type[] { 
typeof(Pixbuf), typeof(string), typeof(string), typeof(IRegion) });
+                       TreeModelSort treeModelSort = new 
TreeModelSort(listStore);                     
+                       treeview1.Model = treeModelSort;
+
+                       TreeViewColumn typeNameColumn = new TreeViewColumn();
+                       typeNameColumn.Title = "Type";                  
+                       CellRendererPixbuf cellRendererPixbuf = new 
CellRendererPixbuf();
+                       typeNameColumn.PackStart(cellRendererPixbuf, false);
+                       typeNameColumn.AddAttribute(cellRendererPixbuf, 
"pixbuf", 0);                   
+                       CellRendererText cellRenderer = new CellRendererText();
+                       typeNameColumn.PackStart(cellRenderer, true);
+                       typeNameColumn.AddAttribute(cellRenderer, "text", 1);   
                
+                       treeview1.AppendColumn(typeNameColumn);                 
+                                       
+                       foreach (CombineEntry combineEntry in 
IdeApp.ProjectOperations.CurrentOpenCombine.Entries)
+                       {
+                               AddTypesToTreeView(combineEntry, listStore);
+                       }                                       
+                       
+                       treeModelSort.SetSortColumnId(2, SortType.Ascending);
+                       treeModelSort.ChangeSortColumn();                       
+               }
+
+               private void AddTypesToTreeView(CombineEntry entry, ListStore 
listStore)
+               {
+                       if (entry is Combine)
+                       {
+                               foreach (CombineEntry ce in 
((Combine)entry).Entries)
+                               {
+                                       AddTypesToTreeView(ce, listStore);
+                               }
+                       }
+                       else if (entry is Project)
+                       {
+                               Project project = entry as Project;             
                
+                               IParserContext ctx = 
IdeApp.ProjectOperations.ParserDatabase.GetProjectParserContext(project);
+
+                               foreach (IClass c in ctx.GetProjectContents())
+                               {                                               
                                
+                                       Pixbuf pixbuf = 
GetIcon(Services.Icons.GetIcon(c));                             
+                                       listStore.AppendValues(pixbuf, c.Name + 
" (" + c.Namespace + " namespace)", c.Name, c.Region);
+                               }
+                       }
+               }
+
+               private Pixbuf GetIcon(string id)
+               {                                       
+                       if (!icons.ContainsKey(id))
+                       {
+                               icons.Add(id, treeview1.RenderIcon(id, 
IconSize.Menu, "")); 
+                       }
+               
+                       return icons[id];
+               }
+
+               private void GotoType()
+               {       
+                       IRegion region;
+                       TreeIter iter;
+                       TreeModel model;                        
+                       
+                       if (treeview1.Selection.GetSelected(out model, out 
iter))
+                       {
+                               region = (IRegion)model.GetValue(iter, 3);
+                       }
+                       else                
+                       {
+                               return;
+                       }
+                                                                               
           
+                       if (region.FileName == null)
+                       {
+                               return;
+                       }
+                   
+                       IdeApp.Workbench.OpenDocument(region.FileName, 
Math.Max(1, region.BeginLine), 1, true);
+                       
+                       Hide();
+               }
+
+               protected virtual void RowActivated(object o, 
Gtk.RowActivatedArgs args)
+               {
+                       GotoType();
+               }
+
+               protected virtual void OkClicked(object sender, 
System.EventArgs e)
+               {
+                       GotoType();
+               }
+
+               protected virtual void CancelClicked(object sender, 
System.EventArgs e)
+               {
+                       Hide();
+               }                               
+       }
+}

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.addin.xml
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.addin.xml        
2006-11-28 16:43:54 UTC (rev 68591)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.addin.xml        
2006-11-28 17:38:25 UTC (rev 68592)
@@ -482,10 +482,10 @@
                                _label = "R_eplace In Files..." 
                                icon = "md-replace-in-files" 
                                description = "Replace in files" />
-               <Command id = 
"MonoDevelop.Ide.Commands.SearchCommands.GotoClass"               
-                       defaultHandler = 
"MonoDevelop.Ide.Commands.GotoClassHandler"
-                               _label = "Goto Class..." 
-                shortcut = "Control|Shift|C" />
+               <Command id = 
"MonoDevelop.Ide.Commands.SearchCommands.GotoType"                
+                       defaultHandler = 
"MonoDevelop.Ide.Commands.GotoTypeHandler"
+                               _label = "Goto Type..." 
+                shortcut = "Control|Shift|T" />
                                
                <!-- RefactoryCommands -->
                
@@ -936,7 +936,7 @@
        </Extension>
 
        <Extension path = "/SharpDevelop/Workbench/MainMenu/Search">
-            <CommandItem id = 
"MonoDevelop.Ide.Commands.SearchCommands.GotoClass"
+            <CommandItem id = 
"MonoDevelop.Ide.Commands.SearchCommands.GotoType"
                 insertafter = 
"MonoDevelop.SourceEditor.EditorCommands.GotoLineNumber" />                     
                                                                 
        </Extension>
 

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp      
2006-11-28 16:43:54 UTC (rev 68591)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp      
2006-11-28 17:38:25 UTC (rev 68592)
@@ -252,7 +252,7 @@
     <File name="./MonoDevelop.Ide.Gui.Pads/ErrorListPad.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./gtk-gui/gui.stetic" subtype="Code" buildaction="Exclude" />
     <File name="./gtk-gui/generated.cs" subtype="Code" buildaction="Compile" />
-    <File name="./MonoDevelop.Ide.Gui.Dialogs/GotoClassDialog.cs" 
subtype="Code" buildaction="Compile" />
+    <File name="./MonoDevelop.Ide.Gui.Dialogs/GotoTypeDialog.cs" 
subtype="Code" buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Gui/ExitEventHandler.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Tasks/ITaskListView.cs" subtype="Code" 
buildaction="Compile" />
     <File name="./MonoDevelop.Ide.Codons/TaskListViewCodon.cs" subtype="Code" 
buildaction="Compile" />
@@ -308,4 +308,4 @@
   <DeploymentInformation strategy="File">
     <excludeFiles />
   </DeploymentInformation>
-</Project>
\ No newline at end of file
+</Project>

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/generated.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/generated.cs     
2006-11-28 16:43:54 UTC (rev 68591)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/generated.cs     
2006-11-28 17:38:25 UTC (rev 68592)
@@ -19,15 +19,15 @@
         
         public static void Build(object obj, string id) {
             System.Collections.Hashtable bindings = new 
System.Collections.Hashtable();
-            if ((id == "MonoDevelop.Ide.Gui.Dialogs.GotoClassDialog")) {
+            if ((id == "MonoDevelop.Ide.Gui.Dialogs.GotoTypeDialog")) {
                 Gtk.Dialog cobj = ((Gtk.Dialog)(obj));
-                // Widget MonoDevelop.Ide.Gui.Dialogs.GotoClassDialog
-                cobj.Title = "Goto Class";
+                // Widget MonoDevelop.Ide.Gui.Dialogs.GotoTypeDialog
+                cobj.Title = Mono.Unix.Catalog.GetString("Goto Type");
                 cobj.WindowPosition = ((Gtk.WindowPosition)(4));
                 cobj.HasSeparator = false;
                 cobj.Events = ((Gdk.EventMask)(256));
-                cobj.Name = "MonoDevelop.Ide.Gui.Dialogs.GotoClassDialog";
-                // Internal child 
MonoDevelop.Ide.Gui.Dialogs.GotoClassDialog.VBox
+                cobj.Name = "MonoDevelop.Ide.Gui.Dialogs.GotoTypeDialog";
+                // Internal child 
MonoDevelop.Ide.Gui.Dialogs.GotoTypeDialog.VBox
                 Gtk.VBox w1 = cobj.VBox;
                 w1.BorderWidth = ((uint)(2));
                 w1.Events = ((Gdk.EventMask)(256));
@@ -53,14 +53,14 @@
                 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[w2]));
                 w5.Position = 0;
                 bindings["dialog_VBox"] = w1;
-                // Internal child 
MonoDevelop.Ide.Gui.Dialogs.GotoClassDialog.ActionArea
+                // Internal child 
MonoDevelop.Ide.Gui.Dialogs.GotoTypeDialog.ActionArea
                 Gtk.HButtonBox w6 = cobj.ActionArea;
                 w6.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
                 w6.Spacing = 10;
                 w6.BorderWidth = ((uint)(5));
                 w6.Events = ((Gdk.EventMask)(256));
-                w6.Name = "MonoDevelop.Ide.GotoClassDialog_ActionArea";
-                // Container child 
MonoDevelop.Ide.GotoClassDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
+                w6.Name = "MonoDevelop.Ide.GotoTypeDialog_ActionArea";
+                // Container child 
MonoDevelop.Ide.GotoTypeDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
                 Gtk.Button w7 = new Gtk.Button();
                 w7.UseStock = true;
                 w7.UseUnderline = true;
@@ -68,13 +68,13 @@
                 w7.Events = ((Gdk.EventMask)(0));
                 w7.Name = "button1";
                 w7.CanDefault = true;
-                w7.Label = "gtk-cancel";
+                w7.Label = Mono.Unix.Catalog.GetString("gtk-cancel");
                 bindings["button1"] = w7;
                 cobj.AddActionWidget(w7, -6);
                 Gtk.ButtonBox.ButtonBoxChild w8 = 
((Gtk.ButtonBox.ButtonBoxChild)(w6[w7]));
                 w8.Expand = false;
                 w8.Fill = false;
-                // Container child 
MonoDevelop.Ide.GotoClassDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
+                // Container child 
MonoDevelop.Ide.GotoTypeDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
                 Gtk.Button w9 = new Gtk.Button();
                 w9.UseStock = true;
                 w9.UseUnderline = true;
@@ -82,17 +82,17 @@
                 w9.Events = ((Gdk.EventMask)(0));
                 w9.Name = "button4";
                 w9.CanDefault = true;
-                w9.Label = "gtk-ok";
+                w9.Label = Mono.Unix.Catalog.GetString("gtk-ok");
                 bindings["button4"] = w9;
                 cobj.AddActionWidget(w9, -5);
                 Gtk.ButtonBox.ButtonBoxChild w10 = 
((Gtk.ButtonBox.ButtonBoxChild)(w6[w9]));
                 w10.Position = 1;
                 w10.Expand = false;
                 w10.Fill = false;
-                bindings["MonoDevelop.Ide.GotoClassDialog_ActionArea"] = w6;
+                bindings["MonoDevelop.Ide.GotoTypeDialog_ActionArea"] = w6;
                 cobj.DefaultWidth = 400;
                 cobj.DefaultHeight = 300;
-                bindings["MonoDevelop.Ide.Gui.Dialogs.GotoClassDialog"] = cobj;
+                bindings["MonoDevelop.Ide.Gui.Dialogs.GotoTypeDialog"] = cobj;
                 w3.Show();
                 w2.Show();
                 w1.Show();

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic       
2006-11-28 16:43:54 UTC (rev 68591)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic       
2006-11-28 17:38:25 UTC (rev 68592)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <stetic-interface>
-  <widget class="Gtk.Dialog" id="MonoDevelop.Ide.Gui.Dialogs.GotoClassDialog" 
design-size="400 300">
-    <property name="Title" translatable="yes">Goto Class</property>
+  <widget class="Gtk.Dialog" id="MonoDevelop.Ide.Gui.Dialogs.GotoTypeDialog" 
design-size="400 300">
+    <property name="Title" translatable="yes">Goto Type</property>
     <property name="Buttons">2</property>
     <property name="HelpButton">False</property>
     <property name="WindowPosition">CenterOnParent</property>
@@ -39,7 +39,7 @@
       </widget>
     </child>
     <child internal-child="ActionArea">
-      <widget class="Gtk.HButtonBox" 
id="MonoDevelop.Ide.GotoClassDialog_ActionArea">
+      <widget class="Gtk.HButtonBox" 
id="MonoDevelop.Ide.GotoTypeDialog_ActionArea">
         <property name="Size">2</property>
         <property name="LayoutStyle">End</property>
         <property name="Spacing">10</property>

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

Reply via email to