Fix bug with gnome > 2.9.X