comparison src/protocols/oscar/oscar.c @ 2347:182a4f8b1333

[gaim-migrate @ 2360] Sorry rob. I just don't think that you should be committing what you know is half-complete code, and allow users to access it. We can't be recommending to people to be using CVS instead of releases and then add things that we know beforehand are buggy or incomplete. Also I don't think that you've implemented it properly: More than just Oscar have buddy icons (though Jabber is reworking their buddy icon stuff) and so it shouldn't be protocol-specific like this; also it should apply to the aim_user and not the gaim_connection, and you should be able to set it while you're not online, which means it should go in the Modify Account dialog and not the Protocol Actions dialog, with an OPT_PROTO_BUDDY_ICON flag so that the dialog knows whether or not the buddy icon can be set. Also, you broke -Wall. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 22 Sep 2001 10:08:19 +0000
parents 19ea44f74a88
children d6d3d2e6d625
comparison
equal deleted inserted replaced
2346:b1c1e3401e10 2347:182a4f8b1333
2632 struct oscar_data *od = gc->proto_data; 2632 struct oscar_data *od = gc->proto_data;
2633 aim_conn_t *conn = aim_getconn_type(od->sess, AIM_CONN_TYPE_AUTH); 2633 aim_conn_t *conn = aim_getconn_type(od->sess, AIM_CONN_TYPE_AUTH);
2634 2634
2635 if (!strcmp(act, "Set User Info")) { 2635 if (!strcmp(act, "Set User Info")) {
2636 show_set_info(gc); 2636 show_set_info(gc);
2637 } else if (!strcmp(act, "Set Buddy Icon")) {
2638 show_set_icon(gc);
2639 } else if (!strcmp(act, "Change Password")) { 2637 } else if (!strcmp(act, "Change Password")) {
2640 show_change_passwd(gc); 2638 show_change_passwd(gc);
2641 } else if (!strcmp(act, "Confirm Account")) { 2639 } else if (!strcmp(act, "Confirm Account")) {
2642 if (!conn) { 2640 if (!conn) {
2643 od->conf = TRUE; 2641 od->conf = TRUE;
2659 static GList *oscar_actions() 2657 static GList *oscar_actions()
2660 { 2658 {
2661 GList *m = NULL; 2659 GList *m = NULL;
2662 2660
2663 m = g_list_append(m, "Set User Info"); 2661 m = g_list_append(m, "Set User Info");
2664 m = g_list_append(m, "Set Buddy Icon");
2665 m = g_list_append(m, NULL); 2662 m = g_list_append(m, NULL);
2666 m = g_list_append(m, "Change Password"); 2663 m = g_list_append(m, "Change Password");
2667 m = g_list_append(m, "Confirm Account"); 2664 m = g_list_append(m, "Confirm Account");
2668 /* 2665 /*
2669 m = g_list_append(m, "Change Email"); 2666 m = g_list_append(m, "Change Email");