Author: justi9
Date: 2007-11-02 16:42:59 -0400 (Fri, 02 Nov 2007)
New Revision: 1224
Modified:
mgmt/cumin/python/cumin/exchange.py
mgmt/cumin/python/cumin/exchange.strings
Log:
Renames ProducerSet to ExchangeProducerSet.
Modified: mgmt/cumin/python/cumin/exchange.py
===================================================================
--- mgmt/cumin/python/cumin/exchange.py 2007-11-02 20:41:27 UTC (rev 1223)
+++ mgmt/cumin/python/cumin/exchange.py 2007-11-02 20:42:59 UTC (rev 1224)
@@ -105,7 +105,7 @@
self.add_child(self.tabs)
self.tabs.add_tab(ExchangeStatistics(app, "stats"))
- self.tabs.add_tab(ProducerSet(app, "producers"))
+ self.tabs.add_tab(ExchangeProducerSet(app, "producers"))
self.tabs.add_tab(ExchangeBindingSet(app, "bindings"))
def render_title(self, session, exchange):
@@ -293,7 +293,7 @@
def render_title(self, session, exchange):
return "History"
-class ProducerSet(ItemSet):
+class ExchangeProducerSet(ItemSet):
def render_title(self, session, queue):
return "Producers (%i)" % len(queue.producer_items())
Modified: mgmt/cumin/python/cumin/exchange.strings
===================================================================
--- mgmt/cumin/python/cumin/exchange.strings 2007-11-02 20:41:27 UTC (rev 1223)
+++ mgmt/cumin/python/cumin/exchange.strings 2007-11-02 20:42:59 UTC (rev 1224)
@@ -129,7 +129,7 @@
</tr>
</table>
-[ProducerSet.html]
+[ExchangeProducerSet.html]
<div class="sactions">
<h2>Act on Selected Producers:</h2>
<button>Start</button>
@@ -148,7 +148,7 @@
{items}
</table>
-[ProducerSet.item_html]
+[ExchangeProducerSet.item_html]
<tr>
<td><input type="checkbox"/></td>
<td>{item_name}</td>