Re: two problems

Hi Ildar!

On 10/11/2007 08:00:19 AM Thu, Ildar Mulyukov wrote:
I've been out of using balsa for some time (half a year) and now using
it again extensively. But 2 bugs irritate me much:

1. I have Mailboxes _sorted_ _by_ _date_ with _Simple_ _threading_.
When I open a box I see messages unsorted with random threading. If I
choose "Simple threading" again by shortcut, it manages to sort
messages properly. Is there a way to fix it?

Could you try the attached patch? I believe we've been failing to notice that the mailbox was resorted.

2. If I have a mailbox opened and some new message came to it, I cannot
reach it except through "close/open again" sequence. Any hint here?

Is the mailbox subscribed for checking new mail?  Mailbox=>Edit...


Index: libbalsa/mailbox_local.c
--- libbalsa/mailbox_local.c	(revision 7757)
+++ libbalsa/mailbox_local.c	(working copy)
@@ -2134,8 +2134,8 @@
 static void
 lbm_local_sort(LibBalsaMailbox * mailbox, GArray *sort_array)
+    LIBBALSA_MAILBOX_CLASS(parent_class)->sort(mailbox, sort_array);
-    LIBBALSA_MAILBOX_CLASS(parent_class)->sort(mailbox, sort_array);
 #define FLAGS_REALLY_DIFFER(flags0, flags1) \
Index: libbalsa/mailbox.c
--- libbalsa/mailbox.c	(revision 7757)
+++ libbalsa/mailbox.c	(working copy)
@@ -3333,6 +3333,7 @@
                 node = parent->children = tmp_node;
             tmp_node->prev = prev;
+            mbox->msg_tree_changed = TRUE;
         } else
             g_assert(prev == NULL || prev->next == tmp_node);
         prev = tmp_node;

Attachment: pgpkQfeluwRUW.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]