btw, it solve the bug http://bugzilla.gnome.org/show_bug.cgi?id=325312 ,but it's not generalized enough to solve the http://bugzilla.gnome.org/show_bug.cgi?id=165645is it useful to post the patch on bugzilla ?