Added compatibility with Gnome 3.4