@jazzynico - You're welcome. Actually it was my first time looking at a c++ dev and messing arround with gdb on the command line and that was fun :)
I wasn't aware that inkscape could open urls directly from the command line... and I now understand why there was a local/distant distinction in the code. My patch indeed breaks that feature (just tested).
As you pointed out, he best move would be to go for gvfs but I guess this is a rather big change in the code base involving quite a few test.
I think there is an elegant way to quickfix this by concatenating the good method to the gnome_vfs_uri string (i.e. file:/path/to/file.svgz#gzip). I was trying to test that but I need to increase my skills level in cpp ;) I'll come back if I succeed !
@jazzynico - You're welcome. Actually it was my first time looking at a c++ dev and messing arround with gdb on the command line and that was fun :)
I wasn't aware that inkscape could open urls directly from the command line... and I now understand why there was a local/distant distinction in the code. My patch indeed breaks that feature (just tested).
As you pointed out, he best move would be to go for gvfs but I guess this is a rather big change in the code base involving quite a few test.
I think there is an elegant way to quickfix this by concatenating the good method to the gnome_vfs_uri string (i.e. file:/path/ to/file. svgz#gzip) . I was trying to test that but I need to increase my skills level in cpp ;) I'll come back if I succeed !