mirror of https://github.com/MidnightCommander/mc
Use the new icons
This commit is contained in:
parent
b7adce5cf3
commit
240bbf8226
|
@ -170,7 +170,7 @@ DISTGNOME = \
|
||||||
main-corba.o: main.c
|
main-corba.o: main.c
|
||||||
$(CC) -c -DHAVE_CORBA $(CPPFLAGS) $(DEFS) $(CFLAGS) $< -o main-corba.o
|
$(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
|
Makefile: Makefile.in ../config.status
|
||||||
(cd ..; CONFIG_FILES=gnome/Makefile CONFIG_HEADERS= ./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 \
|
sed -e 's^\@icondir\@^$(icondir)^g' < $(srcdir)/mc.metadata.in > mc.metadata.tmp \
|
||||||
&& mv mc.metadata.tmp mc.metadata
|
&& 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@:
|
@LIBVFS@:
|
||||||
cd ../vfs; $(MAKE) @LIBVFS@
|
cd ../vfs; $(MAKE) @LIBVFS@
|
||||||
@PCENTRULE@ -$(RMF) @LIBVFS@
|
@PCENTRULE@ -$(RMF) @LIBVFS@
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -6,10 +6,6 @@ regex: \.h$
|
||||||
type=x-application-gnome/c-source
|
type=x-application-gnome/c-source
|
||||||
icon-filename=@icondir@/h.xpm
|
icon-filename=@icondir@/h.xpm
|
||||||
|
|
||||||
regex: \.tiff$
|
|
||||||
type=image/tiff
|
|
||||||
icon-filename=@icondir@/tiff.xpm
|
|
||||||
|
|
||||||
regex: \.vcf$
|
regex: \.vcf$
|
||||||
type=x-application/vcf
|
type=x-application/vcf
|
||||||
icon-filename=@icondir@/calendar.xpm
|
icon-filename=@icondir@/calendar.xpm
|
||||||
|
@ -18,16 +14,9 @@ regex: \.(gz|Z|bz2)$
|
||||||
type=x-application/gzip
|
type=x-application/gzip
|
||||||
icon-filename=@icondir@/compressed.xpm
|
icon-filename=@icondir@/compressed.xpm
|
||||||
|
|
||||||
regex: \.gif$
|
|
||||||
type=image/gif
|
|
||||||
icon-filename=@icondir@/gif.xpm
|
|
||||||
|
|
||||||
regex: \.html$
|
regex: \.html$
|
||||||
icon-filename=@icondir@/html.xpm
|
icon-filename=@icondir@/html.xpm
|
||||||
|
|
||||||
regex: \.jpeg$
|
|
||||||
icon-filename=@icondir@/jpeg.xpm
|
|
||||||
|
|
||||||
regex: \.o$
|
regex: \.o$
|
||||||
icon-filename=@icondir@/o.xpm
|
icon-filename=@icondir@/o.xpm
|
||||||
|
|
||||||
|
|
|
@ -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 \
|
xbm.xpm xchess.xpm xfig.xpm xman.xpm xmosaic.xpm xpaint.xpm xpm.xpm \
|
||||||
zip.xpm zoo.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:
|
all:
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,25 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||||
#
|
#
|
||||||
|
|
||||||
DISTICONS = Makefile.in $(ALLICONS)
|
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:
|
all:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue