comparison src/buddy.c @ 4412:8067614e49e4

[gaim-migrate @ 4685] Gtk2ification. Thanks, Ari. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sat, 25 Jan 2003 23:00:32 +0000
parents 4e5446a7131f
children 04d2e57b22c5
comparison
equal deleted inserted replaced
4411:2ad81729c049 4412:8067614e49e4
2223 char tmp[1024]; 2223 char tmp[1024];
2224 g_snprintf(tmp, sizeof(tmp), _("%s logged in."), 2224 g_snprintf(tmp, sizeof(tmp), _("%s logged in."),
2225 get_buddy_alias(b)); 2225 get_buddy_alias(b));
2226 gaim_conversation_write(c, NULL, tmp, -1, 2226 gaim_conversation_write(c, NULL, tmp, -1,
2227 WFLAG_SYSTEM, time(NULL)); 2227 WFLAG_SYSTEM, time(NULL));
2228 } else if (clistqueue && find_queue_total_by_name(b->name)) { 2228 } else if (awayqueue && find_queue_total_by_name(b->name)) {
2229 struct queued_message *qm = g_new0(struct queued_message, 1); 2229 struct queued_message *qm = g_new0(struct queued_message, 1);
2230 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name); 2230 g_snprintf(qm->name, sizeof(qm->name), "%s", b->name);
2231 qm->message = g_strdup_printf(_("%s logged in."), 2231 qm->message = g_strdup_printf(_("%s logged in."),
2232 get_buddy_alias(b)); 2232 get_buddy_alias(b));
2233 qm->gc = gc; 2233 qm->gc = gc;
2285 char tmp[1024]; 2285 char tmp[1024];
2286 g_snprintf(tmp, sizeof(tmp), _("%s logged out."), 2286 g_snprintf(tmp, sizeof(tmp), _("%s logged out."),
2287 get_buddy_alias(b)); 2287 get_buddy_alias(b));
2288 gaim_conversation_write(c, NULL, tmp, -1, 2288 gaim_conversation_write(c, NULL, tmp, -1,
2289 WFLAG_SYSTEM, time(NULL)); 2289 WFLAG_SYSTEM, time(NULL));
2290 } else if (clistqueue && find_queue_total_by_name(b->name)) { 2290 } else if (awayqueue && find_queue_total_by_name(b->name)) {
2291 struct queued_message *qm = g_new0(struct queued_message, 1); 2291 struct queued_message *qm = g_new0(struct queued_message, 1);
2292 g_snprintf(qm->name, sizeof(qm->name), "%s", 2292 g_snprintf(qm->name, sizeof(qm->name), "%s",
2293 get_buddy_alias(b)); 2293 get_buddy_alias(b));
2294 qm->message = g_strdup_printf(_("%s logged out."), 2294 qm->message = g_strdup_printf(_("%s logged out."),
2295 get_buddy_alias(b)); 2295 get_buddy_alias(b));