On Sun, 2009-11-01 at 15:56 +0100, Guido Günther wrote:
> The actual reason here is thad docInfo.js only selects applications that
> claim to be able to handle URIs. Since glib (as of 2.20, see devhelp of
> GAppInfo) converts this to a local path anyway (when possible) this is
> not necessary especially not for local files. Attached patch drops that
> requirement local files.

Good catch! I like the patch. I would only use substring() instead of
match there: regex seems to be a bit too much for solving this simple
string comparison problem.

Do you want to update the patch with that and submit it upstream, or you
want me to forward it for you?

Thanks,


-- 
Gustavo Noronha Silva <[email protected]>
Collabora




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to