comparison src/gtkutils.c @ 6430:5211873190ea

[gaim-migrate @ 6938] Actually, Etan pointed this out. The other thing doesn't even compile. Why would he point *that* out? committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 11 Aug 2003 19:56:57 +0000
parents bda4b264806a
children fb64cc87bc96
comparison
equal deleted inserted replaced
6429:bda4b264806a 6430:5211873190ea
667 hbox = gtk_hbox_new(FALSE, 4); 667 hbox = gtk_hbox_new(FALSE, 4);
668 gtk_container_add(GTK_CONTAINER(item), hbox); 668 gtk_container_add(GTK_CONTAINER(item), hbox);
669 gtk_widget_show(hbox); 669 gtk_widget_show(hbox);
670 670
671 /* Load the image. */ 671 /* Load the image. */
672 proto_name = prpl_info->list_icon(account, NULL); 672 proto_name = prpl_info->list_icon(NULL, NULL);
673 g_snprintf(buf, sizeof(buf), "%s.png", proto_name); 673 g_snprintf(buf, sizeof(buf), "%s.png", proto_name);
674 674
675 filename = g_build_filename(DATADIR, "pixmaps", "gaim", "status", 675 filename = g_build_filename(DATADIR, "pixmaps", "gaim", "status",
676 "default", buf, NULL); 676 "default", buf, NULL);
677 pixbuf = gdk_pixbuf_new_from_file(filename, NULL); 677 pixbuf = gdk_pixbuf_new_from_file(filename, NULL);
798 gtk_container_add(GTK_CONTAINER(item), hbox); 798 gtk_container_add(GTK_CONTAINER(item), hbox);
799 gtk_widget_show(hbox); 799 gtk_widget_show(hbox);
800 800
801 /* Load the image. */ 801 /* Load the image. */
802 if (prpl_info != NULL) { 802 if (prpl_info != NULL) {
803 proto_name = prpl_info->list_icon(NULL, NULL); 803 proto_name = prpl_info->list_icon(account, NULL);
804 g_snprintf(buf, sizeof(buf), "%s.png", proto_name); 804 g_snprintf(buf, sizeof(buf), "%s.png", proto_name);
805 805
806 filename = g_build_filename(DATADIR, "pixmaps", "gaim", "status", 806 filename = g_build_filename(DATADIR, "pixmaps", "gaim", "status",
807 "default", buf, NULL); 807 "default", buf, NULL);
808 pixbuf = gdk_pixbuf_new_from_file(filename, NULL); 808 pixbuf = gdk_pixbuf_new_from_file(filename, NULL);