fixed bug 3502, music icon doesn't scale well, by adding pre-scaled icons

* icons/Makefile.am:
	* icons/i-music-12.png:
	* icons/i-music-12-aa.png:
	* icons/i-music-24.png:
	* icons/i-music-24-aa.png:
	* icons/i-music-36.png:
	* icons/i-music-36-aa.png:
	fixed bug 3502, music icon doesn't scale well, by adding
	pre-scaled icons from Susan.

	* libnautilus-extensions/nautilus-icon-factory.c:
	(nautilus_icon_factory_get_icon_name_for_regular_file):
	removed evil special-case of text files; now it uses
	whatever is defined in the mime-type database.
This commit is contained in:
Andy Hertzfeld 2000-12-14 02:45:12 +00:00
parent 09db4304bc
commit a609003378
10 changed files with 25 additions and 2 deletions

View file

@ -1,3 +1,20 @@
2000-12-13 Andy Hertzfeld <andy@eazel.com>
* icons/Makefile.am:
* icons/i-music-12.png:
* icons/i-music-12-aa.png:
* icons/i-music-24.png:
* icons/i-music-24-aa.png:
* icons/i-music-36.png:
* icons/i-music-36-aa.png:
fixed bug 3502, music icon doesn't scale well, by adding
pre-scaled icons from Susan.
* libnautilus-extensions/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_name_for_regular_file):
removed evil special-case of text files; now it uses
whatever is defined in the mime-type database.
2000-12-13 John Harper <jsh@eazel.com>
reviewed by: Darin Adler <darin@eazel.com>

View file

@ -143,6 +143,12 @@ icon_DATA =\
i-fifo.png \
i-floppy.png \
i-harddisk.png \
i-music-12.png \
i-music-12-aa.png \
i-music-24.png \
i-music-24-aa.png \
i-music-36.png \
i-music-36-aa.png \
i-music-aa.png \
i-music.png \
i-nfs.png \

BIN
icons/i-music-12-aa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

BIN
icons/i-music-12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

BIN
icons/i-music-24-aa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
icons/i-music-24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 857 B

BIN
icons/i-music-36-aa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
icons/i-music-36.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -749,7 +749,7 @@ nautilus_icon_factory_get_icon_name_for_regular_file (NautilusFile *file)
mime_type = nautilus_file_get_mime_type (file);
is_text_file = nautilus_strcasecmp (mime_type, "text/plain") == 0;
if (mime_type != NULL && !is_text_file) {
if (mime_type != NULL) {
icon_name = gnome_vfs_mime_get_icon (mime_type);
if (icon_name != NULL) {
g_free (mime_type);

View file

@ -749,7 +749,7 @@ nautilus_icon_factory_get_icon_name_for_regular_file (NautilusFile *file)
mime_type = nautilus_file_get_mime_type (file);
is_text_file = nautilus_strcasecmp (mime_type, "text/plain") == 0;
if (mime_type != NULL && !is_text_file) {
if (mime_type != NULL) {
icon_name = gnome_vfs_mime_get_icon (mime_type);
if (icon_name != NULL) {
g_free (mime_type);