Fix bug 1097315.
Merge pull request #126 from koddsson/gallery-select

[Fix bug 1097315] Add gallery select when working with events