| 894 * 3. The boxes that use this autocomplete code handle only IMs. */ |
894 * 3. The boxes that use this autocomplete code handle only IMs. */ |
| 895 if (!set->buddy && |
895 if (!set->buddy && |
| 896 (GPOINTER_TO_INT(set_hash_data[1]) || |
896 (GPOINTER_TO_INT(set_hash_data[1]) || |
| 897 (set->account != NULL && gaim_account_is_connected(set->account))) && |
897 (set->account != NULL && gaim_account_is_connected(set->account))) && |
| 898 set->type == GAIM_LOG_IM) { |
898 set->type == GAIM_LOG_IM) { |
| 899 #if NEW_STYLE_COMPLETION |
899 #ifdef NEW_STYLE_COMPLETION |
| 900 add_screenname_autocomplete_entry((GtkListStore *)set_hash_data[0], |
900 add_screenname_autocomplete_entry((GtkListStore *)set_hash_data[0], |
| 901 NULL, NULL, set->account, set->name); |
901 NULL, NULL, set->account, set->name); |
| 902 #else |
902 #else |
| 903 GList **items = ((GList **)set_hash_data[0]); |
903 GList **items = ((GList **)set_hash_data[0]); |
| 904 /* Steal the name for the GCompletion. */ |
904 /* Steal the name for the GCompletion. */ |