comparison src/gtkutils.c @ 9899:8651abf08dd5

[gaim-migrate @ 10790] Use gaim_account_get_protocol_name() in 2 more places committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 28 Aug 2004 13:54:55 +0000
parents 4a15962c344a
children 0cb20555b3ab
comparison
equal deleted inserted replaced
9898:8974a8544279 9899:8651abf08dd5
585 585
586 gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0); 586 gtk_box_pack_start(GTK_BOX(hbox), image, FALSE, FALSE, 0);
587 gtk_widget_show(image); 587 gtk_widget_show(image);
588 588
589 g_snprintf(buf, sizeof(buf), "%s (%s)", 589 g_snprintf(buf, sizeof(buf), "%s (%s)",
590 gaim_account_get_username(account), 590 gaim_account_get_username(account),
591 (plugin != NULL) ? plugin->info->name : _("Unknown")); 591 gaim_account_get_protocol_name(account));
592 592
593 /* Create the label. */ 593 /* Create the label. */
594 label = gtk_label_new(buf); 594 label = gtk_label_new(buf);
595 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); 595 gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT);
596 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); 596 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5);