Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Views/LogView/LogCell.vala
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
public class Monitor.LogCell : Granite.Bin {
public enum CellType {
ORIGIN,
MESSAGE,
PRIORITY
MESSAGE
}

public CellType cell_type { get; construct; }
Expand Down
2 changes: 1 addition & 1 deletion src/Views/LogView/SystemdLogModel.vala
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public class Monitor.SystemdLogModel : GLib.Object, GLib.ListModel, Gtk.SectionM

var dt = new DateTime.from_unix_utc ((int64) (time / TimeSpan.SECOND));

var entry = new SystemdLogEntry (origin, message, dt, (Systemd.Journal.Priority) priority.to_int ());
var entry = new SystemdLogEntry (origin, message, dt, (Systemd.Journal.Priority) int.parse (priority));

// Filter if we're searching. We drop them and don't add them and use a filter model
// because when searching for e.g. a non existent term this would fill up memory *quick*
Expand Down
Loading