Author: eallen
Date: 2011-04-20 13:23:44 +0000 (Wed, 20 Apr 2011)
New Revision: 4727
Modified:
trunk/cumin/model/rosemary.xml
trunk/cumin/python/cumin/messaging/connection.py
Log:
Override the RemoteProcessName column title in the xml file instead of the code. This
fixes a problem with the search box on the Connections page.
Modified: trunk/cumin/model/rosemary.xml
===================================================================
--- trunk/cumin/model/rosemary.xml 2011-04-20 12:59:54 UTC (rev 4726)
+++ trunk/cumin/model/rosemary.xml 2011-04-20 13:23:44 UTC (rev 4727)
@@ -87,6 +87,9 @@
<title>%(address)s</title>
</object>
+ <property name="remoteProcessName">
+ <title>Process (PID)</title>
+ </property>
<property name="remotePid">
<title>Process ID</title>
<!-- value -->
Modified: trunk/cumin/python/cumin/messaging/connection.py
===================================================================
--- trunk/cumin/python/cumin/messaging/connection.py 2011-04-20 12:59:54 UTC (rev 4726)
+++ trunk/cumin/python/cumin/messaging/connection.py 2011-04-20 13:23:44 UTC (rev 4727)
@@ -118,9 +118,6 @@
except KeyError:
self.pid_field = ObjectSqlField(self.table.adapter, self.pid_attr)
- def render_header_content(self, session):
- return "Process (PID)"
-
def render_cell_content(self, session, record):
args = (record[self.field.index], record[self.pid_field.index] or 0)
return "%s (%i)" % args
Show replies by date