Ticket #2895: add support of SVG images.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-09-23 10:53:32 +04:00
parent d1779a895d
commit 30cdf01d05
2 changed files with 7 additions and 0 deletions

View File

@ -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}" &)

View File

@ -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