Mercurial > geeqie.yaz
diff src/view_file.c @ 1632:1f3bf4a631df
added mark filter to menu - now it is possible to assign hotkeys
| author | nadvornik |
|---|---|
| date | Sat, 06 Jun 2009 22:51:55 +0000 |
| parents | 7bfa9fd0cd93 |
| children | b45f0ab6367f |
line wrap: on
line diff
--- a/src/view_file.c Sat Jun 06 19:39:46 2009 +0000 +++ b/src/view_file.c Sat Jun 06 22:51:55 2009 +0000 @@ -711,6 +711,13 @@ return frame; } +void vf_mark_filter_toggle(ViewFile *vf, gint mark) +{ + gint n = mark - 1; + gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(vf->filter_check[n]), + !gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(vf->filter_check[n]))); +} + ViewFile *vf_new(FileViewType type, FileData *dir_fd) { ViewFile *vf;
