};
static search_dialog sd;
+static GSList *search_list=NULL;
static GtkListStore *search_model=NULL;
static gboolean
}
if (sres==TRUE) {
+ if (!g_slist_find_custom(search_list, st, (GCompareFunc)strcmp)) {
+ search_list = g_slist_prepend(search_list, g_strdup(st));
+ gtk_list_store_insert_with_values(search_model, &iter, INT_MAX, 0, st, -1);
+ }
+
gtk_tree_view_set_model(GTK_TREE_VIEW(s->list), GTK_TREE_MODEL(s->store));
g_object_unref(G_OBJECT(s->store));
} else {