-
- /* Fixme! Check for duplicates! */
- gtk_list_store_append(list, &iter);
- gtk_list_store_set(list, &iter, 0, string, -1);
+ case MATCH_PREPEND:
+ iter = NULL;
+ break;
+ case MATCH_AFTER:
+ iter = &string_entry_location;
+ break;
+ }
+ gtk_list_store_insert_after(list, &loc, iter);
+ gtk_list_store_set(list, &loc, 0, string, -1);