comparison src/server.c @ 11975:aadf61b30056

[gaim-migrate @ 14268] 1. Fix the I'dle Mak'er plugin 2. Show a friendly "none of your accounts are idle" message in the I'dle Mak'er plugin when attempting to unidle your accounts and none of them are idle 3. HIGify the capitalization of the I'dle Mak'er menu items 4. i18n system log "signed on" and "signed off" messages 5. Log when your accounts become idle and unidle 6. Add default saved statuses if the user has no saved statuses 7. Removed serv_set_idle(). Use gaim_presence_set_idle() instead. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 04 Nov 2005 19:15:05 +0000
parents d2db6426c88a
children e67993da8a22
comparison
equal deleted inserted replaced
11974:2ff2965895f3 11975:aadf61b30056
321 */ 321 */
322 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_permit_deny) 322 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_permit_deny)
323 prpl_info->set_permit_deny(g); 323 prpl_info->set_permit_deny(g);
324 } 324 }
325 325
326
327 void serv_set_idle(GaimConnection *g, int time)
328 {
329 GaimPluginProtocolInfo *prpl_info = NULL;
330
331 if (g != NULL && g->prpl != NULL)
332 prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(g->prpl);
333
334 if (prpl_info && g_list_find(gaim_connections_get_all(), g) && prpl_info->set_idle)
335 prpl_info->set_idle(g, time);
336 }
337
338
339 void serv_join_chat(GaimConnection *g, GHashTable *data) 326 void serv_join_chat(GaimConnection *g, GHashTable *data)
340 { 327 {
341 GaimPluginProtocolInfo *prpl_info = NULL; 328 GaimPluginProtocolInfo *prpl_info = NULL;
342 329
343 if (g != NULL && g->prpl != NULL) 330 if (g != NULL && g->prpl != NULL)