summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorPranav Ganorkar <pranavg189@gmail.com>2017-06-09 19:01:04 +0530
committerJonathan Kang <jonathan121537@gmail.com>2017-06-29 10:08:59 +0800
commit3bb233264c9de1a471db86344656ffa77ca9a1e4 (patch)
treeda4b6705857754c70f035490c4434e35e3bf7860 /data
parent0a7fd4c44a7b1cae314aaec0d4048c16d636fe91 (diff)
downloadgnome-logs-3bb233264c9de1a471db86344656ffa77ca9a1e4.tar.gz
Compress similar events in GlEventViewList
The compression information is stored in GlRowEntry objects during population of the model array.The similarity criteria for grouping adjacent messages is: * Messages whose first word is same * Messages sent by the same process The compression information is then parsed in the view classes and accordingly the events to be compressed are hidden in GlEventViewList. The visibility of compressed events can be toggled by activating the header row representing those compressed events. When compressed events are expanded using the header, sorting order specified by 'sort-order' GSettings key is maintained in GlEventViewList. Headers are removed from the compressed rows to improve their visibility when they are shown by activating the header. https://bugzilla.gnome.org/show_bug.cgi?id=709294
Diffstat (limited to 'data')
-rw-r--r--data/gl-style.css16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/gl-style.css b/data/gl-style.css
index 491ee90..ce48a7f 100644
--- a/data/gl-style.css
+++ b/data/gl-style.css
@@ -33,3 +33,19 @@
padding-top: 0px;
padding-bottom: 0px;
}
+
+.compressed-entries-label {
+ background-color: #d4d4d4;
+ font-size: small;
+ border-radius: 3px;
+ padding-left: 5px;
+ padding-right: 5px;
+}
+
+.compressed-row {
+ background-color: #f9f9f9;
+}
+
+.compressed-row-header {
+ background-color: #f0f0f0;
+}