Debug printfs for populating the completion store

Signed-off-by: Federico Mena Quintero <federico@gnu.org>

svn path=/trunk/; revision=19824
This commit is contained in:
Federico Mena Quintero 2008-03-13 00:37:05 +00:00 committed by Federico Mena Quintero
parent baeaea3ca8
commit b2fe9f70d3

View File

@ -747,8 +747,13 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
GSList *paths;
GSList *tmp_list;
printf ("Populating completion store\n");
if (!gtk_file_folder_list_children (chooser_entry->current_folder, &paths, NULL)) /* NULL-GError */
return;
{
printf ("No children in the folder! Leaving an empty completion store.\n");
return;
}
discard_completion_store (chooser_entry);
@ -779,6 +784,8 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
PATH_COLUMN, path,
-1);
printf ("Completion store += \"%s\"\n", display_name);
gtk_file_info_free (info);
g_free (display_name);
}