Use the new icons

This commit is contained in:
Miguel de Icaza 1998-12-08 23:30:45 +00:00
parent b7adce5cf3
commit 240bbf8226
5 changed files with 80 additions and 14 deletions

View File

@ -170,7 +170,7 @@ DISTGNOME = \
main-corba.o: main.c
$(CC) -c -DHAVE_CORBA $(CPPFLAGS) $(DEFS) $(CFLAGS) $< -o main-corba.o
all: @gmc@ Makefile mc.metadata
all: @gmc@ Makefile mc.metadata image.metadata
Makefile: Makefile.in ../config.status
(cd ..; CONFIG_FILES=gnome/Makefile CONFIG_HEADERS= ./config.status)
@ -189,6 +189,10 @@ mc.metadata: mc.metadata.in Makefile
sed -e 's^\@icondir\@^$(icondir)^g' < $(srcdir)/mc.metadata.in > mc.metadata.tmp \
&& mv mc.metadata.tmp mc.metadata
image.metadata: image.metadata.in Makefile
sed -e 's^\@icondir\@^$(icondir)^g' < $(srcdir)/image.metadata.in > image.metadata.tmp \
&& mv image.metadata.tmp image.metadata
@LIBVFS@:
cd ../vfs; $(MAKE) @LIBVFS@
@PCENTRULE@ -$(RMF) @LIBVFS@

48
gnome/image.metadata.in Normal file
View File

@ -0,0 +1,48 @@
regex: \.bmp$
icon-filename=@icondir@/gnome-image-bmp.png
regex: \.gif$
icon-filename=@icondir@/gnome-image-gif.png
regex: \.ief$
icon-filename=@icondir@/gnome-image-ief.png
regex: \.jpeg$
icon-filename=@icondir@/gnome-image-jpeg.png
regex: \.pbm$
icon-filename=@icondir@/gnome-image-pbm.png
regex: \.pgm$
icon-filename=@icondir@/gnome-image-pgm.png
regex: \.png$
icon-filename=@icondir@/gnome-image-png.png
regex: \.pnm$
icon-filename=@icondir@/gnome-image-pnm.png
regex: \.ppm$
icon-filename=@icondir@/gnome-image-ppm.png
regex: \.ras$
icon-filename=@icondir@/gnome-image-ras.png
regex: \.rgb$
icon-filename=@icondir@/gnome-image-rgb.png
regex: \.tga$
icon-filename=@icondir@/gnome-image-tga.png
regex: \.tiff$
icon-filename=@icondir@/gnome-image-tiff.png
regex: \.xbm$
icon-filename=@icondir@/gnome-image-xbm.png
regex: \.xpm$
icon-filename=@icondir@/gnome-image-xpm.png
regex: \.xwd$
icon-filename=@icondir@/gnome-image-xwd.png

View File

@ -6,10 +6,6 @@ regex: \.h$
type=x-application-gnome/c-source
icon-filename=@icondir@/h.xpm
regex: \.tiff$
type=image/tiff
icon-filename=@icondir@/tiff.xpm
regex: \.vcf$
type=x-application/vcf
icon-filename=@icondir@/calendar.xpm
@ -18,16 +14,9 @@ regex: \.(gz|Z|bz2)$
type=x-application/gzip
icon-filename=@icondir@/compressed.xpm
regex: \.gif$
type=image/gif
icon-filename=@icondir@/gif.xpm
regex: \.html$
icon-filename=@icondir@/html.xpm
regex: \.jpeg$
icon-filename=@icondir@/jpeg.xpm
regex: \.o$
icon-filename=@icondir@/o.xpm

View File

@ -29,7 +29,14 @@ ALLICONS = a.xpm application.xpm binary.xpm bitmap.xpm blackhole.xpm \
xbm.xpm xchess.xpm xfig.xpm xman.xpm xmosaic.xpm xpaint.xpm xpm.xpm \
zip.xpm zoo.xpm
DECENTICONS = c.xpm h.xpm tiff.xpm
#
# We are using these icons from the above in gnome, remove as new versions
# are obtained
#
DECENTICONS = \
c.xpm h.xpm calendar.xpm compressed.xpm html.xpm o.xpm \
sound.xpm makefile.xpm word.xpm zip.xpm tex.xpm cc.xpm man.xpm \
postscript.xpm
all:

View File

@ -13,7 +13,25 @@ INSTALL_DATA = @INSTALL_DATA@
#
DISTICONS = Makefile.in $(ALLICONS)
ALLICONS =
ALLICONS = \
gnome-image-bmp.png \
gnome-image-generic.png \
gnome-image-gif.png \
gnome-image-ief.png \
gnome-image-jpeg.png \
gnome-image-pbm.png \
gnome-image-pgm.png \
gnome-image-png.png \
gnome-image-pnm.png \
gnome-image-ppm.png \
gnome-image-ras.png \
gnome-image-rgb.png \
gnome-image-tga.png \
gnome-image-tiff.png \
gnome-image-xbm.png \
gnome-image-xpm.png \
gnome-image-xwd.png
all: