#include "bar.h"
#include "cache_maint.h"
+#include "collect.h"
#include "dnd.h"
#include "editors.h"
#include "img-view.h"
#include "uri_utils.h"
#include "view_file.h"
+
#include <gdk/gdkkeysyms.h> /* for keyboard values */
/* Index to tree store */
if (bevent->button == MOUSE_BUTTON_LEFT && bevent->type == GDK_2BUTTON_PRESS)
{
- if (vf->layout) layout_image_full_screen_start(vf->layout);
+ if (VFLIST(vf)->click_fd->format_class == FORMAT_CLASS_COLLECTION)
+ {
+ collection_window_new(VFLIST(vf)->click_fd->path);
+ }
+ else
+ {
+ if (vf->layout) layout_image_full_screen_start(vf->layout);
+ }
}
return FALSE;