mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-02 14:03:39 +00:00
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:
parent
09db4304bc
commit
a609003378
17
ChangeLog
17
ChangeLog
|
@ -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>
|
||||
|
|
|
@ -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
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
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
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
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
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
BIN
icons/i-music-36.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue