GResources sounds like a very good idea, but I also proposed in the other post, that the paths, instead of being constants generated by prefix during ./configure, are completely replaced in all of the source code, with GetDataPath() function, and then you just add that function in some central place, and it uses $PATH-like loginc to test few paths according to priority:

  1. path specified by the prefix (current), if not found then
  2. path relative to user's home folder ($HOME), if still not then
  3. path relative to the folder of the executable (argv[0])

Also, optionally, an environmental variable could also be tested in that function and give, for example highest priority.

Conceptually it feels sound to me, and if Geany source code is fairly well structured, or if someone knows it well, should be an easy task as well.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.