show_widget wants a name
authorEnrico Zini <enrico@enricozini.org>
Sun, 14 Jun 2009 05:14:02 +0000 (13:14 +0800)
committerEnrico Zini <enrico@enricozini.org>
Sun, 14 Jun 2009 05:14:02 +0000 (13:14 +0800)
plugins/50_sat_monitor.py

index ff739bf73bec24893567d2cd7eddf4fe6a0c89fc..1594a80830d3dddf8466b23abc9247e7c2f5edc5 100644 (file)
@@ -106,7 +106,7 @@ class SatelliteMonitor(gtk.VBox, zavai.Resource):
 
 def start_monitor(registry):
     monitor = registry.resource("app.satellite_monitor")
-    registry.resource("app").show_widget(monitor)
+    registry.resource("app").show_widget("app.satellite_monitor")
     monitor.start()
 
 def init(conf = None, registry = None, **kw):