src/gtkaccount.c

changeset 10116
054b064145a1
parent 10014
f555af2d76a9
child 10159
5e8afc7db137
equal deleted inserted replaced
10115:e80d3b843c30 10116:054b064145a1
2007 2007
2008 buf = g_strdup_printf(_("Are you sure you want to delete %s?"), 2008 buf = g_strdup_printf(_("Are you sure you want to delete %s?"),
2009 gaim_account_get_username(account)); 2009 gaim_account_get_username(account));
2010 2010
2011 gaim_request_close_with_handle(account); 2011 gaim_request_close_with_handle(account);
2012 gaim_request_action(account, NULL, buf, NULL, 1, account, 2, 2012 gaim_request_action(account, NULL, buf, NULL, 0, account, 2,
2013 _("Delete"), delete_account_cb, 2013 _("Delete"), delete_account_cb,
2014 _("Cancel"), NULL); 2014 _("Cancel"), NULL);
2015 g_free(buf); 2015 g_free(buf);
2016 } 2016 }
2017 } 2017 }
2503 gaim_notify_info(NULL, NULL, _("Information"), buffer); 2503 gaim_notify_info(NULL, NULL, _("Information"), buffer);
2504 } 2504 }
2505 else 2505 else
2506 { 2506 {
2507 gaim_request_action(NULL, NULL, _("Add buddy to your list?"), 2507 gaim_request_action(NULL, NULL, _("Add buddy to your list?"),
2508 buffer, 0, data, 2, 2508 buffer, GAIM_DEFAULT_ACTION_NONE, data, 2,
2509 _("Add"), G_CALLBACK(add_user_cb), 2509 _("Add"), G_CALLBACK(add_user_cb),
2510 _("Cancel"), G_CALLBACK(free_add_user_data)); 2510 _("Cancel"), G_CALLBACK(free_add_user_data));
2511 } 2511 }
2512 2512
2513 g_free(buffer); 2513 g_free(buffer);

mercurial