Commit dcc48167 authored by Ell's avatar Ell

tools: in performance-log-viewer.py, some cleanup

(cherry picked from commit 5a6548a4)
parent 2052de6c
......@@ -1694,13 +1694,12 @@ class VariablesViewer (Gtk.ScrolledWindow):
Gtk.ListStore.__init__ (self,
*((str, str, Gdk.RGBA) + n_stats * (str,)))
enum.Enum.__init__ (self)
for var, var_def in var_defs.items ():
i = self.append (((var,
var_def.desc,
Gdk.RGBA (*var_def.color)) +
n_stats * ("",)))
self.append (((var,
var_def.desc,
Gdk.RGBA (*var_def.color)) +
n_stats * ("",)))
def __init__ (self, *args, **kwargs):
Gtk.Box.__init__ (self,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment