Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2009-06-23 18:26:38 +0400
committerLluis Sanchez <lluis@novell.com>2009-06-23 18:26:38 +0400
commitd8dc77a1a455a6fddd3d14bae485043d401d9be0 (patch)
tree5bc5d820e4894d8433bfa85ed8a6b8e6c121d911 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads
parent7e6efa39afcfc5dbd97b652b8dba8a4183be4171 (diff)
Use the new DesktopService instead of PlatformService.
svn path=/trunk/monodevelop/; revision=136706
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/FileListItem.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/FileListItem.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/FileListItem.cs
index 3235faf4a2..b422f7809b 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/FileListItem.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/FileListItem.cs
@@ -29,6 +29,7 @@ using System;
using System.IO;
using MonoDevelop.Core;
+using MonoDevelop.Core.Gui;
namespace MonoDevelop.Ide.Gui.Pads
{
@@ -89,7 +90,7 @@ namespace MonoDevelop.Ide.Gui.Pads
this.lastModified = lastModified;
//FIXME: This is because //home/blah is not the same as /home/blah according to Icon.LookupSync, if we get weird behaviours, lets look at this again, see if we still need it.
FullName = fullname.Substring (1);
- icon = IdeApp.Services.PlatformService.GetPixbufForFile (FullName, Gtk.IconSize.Menu);
+ icon = DesktopService.GetPixbufForFile (FullName, Gtk.IconSize.Menu);
}
public FileListItem (string name)
@@ -98,7 +99,7 @@ namespace MonoDevelop.Ide.Gui.Pads
this.size = Math.Round ((double) fi.Length / 1024).ToString () + " KB";
this.lastModified = fi.LastWriteTime.ToString ();
FullName = System.IO.Path.GetFullPath (name);
- icon = IdeApp.Services.PlatformService.GetPixbufForFile (FullName, Gtk.IconSize.Menu);
+ icon = DesktopService.GetPixbufForFile (FullName, Gtk.IconSize.Menu);
}
}
}