diff options
author | René Stadler <mail@renestadler.de> | 2012-09-26 02:00:10 +0200 |
---|---|---|
committer | René Stadler <mail@renestadler.de> | 2012-09-26 02:19:59 +0200 |
commit | 2c8d0a20aca7ea863159d64e394b2fe38e009e23 (patch) | |
tree | d4870d3c9d174899427f35644c47d36805ce0907 /GstDebugViewer | |
parent | 983d918aa615cb9181912fa8808a851e827047d7 (diff) |
Hide some columns by default
Diffstat (limited to 'GstDebugViewer')
-rw-r--r-- | GstDebugViewer/GUI/columns.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/GstDebugViewer/GUI/columns.py b/GstDebugViewer/GUI/columns.py index 11cdd56..2dc221d 100644 --- a/GstDebugViewer/GUI/columns.py +++ b/GstDebugViewer/GUI/columns.py @@ -573,6 +573,9 @@ class ViewColumnManager (ColumnManager): column_classes = (TimeColumn, LevelColumn, PidColumn, ThreadColumn, CategoryColumn, CodeColumn, FunctionColumn, ObjectColumn, MessageColumn,) + default_column_classes = (TimeColumn, LevelColumn, CategoryColumn, CodeColumn, + FunctionColumn, ObjectColumn, MessageColumn,) + def __init__ (self, state): ColumnManager.__init__ (self) @@ -592,7 +595,7 @@ class ViewColumnManager (ColumnManager): visible = self.state.columns_visible if not visible: - visible = self.column_classes + visible = self.default_column_classes for col_class in self.column_classes: action = self.get_toggle_action (col_class) action.props.active = (col_class in visible) |