use commonly shared location for Adium styles

Bug #433414 reported by Matěj Cepl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pidgin-WebKit
New
Undecided
Unassigned

Bug Description

As far as I know there are three IM open source clients supporting Adium theme
styles: kopete, empathy, and pidgin with pidgin-webkit plugin (I think there
are some less known ones, but I don't know about them exactly). It would be
awfully nice if all of them used one location for these styles, so that exactly
same styles don't have to be on the disk multiple times.

Currently it seems that these clients look for styles at

kopete ... $PREFIX/kde4/apps/kopete/styles
empathy ... $PREFIX/share/adium/message-styles
pidgin-webkit ... $PREFIX/share/purple/message_styles

(and its $HOME and /usr/local equivalents, at least kopete and empathy should
be able to look in all three locations).

It seems to me that from these the Empathy location looks like the most
sensible and the least program-specific one, so I would suggest it to be
central location for Adium compatible styles.

Would it be possible that your program would also look for (in addition to your
current location) for Adium compatible styles in (in this order)
/usr/local/share/adium/message-styles, /usr/share/adium/message-styles and
$HOME/.local/share//adium/message-styles ?

Thank you

Revision history for this message
Xavier Claessens (zdra) wrote :

Note that Empathy uses standard XDG locations for the $PREFIX. I search in $XDG_DATA_HOME and $XDG_DATA_DIRS. You can get those dirs using g_get_user_data_dir() and g_get_system_data_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.