comparison plugins/docklet/docklet.c @ 10104:60db14d54914

[gaim-migrate @ 11131] "This patch that makes received-im-msg and received-chat-msg signals correspond with each other. My motivation was to add flags to received-chat-msg, but I also added conv to received-im-msg to make the signals match each other." -- Nathan Fredrickson (noif) I also updated the receiving-im-msg and receiving-chat-msg signals to match. Now I can finally reject patch 909745 with "this should be a plugin", which I've wanted to be able to say for a while. Yay :) committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 16 Oct 2004 15:07:22 +0000
parents 2e225cd35615
children 23e101b522f1
comparison
equal deleted inserted replaced
10103:a9521c791afe 10104:60db14d54914
424 /* we only support global away. this is the way it is, ok? */ 424 /* we only support global away. this is the way it is, ok? */
425 docklet_update_status(); 425 docklet_update_status();
426 } 426 }
427 427
428 static gboolean 428 static gboolean
429 gaim_conv_im_recv(GaimAccount *account, char *sender, 429 gaim_conv_im_recv(GaimAccount *account, char *sender, char *message,
430 char *message, int flags, void *data) 430 GaimConversation *conv, int flags, void *data)
431 { 431 {
432 /* if message queuing while away is enabled, this event could be the first 432 /* if message queuing while away is enabled, this event could be the first
433 message so we need to see if the status (and hence icon) needs changing. 433 message so we need to see if the status (and hence icon) needs changing.
434 do this when idle so that all message processing is completed, queuing 434 do this when idle so that all message processing is completed, queuing
435 etc, before we run. */ 435 etc, before we run. */