projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2eddd8
)
columns: also auto size thread and pid column on zoom change
author
René Stadler
<mail@renestadler.de>
Sun, 6 Nov 2011 12:19:55 +0000
(13:19 +0100)
committer
Stefan Sauer
<ensonic@users.sf.net>
Thu, 11 Sep 2014 18:51:47 +0000
(20:51 +0200)
debug-viewer/GstDebugViewer/GUI/columns.py
patch
|
blob
|
history
diff --git
a/debug-viewer/GstDebugViewer/GUI/columns.py
b/debug-viewer/GstDebugViewer/GUI/columns.py
index
cf23de0
..
f0f7f3c
100644
(file)
--- 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):