Mercurial > pidgin.yaz
comparison src/protocols/oscar/oscar.c @ 8697:725413cc9fb9
[gaim-migrate @ 9450]
WYSIWYG info editing from Jon Oberheide
We need separate gc flags for conversation HTML and
user info HTML, or something. It seems like there
should be a better way to do that...
Hint hint wink wink nudge nudge
I kick your foot, under the table
You kick me back, I can't say I'm able
To stand for you, or fall for you
Ever again
I wish for, a perfect setting
Wishing that I'm letting you take me
Where you want me, all over again
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 18 Apr 2004 06:22:42 +0000 |
parents | e72824b84285 |
children | ddd2bf87fe8d |
comparison
equal
deleted
inserted
replaced
8696:aebfa2b6af6b | 8697:725413cc9fb9 |
---|---|
2556 } | 2556 } |
2557 } | 2557 } |
2558 | 2558 |
2559 static void gaim_auth_request_msgprompt(struct name_data *data) { | 2559 static void gaim_auth_request_msgprompt(struct name_data *data) { |
2560 gaim_request_input(data->gc, NULL, _("Authorization Request Message:"), | 2560 gaim_request_input(data->gc, NULL, _("Authorization Request Message:"), |
2561 NULL, _("Please authorize me!"), TRUE, FALSE, | 2561 NULL, _("Please authorize me!"), TRUE, FALSE, NULL, |
2562 _("OK"), G_CALLBACK(gaim_auth_request), | 2562 _("OK"), G_CALLBACK(gaim_auth_request), |
2563 _("Cancel"), G_CALLBACK(oscar_free_name_data), | 2563 _("Cancel"), G_CALLBACK(oscar_free_name_data), |
2564 data); | 2564 data); |
2565 } | 2565 } |
2566 | 2566 |
2637 } | 2637 } |
2638 } | 2638 } |
2639 | 2639 |
2640 static void gaim_auth_dontgrant_msgprompt(struct name_data *data) { | 2640 static void gaim_auth_dontgrant_msgprompt(struct name_data *data) { |
2641 gaim_request_input(data->gc, NULL, _("Authorization Denied Message:"), | 2641 gaim_request_input(data->gc, NULL, _("Authorization Denied Message:"), |
2642 NULL, _("No reason given."), TRUE, FALSE, | 2642 NULL, _("No reason given."), TRUE, FALSE, NULL, |
2643 _("OK"), G_CALLBACK(gaim_auth_dontgrant), | 2643 _("OK"), G_CALLBACK(gaim_auth_dontgrant), |
2644 _("Cancel"), G_CALLBACK(oscar_free_name_data), | 2644 _("Cancel"), G_CALLBACK(oscar_free_name_data), |
2645 data); | 2645 data); |
2646 } | 2646 } |
2647 | 2647 |
6442 data->gc = gc; | 6442 data->gc = gc; |
6443 data->name = g_strdup(name); | 6443 data->name = g_strdup(name); |
6444 data->nick = NULL; | 6444 data->nick = NULL; |
6445 | 6445 |
6446 gaim_request_input(gc, NULL, _("Buddy Comment:"), NULL, | 6446 gaim_request_input(gc, NULL, _("Buddy Comment:"), NULL, |
6447 comment_utf8, TRUE, FALSE, | 6447 comment_utf8, TRUE, FALSE, NULL, |
6448 _("OK"), G_CALLBACK(oscar_ssi_editcomment), | 6448 _("OK"), G_CALLBACK(oscar_ssi_editcomment), |
6449 _("Cancel"), G_CALLBACK(oscar_free_name_data), | 6449 _("Cancel"), G_CALLBACK(oscar_free_name_data), |
6450 data); | 6450 data); |
6451 | 6451 |
6452 free(comment); | 6452 free(comment); |
6538 } | 6538 } |
6539 | 6539 |
6540 static void oscar_show_format_screenname(GaimConnection *gc) | 6540 static void oscar_show_format_screenname(GaimConnection *gc) |
6541 { | 6541 { |
6542 gaim_request_input(gc, NULL, _("New screen name formatting:"), NULL, | 6542 gaim_request_input(gc, NULL, _("New screen name formatting:"), NULL, |
6543 gaim_connection_get_display_name(gc), FALSE, FALSE, | 6543 gaim_connection_get_display_name(gc), FALSE, FALSE, NULL, |
6544 _("OK"), G_CALLBACK(oscar_format_screenname), | 6544 _("OK"), G_CALLBACK(oscar_format_screenname), |
6545 _("Cancel"), NULL, | 6545 _("Cancel"), NULL, |
6546 gc); | 6546 gc); |
6547 } | 6547 } |
6548 | 6548 |
6587 } | 6587 } |
6588 | 6588 |
6589 static void oscar_show_change_email(GaimConnection *gc) | 6589 static void oscar_show_change_email(GaimConnection *gc) |
6590 { | 6590 { |
6591 gaim_request_input(gc, NULL, _("Change Address To:"), NULL, NULL, | 6591 gaim_request_input(gc, NULL, _("Change Address To:"), NULL, NULL, |
6592 FALSE, FALSE, | 6592 FALSE, FALSE, NULL, |
6593 _("OK"), G_CALLBACK(oscar_change_email), | 6593 _("OK"), G_CALLBACK(oscar_change_email), |
6594 _("Cancel"), NULL, | 6594 _("Cancel"), NULL, |
6595 gc); | 6595 gc); |
6596 } | 6596 } |
6597 | 6597 |
6652 { | 6652 { |
6653 gaim_request_input(gc, _("Find Buddy by E-mail"), | 6653 gaim_request_input(gc, _("Find Buddy by E-mail"), |
6654 _("Search for a buddy by e-mail address"), | 6654 _("Search for a buddy by e-mail address"), |
6655 _("Type the e-mail address of the buddy you are " | 6655 _("Type the e-mail address of the buddy you are " |
6656 "searching for."), | 6656 "searching for."), |
6657 NULL, FALSE, FALSE, | 6657 NULL, FALSE, FALSE, NULL, |
6658 _("Search"), G_CALLBACK(search_by_email_cb), | 6658 _("Search"), G_CALLBACK(search_by_email_cb), |
6659 _("Cancel"), NULL, gc); | 6659 _("Cancel"), NULL, gc); |
6660 } | 6660 } |
6661 | 6661 |
6662 #if 0 | 6662 #if 0 |
6669 | 6669 |
6670 static void oscar_show_setavailmsg(GaimConnection *gc) | 6670 static void oscar_show_setavailmsg(GaimConnection *gc) |
6671 { | 6671 { |
6672 gaim_request_input(gc, NULL, _("Available Message:"), NULL, | 6672 gaim_request_input(gc, NULL, _("Available Message:"), NULL, |
6673 _("I'm doing work and hoping for a distraction--IM me!"), | 6673 _("I'm doing work and hoping for a distraction--IM me!"), |
6674 TRUE, FALSE, | 6674 TRUE, FALSE, NULL, |
6675 _("OK"), G_CALLBACK(oscar_setavailmsg), | 6675 _("OK"), G_CALLBACK(oscar_setavailmsg), |
6676 _("Cancel"), NULL, | 6676 _("Cancel"), NULL, |
6677 gc); | 6677 gc); |
6678 } | 6678 } |
6679 #endif | 6679 #endif |