Mercurial > pidgin
comparison src/gtkdialogs.c @ 10668:aafe8f30b826
[gaim-migrate @ 12208]
Richard Laager again.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 07 Mar 2005 19:12:15 +0000 |
parents | 2e720df50861 |
children | 4cfc6bebeb5f |
comparison
equal
deleted
inserted
replaced
10667:51ea57c36056 | 10668:aafe8f30b826 |
---|---|
449 fields = gaim_request_fields_new(); | 449 fields = gaim_request_fields_new(); |
450 | 450 |
451 group = gaim_request_field_group_new(NULL); | 451 group = gaim_request_field_group_new(NULL); |
452 gaim_request_fields_add_group(fields, group); | 452 gaim_request_fields_add_group(fields, group); |
453 | 453 |
454 field = gaim_request_field_string_new("screenname", _("_Screen name"), | 454 field = gaim_request_field_string_new("screenname", _("_Name"), NULL, FALSE); |
455 NULL, FALSE); | 455 gaim_request_field_set_type_hint(field, "screenname"); |
456 gaim_request_field_set_required(field, TRUE); | 456 gaim_request_field_set_required(field, TRUE); |
457 gaim_request_field_set_type_hint(field, "screenname"); | |
458 gaim_request_field_group_add_field(group, field); | 457 gaim_request_field_group_add_field(group, field); |
459 | 458 |
460 field = gaim_request_field_account_new("account", _("_Account"), NULL); | 459 field = gaim_request_field_account_new("account", _("_Account"), NULL); |
461 gaim_request_field_set_visible(field, | 460 gaim_request_field_set_visible(field, |
462 (gaim_connections_get_all() != NULL && | 461 (gaim_connections_get_all() != NULL && |
464 gaim_request_field_set_required(field, TRUE); | 463 gaim_request_field_set_required(field, TRUE); |
465 gaim_request_field_group_add_field(group, field); | 464 gaim_request_field_group_add_field(group, field); |
466 | 465 |
467 gaim_request_fields(gaim_get_blist(), _("New Instant Message"), | 466 gaim_request_fields(gaim_get_blist(), _("New Instant Message"), |
468 NULL, | 467 NULL, |
469 _("Please enter the screen name of the person you " | 468 _("Please enter the screen name or alias of the person " |
470 "would like to IM."), | 469 "you would like to IM."), |
471 fields, | 470 fields, |
472 _("OK"), G_CALLBACK(gaim_gtkdialogs_im_cb), | 471 _("OK"), G_CALLBACK(gaim_gtkdialogs_im_cb), |
473 _("Cancel"), NULL, | 472 _("Cancel"), NULL, |
474 NULL); | 473 NULL); |
475 } | 474 } |
592 fields = gaim_request_fields_new(); | 591 fields = gaim_request_fields_new(); |
593 | 592 |
594 group = gaim_request_field_group_new(NULL); | 593 group = gaim_request_field_group_new(NULL); |
595 gaim_request_fields_add_group(fields, group); | 594 gaim_request_fields_add_group(fields, group); |
596 | 595 |
597 field = gaim_request_field_string_new("screenname", _("_Screen name"), | 596 field = gaim_request_field_string_new("screenname", _("_Name"), NULL, FALSE); |
598 NULL, FALSE); | |
599 gaim_request_field_set_type_hint(field, "screenname"); | 597 gaim_request_field_set_type_hint(field, "screenname"); |
600 gaim_request_field_set_required(field, TRUE); | 598 gaim_request_field_set_required(field, TRUE); |
601 gaim_request_field_group_add_field(group, field); | 599 gaim_request_field_group_add_field(group, field); |
602 | 600 |
603 field = gaim_request_field_account_new("account", _("_Account"), NULL); | 601 field = gaim_request_field_account_new("account", _("_Account"), NULL); |
607 gaim_request_field_set_required(field, TRUE); | 605 gaim_request_field_set_required(field, TRUE); |
608 gaim_request_field_group_add_field(group, field); | 606 gaim_request_field_group_add_field(group, field); |
609 | 607 |
610 gaim_request_fields(gaim_get_blist(), _("Get User Info"), | 608 gaim_request_fields(gaim_get_blist(), _("Get User Info"), |
611 NULL, | 609 NULL, |
612 _("Please enter the screen name of the person whose " | 610 _("Please enter the screen name or alias of the person " |
613 "info you would like to view."), | 611 "whose info you would like to view."), |
614 fields, | 612 fields, |
615 _("OK"), G_CALLBACK(gaim_gtkdialogs_info_cb), | 613 _("OK"), G_CALLBACK(gaim_gtkdialogs_info_cb), |
616 _("Cancel"), NULL, | 614 _("Cancel"), NULL, |
617 NULL); | 615 NULL); |
618 } | 616 } |
647 fields = gaim_request_fields_new(); | 645 fields = gaim_request_fields_new(); |
648 | 646 |
649 group = gaim_request_field_group_new(NULL); | 647 group = gaim_request_field_group_new(NULL); |
650 gaim_request_fields_add_group(fields, group); | 648 gaim_request_fields_add_group(fields, group); |
651 | 649 |
652 field = gaim_request_field_string_new("screenname", _("_Screen name"), | 650 field = gaim_request_field_string_new("screenname", _("_Name"), NULL, FALSE); |
653 NULL, FALSE); | |
654 gaim_request_field_set_type_hint(field, "screenname"); | 651 gaim_request_field_set_type_hint(field, "screenname"); |
655 gaim_request_field_set_required(field, TRUE); | 652 gaim_request_field_set_required(field, TRUE); |
656 gaim_request_field_group_add_field(group, field); | 653 gaim_request_field_group_add_field(group, field); |
657 | 654 |
658 field = gaim_request_field_account_new("account", _("_Account"), NULL); | 655 field = gaim_request_field_account_new("account", _("_Account"), NULL); |
663 gaim_request_field_set_required(field, TRUE); | 660 gaim_request_field_set_required(field, TRUE); |
664 gaim_request_field_group_add_field(group, field); | 661 gaim_request_field_group_add_field(group, field); |
665 | 662 |
666 gaim_request_fields(gaim_get_blist(), _("Get User Log"), | 663 gaim_request_fields(gaim_get_blist(), _("Get User Log"), |
667 NULL, | 664 NULL, |
668 _("Please enter the screen name of the person whose " | 665 _("Please enter the screen name or alias of the person " |
669 "log you would like to view."), | 666 "whose log you would like to view."), |
670 fields, | 667 fields, |
671 _("OK"), G_CALLBACK(gaim_gtkdialogs_log_cb), | 668 _("OK"), G_CALLBACK(gaim_gtkdialogs_log_cb), |
672 _("Cancel"), NULL, | 669 _("Cancel"), NULL, |
673 NULL); | 670 NULL); |
674 } | 671 } |