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 ? |
|