summaryrefslogtreecommitdiff
path: root/GstDebugViewer
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2011-11-06 12:19:52 +0100
committerRené Stadler <mail@renestadler.de>2011-11-06 12:19:52 +0100
commit8107642ab5b061f5f77f474aef6167c9d8d2b0fe (patch)
treebbe46ed8537036c85c21ae7bfb942a57e408c70d /GstDebugViewer
parentc8d7a36e70b83145da57b6ddfb9975f0bf629f72 (diff)
Remove odd-even row colors from log level column
This is more of visual clutter than aid. People also seem to be less likely to spot the connection between the column and the timeline graph colors.
Diffstat (limited to 'GstDebugViewer')
-rw-r--r--GstDebugViewer/GUI/colors.py24
-rw-r--r--GstDebugViewer/GUI/columns.py5
2 files changed, 9 insertions, 20 deletions
diff --git a/GstDebugViewer/GUI/colors.py b/GstDebugViewer/GUI/colors.py
index fc5cb04..307ec23 100644
--- a/GstDebugViewer/GUI/colors.py
+++ b/GstDebugViewer/GUI/colors.py
@@ -121,22 +121,14 @@ class LevelColorThemeTango (LevelColorTheme):
LevelColorTheme.__init__ (self)
p = TangoPalette.get ()
- self.add_color (Data.debug_level_none,
- None, None, None)
- self.add_color (Data.debug_level_trace,
- p.black, p.aluminium2, Color ("#d3d7cf"))
- self.add_color (Data.debug_level_fixme,
- p.black, p.butter3, Color ("#c4a000"))
- self.add_color (Data.debug_level_log,
- p.black, p.plum1, Color ("#e0a4d9"))
- self.add_color (Data.debug_level_debug,
- p.black, p.skyblue1, Color ("#8cc4ff"))
- self.add_color (Data.debug_level_info,
- p.black, p.chameleon1, Color ("#9dff3b"))
- self.add_color (Data.debug_level_warning,
- p.black, p.orange1, Color ("#ffc266"))
- self.add_color (Data.debug_level_error,
- p.white, p.scarletred1, Color ("#ff4545"))
+ self.add_color (Data.debug_level_none, None, None, None)
+ self.add_color (Data.debug_level_trace, p.black, p.aluminium2)
+ self.add_color (Data.debug_level_fixme, p.black, p.butter3)
+ self.add_color (Data.debug_level_log, p.black, p.plum1)
+ self.add_color (Data.debug_level_debug, p.black, p.skyblue1)
+ self.add_color (Data.debug_level_info, p.black, p.chameleon1)
+ self.add_color (Data.debug_level_warning, p.black, p.orange1)
+ self.add_color (Data.debug_level_error, p.white, p.scarletred1)
class ThreadColorTheme (ColorTheme):
diff --git a/GstDebugViewer/GUI/columns.py b/GstDebugViewer/GUI/columns.py
index 98327c9..43cb4fb 100644
--- a/GstDebugViewer/GUI/columns.py
+++ b/GstDebugViewer/GUI/columns.py
@@ -216,10 +216,7 @@ class LevelColumn (TextColumn):
else:
cell_colors = (None, None, None,)
cell_props.foreground_gdk = cell_colors[0]
- if path[0] % 2:
- cell_props.background_gdk = cell_colors[1]
- else:
- cell_props.background_gdk = cell_colors[2]
+ cell_props.background_gdk = cell_colors[1]
return level_data_func