[Monodevelop-patches-list] r1062 - in branches/MonoDevelop-playground/src/Plugins: FileBrowser Workbench
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sun Feb 29 05:16:56 EST 2004
Author: jzwart
Date: 2004-02-29 05:16:55 -0500 (Sun, 29 Feb 2004)
New Revision: 1062
Modified:
branches/MonoDevelop-playground/src/Plugins/FileBrowser/FileBrowserWidgetFactory.cs
branches/MonoDevelop-playground/src/Plugins/Workbench/IWorkbenchWidgetFactory.cs
branches/MonoDevelop-playground/src/Plugins/Workbench/Workbench.cs
Log:
Use stock ids for the workbench widgets instead of Gdk.Pixbufs.
Modified: branches/MonoDevelop-playground/src/Plugins/FileBrowser/FileBrowserWidgetFactory.cs
===================================================================
--- branches/MonoDevelop-playground/src/Plugins/FileBrowser/FileBrowserWidgetFactory.cs 2004-02-29 10:02:53 UTC (rev 1061)
+++ branches/MonoDevelop-playground/src/Plugins/FileBrowser/FileBrowserWidgetFactory.cs 2004-02-29 10:16:55 UTC (rev 1062)
@@ -18,19 +18,19 @@
public string WidgetName {
get {
- return "ContentPane";
+ return "FileBrowser";
}
}
public string WidgetTitle {
get {
- return "Content pane";
+ return "Files";
}
}
- public Gdk.Pixbuf WidgetIcon {
+ public string WidgetIcon {
get {
- return null;
+ return "gtk-open";
}
}
Modified: branches/MonoDevelop-playground/src/Plugins/Workbench/IWorkbenchWidgetFactory.cs
===================================================================
--- branches/MonoDevelop-playground/src/Plugins/Workbench/IWorkbenchWidgetFactory.cs 2004-02-29 10:02:53 UTC (rev 1061)
+++ branches/MonoDevelop-playground/src/Plugins/Workbench/IWorkbenchWidgetFactory.cs 2004-02-29 10:16:55 UTC (rev 1062)
@@ -20,7 +20,7 @@
get;
}
- Gdk.Pixbuf WidgetIcon {
+ string WidgetIcon {
get;
}
Modified: branches/MonoDevelop-playground/src/Plugins/Workbench/Workbench.cs
===================================================================
--- branches/MonoDevelop-playground/src/Plugins/Workbench/Workbench.cs 2004-02-29 10:02:53 UTC (rev 1061)
+++ branches/MonoDevelop-playground/src/Plugins/Workbench/Workbench.cs 2004-02-29 10:16:55 UTC (rev 1062)
@@ -108,6 +108,7 @@
foreach (IWorkbenchWidgetFactory factory in widgets) {
DockItem item = new DockItem (factory.WidgetName,
factory.WidgetTitle,
+ factory.WidgetIcon,
factory.Dockable ?
DockItemBehavior.Normal :
DockItemBehavior.Locked);
More information about the Monodevelop-patches-list
mailing list