Slightly better structure to menus
[gregoa/zavai.git] / plugins / 50_sat_monitor.py
index 1594a80830d3dddf8466b23abc9247e7c2f5edc5..47458dcf92fa862d3bdc0c8cf42918b7d0a55d49 100644 (file)
@@ -113,7 +113,7 @@ def init(conf = None, registry = None, **kw):
     registry.register("app.satellite_monitor", SatelliteMonitor)
     menu_gps = registry.menu("main.gps")
 
     registry.register("app.satellite_monitor", SatelliteMonitor)
     menu_gps = registry.menu("main.gps")
 
-    monitor = gtk.Button(_("Monitor"))
+    monitor = zavai.MenuButton(_("Monitor"))
     monitor.connect("clicked", lambda *args: start_monitor(registry))
     menu_gps.add_child(monitor)
 
     monitor.connect("clicked", lambda *args: start_monitor(registry))
     menu_gps.add_child(monitor)