From: René Stadler Date: Sun, 6 Nov 2011 12:19:55 +0000 (+0100) Subject: columns: also auto size thread and pid column on zoom change X-Git-Tag: 1.19.3~491^2~1628 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=265cc8afdfcd9a5eb2cd8a2b52afba077577788e;p=platform%2Fupstream%2Fgstreamer.git columns: also auto size thread and pid column on zoom change --- diff --git a/debug-viewer/GstDebugViewer/GUI/columns.py b/debug-viewer/GstDebugViewer/GUI/columns.py index cf23de0..f0f7f3c 100644 --- a/debug-viewer/GstDebugViewer/GUI/columns.py +++ b/debug-viewer/GstDebugViewer/GUI/columns.py @@ -604,9 +604,12 @@ class ViewColumnManager (ColumnManager): # Timestamp and log level columns are pretty much fixed size, so resize # them back to default on zoom change: + names = (TimeColumn.name, + LevelColumn.name, + PidColumn.name, + ThreadColumn.name) for column in self.columns: - if column.name in (TimeColumn.name, - LevelColumn.name): + if column.name in names: self.size_column (column) def size_column (self, column):