Mercurial > pidgin
comparison src/protocols/qq/group_opt.c @ 13989:16102b9c5c4a
[gaim-migrate @ 16562]
*Eliminated all Gtk-related code from the prpl. Notably, this included the group ("Qun") administrative dialog and a dialog for setting and viewing personal information. Code for the latter now uses the gaim UI, while the former is currently disabled.
*Disabled a few non-functional/non-essential menu actions. These included: IP lookup, system logging, about dialog, and qq_buddy_menu.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Mon, 24 Jul 2006 13:39:12 +0000 |
parents | 983fd420e86b |
children | ef8490f9e823 |
comparison
equal
deleted
inserted
replaced
13988:4d5cc9e4cb12 | 13989:16102b9c5c4a |
---|---|
28 | 28 |
29 #include "utils.h" // uid_to_gaim_name | 29 #include "utils.h" // uid_to_gaim_name |
30 #include "packet_parse.h" // create_packet_b | 30 #include "packet_parse.h" // create_packet_b |
31 #include "buddy_info.h" // qq_send_packet_get_info | 31 #include "buddy_info.h" // qq_send_packet_get_info |
32 #include "char_conv.h" // utf8_to_qq | 32 #include "char_conv.h" // utf8_to_qq |
33 #include "group_admindlg.h" // qq_group_manage_window_show | 33 //#include "group_admindlg.h" // qq_group_detail_window_show |
34 #include "group_find.h" // qq_group_find_by_internal_group_id | 34 #include "group_find.h" // qq_group_find_by_internal_group_id |
35 #include "group_hash.h" // qq_group_refresh | 35 #include "group_hash.h" // qq_group_refresh |
36 #include "group_info.h" // qq_send_cmd_group_get_group_info | 36 #include "group_info.h" // qq_send_cmd_group_get_group_info |
37 #include "group_join.h" // qq_send_cmd_group_auth | 37 #include "group_join.h" // qq_send_cmd_group_auth |
38 #include "group_network.h" // qq_send_group_cmd | 38 #include "group_network.h" // qq_send_group_cmd |
364 g_return_if_fail(g != NULL && g->gc != NULL && g->uid > 0); | 364 g_return_if_fail(g != NULL && g->gc != NULL && g->uid > 0); |
365 | 365 |
366 group = qq_group_find_by_internal_group_id(g->gc, g->uid); | 366 group = qq_group_find_by_internal_group_id(g->gc, g->uid); |
367 g_return_if_fail(group != NULL); | 367 g_return_if_fail(group != NULL); |
368 | 368 |
369 qq_group_detail_window_show(g->gc, group); | 369 //XXX insert UI code here |
370 //qq_group_detail_window_show(g->gc, group); | |
370 g_free(g); | 371 g_free(g); |
371 } // qq_group_setup_with_gc_and_uid | 372 } // qq_group_setup_with_gc_and_uid |
372 | 373 |
373 /*****************************************************************************/ | 374 /*****************************************************************************/ |
374 void qq_group_process_create_group_reply(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc) { | 375 void qq_group_process_create_group_reply(guint8 * data, guint8 ** cursor, gint len, GaimConnection * gc) { |
468 g_return_if_fail(internal_group_id > 0); | 469 g_return_if_fail(internal_group_id > 0); |
469 | 470 |
470 group = qq_group_find_by_internal_group_id(gc, internal_group_id); | 471 group = qq_group_find_by_internal_group_id(gc, internal_group_id); |
471 g_return_if_fail(group != NULL); | 472 g_return_if_fail(group != NULL); |
472 | 473 |
473 qq_group_detail_window_show(gc, group); | 474 //XXX insert UI code here |
475 //qq_group_detail_window_show(gc, group); | |
474 | 476 |
475 } // qq_group_manage_members | 477 } // qq_group_manage_members |
476 | 478 |
477 | 479 |
478 /*****************************************************************************/ | 480 /*****************************************************************************/ |