After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 410232 - parent folder read/unread state does not get updated
parent folder read/unread state does not get updated
Status: RESOLVED DUPLICATE of bug 352713
Product: evolution
Classification: Applications
Component: Mailer
2.8.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2007-02-21 01:19 UTC by Benjamin Berg
Modified: 2007-05-16 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the patch (2.01 KB, patch)
2007-02-21 01:20 UTC, Benjamin Berg
needs-work Details | Review

Description Benjamin Berg 2007-02-21 01:19:58 UTC
A folder with subfolders will be drawn bold if any of the subfolders contain unread messages. The problem is that the bold/normal is not switched right away if the subfolders change. The text is only updated if a redraw happens for some reason.

I'll attach a patch to address this. What the patch does is to walk up the folder hirachy and triggers "row_changed" events for each folder. GTK+ will then redraw the rows.
Comment 1 Benjamin Berg 2007-02-21 01:20:22 UTC
Created attachment 83008 [details] [review]
the patch
Comment 2 Srinivasa Ragavan 2007-05-12 09:15:02 UTC
Benjmin, I think you should do this only if the parent is in collapsed mode and not if it is in expanded state. We do the same for message threads too. Otherwise there are high chances of confusion. But otherwise a nice thought!
Comment 3 Benjamin Berg 2007-05-16 13:00:21 UTC
Oh, just noticed that the bug has been fixed.

*** This bug has been marked as a duplicate of 352713 ***