Mercurial > geeqie
diff src/editors.c @ 1229:878718372aca
sidecar files grouping was made case-insensitive
added possibility to use macros %raw, %image, %meta in extensions lists
author | nadvornik |
---|---|
date | Fri, 02 Jan 2009 09:26:23 +0000 |
parents | 0bea79d87065 |
children | e0e12512cde2 |
line wrap: on
line diff
--- a/src/editors.c Sat Dec 27 22:53:07 2008 +0000 +++ b/src/editors.c Fri Jan 02 09:26:23 2009 +0000 @@ -56,14 +56,14 @@ static Editor editor_slot_defaults[GQ_EDITOR_SLOTS] = { - { N_("The Gimp"), "gimp-remote %{.cr2;.crw;.nef;.raw;*}f" }, + { N_("The Gimp"), "gimp-remote %{%raw;*}f" }, { N_("XV"), "xv %f" }, { N_("Xpaint"), "xpaint %f" }, - { N_("UFraw"), "ufraw %{.cr2;.crw;.nef;.raw}p" }, - { N_("Add XMP sidecar"), "%vFILE=%{.cr2;.crw;.nef;.raw}p;XMP=`echo \"$FILE\"|sed -e 's|\\.[^.]*$|.xmp|'`; exiftool -tagsfromfile \"$FILE\" \"$XMP\"" }, + { N_("UFraw"), "ufraw %{%raw}p" }, { N_("Symlink"), "ln -s %p %d"}, { NULL, NULL }, { NULL, NULL }, + { NULL, NULL }, { N_("Rotate jpeg clockwise"), "%vif jpegtran -rotate 90 -copy all -outfile %{.jpg;.jpeg}p_tmp %{.jpg;.jpeg}p; then mv %{.jpg;.jpeg}p_tmp %{.jpg;.jpeg}p;else rm %{.jpg;.jpeg}p_tmp;fi" }, { N_("Rotate jpeg counterclockwise"), "%vif jpegtran -rotate 270 -copy all -outfile %{.jpg;.jpeg}p_tmp %{.jpg;.jpeg}p; then mv %{.jpg;.jpeg}p_tmp %{.jpg;.jpeg}p;else rm %{.jpg;.jpeg}p_tmp;fi" }, /* special slots */