[views/gallery] fix selector ambig?ity (likely introduced by cw 3.15), closes #2517078

authorGuillermo Jair P?rez
changeset944709726157
branchdefault
phasepublic
hiddenno
parent revision#4048d532e82e [views/gallery] cw 3.15 compat (closes #2502739)
child revision#538ffca05761 prepare 1.13
files modified by this revision
views/gallery.py
# HG changeset patch
# User Guillermo Jair Pérez
# Date 1352972609 -3600
# Thu Nov 15 10:43:29 2012 +0100
# Node ID 94470972615766abd74b77e62be8a2e33f17a516
# Parent 4048d532e82e2351a384eff05544f4b7478d71f8
[views/gallery] fix selector ambigüity (likely introduced by cw 3.15), closes #2517078

diff --git a/views/gallery.py b/views/gallery.py
@@ -94,6 +94,6 @@
1          self.w(self._make_cell(row, col))
2 
3 
4  class ImageAdaptedView(AlbumView):
5      __regid__ = 'sameetypelist'
6 -    __select__ = has_mimetype('image/')
7 +    __select__ = has_mimetype('image/') & adaptable('IImage')