summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-24 15:24:16 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-24 15:24:16 +0200
commit55ef7ccc4b6b945f7bbcba982f04cc7df27b47ca (patch)
tree18292430d9c9d418da5146e99d121b845b830ca0 /src
parent1662b73a5d9705030e31ae8aa1b48e9e064ce7e7 (diff)
Disable filelist saving from thumbnail mode (buggy and probably not useful)
Diffstat (limited to 'src')
-rw-r--r--src/keyevents.c6
1 files changed, 5 insertions, 1 deletions
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);