/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to gannotate.py

  • Committer: Aaron Bentley
  • Date: 2005-11-10 17:47:28 UTC
  • mto: (0.1.25 gannotate)
  • mto: This revision was merged to the branch mainline in revision 49.
  • Revision ID: aaron.bentley@utoronto.ca-20051110174728-208c393ba8fa65ef
Switched to using pink backgrounds

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from bzrlib.errors import NoSuchRevision
26
26
 
27
 
from colormap import AnnotateColorMap
 
27
from colormap import AnnotateColorMap, AnnotateColorSaturation
28
28
from logview import LogView
29
29
from spanselector import SpanSelector
30
30
 
49
49
        gtk.Window.__init__(self, gtk.WINDOW_TOPLEVEL)
50
50
        
51
51
        self.set_icon(self.render_icon(gtk.STOCK_FIND, gtk.ICON_SIZE_BUTTON))
52
 
        self.annotate_colormap = AnnotateColorMap()
 
52
        self.annotate_colormap = AnnotateColorSaturation()
53
53
 
54
54
        self._create()
55
55
 
235
235
        col = gtk.TreeViewColumn()
236
236
        col.set_resizable(False)
237
237
        col.pack_start(cell, expand=True)
238
 
        col.add_attribute(cell, "foreground", HIGHLIGHT_COLOR_COL)
 
238
#        col.add_attribute(cell, "foreground", HIGHLIGHT_COLOR_COL)
 
239
        col.add_attribute(cell, "background", HIGHLIGHT_COLOR_COL)
239
240
        col.add_attribute(cell, "text", TEXT_LINE_COL)
240
241
        tv.append_column(col)
241
242