Update of bug #13040 (project mypaint):

                  Status:                    Wish => In Progress            
             Assigned to:                  lukacu => achadwick              
         Planned Release:                   0.8.0 => None                   

    _______________________________________________________

Follow-up Comment #14:

Reassigning to myself. I think we should support XDG as much as possible, and
store our data {brushes, backgrounds, palettes} under $XDG_DATA_HOME as well.
However we should support existing user configurations that store configs and
user data in $HOME/.config by testing for its existence and using that, with a
warning. For new installations, only the new locations would be used.

These can be got at cleanly via glib: glib.get_user_data_dir() and
glib.get_user_config_dir(). These paths are the same on Windows, but different
on POSIX+XDG systems. I think using those would give on POSIX systems:


Old                      New
-----------------        --------------------------------------
~/.config/brushes        $XDG_DATA_HOME/mypaint/brushes
~/.config/backgrounds    $XDG_DATA_HOME/mypaint/backgrounds
~/.config/settings.json  $XDG_CONFIG_HOME/mypaint/settings.json


For Windows, everything should be the same as it is now according to the glib
docs:


Old                                          New (identical!)
-------------------------------------       
------------------------------------
%CSIDL_LOCAL_APPDATA%mypaintbrushes       
%CSIDL_LOCAL_APPDATA%mypaintbrushes
%CSIDL_LOCAL_APPDATA%mypaintbackgrounds   
%CSIDL_LOCAL_APPDATA%mypaintbackgrounds
%CSIDL_LOCAL_APPDATA%mypaintsettings.json 
%CSIDL_LOCAL_APPDATA%mypaintsettings.json



    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13040>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to