comparison src/protocols/oscar/oscar.c @ 5238:c6973001473d

[gaim-migrate @ 5608] This fixes some people not having some of the options in the protocol actions menu for AIM. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 27 Apr 2003 04:19:14 +0000
parents 890b29f00b68
children 5344eb60f421
comparison
equal deleted inserted replaced
5237:757d680f923d 5238:c6973001473d
5882 pam->label = _("Set User Info"); 5882 pam->label = _("Set User Info");
5883 pam->callback = show_set_info; 5883 pam->callback = show_set_info;
5884 pam->gc = gc; 5884 pam->gc = gc;
5885 m = g_list_append(m, pam); 5885 m = g_list_append(m, pam);
5886 5886
5887 if ((od->sess->authinfo->regstatus == 0x0003) || (od->icq)) { 5887 pam = g_new0(struct proto_actions_menu, 1);
5888 pam = g_new0(struct proto_actions_menu, 1); 5888 pam->label = _("Change Password");
5889 pam->label = _("Change Password"); 5889 pam->callback = show_change_passwd;
5890 pam->callback = show_change_passwd; 5890 pam->gc = gc;
5891 pam->gc = gc; 5891 m = g_list_append(m, pam);
5892 m = g_list_append(m, pam);
5893 }
5894 5892
5895 if (od->sess->authinfo->chpassurl) { 5893 if (od->sess->authinfo->chpassurl) {
5896 pam = g_new0(struct proto_actions_menu, 1); 5894 pam = g_new0(struct proto_actions_menu, 1);
5897 pam->label = _("Change Password (URL)"); 5895 pam->label = _("Change Password (URL)");
5898 pam->callback = oscar_show_chpassurl; 5896 pam->callback = oscar_show_chpassurl;
5899 pam->gc = gc; 5897 pam->gc = gc;
5900 m = g_list_append(m, pam); 5898 m = g_list_append(m, pam);
5901 } 5899 }
5902 5900
5903 if (od->sess->authinfo->regstatus == 0x0003) { 5901 if (!od->icq) {
5904 /* AIM actions */ 5902 /* AIM actions */
5905 m = g_list_append(m, NULL); 5903 m = g_list_append(m, NULL);
5906 5904
5907 pam = g_new0(struct proto_actions_menu, 1); 5905 pam = g_new0(struct proto_actions_menu, 1);
5908 pam->label = _("Format Screenname"); 5906 pam->label = _("Format Screenname");