comparison src/gtkutils.h @ 8962:4ff4c34b7500

[gaim-migrate @ 9736] IM Image, WYSIWYG. It's still somewhat buggy, although the worse problems are with oscar's direct connect. We could always yank oscar's im image flag if we think it will cause too many bug reports. I made the GaimImgstore struct opque. I modified oscar's sending function to parse im images better, and everything seems to work. I made it write some errors to the conversation if you try to send an image and you aren't direct connected. That's just a hack until you can set formatting flags on a per conversation bases. There's a scrolling bug I haven't tracked down. I think it may exist normally and this just causes it better. It's worth noting jabber also uses this for pics in profiles, although I never did find a test case. Hopefully some other stuff can use this soon too, maybe Yahoo! pics in profiles or something. committer: Tailor Script <tailor@pidgin.im>
author Tim Ringenbach <marv@pidgin.im>
date Mon, 17 May 2004 06:47:20 +0000
parents b875f5d57b81
children 44a5bfa4730b
comparison
equal deleted inserted replaced
8961:92e061a1db10 8962:4ff4c34b7500
267 * @return TRUE if given path is a directory, FALSE otherwise. 267 * @return TRUE if given path is a directory, FALSE otherwise.
268 */ 268 */
269 gboolean gaim_gtk_check_if_dir(const char *path, GtkFileSelection *filesel); 269 gboolean gaim_gtk_check_if_dir(const char *path, GtkFileSelection *filesel);
270 270
271 /** 271 /**
272 * Parses a message to find \<IMG\> tags with valid ID attributes that
273 * refer to images in Gaim's image store, and load them into a list
274 * of GdkPixbufs. Image tags with missing ID paramaters, or those that
275 * refer to images that are not in the store will have a corresponding
276 * NULL entry on the list.
277 *
278 * @param message The message to parse for image tags.
279 * @param list A pointer to the GSList of GdkPixbufs that will be created.
280 */
281 void gaim_gtk_find_images(const char *message, GSList **list);
282
283 /**
284 * Sets up GtkSpell for the given GtkTextView, reporting errors 272 * Sets up GtkSpell for the given GtkTextView, reporting errors
285 * if encountered. 273 * if encountered.
286 * 274 *
287 * This does nothing if Gaim is not compiled with GtkSpell support. 275 * This does nothing if Gaim is not compiled with GtkSpell support.
288 * 276 *