Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets thunderbird addone don't count messages in imap sub folders
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] thunderbird addone don't count messages in imap sub folders
ohad English 5

ohad, Tuesday 19 February 2013 à 13:23


Subscription date : 11 September 2012
Messages : 12
Thunderbird addone stoped counting messages in imap sub folders, when i try to enable this in preferences it don't save them (it saves other preferences).
i tried to edit the pref "extensions.cairo-dock-unread-messages@glxdock.org.traverse-deep" to true using TB prefs editor, but it's still don't count them.

TB 17.0.2, kubuntu 12.10 64b.

screenshot:
http://imgur.com/PJYi0vq

fabounet, Tuesday 19 February 2013 à 13:43


Subscription date : 30 November 2007
Messages : 17118
is it new in TB 17 ?

ohad, Tuesday 19 February 2013 à 15:06


Subscription date : 11 September 2012
Messages : 12
i don't remember when it was started (i've just noticed that, it could be problem with 3rd level nested folders and not specific to new versions) , but i've edited the source file cairounread.js, replacing call to
this._getTotalCountTB3(rootFolder);

with
rootFolder.getNumUnread(true);

(line 132) and now it works fine for me.
i guess that making it customizable demand more complicated code, i'll seat on this when i had more time.
thanks

ohad, Tuesday 19 February 2013 à 15:20


Subscription date : 11 September 2012
Messages : 12
the problem with the preferences dialog was naming convention collapse: the dialog expects the pref. to be called traverse_deep (with underscore) while anywhere else it's called traverse-deep (with hyphen)
line 20 in the file options.xul

fabounet, Tuesday 19 February 2013 à 23:02


Subscription date : 30 November 2007
Messages : 17118
ok for the option, well spotted

about the counting, I'm not sure that using getNumUnread on the root folder is correct, because the root folder (of an account) contains several subfolders that are not of type "inbox" (for instance the trash) and we don't want to count them.

but since you fixed the problem of the option name, I guess it works correctly now ?

Applets | Applets

Subjects Author Language Messages Last message
[Locked] thunderbird addone don't count messages in imap sub folders
ohad English 5


Glx-Dock / Cairo-Dock List of forums Applets | Applets thunderbird addone don't count messages in imap sub folders Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.