Skip to content
Snippets Groups Projects
Commit d14ca5e4 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Minor thumbnail action fixup

parent b467f5f0
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@ git HEAD
* New format specifier: %S (size in kB)
* The --index-{dim,name,size} options are no longer supported.
Use --index-info <string> with format specifiers instead
* The thumbnail index now supports actions on the currently selected
thumbnail (patch by Olof-Joachim Frahm)
Mon, 26 Sep 2011 09:35:41 +0200 Daniel Friesel <derf@finalrewind.org>
......
......@@ -353,12 +353,11 @@ void feh_event_invoke_action(winwidget winwid, unsigned char action)
if (thumbfile) {
feh_action_run(thumbfile, opt.actions[action]);
/* so, reload/regenerate the thumbnail here? */
if (!opt.hold_actions[action])
winwidget_destroy(winwid);
feh_thumbnail_mark_removed(thumbfile, 0);
}
else
fputs("no thumbnail selected\n", stderr);
weprintf("No thumbnail selected");
}
}
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment