From 55ef7ccc4b6b945f7bbcba982f04cc7df27b47ca Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 24 Jun 2010 15:24:16 +0200 Subject: Disable filelist saving from thumbnail mode (buggy and probably not useful) --- src/keyevents.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/keyevents.c b/src/keyevents.c index aa18d02..8937e91 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -336,7 +336,11 @@ void feh_event_handle_keypress(XEvent * ev) slideshow_save_image(winwid); break; case 'f': - feh_save_filelist(); + if ((winwid->type == WIN_TYPE_THUMBNAIL) + || (winwid->type == WIN_TYPE_THUMBNAIL_VIEWER)) + weprintf("Filelist saving is not supported in thumbnail mode\n"); + else + feh_save_filelist(); break; case 'w': winwidget_size_to_image(winwid); -- cgit v1.2.3