comparison src/away.c @ 1545:34a5a436d04d

[gaim-migrate @ 1555] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 08 Mar 2001 07:57:03 +0000
parents 0b6e4d52de63
children 427e1409917c
comparison
equal deleted inserted replaced
1544:f7bef430ccd1 1545:34a5a436d04d
367 while (con) { 367 while (con) {
368 char buf[256]; 368 char buf[256];
369 GList *msgs, *tmp; 369 GList *msgs, *tmp;
370 gc = con->data; 370 gc = con->data;
371 371
372 if (!gc->prpl->away_states || !gc->prpl->set_away) 372 if (!gc->prpl->away_states || !gc->prpl->set_away) {
373 con = con->next;
373 continue; 374 continue;
375 }
374 376
375 g_snprintf(buf, sizeof(buf), "%s (%s)", 377 g_snprintf(buf, sizeof(buf), "%s (%s)",
376 gc->username, (*gc->prpl->name)()); 378 gc->username, (*gc->prpl->name)());
377 menuitem = gtk_menu_item_new_with_label(buf); 379 menuitem = gtk_menu_item_new_with_label(buf);
378 gtk_menu_append(GTK_MENU(awaymenu), menuitem); 380 gtk_menu_append(GTK_MENU(awaymenu), menuitem);