comparison src/conversation.h @ 9627:8a540b8a5f70

[gaim-migrate @ 10471] A bug fix for away message tooltips and some more removing-gaim_notify_errors. Here's the thought: for errors associated with a buddy, check to see if there's already a window open for him, if so, print the error to the window and present the window to the user. If not, you can go ahead and gaim_notify_error. So, things like checking profiles in the buddy list might potentially print errors to conversations. I think this is good, but we'll try it out a bit. If it's really good, we won't even gaim_notify_error and instead create a new convo window just for the error. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 01 Aug 2004 00:31:45 +0000
parents fe35f55ee984
children 78022bad9367
comparison
equal deleted inserted replaced
9626:afd069368860 9627:8a540b8a5f70
999 void gaim_conv_im_write(GaimConvIm *im, const char *who, 999 void gaim_conv_im_write(GaimConvIm *im, const char *who,
1000 const char *message, GaimMessageFlags flags, 1000 const char *message, GaimMessageFlags flags,
1001 time_t mtime); 1001 time_t mtime);
1002 1002
1003 /** 1003 /**
1004 * Presents an IM-error to the user
1005 *
1006 * This is a helper function to find a conversation, write an error to it, and
1007 * raise the window. If a conversation with this user doesn't already exist,
1008 * the function will return FALSE and the calling function can attempt to present
1009 * the error another way (gaim_notify_error, most likely)
1010 *
1011 * @param who The user this error is about
1012 * @param account The account this error is on
1013 * @param what The error
1014 * @return TRUE if the error was presented, else FALSE
1015 */
1016 gboolean gaim_conv_present_error(const char *who, GaimAccount *account, const char *what);
1017
1018 /**
1004 * Sends a message to this IM conversation. 1019 * Sends a message to this IM conversation.
1005 * 1020 *
1006 * @param im The IM. 1021 * @param im The IM.
1007 * @param message The message to send. 1022 * @param message The message to send.
1008 */ 1023 */