[gtk+/gtk-2-24] Use existing mime type for GTK_FILE stock icon



commit 174ad13a2f84403d4b2c1051d04689e6cd1576ae
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 6 00:31:20 2011 -0500

    Use existing mime type for GTK_FILE stock icon
    
    document-x-generic is not actually a mimetype. Using text-x-generic
    instead lets us work out-of-the-box in a11y themes.

 gtk/Makefile.am                                    |    6 ++----
 .../{document-x-generic.png => text-x-generic.png} |  Bin 569 -> 569 bytes
 .../{document-x-generic.svg => text-x-generic.svg} |    0
 .../{document-x-generic.png => text-x-generic.png} |  Bin 736 -> 736 bytes
 .../{document-x-generic.svg => text-x-generic.svg} |    0
 5 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 742be50..db4a506 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1087,7 +1087,7 @@ STOCK_ICONS = \
 	stock-icons/16/gtk-disconnect.png 		\
 	stock-icons/16/gtk-edit.png 			\
 	stock-icons/16/system-run.png 			\
-	stock-icons/16/document-x-generic.png 		\
+	stock-icons/16/text-x-generic.png 		\
 	stock-icons/16/edit-find-replace.png 		\
 	stock-icons/16/edit-find.png 			\
 	stock-icons/16/media-floppy.png 		\
@@ -1193,7 +1193,7 @@ STOCK_ICONS = \
 	stock-icons/24/gtk-disconnect.png 		\
 	stock-icons/24/gtk-edit.png 			\
 	stock-icons/24/system-run.png 			\
-	stock-icons/24/document-x-generic.png 		\
+	stock-icons/24/text-x-generic.png 		\
 	stock-icons/24/edit-find-replace.png 		\
 	stock-icons/24/edit-find.png 			\
 	stock-icons/24/gtk-font.png 			\
@@ -1351,8 +1351,6 @@ stamp-icons: $(STOCK_ICONS)
 	   && $(LN_S) folder.png user-home.png 				\
 	   && $(RM) user-desktop.png 					\
 	   && $(LN_S) folder.png user-desktop.png 			\
-	   && $(RM) text-x-generic.png 					\
-	   && $(LN_S) document-x-generic.png text-x-generic.png 	\
 	) done 								\
 	&& touch stamp-icons
 
diff --git a/gtk/stock-icons/16/document-x-generic.png b/gtk/stock-icons/16/text-x-generic.png
similarity index 100%
rename from gtk/stock-icons/16/document-x-generic.png
rename to gtk/stock-icons/16/text-x-generic.png
diff --git a/gtk/stock-icons/16/document-x-generic.svg b/gtk/stock-icons/16/text-x-generic.svg
similarity index 100%
rename from gtk/stock-icons/16/document-x-generic.svg
rename to gtk/stock-icons/16/text-x-generic.svg
diff --git a/gtk/stock-icons/24/document-x-generic.png b/gtk/stock-icons/24/text-x-generic.png
similarity index 100%
rename from gtk/stock-icons/24/document-x-generic.png
rename to gtk/stock-icons/24/text-x-generic.png
diff --git a/gtk/stock-icons/24/document-x-generic.svg b/gtk/stock-icons/24/text-x-generic.svg
similarity index 100%
rename from gtk/stock-icons/24/document-x-generic.svg
rename to gtk/stock-icons/24/text-x-generic.svg



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]