Add compatibility with Gnome 3.10
Merge pull request #1 from Anthony25/master

Add compatibility with Gnome 3.10