Remove gnome-shell < 3.10 specific code
Add compatibility for 3.11 and 3.12