diff --git a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy index 8f1438b4..f09293c8 100644 --- a/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/MainFrameView.groovy @@ -269,7 +269,7 @@ class MainFrameView { closureColumn(header : "Name", preferredWidth : 500, type : String, read : {row -> row.getCachedPath()}) closureColumn(header : "Size", preferredWidth : 50, type : Long, read : {row -> row.getCachedLength() }) closureColumn(header : "Comments", preferredWidth : 50, type : Boolean, read : {it.getComment() != null}) - closureColumn(header : "Certificates", preferredWidth : 50, type : Boolean, read : { + closureColumn(header : "Certified", preferredWidth : 50, type : Boolean, read : { Core core = application.context.get("core") core.certificateManager.hasLocalCertificate(it.getInfoHash()) }) diff --git a/gui/griffon-app/views/com/muwire/gui/SearchTabView.groovy b/gui/griffon-app/views/com/muwire/gui/SearchTabView.groovy index b417922e..ec67dd22 100644 --- a/gui/griffon-app/views/com/muwire/gui/SearchTabView.groovy +++ b/gui/griffon-app/views/com/muwire/gui/SearchTabView.groovy @@ -93,6 +93,7 @@ class SearchTabView { closureColumn(header: "Direct Sources", preferredWidth: 50, type : Integer, read : { row -> model.hashBucket[row.infohash].size()}) closureColumn(header: "Possible Sources", preferredWidth : 50, type : Integer, read : {row -> model.sourcesBucket[row.infohash].size()}) closureColumn(header: "Comments", preferredWidth: 20, type: Boolean, read : {row -> row.comment != null}) + closureColumn(header: "Certificates", preferredWidth: 20, type: Integer, read : {row -> row.certificates}) } } }