[Monodevelop-patches-list] r871 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels Main/Base/Gui/Dialogs/OptionPanels Main/Base/Gui/Workbench/Layouts
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Wed Feb 11 17:30:20 EST 2004
Author: tberman
Date: 2004-02-11 17:30:19 -0500 (Wed, 11 Feb 2004)
New Revision: 871
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs
trunk/MonoDevelop/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
Log:
track gtk-sharp cvs
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs 2004-02-11 20:45:48 UTC (rev 870)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/OptionPanels/CodeTemplatePanel.cs 2004-02-11 22:30:19 UTC (rev 871)
@@ -238,11 +238,10 @@
int selectedItemCount = templateListView.Selection.CountSelectedRows();
TreeIter[] selectedIters = new TreeIter[selectedItemCount];
TreeModel lv;
- GLib.List pathList = templateListView.Selection.GetSelectedRows(out lv);
+ TreePath[] pathList = templateListView.Selection.GetSelectedRows(out lv);
for(int i = 0; i < selectedItemCount; i++) {
- TreePath path = (TreePath) pathList[i];
- ((ListStore)lv).GetIter(out selectedIters[i], path);
- maxIndex = path.Indices[0];
+ ((ListStore)lv).GetIter(out selectedIters[i], pathList[i]);
+ maxIndex = pathList[i].Indices[0];
}
// now delete each item in that list
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs 2004-02-11 20:45:48 UTC (rev 870)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/OptionPanels/ExternalToolPanel.cs 2004-02-11 22:30:19 UTC (rev 871)
@@ -355,11 +355,10 @@
// first copy the selected item paths into a temp array
TreeIter[] selectedIters = new TreeIter[selectedItemCount];
TreeModel lv;
- GLib.List pathList = toolListBox.Selection.GetSelectedRows(out lv);
+ TreePath[] pathList = toolListBox.Selection.GetSelectedRows(out lv);
for(int i = 0; i < selectedItemCount; i++) {
- TreePath path = (TreePath) pathList[i];
- ((ListStore)lv).GetIter(out selectedIters[i], path);
- maxIndex = path.Indices[0];
+ ((ListStore)lv).GetIter(out selectedIters[i], pathList[i]);
+ maxIndex = pathList[i].Indices[0];
}
// now delete each item in that list
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs 2004-02-11 20:45:48 UTC (rev 870)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs 2004-02-11 22:30:19 UTC (rev 871)
@@ -398,7 +398,7 @@
SdiWorkspaceWindow sdiWorkspaceWindow = new SdiWorkspaceWindow(content, tabControl, label);
sdiWorkspaceWindow.CloseEvent += new EventHandler(CloseWindowEvent);
- sdiWorkspaceWindow.SwitchView(tabControl.Children.Count - 1);
+ sdiWorkspaceWindow.SwitchView(tabControl.Children.Length - 1);
_windows.Add (sdiWorkspaceWindow);
tabControl.ShowAll();
More information about the Monodevelop-patches-list
mailing list