I implemented a '_map_status_color()' method in olive/window.py that sets a text colour based on the status of the file.
As requested in http://launchpad.net/bugs/209332.

Questions:
Which columns should be coloured? I added a second gtk.CellRendererText() called cellstatus that gets coloured. By using cell or cellstatus it is easy to control which columns get a text colour. Currently I only colour the status text. Based on the fact that it reduces readability I don't think the filename column should be coloured which makes colouring the date column etc look strange I think.

Which colours should be used?
I currently use string colours (but gtk.Color() objects with specific rgb values are equally possible):
unchanged: 'black'
ignored: 'grey'
unknown: 'orange'
added: 'green'
removed: 'red'
renamed: 'blue'
modified: 'violet'

Jasper

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
bzr-gtk mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.canonical.com/mailman/listinfo/bzr-gtk

Reply via email to