src/gtkrequest.c

changeset 11178
4a97e75d06f5
parent 11177
534ca3ae0bfc
child 11212
ee610ecf13c8
equal deleted inserted replaced
11177:534ca3ae0bfc 11178:4a97e75d06f5
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. */

mercurial