Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 6035:8c44020a958e
[gaim-migrate @ 6485]
gaim_request_input() now takes a masked bool, which, if enabled, masks the
text on the entry field so that it cannot be seen. Good for password input
requests, and what do you know, that's why this is written!
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 05 Jul 2003 21:54:19 +0000 |
parents | 38999b6b1838 |
children | 4543f56f6fc3 |
comparison
equal
deleted
inserted
replaced
6034:5a0060191a77 | 6035:8c44020a958e |
---|---|
2432 } | 2432 } |
2433 } | 2433 } |
2434 | 2434 |
2435 static void gaim_auth_request_msgprompt(struct name_data *data) { | 2435 static void gaim_auth_request_msgprompt(struct name_data *data) { |
2436 gaim_request_input(data->gc, NULL, _("Authorization Request Message:"), | 2436 gaim_request_input(data->gc, NULL, _("Authorization Request Message:"), |
2437 NULL, _("Please authorize me!"), TRUE, | 2437 NULL, _("Please authorize me!"), TRUE, FALSE, |
2438 _("OK"), G_CALLBACK(gaim_auth_request), | 2438 _("OK"), G_CALLBACK(gaim_auth_request), |
2439 _("Cancel"), G_CALLBACK(oscar_free_name_data), | 2439 _("Cancel"), G_CALLBACK(oscar_free_name_data), |
2440 data); | 2440 data); |
2441 } | 2441 } |
2442 | 2442 |
2512 } | 2512 } |
2513 } | 2513 } |
2514 | 2514 |
2515 static void gaim_auth_dontgrant_msgprompt(struct name_data *data) { | 2515 static void gaim_auth_dontgrant_msgprompt(struct name_data *data) { |
2516 gaim_request_input(data->gc, NULL, _("Authorization Denied Message:"), | 2516 gaim_request_input(data->gc, NULL, _("Authorization Denied Message:"), |
2517 NULL, _("No reason given."), TRUE, | 2517 NULL, _("No reason given."), TRUE, FALSE, |
2518 _("OK"), G_CALLBACK(gaim_auth_dontgrant), | 2518 _("OK"), G_CALLBACK(gaim_auth_dontgrant), |
2519 _("Cancel"), G_CALLBACK(oscar_free_name_data), | 2519 _("Cancel"), G_CALLBACK(oscar_free_name_data), |
2520 data); | 2520 data); |
2521 } | 2521 } |
2522 | 2522 |
5924 } | 5924 } |
5925 | 5925 |
5926 static void oscar_show_format_screenname(GaimConnection *gc) | 5926 static void oscar_show_format_screenname(GaimConnection *gc) |
5927 { | 5927 { |
5928 gaim_request_input(gc, NULL, _("New screenname formatting:"), NULL, | 5928 gaim_request_input(gc, NULL, _("New screenname formatting:"), NULL, |
5929 gaim_connection_get_display_name(gc), FALSE, | 5929 gaim_connection_get_display_name(gc), FALSE, FALSE, |
5930 _("OK"), G_CALLBACK(oscar_format_screenname), | 5930 _("OK"), G_CALLBACK(oscar_format_screenname), |
5931 _("Cancel"), NULL, | 5931 _("Cancel"), NULL, |
5932 gc); | 5932 gc); |
5933 } | 5933 } |
5934 | 5934 |
5972 } | 5972 } |
5973 } | 5973 } |
5974 | 5974 |
5975 static void oscar_show_change_email(GaimConnection *gc) | 5975 static void oscar_show_change_email(GaimConnection *gc) |
5976 { | 5976 { |
5977 gaim_request_input(gc, NULL, _("Change Address To:"), NULL, NULL, FALSE, | 5977 gaim_request_input(gc, NULL, _("Change Address To:"), NULL, NULL, |
5978 FALSE, FALSE, | |
5978 _("OK"), G_CALLBACK(oscar_change_email), | 5979 _("OK"), G_CALLBACK(oscar_change_email), |
5979 _("Cancel"), NULL, | 5980 _("Cancel"), NULL, |
5980 gc); | 5981 gc); |
5981 } | 5982 } |
5982 | 5983 |
6032 } | 6033 } |
6033 | 6034 |
6034 static void oscar_show_setavailmsg(GaimConnection *gc) | 6035 static void oscar_show_setavailmsg(GaimConnection *gc) |
6035 { | 6036 { |
6036 gaim_request_input(gc, NULL, _("Available Message:"), | 6037 gaim_request_input(gc, NULL, _("Available Message:"), |
6037 NULL, _("Please talk to me, I'm lonely! (and single)"), TRUE, | 6038 NULL, _("Please talk to me, I'm lonely! (and single)"), TRUE, FALSE, |
6038 _("OK"), G_CALLBACK(oscar_setavailmsg), | 6039 _("OK"), G_CALLBACK(oscar_setavailmsg), |
6039 _("Cancel"), NULL, | 6040 _("Cancel"), NULL, |
6040 gc); | 6041 gc); |
6041 } | 6042 } |
6042 #endif | 6043 #endif |