| 1349 if(! purple_account_is_connected(acct)) return; |
1349 if(! purple_account_is_connected(acct)) return; |
| 1350 |
1350 |
| 1351 /* check if it's a NAB group for this account */ |
1351 /* check if it's a NAB group for this account */ |
| 1352 owner = purple_blist_node_get_string(node, GROUP_KEY_OWNER); |
1352 owner = purple_blist_node_get_string(node, GROUP_KEY_OWNER); |
| 1353 if(owner && purple_strequal(owner, purple_account_get_username(acct))) { |
1353 if(owner && purple_strequal(owner, purple_account_get_username(acct))) { |
| 1354 act = purple_menu_action_new(_("Get Notes Address Book Info"), |
1354 act = purple_action_menu_new(_("Get Notes Address Book Info"), |
| 1355 PURPLE_CALLBACK(blist_menu_nab), pd, NULL); |
1355 PURPLE_CALLBACK(blist_menu_nab), pd, NULL); |
| 1356 *menu = g_list_append(*menu, act); |
1356 *menu = g_list_append(*menu, act); |
| 1357 } |
1357 } |
| 1358 } |
1358 } |
| 1359 |
1359 |
| 3540 if(! PURPLE_IS_BUDDY(node)) |
3540 if(! PURPLE_IS_BUDDY(node)) |
| 3541 return l; |
3541 return l; |
| 3542 |
3542 |
| 3543 l = g_list_append(l, NULL); |
3543 l = g_list_append(l, NULL); |
| 3544 |
3544 |
| 3545 act = purple_menu_action_new(_("Invite to Conference..."), |
3545 act = purple_action_menu_new(_("Invite to Conference..."), |
| 3546 PURPLE_CALLBACK(blist_menu_conf), NULL, NULL); |
3546 PURPLE_CALLBACK(blist_menu_conf), NULL, NULL); |
| 3547 l = g_list_append(l, act); |
3547 l = g_list_append(l, act); |
| 3548 |
3548 |
| 3549 /** note: this never gets called for a PurpleGroup, have to use the |
3549 /** note: this never gets called for a PurpleGroup, have to use the |
| 3550 blist-node-extended-menu signal for that. The function |
3550 blist-node-extended-menu signal for that. The function |