comparison src/gtkdialogs.c @ 9917:e74eb0d11f86

[gaim-migrate @ 10809] view chat logs curtesy of datallah committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 31 Aug 2004 01:45:12 +0000
parents 3547fd2af609
children c203312d8224
comparison
equal deleted inserted replaced
9916:4d17a945aab3 9917:e74eb0d11f86
538 account = gaim_request_fields_get_account(fields, "account"); 538 account = gaim_request_fields_get_account(fields, "account");
539 539
540 username = g_strdup(gaim_normalize(account, 540 username = g_strdup(gaim_normalize(account,
541 gaim_request_fields_get_string(fields, "screenname"))); 541 gaim_request_fields_get_string(fields, "screenname")));
542 542
543 if( username != NULL && *username != '\0' && account != NULL ) 543 if(username != NULL && *username != '\0' && account != NULL )
544 gaim_gtk_log_show( username, account ); 544 gaim_gtk_log_show(GAIM_LOG_IM, username, account);
545 545
546 g_free(username); 546 g_free(username);
547 } 547 }
548 548
549 /* XXX this needs to deal with logs of all types, not just IM logs */
549 void 550 void
550 gaim_gtkdialogs_log(void) 551 gaim_gtkdialogs_log(void)
551 { 552 {
552 GaimRequestFields *fields; 553 GaimRequestFields *fields;
553 GaimRequestFieldGroup *group; 554 GaimRequestFieldGroup *group;