Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 7080:fc9c74cfb306
[gaim-migrate @ 7645]
Removed show_set_dir() and replaced show_find_email() in oscar.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 30 Sep 2003 22:41:02 +0000 |
parents | 71e0da45abe6 |
children | 25a616f16b6c |
comparison
equal
deleted
inserted
replaced
7079:5a45833dd253 | 7080:fc9c74cfb306 |
---|---|
6248 "right-clicking on them and selecting " | 6248 "right-clicking on them and selecting " |
6249 "\"Re-request Authorization.\""), text, NULL, NULL); | 6249 "\"Re-request Authorization.\""), text, NULL, NULL); |
6250 g_free(text); | 6250 g_free(text); |
6251 } | 6251 } |
6252 | 6252 |
6253 static void search_by_email_cb(GaimConnection *gc, const char *email) | |
6254 { | |
6255 serv_dir_search(gc, "", "", "", "", "", "", "", email); | |
6256 } | |
6257 | |
6258 static void oscar_show_find_email(GaimConnection *gc) | |
6259 { | |
6260 gaim_request_input(gc, _("Find Buddy by E-mail"), | |
6261 _("Search for a buddy by e-mail address"), | |
6262 _("Type the e-mail address of the buddy you are " | |
6263 "searching for."), | |
6264 NULL, FALSE, FALSE, | |
6265 _("Search"), G_CALLBACK(search_by_email_cb), | |
6266 _("Cancel"), NULL, gc); | |
6267 } | |
6268 | |
6253 #if 0 | 6269 #if 0 |
6254 static void oscar_setavailmsg(GaimConnection *gc, char *text) { | 6270 static void oscar_setavailmsg(GaimConnection *gc, char *text) { |
6255 struct oscar_data *od = (struct oscar_data *)gc->proto_data; | 6271 struct oscar_data *od = (struct oscar_data *)gc->proto_data; |
6256 | 6272 |
6257 aim_srv_setavailmsg(od->sess, text); | 6273 aim_srv_setavailmsg(od->sess, text); |
6404 | 6420 |
6405 m = g_list_append(m, NULL); | 6421 m = g_list_append(m, NULL); |
6406 | 6422 |
6407 pam = g_new0(struct proto_actions_menu, 1); | 6423 pam = g_new0(struct proto_actions_menu, 1); |
6408 pam->label = _("Search for Buddy by Email"); | 6424 pam->label = _("Search for Buddy by Email"); |
6409 pam->callback = show_find_email; | 6425 pam->callback = oscar_show_find_email; |
6410 pam->gc = gc; | 6426 pam->gc = gc; |
6411 m = g_list_append(m, pam); | 6427 m = g_list_append(m, pam); |
6412 | 6428 |
6413 /* pam = g_new0(struct proto_actions_menu, 1); | 6429 /* pam = g_new0(struct proto_actions_menu, 1); |
6414 pam->label = _("Search for Buddy by Information"); | 6430 pam->label = _("Search for Buddy by Information"); |