comparison pidgin/gtkblist.c @ 19873:91c35a2c2705

Stringing log windows
author Gabriel Schulhof <nix@go-nix.ca>
date Fri, 17 Aug 2007 22:30:52 +0000
parents 94a2128d139e
children 9474223e534b
comparison
equal deleted inserted replaced
19872:dd5e6f06be8f 19873:91c35a2c2705
499 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_find_prpl(purple_account_get_protocol_id(account))); 499 prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(purple_find_prpl(purple_account_get_protocol_id(account)));
500 if (prpl_info && prpl_info->get_chat_name) { 500 if (prpl_info && prpl_info->get_chat_name) {
501 name = prpl_info->get_chat_name(c->components); 501 name = prpl_info->get_chat_name(c->components);
502 } 502 }
503 } else if (PURPLE_BLIST_NODE_IS_CONTACT(node)) { 503 } else if (PURPLE_BLIST_NODE_IS_CONTACT(node)) {
504 pidgin_log_show_contact((PurpleContact *)node); 504 pidgin_log_show_contact(GTK_WINDOW(gtkblist->window), (PurpleContact *)node);
505 pidgin_clear_cursor(gtkblist->window); 505 pidgin_clear_cursor(gtkblist->window);
506 return; 506 return;
507 } else { 507 } else {
508 pidgin_clear_cursor(gtkblist->window); 508 pidgin_clear_cursor(gtkblist->window);
509 509
511 * that doesn't match the type of one of the blocks above. */ 511 * that doesn't match the type of one of the blocks above. */
512 g_return_if_reached(); 512 g_return_if_reached();
513 } 513 }
514 514
515 if (name && account) { 515 if (name && account) {
516 pidgin_log_show(type, name, account); 516 pidgin_log_show(GTK_WINDOW(gtkblist->window), type, name, account);
517 g_free(name); 517 g_free(name);
518 518
519 pidgin_clear_cursor(gtkblist->window); 519 pidgin_clear_cursor(gtkblist->window);
520 } 520 }
521 } 521 }