Fix codeview plugin to make it usable
Codeview plugin is intended to to show source code, but currently it has some problems to find source file.
Current status is: source file path is shown in main window, but it points to a relative path, so user can't view source code unless po file is in the same level of module's source code.
My idea is as follows:
1 - Add a new field to preferences dialog to set a "sources folder" (in my case, for example, it is $HOME/gnome) so user can set it to whatever he/she needs.
2 - Check if fullpath to current module (for example: $HOME/gnome/gtranslator) exists; if it doesnt just show the filename the current string belongs, without link (to avoid unnecesary clicks). If if exists, build fullpath and open it normally.
This is a very simple change (hardcoding the fullpath works perfectly).
If someone can take a look into it it would be great.
Thanks!