| 1231 g_return_if_fail(source != NULL); |
1231 g_return_if_fail(source != NULL); |
| 1232 g_return_if_fail(new_name != NULL); |
1232 g_return_if_fail(new_name != NULL); |
| 1233 |
1233 |
| 1234 text = g_strdup_printf( |
1234 text = g_strdup_printf( |
| 1235 _("You are about to merge the group called %s into the group " |
1235 _("You are about to merge the group called %s into the group " |
| 1236 "called %s. Do you want to continue?"), source->name, new_name); |
1236 "called %s. Do you want to continue?"), purple_group_get_name(source), new_name); |
| 1237 |
1237 |
| 1238 ggp = g_new(struct _PidginGroupMergeObject, 1); |
1238 ggp = g_new(struct _PidginGroupMergeObject, 1); |
| 1239 ggp->parent = source; |
1239 ggp->parent = source; |
| 1240 ggp->new_name = g_strdup(new_name); |
1240 ggp->new_name = g_strdup(new_name); |
| 1241 |
1241 |
| 1291 gchar *text; |
1291 gchar *text; |
| 1292 |
1292 |
| 1293 g_return_if_fail(group != NULL); |
1293 g_return_if_fail(group != NULL); |
| 1294 |
1294 |
| 1295 text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), |
1295 text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list. Do you want to continue?"), |
| 1296 group->name); |
1296 purple_group_get_name(group)); |
| 1297 |
1297 |
| 1298 purple_request_action(group, NULL, _("Remove Group"), text, 0, |
1298 purple_request_action(group, NULL, _("Remove Group"), text, 0, |
| 1299 NULL, NULL, NULL, |
1299 NULL, NULL, NULL, |
| 1300 group, 2, |
1300 group, 2, |
| 1301 _("_Remove Group"), G_CALLBACK(pidgin_dialogs_remove_group_cb), |
1301 _("_Remove Group"), G_CALLBACK(pidgin_dialogs_remove_group_cb), |