| 30 #include "utils.h" |
30 #include "utils.h" |
| 31 #include "packet_parse.h" |
31 #include "packet_parse.h" |
| 32 #include "buddy_list.h" |
32 #include "buddy_list.h" |
| 33 #include "buddy_info.h" |
33 #include "buddy_info.h" |
| 34 #include "char_conv.h" |
34 #include "char_conv.h" |
| 35 #include "header_info.h" |
35 #include "qq_define.h" |
| 36 #include "qq_base.h" |
36 #include "qq_base.h" |
| 37 #include "qq_network.h" |
37 #include "qq_network.h" |
| 38 |
38 |
| 39 #define QQ_HOROSCOPE_SIZE 13 |
39 #define QQ_HOROSCOPE_SIZE 13 |
| 40 static const gchar *horoscope_names[] = { |
40 static const gchar *horoscope_names[] = { |
| 424 info_request = g_new0(modify_info_request, 1); |
424 info_request = g_new0(modify_info_request, 1); |
| 425 info_request->gc = gc; |
425 info_request->gc = gc; |
| 426 info_request->iclass = iclass; |
426 info_request->iclass = iclass; |
| 427 info_request->segments = segments; |
427 info_request->segments = segments; |
| 428 |
428 |
| 429 purple_request_fields(gc, utf8_title, utf8_prim, NULL, fields, |
429 purple_request_fields(gc, |
| |
430 utf8_title, |
| |
431 utf8_prim, |
| |
432 NULL, |
| |
433 fields, |
| 430 _("Update"), G_CALLBACK(info_modify_ok_cb), |
434 _("Update"), G_CALLBACK(info_modify_ok_cb), |
| 431 _("Cancel"), G_CALLBACK(info_modify_cancel_cb), |
435 _("Cancel"), G_CALLBACK(info_modify_cancel_cb), |
| 432 purple_connection_get_account(gc), NULL, NULL, |
436 purple_connection_get_account(gc), NULL, NULL, |
| 433 info_request); |
437 info_request); |
| 434 |
438 |