Set document title when using gedit plugin.