[Monodevelop-patches-list] r2753 - in trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils: . FileIcons icons
Lluis Sanchez <lluis@ximian.com>
lluis at mono-cvs.ximian.com
Thu Aug 18 13:39:32 EDT 2005
Author: lluis
Date: 2005-08-18 13:39:32 -0400 (Thu, 18 Aug 2005)
New Revision: 2753
Added:
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/icons/
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/icons/gnome-fs-regular.png
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/FileIcons/FileIconLoader.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/Makefile.am
Log:
2005-08-18 Lluis Sanchez Gual <lluis at novell.com>
* FileIcons/FileIconLoader.cs:
* Makefile.am: Added gnome-fs-regular.png as a resource.
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/ChangeLog 2005-08-18 17:37:32 UTC (rev 2752)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/ChangeLog 2005-08-18 17:39:32 UTC (rev 2753)
@@ -1,3 +1,8 @@
+2005-08-18 Lluis Sanchez Gual <lluis at novell.com>
+
+ * FileIcons/FileIconLoader.cs:
+ * Makefile.am: Added gnome-fs-regular.png as a resource.
+
2005-08-10 Ben Motmans <ben.motmans at gmail.com>
* MonoDevelop.Gui.Utils.mdp: references update
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/FileIcons/FileIconLoader.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/FileIcons/FileIconLoader.cs 2005-08-18 17:37:32 UTC (rev 2752)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/FileIcons/FileIconLoader.cs 2005-08-18 17:39:32 UTC (rev 2753)
@@ -24,7 +24,7 @@
public static Gdk.Pixbuf DefaultIcon {
get {
if (defaultIcon == null)
- defaultIcon = new Gdk.Pixbuf ("../data/resources/icons/gnome-fs-regular.png");
+ defaultIcon = new Gdk.Pixbuf (typeof(FileIconLoader).Assembly, "gnome-fs-regular.png");
return defaultIcon;
}
}
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/Makefile.am
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/Makefile.am 2005-08-18 17:37:32 UTC (rev 2752)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/Makefile.am 2005-08-18 17:39:32 UTC (rev 2753)
@@ -15,20 +15,23 @@
DirectoryArchive/Bz2Support.cs \
DirectoryArchive/GzSupport.cs
+RES = \
+icons/gnome-fs-regular.png
+
GENERATED_FILES = \
AssemblyInfo.cs
all: $(DLL)
-$(DLL): $(build_sources)
- $(CSC) $(CSC_FLAGS) -out:$@ /target:library $(REFERENCES) $(build_sources)
+$(DLL): $(build_sources) $(RES)
+ $(CSC) $(CSC_FLAGS) -out:$@ /target:library $(REFERENCES) $(RES:%=/resource:%) $(build_sources)
assemblydir = $(MD_ASSEMBLY_DIR)
assembly_DATA = $(DLL)
CLEANFILES = $(DLL) $(DLL).mdb
-EXTRA_DIST = $(FILES)
+EXTRA_DIST = $(FILES) $(RES)
include $(top_srcdir)/Makefile.include
Added: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/icons/gnome-fs-regular.png
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Utils/icons/gnome-fs-regular.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the Monodevelop-patches-list
mailing list