| 50 /* Grab the manager and get all the disabled accounts. */ |
50 /* Grab the manager and get all the disabled accounts. */ |
| 51 manager = purple_account_manager_get_default(); |
51 manager = purple_account_manager_get_default(); |
| 52 g_list_free(menu->accounts); |
52 g_list_free(menu->accounts); |
| 53 menu->accounts = purple_account_manager_get_disabled(manager); |
53 menu->accounts = purple_account_manager_get_disabled(manager); |
| 54 |
54 |
| 55 /* Similar to the aboved note about removed items, if every account is |
55 /* Similar to the above note about removed items, if every account is |
| 56 * enabled, we add an item saying "no disabled accounts". |
56 * enabled, we add an item saying "no disabled accounts". |
| 57 */ |
57 */ |
| 58 added = MAX(1, g_list_length(menu->accounts)); |
58 added = MAX(1, g_list_length(menu->accounts)); |
| 59 |
59 |
| 60 /* Tell any listeners that our menu has changed. */ |
60 /* Tell any listeners that our menu has changed. */ |