make it works on 3.10.2.1
support for gnome 3.12

Signed-off-by: xiehuc <xiehuc@gmail.com>