From 1648a217888a723d68996f34a67d821ccb3b443e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 28 May 2004 17:04:18 +0000 Subject: Disable debug here too - all this code has been working fine. 2004-05-28 Jeffrey Stedfast * em-folder-tree.c (d): Disable debug here too - all this code has been working fine. * em-folder-selector.c (d): Disable debug spew here too (not that this debug was ever seen since it never hit those conditions). * mail-folder-cache.c (d): Disable debug here too. * em-folder-tree-model.c: Disable debug spewage that we don't need anymore. The amount of debug spewage on the console is getting to be too much to find anything. * em-folder-tree.c (emft_expand_node): Use p+1 as the full_name rather than p. Fixes bug #59187. svn path=/trunk/; revision=26125 --- mail/ChangeLog | 17 +++++++++++++++++ mail/em-folder-selector.c | 2 +- mail/em-folder-tree-model.c | 4 ++-- mail/em-folder-tree.c | 4 ++-- mail/mail-folder-cache.c | 2 +- 5 files changed, 23 insertions(+), 6 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index a9630f56b6..79eaeaa200 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,20 @@ +2004-05-28 Jeffrey Stedfast + + * em-folder-tree.c (d): Disable debug here too - all this code has + been working fine. + + * em-folder-selector.c (d): Disable debug spew here too (not that + this debug was ever seen since it never hit those conditions). + + * mail-folder-cache.c (d): Disable debug here too. + + * em-folder-tree-model.c: Disable debug spewage that we don't need + anymore. The amount of debug spewage on the console is getting to + be too much to find anything. + + * em-folder-tree.c (emft_expand_node): Use p+1 as the full_name + rather than p. Fixes bug #59187. + 2004-05-27 Jeffrey Stedfast * em-folder-tree.c (emft_get_folder_info__got): Instead of diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c index 4d2c771f86..38ff9ed391 100644 --- a/mail/em-folder-selector.c +++ b/mail/em-folder-selector.c @@ -47,7 +47,7 @@ #include "em-folder-tree.h" #include "em-folder-selector.h" -#define d(x) x +#define d(x) extern CamelSession *session; diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index fe0f902234..d32c4062e5 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -57,8 +57,8 @@ #include "em-marshal.h" #include "em-folder-tree-model.h" -#define u(x) x /* unread count debug */ -#define d(x) x +#define u(x) /* unread count debug */ +#define d(x) static GType col_types[] = { G_TYPE_STRING, /* display name */ diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 2ba92fb2e8..99332daa11 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -70,7 +70,7 @@ #include "em-folder-selection.h" #include "em-folder-properties.h" -#define d(x) x +#define d(x) struct _EMFolderTreePrivate { GtkTreeView *treeview; @@ -546,7 +546,7 @@ emft_expand_node (EMFolderTreeModel *model, const char *key, EMFolderTree *emft) camel_object_unref (store); if (p != NULL) { - if (!(row = g_hash_table_lookup (si->full_hash, p))) + if (!(row = g_hash_table_lookup (si->full_hash, p + 1))) return; } else row = si->row; diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 43071e45f9..25c962472c 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -54,7 +54,7 @@ #include "em-folder-tree-model.h" #define w(x) -#define d(x) x +#define d(x) /* note that many things are effectively serialised by having them run in the main loop thread which they need to do because of corba/gtk calls */ -- cgit