Commit graph

13 commits

Author SHA1 Message Date
René Stadler
44d94c72e0 Hide some columns by default 2014-09-11 20:51:48 +02:00
René Stadler
1a4374809b columns: optimize cell data functions a little 2014-09-11 20:51:48 +02:00
René Stadler
66ed3bb258 Use pango markup instead of attributes
Attributes don't work from introspection, so this blocks porting to gtk3.

In MessageColumn, admit that multiple highlighters don't actually work.
2014-09-11 20:51:48 +02:00
René Stadler
ca9a31ddd9 columns: auto size time column when setting base time
Base time formatting adds + or - in front of the timestamp, so the column has
to grow a little to not hide the last digit.

Also fixes a crash when setting the base time while the time column is hidden.
2014-09-11 20:51:47 +02:00
René Stadler
265cc8afdf columns: also auto size thread and pid column on zoom change 2014-09-11 20:51:47 +02:00
René Stadler
c2eddd8db4 columns: cleanup default size calculation
Some unused parameters here.
2014-09-11 20:51:46 +02:00
René Stadler
836d10bc58 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.
2014-09-11 20:51:46 +02:00
René Stadler
200c732056 Resize time and log level columns after zoom change 2014-09-11 20:51:46 +02:00
René Stadler
b866669ae1 Refactor and fix zoom handling
ColumnManager has to apply the zoom factor to newly added columns. Otherwise,
showing a previously hidden column appears with scale 1.0.

This also drops the value-changed signal emission for the vadjustment, as it is
apparently not needed.
2014-09-11 20:51:46 +02:00
Stefan Kost
aa9db8ef8e Add zoom in/out actions, reduce vertical row padding
Add two actions to shrink and enlarge the text in the log pane. Add a theme
overide to set expander size to 1 (see bug #615985) and also turn focus lines
off. Remove extra ypadding on cells.
2014-09-11 20:51:46 +02:00
René Stadler
05aa65551a Fix glib warnings on model property access
Seems like pygobject can all of the sudden not handle a NULL model on a
property. Using the getter works around this. Also using the setter now for
consistency.
2014-09-11 20:51:46 +02:00
René Stadler
097cacebbd Add new base time feature
The log view context menu gains a new action "Set base time", which changes the
time column to show the delta to the selected row.
2014-09-11 20:51:46 +02:00
René Stadler
d71d09759b Split giant GUI module into submodules 2014-09-11 20:51:46 +02:00