mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-22 03:02:06 +03:00
WEEE! Updated Mime Stuff bindings inthe Midnight Commander now
This commit is contained in:
parent
e52a2125fa
commit
32d4527d2b
@ -1258,6 +1258,7 @@ doc/Makefile
|
||||
vfs/Makefile:vfs/Make-mc.in
|
||||
lib/Makefile
|
||||
gnome/Makefile
|
||||
gnome/mc.keys.in
|
||||
idl/Makefile
|
||||
src/Makefile
|
||||
slang/Makefile
|
||||
|
@ -164,10 +164,11 @@ $(CORBA_SOURCES): $(CORBA_GENERATED)
|
||||
|
||||
FileManager-impl.c: FileManager.h
|
||||
|
||||
EXTRA_DIST = gnome.TODO layout gmc.gnorba mc.keys.in.in
|
||||
|
||||
DISTGNOME = \
|
||||
Makefile.in gnome.TODO layout gmc.gnorba \
|
||||
$(PIXMAPS) $(ICONS) $(GNOMESRCS) $(GNOMEHDRS) \
|
||||
$(CORBA_SOURCES)
|
||||
Makefile.in $(EXTRA_DIST) $(CORBA_SOURCES) \
|
||||
$(PIXMAPS) $(ICONS) $(GNOMESRCS) $(GNOMEHDRS)
|
||||
|
||||
.c.o:
|
||||
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<
|
||||
@ -202,6 +203,9 @@ mc.keys: mc.keys.in Makefile
|
||||
sed -e 's^\@icondir\@^$(icondir)^g' < $(srcdir)/mc.keys.in > mc.keys.tmp \
|
||||
&& mv mc.keys.tmp mc.keys
|
||||
|
||||
mc.keys.in: mc.keys.in.in Makefile.in ../config.status
|
||||
(cd ..; CONFIG_FILES=gnome/mc.keys.in CONFIG_HEADERS= ./config.status)
|
||||
|
||||
@LIBVFS@:
|
||||
cd ../vfs; $(MAKE) @LIBVFS@
|
||||
@PCENTRULE@ -$(RMF) @LIBVFS@
|
||||
|
@ -458,7 +458,6 @@ panel_file_list_select_row (GtkWidget *file_list, int row, int column, GdkEvent
|
||||
{
|
||||
int current_selection = panel->selected;
|
||||
|
||||
printf ("Selecting %d %p, %d\n", row, event, event ? event->type : -1);
|
||||
if (!event) {
|
||||
internal_select_item (file_list, panel, row);
|
||||
return;
|
||||
@ -466,7 +465,6 @@ panel_file_list_select_row (GtkWidget *file_list, int row, int column, GdkEvent
|
||||
|
||||
switch (event->type) {
|
||||
case GDK_BUTTON_RELEASE:
|
||||
printf ("1\n");
|
||||
gtk_clist_unselect_row (CLIST_FROM_SW (panel->list), row, 0);
|
||||
internal_select_item (file_list, panel, row);
|
||||
|
||||
|
@ -1,90 +0,0 @@
|
||||
text/c:
|
||||
icon-filename=@icondir@/c.xpm
|
||||
|
||||
text/h:
|
||||
icon-filename=@icondir@/h.xpm
|
||||
|
||||
text/C++:
|
||||
icon-filename=@icondir@/cc.xpm
|
||||
|
||||
application/x-bzip:
|
||||
icon-filename=@icondir@/compressed.xpm
|
||||
|
||||
application/x-gzip:
|
||||
icon-filename=@icondir@/compressed.xpm
|
||||
|
||||
application/zip:
|
||||
icon-filename=@icondir@/zip.xpm
|
||||
|
||||
application/x-tex:
|
||||
icon-filename=@icondir@/tex.xpm
|
||||
|
||||
application/postscript:
|
||||
icon-filename=@icondir@/postscript.xpm
|
||||
|
||||
audio/*:
|
||||
icon-filename=@icondir@/sound.xpm
|
||||
|
||||
text/html:
|
||||
icon-filename=@icondir@/html.xpm
|
||||
|
||||
application/vcard:
|
||||
icon-filename=@icondir@/calendar.xpm
|
||||
|
||||
application/x-troff-man:
|
||||
icon-filename=@icondir@/man.xpm
|
||||
|
||||
image/x-bmp:
|
||||
icon-filename=@icondir@/gnome-image-bmp.png
|
||||
|
||||
image/gif:
|
||||
icon-filename=@icondir@/gnome-image-gif.png
|
||||
|
||||
image/jpeg:
|
||||
icon-filename=@icondir@/gnome-image-jpeg.png
|
||||
|
||||
|
||||
image/ief:
|
||||
icon-filename=@icondir@/gnome-image-ief.png
|
||||
|
||||
image/x-portable-bitmap:
|
||||
icon-filename=@icondir@/gnome-image-pbm.png
|
||||
|
||||
image/x-portable-graymap:
|
||||
icon-filename=@icondir@/gnome-image-pgm.png
|
||||
|
||||
image/x-png:
|
||||
icon-filename=@icondir@/gnome-image-png.png
|
||||
|
||||
image/x-portable-anymap:
|
||||
icon-filename=@icondir@/gnome-image-pnm.png
|
||||
|
||||
image/x-portable-pixmap:
|
||||
icon-filename=@icondir@/gnome-image-ppm.png
|
||||
|
||||
image/x-cmu-raster:
|
||||
icon-filename=@icondir@/gnome-image-ras.png
|
||||
|
||||
image/x-rgb:
|
||||
icon-filename=@icondir@/gnome-image-rgb.png
|
||||
|
||||
image/x-tga:
|
||||
icon-filename=@icondir@/gnome-image-tga.png
|
||||
|
||||
image/tiff:
|
||||
icon-filename=@icondir@/gnome-image-tiff.png
|
||||
|
||||
image/x-xbitmap:
|
||||
icon-filename=@icondir@/gnome-image-xbm.png
|
||||
|
||||
image/x-xpixmap:
|
||||
icon-filename=@icondir@/gnome-image-xpm.png
|
||||
|
||||
image/x-xwindowdump:
|
||||
icon-filename=@icondir@/gnome-image-xwd.png
|
||||
|
||||
image/*:
|
||||
open=ee %f
|
||||
icon-filename=@icondir@/gnome-image-generic.png
|
||||
open.edit.Edit=%f
|
||||
[es]open.edit.Edita=%f
|
189
gnome/mc.keys.in.in
Normal file
189
gnome/mc.keys.in.in
Normal file
@ -0,0 +1,189 @@
|
||||
|
||||
text/*:
|
||||
fm-view=%view{ascii}
|
||||
|
||||
text/c:
|
||||
icon-filename=@icondir@/c.xpm
|
||||
|
||||
text/C++:
|
||||
icon-filename=@icondir@/cc.xpm
|
||||
|
||||
application/x-compressed-tar
|
||||
fm-open=%cd %p#utar
|
||||
fm-view=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
|
||||
|
||||
application/x-bzip:
|
||||
icon-filename=@icondir@/compressed.xpm
|
||||
fm-view=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
|
||||
open.extract.Extract=bzip2 -dc %f 2>/dev/null | tar xf -
|
||||
|
||||
application/x-tar:
|
||||
fm-open=%cd %p#utar
|
||||
fm-view=%view{ascii} tar tvvf %f
|
||||
open.extract.Extract=tar xf %f
|
||||
|
||||
application/x-rpm:
|
||||
fm-open=%cd %p#rpm
|
||||
open.install.Install this RPM=rpm -i %f
|
||||
open.upgrade.Upgrade this RPM=rpm -U %f
|
||||
|
||||
application/x-deb:
|
||||
fm-open=%cd %p#deb
|
||||
fm-view=%view{ascii} dpkg-deb -c %f
|
||||
|
||||
application/zip:
|
||||
icon-filename=@icondir@/zip.xpm
|
||||
fm-open=%cd %p#uzip
|
||||
fm-view=%view{ascii} unzip -v %f
|
||||
open.extract.Extract=unzip %f
|
||||
open.extractf.Extract with flags=I=%{Enter any Unzip flags:}; if test -n "$I"; then unzip $I %f; fi
|
||||
|
||||
application/x-zoo:
|
||||
fm-open=%cd %p#uzoo
|
||||
fm-view=%view{ascii} zoo l %f
|
||||
open.extract.Extract=zoo x %f '*'
|
||||
|
||||
application/x-lha:
|
||||
fm-open=%cd %p#ulha
|
||||
fm-view=%view{ascii} lharc l %f
|
||||
open.extract.Extract=lharc x %f '*'
|
||||
open.extractf.Extract (with flags)=I=%{Enter any LHarc flags:}; if test -n "$I"; then lharc x $I %f; fi
|
||||
|
||||
application/x-arj:
|
||||
fm-open=%cd %p#uarj
|
||||
fm-view=%view{ascii} unarj l %f
|
||||
open.extract.Extract=unarj x %f '*'
|
||||
open.extractf.Extract (with flags)=I=%{Enter any Unarj flags:}; if test -n "$I"; then unarj x $I %f; fi
|
||||
|
||||
application/x-unix-archive:
|
||||
fm-open=%cd %p#uar
|
||||
fm-view=%view{ascii} nm %f
|
||||
|
||||
application/x-object-file:
|
||||
open=%view{hex} %f
|
||||
|
||||
application/x-dvi:
|
||||
open=xdvi %f
|
||||
view=xdvi %f
|
||||
open.convert.Convert file to Postscript=dvips %f
|
||||
|
||||
application/x-text:
|
||||
open.tex."TeX this file"=tex %f
|
||||
flags.tex.flags=needsterminal
|
||||
open.latex."LaTeX this file"=latex %f
|
||||
flags.latex.flags=needsterminal
|
||||
|
||||
application/x-gnu-rmail:
|
||||
open=emacs %f
|
||||
|
||||
archive/
|
||||
application/x-gzip:
|
||||
icon-filename=@icondir@/compressed.xpm
|
||||
|
||||
application/x-tex:
|
||||
icon-filename=@icondir@/tex.xpm
|
||||
|
||||
application/postscript:
|
||||
open=gv %f
|
||||
icon-filename=@icondir@/postscript.xpm
|
||||
|
||||
application/x-object-file:
|
||||
icon-filename=@icondir@/o.xpm
|
||||
|
||||
application/x-shared-library:
|
||||
fm-view=%view{hex}
|
||||
|
||||
application/x-cpio-compressed:
|
||||
fm-open=%cd %d/%p#ucpio/
|
||||
fm-view=%view{ascii} gzip -dc '%f' | cpio -ictv
|
||||
|
||||
application/x-cpio:
|
||||
fm-open=%cd %d/%p#ucpio/
|
||||
fm-view=%view{ascii} cat %f | cpio -ictv
|
||||
|
||||
audio/*:
|
||||
icon-filename=@icondir@/sound.xpm
|
||||
open.x11amp.Use x11amp to play this=x11amp %f
|
||||
open.mpeg.Play with mpeg_play=mpeg_play %f
|
||||
open.mpg123.Open with mpg123=mpg123 %f
|
||||
|
||||
application/pdf:
|
||||
open=xpdf %f
|
||||
|
||||
audio/x-mp3:
|
||||
open=mpg123 %f
|
||||
|
||||
text/html:
|
||||
icon-filename=@icondir@/html.xpm
|
||||
open.netscape.View this file with Netscape=gnome-moz-remote %f
|
||||
|
||||
application/vcard:
|
||||
icon-filename=@icondir@/calendar.xpm
|
||||
|
||||
application/x-troff-man:
|
||||
icon-filename=@icondir@/man.xpm
|
||||
fm-view=%view{ascii,nroff} nroff @TROFFASCII@ @MANDOC@ %f
|
||||
|
||||
application/x-troff-man-compressed:
|
||||
fm-view=%view{ascii,nroff} gunzip -dc %f | nroff @TROFFASCII@ @MANDOC@
|
||||
|
||||
application/x-troff-ms:
|
||||
fm-view=%view{ascii,nroff} nroff @TROFFASCII@ -ms %f
|
||||
|
||||
application/x-troff-me:
|
||||
fm-view=%view{ascii,nroff} nroff @TROFFASCII@ -me %f
|
||||
|
||||
image/x-bmp:
|
||||
icon-filename=@icondir@/gnome-image-bmp.png
|
||||
|
||||
image/gif:
|
||||
icon-filename=@icondir@/gnome-image-gif.png
|
||||
|
||||
image/jpeg:
|
||||
icon-filename=@icondir@/gnome-image-jpeg.png
|
||||
|
||||
|
||||
image/ief:
|
||||
icon-filename=@icondir@/gnome-image-ief.png
|
||||
|
||||
image/x-portable-bitmap:
|
||||
icon-filename=@icondir@/gnome-image-pbm.png
|
||||
|
||||
image/x-portable-graymap:
|
||||
icon-filename=@icondir@/gnome-image-pgm.png
|
||||
|
||||
image/x-png:
|
||||
icon-filename=@icondir@/gnome-image-png.png
|
||||
|
||||
image/x-portable-anymap:
|
||||
icon-filename=@icondir@/gnome-image-pnm.png
|
||||
|
||||
image/x-portable-pixmap:
|
||||
icon-filename=@icondir@/gnome-image-ppm.png
|
||||
|
||||
image/x-cmu-raster:
|
||||
icon-filename=@icondir@/gnome-image-ras.png
|
||||
|
||||
image/x-rgb:
|
||||
icon-filename=@icondir@/gnome-image-rgb.png
|
||||
|
||||
image/x-tga:
|
||||
icon-filename=@icondir@/gnome-image-tga.png
|
||||
|
||||
image/tiff:
|
||||
icon-filename=@icondir@/gnome-image-tiff.png
|
||||
|
||||
image/x-xbitmap:
|
||||
icon-filename=@icondir@/gnome-image-xbm.png
|
||||
|
||||
image/x-xpixmap:
|
||||
icon-filename=@icondir@/gnome-image-xpm.png
|
||||
|
||||
image/x-xwindowdump:
|
||||
icon-filename=@icondir@/gnome-image-xwd.png
|
||||
|
||||
image/*:
|
||||
icon-filename=@icondir@/gnome-image-generic.png
|
||||
|
||||
text.*:
|
||||
icon-filename=@icondir@/text.xpm
|
@ -36,7 +36,7 @@ ALLICONS = a.xpm application.xpm binary.xpm bitmap.xpm blackhole.xpm \
|
||||
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
|
||||
postscript.xpm tex.xpm text.xpm
|
||||
|
||||
all:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user