pidgin/gtkutils.c

changeset 35850
1abeda205d6c
parent 35825
4c1e8623b7c7
child 35856
1777950ff49f
equal deleted inserted replaced
35849:77efee65c5f4 35850:1abeda205d6c
632 * Status icons will be themeable too, and then it will look up 632 * Status icons will be themeable too, and then it will look up
633 * protoname from the theme 633 * protoname from the theme
634 */ 634 */
635 tmp = g_strconcat(protoname, ".png", NULL); 635 tmp = g_strconcat(protoname, ".png", NULL);
636 636
637 filename = g_build_filename(DATADIR, "pixmaps", "pidgin", "protocols", 637 filename = g_build_filename(PURPLE_DATADIR,
638 size == PIDGIN_PRPL_ICON_SMALL ? "16" : 638 "pixmaps", "pidgin", "protocols",
639 size == PIDGIN_PRPL_ICON_MEDIUM ? "22" : "48", 639 (size == PIDGIN_PRPL_ICON_SMALL) ? "16" :
640 tmp, NULL); 640 ((size == PIDGIN_PRPL_ICON_MEDIUM) ? "22" : "48"),
641 tmp, NULL);
641 g_free(tmp); 642 g_free(tmp);
642 643
643 pixbuf = pidgin_pixbuf_new_from_file(filename); 644 pixbuf = pidgin_pixbuf_new_from_file(filename);
644 g_free(filename); 645 g_free(filename);
645 646

mercurial