Mercurial > hg > forks > geeqie
changeset 2503:91954495cca3
Addl fix #436: Add 'Losslessly rotate image' keyboard shortcuts
https://github.com/BestImageViewer/geeqie/issues/436
author | Colin Clark <colin.clark@cclark.uk> |
---|---|
date | Fri, 16 Jun 2017 09:45:57 +0100 |
parents | 728c2b544eec |
children | 130acea2daa0 |
files | src/layout_util.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout_util.c Wed Jun 14 19:26:03 2017 +0100 +++ b/src/layout_util.c Fri Jun 16 09:45:57 2017 +0100 @@ -2737,11 +2737,11 @@ gtk_action_set_sensitive(action, lw->split_mode != SPLIT_NONE); action = gtk_action_group_get_action(lw->action_group, "WriteRotation"); - gtk_action_set_sensitive(action, !(runcmd("which exiftran >null") || - runcmd("which mogrify >null") || options->metadata.write_orientation)); + gtk_action_set_sensitive(action, !(runcmd("which exiftran >/dev/null") || + runcmd("which mogrify >/dev/null") || options->metadata.write_orientation)); action = gtk_action_group_get_action(lw->action_group, "WriteRotationKeepDate"); - gtk_action_set_sensitive(action, !(runcmd("which exiftran >null") || - runcmd("which mogrify >null") || options->metadata.write_orientation)); + gtk_action_set_sensitive(action, !(runcmd("which exiftran >/dev/null") || + runcmd("which mogrify >/dev/null") || options->metadata.write_orientation)); action = gtk_action_group_get_action(lw->action_group, "StereoAuto"); gtk_radio_action_set_current_value(GTK_RADIO_ACTION(action), layout_image_stereo_pixbuf_get(lw));