Mercurial > geeqie.yaz
diff src/view_file.c @ 601:93c6dc4c537b
Add a way to invert the current selection.
An item labeled "Invert selection" was added to the Select submenu
in the main menu.
author | zas_ |
---|---|
date | Wed, 07 May 2008 22:48:30 +0000 |
parents | 3da75054d4e1 |
children | 6e9413e92be5 |
line wrap: on
line diff
--- a/src/view_file.c Tue May 06 23:58:08 2008 +0000 +++ b/src/view_file.c Wed May 07 22:48:30 2008 +0000 @@ -222,6 +222,15 @@ } } +void vf_select_invert(ViewFile *vf) +{ + switch(vf->type) + { + case FILEVIEW_LIST: vflist_select_invert(vf); break; + case FILEVIEW_ICON: vficon_select_invert(vf); break; + } +} + void vf_select_by_fd(ViewFile *vf, FileData *fd) { switch(vf->type)