printf("Dicname old: %s, new: %s\n", entrytext, old);
static void set_dic_name_cb(GnomeFileEntry *fileentry, GtkEntry *entry) {  gchar *filename, *dictf, *old;	const gchar *entrytext;  filename = gnome_file_entry_get_full_path(fileentry, TRUE);  old = dictf = strtok(filename, "/");  while (dictf != NULL) {    old = dictf;    dictf = strtok(NULL, "/");  }	entrytext = gtk_entry_get_text(entry);	if ((entrytext == NULL) || (strlen(entrytext) == 0)) gtk_entry_set_text(entry, old);}