summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-10-02 20:47:06 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-10-02 20:47:06 +0200
commitd14ca5e4eabfb7f12a33fecb343854a09f937201 (patch)
treef1e1b135be82781a34121625c5a2ab40f64d2c02
parentb467f5f01ce15f24f786cc10dc3fc543d44871dd (diff)
Minor thumbnail action fixup
-rw-r--r--ChangeLog2
-rw-r--r--src/keyevents.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b07c47c..5871729 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/src/keyevents.c b/src/keyevents.c
index 64194da..05f1f5b 100644
--- a/src/keyevents.c
+++ b/src/keyevents.c
@@ -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;