diff options
author | Maciej Stachowiak <mstachow@src.gnome.org> | 2000-09-29 06:17:57 +0000 |
---|---|---|
committer | Maciej Stachowiak <mstachow@src.gnome.org> | 2000-09-29 06:17:57 +0000 |
commit | fc2a4458ee55918b466f1ed5e1d5a40f593c49e3 (patch) | |
tree | 186389d67421270a3a0bc3fdf469e87b51094a6e /components/tree | |
parent | f08e3e65e8386505d56f233b48c7d995d71a1d9d (diff) | |
download | nautilus-fc2a4458ee55918b466f1ed5e1d5a40f593c49e3.tar.gz |
Further increased the debugging output.
* components/tree/nautilus-tree-model.c:
(nautilus_tree_model_get_node, dump_one_file_node): Further
increased the debugging output.
Diffstat (limited to 'components/tree')
-rw-r--r-- | components/tree/nautilus-tree-model.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/components/tree/nautilus-tree-model.c b/components/tree/nautilus-tree-model.c index 8bf17ea09..c87feb4e2 100644 --- a/components/tree/nautilus-tree-model.c +++ b/components/tree/nautilus-tree-model.c @@ -477,8 +477,11 @@ nautilus_tree_model_get_node (NautilusTreeModel *model, node = g_hash_table_lookup (model->details->file_to_node_map, file); if (node == NULL) { - g_print ("Failed to get node for %s (0x%x)\n", uri, (unsigned) file); - + g_print ("You've run into an intermittent tree view bug.\n"); + g_print ("Running Nautilus again will probably not hit this bug.\n"); + g_print ("The tree view didn't have a node for %s (0x%x)\n", uri, (unsigned) file); + g_print ("The tree view had the following nodes:\n\n"); + nautilus_tree_model_dump_files (model); } nautilus_file_unref (file); @@ -501,7 +504,7 @@ dump_one_file_node (gpointer key, gpointer value, gpointer user_data) file_number = (guint *)user_data; uri = nautilus_file_get_uri (NAUTILUS_FILE (key)); - g_print ("%d: %s|(0x%x)\n", ++(*file_number), uri, (unsigned) key); + g_print ("%d: %s (0x%x)|\n", ++(*file_number), uri, (unsigned) key); g_free (uri); } |