Awn

AWN xdg standards implement

Bug #656737 reported by jarryson
This bug report is a duplicate of:  Bug #565174: AWN doesn't respect XDG_* settings. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn
New
Undecided
Unassigned

Bug Description

AWN will store its icon theme to ~/.icons witch it not match fd.o. gtk already support $XDG_DATA_HOME/icons.

and in task_icon_dest_drag_data_received() in taskicon.c, use a wrong way to find $XDG_CONFIG_HOME.

            launcher_dir = g_strdup_printf ("%s/.config/awn/launchers",
                                              g_get_home_dir ());

should use g_get_user_config_dir().

PS: isn't it better to use g_build_filename instead of g_strdup_printf?

Revision history for this message
jarryson (jarryson) wrote :
Revision history for this message
moonbeam (rcryderman) wrote :

Thanks for the patch. No argument about g_build_filename(), if you feel like resubmitting the patch using that function I'd accept it.

Revision history for this message
moonbeam (rcryderman) wrote :

mhr3, or others...

Anyone know the status of the rest of awn components (awn settings, applets that store local data etc) wrt to using g_get_user_config_dir()?

Revision history for this message
Michal Hruby (mhr3) wrote :

I remember malept had a branch which tried to fix these issues, but I don't know how much it is (un-)finished... https://code.launchpad.net/~malept/awn/0.4.0-xdg-dirs

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.