Mercurial > pidgin
comparison src/gtkdialogs.c @ 11025:8d2007d738d5
[gaim-migrate @ 12899]
sf patch #1180490, from Richard Laager (who else?)
A pretty peach of a patch that allows you to auto-complete screen names
based on log file names.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 23 Jun 2005 03:04:52 +0000 |
parents | 99c1fb67b7bb |
children | b6070e971ceb |
comparison
equal
deleted
inserted
replaced
11024:1d58cc6c4552 | 11025:8d2007d738d5 |
---|---|
692 | 692 |
693 group = gaim_request_field_group_new(NULL); | 693 group = gaim_request_field_group_new(NULL); |
694 gaim_request_fields_add_group(fields, group); | 694 gaim_request_fields_add_group(fields, group); |
695 | 695 |
696 field = gaim_request_field_string_new("screenname", _("_Name"), NULL, FALSE); | 696 field = gaim_request_field_string_new("screenname", _("_Name"), NULL, FALSE); |
697 gaim_request_field_set_type_hint(field, "screenname"); | 697 gaim_request_field_set_type_hint(field, "screenname-all"); |
698 gaim_request_field_set_required(field, TRUE); | 698 gaim_request_field_set_required(field, TRUE); |
699 gaim_request_field_group_add_field(group, field); | 699 gaim_request_field_group_add_field(group, field); |
700 | 700 |
701 field = gaim_request_field_account_new("account", _("_Account"), NULL); | 701 field = gaim_request_field_account_new("account", _("_Account"), NULL); |
702 gaim_request_field_set_type_hint(field, "account"); | 702 gaim_request_field_set_type_hint(field, "account"); |
705 (gaim_accounts_get_all() != NULL && | 705 (gaim_accounts_get_all() != NULL && |
706 gaim_accounts_get_all()->next != NULL)); | 706 gaim_accounts_get_all()->next != NULL)); |
707 gaim_request_field_set_required(field, TRUE); | 707 gaim_request_field_set_required(field, TRUE); |
708 gaim_request_field_group_add_field(group, field); | 708 gaim_request_field_group_add_field(group, field); |
709 | 709 |
710 gaim_request_fields(gaim_get_blist(), _("Get User Log"), | 710 gaim_request_fields(gaim_get_blist(), _("View User Log"), |
711 NULL, | 711 NULL, |
712 _("Please enter the screen name or alias of the person " | 712 _("Please enter the screen name or alias of the person " |
713 "whose log you would like to view."), | 713 "whose log you would like to view."), |
714 fields, | 714 fields, |
715 _("OK"), G_CALLBACK(gaim_gtkdialogs_log_cb), | 715 _("OK"), G_CALLBACK(gaim_gtkdialogs_log_cb), |