Mercurial > pidgin.yaz
view plugins/perl/common/Connection.xs @ 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 | 6deef41364bd |
children | 134d0001983d |
line wrap: on
line source
#include "module.h" MODULE = Gaim::Connection PACKAGE = Gaim::Connection PREFIX = gaim_connection_ PROTOTYPES: ENABLE void gaim_connection_set_display_name(gc, name) Gaim::Connection gc const char *name Gaim::Account gaim_connection_get_account(gc) Gaim::Connection gc const char * gaim_connection_get_display_name(gc) Gaim::Connection gc MODULE = Gaim::Connections PACKAGE = Gaim::Connections PREFIX = gaim_connections_ PROTOTYPES: ENABLE void gaim_connections_disconnect_all() void * handle() CODE: RETVAL = gaim_connections_get_handle(); OUTPUT: RETVAL MODULE = Gaim::Connection PACKAGE = Gaim void connections() PREINIT: GList *l; PPCODE: for (l = gaim_connections_get_all(); l != NULL; l = l->next) XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Connection")));