mirror of https://github.com/MidnightCommander/mc
Ticket #2895: add support of SVG images.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
d1779a895d
commit
30cdf01d05
|
@ -32,6 +32,9 @@ do_open_action() {
|
|||
xcf)
|
||||
(gimp "${MC_EXT_FILENAME}" &)
|
||||
;;
|
||||
svg)
|
||||
(inkscape "${MC_EXT_FILENAME}" &)
|
||||
;;
|
||||
*)
|
||||
if [ -n "$DISPLAY" ]; then
|
||||
(gqview "${MC_EXT_FILENAME}" &)
|
||||
|
|
|
@ -421,6 +421,10 @@ shell/.xpm
|
|||
shell/.ico
|
||||
Include=image
|
||||
|
||||
shell/i/.svg
|
||||
View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
|
||||
Open=@EXTHELPERSDIR@/image.sh open svg
|
||||
|
||||
include/image
|
||||
Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
|
||||
View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
|
||||
|
|
Loading…
Reference in New Issue