I've made the remmina user data dir (~/.remmina or ~/.local/share/remmina) a global variable, to avoid to call continuously the same code in all the function where is needed.
@giox069 can you please validate and if it's fine merge it? Thx
XDG - make remmina user data dir global
remmina user datadir returned by remmina_file_get_user_datadir
Merge branch 'next' into xdgimprovements
worng test on dir, made it always TRUE
I merge this, should be fine. @weberhofer I'd like also your feedback. Let me know if it gives trouble with OpenSuse. Thanks in advance.
Builds nicely and works. Thanks!