Re: [Viking-devel] Relative paths (Was: Viking 1.5 Released)

2013-11-09 Thread Robert Norris
What about simply modifying the code that compute the path of a file to open from a .vik file? For example, using g_path_is_absolutehttps://developer.gnome.org/glib/2.37/glib-Miscellaneous-Utility-Functions.html#g-path-is-absolute to decide if the path is absolute or not and concat the dirname

[Viking-devel] Relative paths (Was: Viking 1.5 Released)

2013-11-07 Thread Guilhem Bonnefille
2013/10/29 Robert Norris rw_nor...@hotmail.com Then to support relative paths, change to the directory when opening a .vik file but then simply return to the previous working directory (which it does not do ATM) so there no unintentional side effects. I think/feel that playing with current