Mercurial > pidgin.yaz
comparison src/gtkstatusselector.c @ 10495:d51f8280b507
[gaim-migrate @ 11786]
I didn't mean to leave these in
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 09 Jan 2005 17:47:59 +0000 |
parents | 58ab47ed31bf |
children | 1a97d5e88d12 |
comparison
equal
deleted
inserted
replaced
10494:93dab54c7bb6 | 10495:d51f8280b507 |
---|---|
631 | 631 |
632 acct_options[gaim_status_type_get_primitive(status_type)] = account; | 632 acct_options[gaim_status_type_get_primitive(status_type)] = account; |
633 } | 633 } |
634 | 634 |
635 for(i=0; i<GAIM_STATUS_NUM_PRIMITIVES; i++) { | 635 for(i=0; i<GAIM_STATUS_NUM_PRIMITIVES; i++) { |
636 gaim_debug_misc("gtkstatusselector", "account=%p, acct_options[%d]=%p\n", account, i, acct_options[i]); | |
637 if(acct_options[i] == account) | 636 if(acct_options[i] == account) |
638 options[i]++; | 637 options[i]++; |
639 } | 638 } |
640 } | 639 } |
641 | 640 |
642 for(i=0; i<GAIM_STATUS_NUM_PRIMITIVES; i++) { | 641 for(i=0; i<GAIM_STATUS_NUM_PRIMITIVES; i++) { |
643 gaim_debug_misc("gtkstatusselector", "%s has %d accounts\n", gaim_primitive_get_name_from_type(i), options[i]); | |
644 if(options[i] == num_accounts) { | 642 if(options[i] == num_accounts) { |
645 char *filename = g_strdup_printf("%s.png", gaim_primitive_get_id_from_type(i)); | 643 char *filename = g_strdup_printf("%s.png", gaim_primitive_get_id_from_type(i)); |
646 add_item(selector, gaim_primitive_get_id_from_type(i), gaim_primitive_get_name_from_type(i), load_icon(filename)); | 644 add_item(selector, gaim_primitive_get_id_from_type(i), gaim_primitive_get_name_from_type(i), load_icon(filename)); |
647 g_free(filename); | 645 g_free(filename); |
648 } | 646 } |