DIYbanter

DIYbanter (https://www.diybanter.com/)
-   UK diy (https://www.diybanter.com/uk-diy/)
-   -   Thunderbird: Useful little thread colouring mod? (https://www.diybanter.com/uk-diy/369174-thunderbird-useful-little-thread-colouring-mod.html)

Adrian C March 26th 14 10:08 AM

Thunderbird: Useful little thread colouring mod?
 
Sometime ago on another group someone mentioned a feature of 'outlook
express' that highlighted unread threads in a different colour as well
as being embolded. Thunderbird just has them in bold.

I had a look at this back then and found / edited this mod. Lately on
reinstalling things I've realised how visually useful it was for me so
I'll share.


First find your profile folder.

http://kb.mozillazine.org/Profile_folder_-_Thunderbird.

Create (if you don't already have one) a 'chrome' subfolder.

Copy the following lines as a new file in this folder, named
'userChrome.css'.

---------- copy lines below here ----------
@namespace
url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#threadTree treechildren::-moz-tree-cell-text(unread) {
color: DarkBlue !important;
}
#threadTree treechildren::-moz-tree-cell-text(container, closed,
hasUnread, read) {
color: DarkBlue !important;
}
---------- copy lines before here ----------

Restart Thunderbird, and you should find unreads are now coloured.

e&oe!

--
Adrian C

John Rumm March 26th 14 05:54 PM

Thunderbird: Useful little thread colouring mod?
 
On 26/03/2014 10:08, Adrian C wrote:

Sometime ago on another group someone mentioned a feature of 'outlook
express' that highlighted unread threads in a different colour as well
as being embolded. Thunderbird just has them in bold.

I had a look at this back then and found / edited this mod. Lately on
reinstalling things I've realised how visually useful it was for me so
I'll share.


Ta.

I lobbed that in the Wiki he

http://wiki.diyfaq.org.uk/index.php?...osts_in_colour


--
Cheers,

John.

/================================================== ===============\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\================================================= ================/

Rick Hughes[_5_] March 31st 14 12:15 PM

Thunderbird: Useful little thread colouring mod?
 
On 26/03/2014 17:54, John Rumm wrote:
On 26/03/2014 10:08, Adrian C wrote:

Sometime ago on another group someone mentioned a feature of 'outlook
express' that highlighted unread threads in a different colour as well
as being embolded. Thunderbird just has them in bold.

I had a look at this back then and found / edited this mod. Lately on
reinstalling things I've realised how visually useful it was for me so
I'll share.




This says about a 'chrome' folder, I don't use Chrome use Firefox ....
is there a workaround for that ?




--
UK SelfBuild: http://uk.groups.yahoo.com/group/UK_Selfbuild/

Adrian C March 31st 14 05:31 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/14 12:15, Rick Hughes wrote:


This says about a 'chrome' folder, I don't use Chrome use Firefox ....
is there a workaround for that ?


Should have been called the 'GUI bling' folder ;-)

http://kb.mozillazine.org/Chrome_folder

Don't worry about the folder name, just create it. It's nought to do
with google.

BTW, this mod is compatible with John's 'message filter' tip in the
previous section of the wiki, that sets 'Watch Thread' and colour tags
own messages as 'Personal'. I recommend setting up that as well ;-)

--
Adrian C

John Rumm March 31st 14 07:03 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/2014 17:31, Adrian C wrote:
On 31/03/14 12:15, Rick Hughes wrote:


This says about a 'chrome' folder, I don't use Chrome use Firefox ....
is there a workaround for that ?


Should have been called the 'GUI bling' folder ;-)

http://kb.mozillazine.org/Chrome_folder

Don't worry about the folder name, just create it. It's nought to do
with google.

BTW, this mod is compatible with John's 'message filter' tip in the
previous section of the wiki, that sets 'Watch Thread' and colour tags
own messages as 'Personal'. I recommend setting up that as well ;-)


If anyone spots a quick way to add a button to the tool bar to toggle
"all" and "watched with unread" from the Threads sub menu, that would be
handy to know...


--
Cheers,

John.

/================================================== ===============\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\================================================= ================/

Adrian C March 31st 14 07:50 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/14 19:03, John Rumm wrote:

If anyone spots a quick way to add a button to the tool bar to toggle
"all" and "watched with unread" from the Threads sub menu, that would be
handy to know...


Just had a play, rough but here goes.


1. Install Custom Buttons Add-On.

Custom Buttons 0.0.5.7
https://addons.mozilla.org/en-us/thu...ustom-buttons/

2. Create a button, named "View ALL" to fire this line of code

goDoCommand('cmd_viewAllMsgs')

3. Create another button, named "Watched" to fire this line of code

goDoCommand('cmd_viewWatchedThreadsWithUnread')

4. Buttons once created can be dragged to the toolbar from the customise
toolbar toolbox.


--
Adrian C

Tim Watts[_3_] March 31st 14 08:25 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/14 19:50, Adrian C wrote:
On 31/03/14 19:03, John Rumm wrote:

If anyone spots a quick way to add a button to the tool bar to toggle
"all" and "watched with unread" from the Threads sub menu, that would be
handy to know...


Just had a play, rough but here goes.


1. Install Custom Buttons Add-On.

Custom Buttons 0.0.5.7
https://addons.mozilla.org/en-us/thu...ustom-buttons/

2. Create a button, named "View ALL" to fire this line of code

goDoCommand('cmd_viewAllMsgs')

3. Create another button, named "Watched" to fire this line of code

goDoCommand('cmd_viewWatchedThreadsWithUnread')

4. Buttons once created can be dragged to the toolbar from the customise
toolbar toolbox.



Smashing! Thanks for that.

Where's the documentation for the "code" language - is it core to
Thunderbird or part of the custombuttons extension?

Tim Watts[_3_] March 31st 14 08:35 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/14 20:25, Tim Watts wrote:

Where's the documentation for the "code" language - is it core to
Thunderbird or part of the custombuttons extension?


ok - partly answering my own question:

http://dxr.mozilla.org/comm-central/...dowCommands.js

That seems to be limited to a few specific cases - is there a more
general approach?

Adrian C March 31st 14 08:45 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/14 20:25, Tim Watts wrote:
On 31/03/14 19:50, Adrian C wrote:
On 31/03/14 19:03, John Rumm wrote:

If anyone spots a quick way to add a button to the tool bar to toggle
"all" and "watched with unread" from the Threads sub menu, that would be
handy to know...


Just had a play, rough but here goes.


1. Install Custom Buttons Add-On.

Custom Buttons 0.0.5.7
https://addons.mozilla.org/en-us/thu...ustom-buttons/

2. Create a button, named "View ALL" to fire this line of code

goDoCommand('cmd_viewAllMsgs')

3. Create another button, named "Watched" to fire this line of code

goDoCommand('cmd_viewWatchedThreadsWithUnread')

4. Buttons once created can be dragged to the toolbar from the customise
toolbar toolbox.



Smashing! Thanks for that.

Where's the documentation for the "code" language - is it core to
Thunderbird or part of the custombuttons extension?


The language thunderbird is written in is XUL

https://developer.mozilla.org/en-US/.../XUL_Reference

However, I figured out the specific thunderbird commands by installing
another add on, a 'DOM inspector' and inspecting the main application
window elementnode tree. This revealed the goDoCommand command.

And google gives me a list of those.

http://kb.mozillazine.org/Keyconfig_...n:_Thunderbird

--
Adrian C

Tim Watts[_3_] March 31st 14 10:13 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/14 20:45, Adrian C wrote:
On 31/03/14 20:25, Tim Watts wrote:


Where's the documentation for the "code" language - is it core to
Thunderbird or part of the custombuttons extension?


The language thunderbird is written in is XUL

https://developer.mozilla.org/en-US/.../XUL_Reference

However, I figured out the specific thunderbird commands by installing
another add on, a 'DOM inspector' and inspecting the main application
window elementnode tree. This revealed the goDoCommand command.

And google gives me a list of those.

http://kb.mozillazine.org/Keyconfig_...n:_Thunderbird


That's brilliant - thanks!

So it looks like the options a

viewAllMsgs
viewIgnoredThreads
viewThreadsWithUnread
viewUnreadMsgs
viewWatchedThreadsWithUnread


That's the feature I miss from knode - arbitrary filtering of the
message list window :(


John Rumm March 31st 14 11:03 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/2014 22:13, Tim Watts wrote:
On 31/03/14 20:45, Adrian C wrote:
On 31/03/14 20:25, Tim Watts wrote:


Where's the documentation for the "code" language - is it core to
Thunderbird or part of the custombuttons extension?


The language thunderbird is written in is XUL

https://developer.mozilla.org/en-US/.../XUL_Reference

However, I figured out the specific thunderbird commands by installing
another add on, a 'DOM inspector' and inspecting the main application
window elementnode tree. This revealed the goDoCommand command.

And google gives me a list of those.

http://kb.mozillazine.org/Keyconfig_...n:_Thunderbird


That's brilliant - thanks!

So it looks like the options a

viewAllMsgs
viewIgnoredThreads
viewThreadsWithUnread
viewUnreadMsgs
viewWatchedThreadsWithUnread


Yup basically all the things on the View | Threads submenu...

That's the feature I miss from knode - arbitrary filtering of the
message list window :(


Quick filters will also filter the messages....


--
Cheers,

John.

/================================================== ===============\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\================================================= ================/

John Rumm March 31st 14 11:04 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/2014 19:50, Adrian C wrote:
On 31/03/14 19:03, John Rumm wrote:

If anyone spots a quick way to add a button to the tool bar to toggle
"all" and "watched with unread" from the Threads sub menu, that would be
handy to know...


Just had a play, rough but here goes.


1. Install Custom Buttons Add-On.

Custom Buttons 0.0.5.7
https://addons.mozilla.org/en-us/thu...ustom-buttons/

2. Create a button, named "View ALL" to fire this line of code

goDoCommand('cmd_viewAllMsgs')

3. Create another button, named "Watched" to fire this line of code

goDoCommand('cmd_viewWatchedThreadsWithUnread')

4. Buttons once created can be dragged to the toolbar from the customise
toolbar toolbox.



Nice, I will give it a try ;-)

(we have developed complete extensions for it in the past - just seemed
a bit excessive for a single button though)


--
Cheers,

John.

/================================================== ===============\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\================================================= ================/

John Rumm March 31st 14 11:14 PM

Thunderbird: Useful little thread colouring mod?
 
On 31/03/2014 19:50, Adrian C wrote:
On 31/03/14 19:03, John Rumm wrote:

If anyone spots a quick way to add a button to the tool bar to toggle
"all" and "watched with unread" from the Threads sub menu, that would be
handy to know...


Just had a play, rough but here goes.


1. Install Custom Buttons Add-On.

Custom Buttons 0.0.5.7
https://addons.mozilla.org/en-us/thu...ustom-buttons/

2. Create a button, named "View ALL" to fire this line of code

goDoCommand('cmd_viewAllMsgs')

3. Create another button, named "Watched" to fire this line of code

goDoCommand('cmd_viewWatchedThreadsWithUnread')

4. Buttons once created can be dragged to the toolbar from the customise
toolbar toolbox.


Yes that seems to work. Thanks, I had not spotted that add on before.


--
Cheers,

John.

/================================================== ===============\
| Internode Ltd - http://www.internode.co.uk |
|-----------------------------------------------------------------|
| John Rumm - john(at)internode(dot)co(dot)uk |
\================================================= ================/


All times are GMT +1. The time now is 12:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter