| 164 g->gc = gc; |
164 g->gc = gc; |
| 165 g->uid = uid; /* only need to get value */ |
165 g->uid = uid; /* only need to get value */ |
| 166 message = g_strdup_printf(_("You have been added by %s"), from); |
166 message = g_strdup_printf(_("You have been added by %s"), from); |
| 167 _qq_sys_msg_log_write(gc, message, from); |
167 _qq_sys_msg_log_write(gc, message, from); |
| 168 purple_request_action(gc, NULL, message, |
168 purple_request_action(gc, NULL, message, |
| 169 _("Would like to add him?"), 2, |
169 _("Would you like to add him?"), 2, |
| 170 purple_connection_get_account(gc), name, NULL, |
170 purple_connection_get_account(gc), name, NULL, |
| 171 g, 3, |
171 g, 3, |
| 172 _("Cancel"), NULL, |
172 _("Cancel"), NULL, |
| 173 _("Add"), G_CALLBACK(qq_add_buddy_with_gc_and_uid), |
173 _("Add"), G_CALLBACK(qq_add_buddy_with_gc_and_uid), |
| 174 _("Search"), G_CALLBACK(_qq_search_before_add_with_gc_and_uid)); |
174 _("Search"), G_CALLBACK(_qq_search_before_add_with_gc_and_uid)); |