[Monodevelop-patches-list] r2411 - in trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn: . Gui

Chris Toshok toshok at mono-cvs.ximian.com
Fri Apr 1 00:46:29 EST 2005


Author: toshok
Date: 2005-04-01 00:46:29 -0500 (Fri, 01 Apr 2005)
New Revision: 2411

Modified:
   trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog
   trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/DebuggerVariablePad.cs
Log:
2005-03-31  Chris Toshok  <toshok at ximian.com>

        * Gui/DebuggerVariablePad.cs: use Runtime.Gui.Icons and
        Runtime.Gui.Resources.



Modified: trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog	2005-04-01 03:57:44 UTC (rev 2410)
+++ trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog	2005-04-01 05:46:29 UTC (rev 2411)
@@ -1,5 +1,10 @@
 2005-03-31  Chris Toshok  <toshok at ximian.com>
 
+	* Gui/DebuggerVariablePad.cs: use Runtime.Gui.Icons and
+	Runtime.Gui.Resources.
+
+2005-03-31  Chris Toshok  <toshok at ximian.com>
+
 	* DebuggingService.cs: track BreakpointHandle api change, and use
 	Runtime.DispatchService instead of Gtk.ThreadNotify.
 

Modified: trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/DebuggerVariablePad.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/DebuggerVariablePad.cs	2005-04-01 03:57:44 UTC (rev 2410)
+++ trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/DebuggerVariablePad.cs	2005-04-01 05:46:29 UTC (rev 2411)
@@ -227,7 +227,7 @@
 						store.SetValue (iter, NAME_COL, "Raw View");
 						store.SetValue (iter, RAW_VIEW_COL, true);
 
-						Gdk.Pixbuf icon = Runtime.ResourceService.GetIcon (Stock.Class, Gtk.IconSize.Menu);
+						Gdk.Pixbuf icon = Runtime.Gui.Resources.GetIcon (Stock.Class, Gtk.IconSize.Menu);
 						if (icon != null)
 							store.SetValue (iter, PIXBUF_COL, icon);
 
@@ -425,7 +425,7 @@
 			store.SetValue (iter, VALUE_COL, GetObjectValueString (obj));
 			store.SetValue (iter, TYPE_COL,
 					obj == null ? "" : Runtime.Ambience.CurrentAmbience.GetIntrinsicTypeName (obj.TypeInfo.Type.Name));
-			Gdk.Pixbuf icon = Runtime.ResourceService.GetIcon (icon_name, Gtk.IconSize.Menu);
+			Gdk.Pixbuf icon = Runtime.Gui.Resources.GetIcon (icon_name, Gtk.IconSize.Menu);
 			if (icon != null)
 				store.SetValue (iter, PIXBUF_COL, icon);
 			if (obj != null)
@@ -437,7 +437,7 @@
 			string icon = "";
 
 			if (obj.TypeInfo.Type.TypeHandle is Type)
-				icon = Runtime.IconService.GetIcon ((Type)obj.TypeInfo.Type.TypeHandle);
+				icon = Runtime.Gui.Icons.GetIcon ((Type)obj.TypeInfo.Type.TypeHandle);
 
 			return icon;
 		}
@@ -447,9 +447,9 @@
 			string icon = "";
 
 			if (member.Handle is PropertyInfo)
-				icon = Runtime.IconService.GetIcon ((PropertyInfo)member.Handle);
+				icon = Runtime.Gui.Icons.GetIcon ((PropertyInfo)member.Handle);
 			else if (member.Handle is FieldInfo)
-				icon = Runtime.IconService.GetIcon ((FieldInfo)member.Handle);
+				icon = Runtime.Gui.Icons.GetIcon ((FieldInfo)member.Handle);
 
 			return icon;
 		}




More information about the Monodevelop-patches-list mailing list