compatibility for cinnamon 1.6, 1.8 and 2.0