|
From: SourceForge.net <no...@so...> - 2005-06-24 18:07:19
|
Patches item #1226701, was opened at 2005-06-23 20:43 Message generated for change (Comment added) made by datallah You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1226701&group_id=235 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None >Group: None Status: Open Resolution: None Priority: 5 Submitted By: Duarte Henriques (maxcow) Assigned to: Nobody/Anonymous (nobody) Summary: API addition: get_prpl_icon_uri Initial Comment: I made a plugin for old_status (don't know about HEAD) and needed to get the filename of a prpl icon. Gaim has this: gtkblist.c::gaim_gtk_create_prpl_icon() which returns a GdkPixbuf and is obviously GTK+ specific. So, I think that a function like this should be added: static gchar *get_prpl_icon_uri(GaimAccount *account); perhaps in prpl.h, and gaim_gtk_create_prpl_icon be made to use that. possible implementation attached. ---------------------------------------------------------------------- >Comment By: Daniel Atallah (datallah) Date: 2005-06-24 13:07 Message: Logged In: YES user_id=325843 Moved to patch tracker. Ideally, what needs to happen is to create a pixmap search path, (or possibly alternatively, relative to where plugins are installed to), then you can just search for the image name and retrieve the most appropriate match. This actually isn't even necessary per se, since you can effectively determine the information from inside your plugin (guifications does this). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1226701&group_id=235 |