[Monodevelop-patches-list] r1876 - in trunk/MonoDevelop/Core/src/Main/Base: . Gui/Workbench/Layouts
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Thu Jul 1 18:35:42 EDT 2004
Author: tberman
Date: 2004-07-01 18:35:42 -0400 (Thu, 01 Jul 2004)
New Revision: 1876
Modified:
trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
trunk/MonoDevelop/Core/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
Log:
always show tabs
Modified: trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/ChangeLog 2004-07-01 21:50:51 UTC (rev 1875)
+++ trunk/MonoDevelop/Core/src/Main/Base/ChangeLog 2004-07-01 22:35:42 UTC (rev 1876)
@@ -1,5 +1,10 @@
2004-07-01 Todd Berman <tberman at off.net>
+ * Gui/Worbench/Layouts/SdiWorkspaceLayout.cs: Remove the code that
+ hides the tabs when there is only one item.
+
+2004-07-01 Todd Berman <tberman at off.net>
+
* Services/ResourceService.cs: Remove a lot of code associated with
loading resources at runtime, etc.
Modified: trunk/MonoDevelop/Core/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs 2004-07-01 21:50:51 UTC (rev 1875)
+++ trunk/MonoDevelop/Core/src/Main/Base/Gui/Workbench/Layouts/SdiWorkspaceLayout.cs 2004-07-01 22:35:42 UTC (rev 1876)
@@ -93,7 +93,6 @@
// Create the notebook for the various documents.
tabControl = new DragNotebook ();
tabControl.Scrollable = true;
- tabControl.ShowTabs = false;
tabControl.SwitchPage += new SwitchPageHandler (ActiveMdiChanged);
tabControl.OnTabsReordered += new TabsReorderedHandler (TabsReordered);
DockItem item = new DockItem ("Documents", "Documents",
@@ -417,8 +416,6 @@
sdiWorkspaceWindow.CloseEvent += new EventHandler(CloseWindowEvent);
tabControl.AppendPage (sdiWorkspaceWindow, tabLabel);
- if (tabControl.NPages > 1)
- tabControl.ShowTabs = true;
tabControl.ShowAll();
return sdiWorkspaceWindow;
}
@@ -446,8 +443,6 @@
public void RemoveTab (int pageNum) {
tabControl.RemovePage (pageNum);
- if (tabControl.NPages == 1)
- tabControl.ShowTabs = false;
}
public void ActiveMdiChanged(object sender, SwitchPageArgs e)
More information about the Monodevelop-patches-list
mailing list