[Pidgin] #15348: Share account picture between different OSes
Pidgin
trac at pidgin.im
Sun Oct 7 20:53:12 EDT 2012
#15348: Share account picture between different OSes
-------------------------+-----------------------
Reporter: renatosilva | Owner:
Type: patch | Status: new
Milestone: | Component: libpurple
Version: 2.10.6 | Keywords:
-------------------------+-----------------------
This simple patch allows one to share their account picture between
operating systems with different path rules, such as Windows and Unixes.
This is because when you save your account picture, Pidgin stores its full
absolute path, so for example Windows does not recognize
{{{/home/user/me.png}}} and Linux does not recognize
{{{C:/Users/User/Pictures/Me.png}}}. Also, {{{g_file_get_contents}}}
[http://www.gtk.org/api/2.6/glib/glib-File-Utilities.html#g-file-get-
contents|seems to only deal with absolute paths].
After patching, Pidgin will search for the path indicated by
{{{buddyicon}}} configuration also within purple profile, in case loading
as is fails, allowing users to set this option with paths relative to
purple profile. Even if the operating system does not support forward
slashes, users can still store picture in profile's root. It is needed to
edit {{{prefs.xml}}} manually to remove absolute part from path, but I
think it is reasonable already.
--
Ticket URL: <https://developer.pidgin.im/ticket/15348>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list