Fixed transformation of buttons in menu items
[wifihood] / hildon.py
index db40dd8..46b0ac6 100644 (file)
--- a/hildon.py
+++ b/hildon.py
@@ -27,7 +27,7 @@ class Window ( gtk.Window ) :
 class AppMenu ( gtk.MenuBar ) :
     def append ( self , item ) :
       item._menu_item = gtk.MenuItem( item.get_label() )
-      item._menu_item.connect( "activate", lambda arg : item.get_selector().show_all() )
+      item._menu_item.connect( "activate", lambda arg : item.clicked() )
       gtk.MenuBar.append( self , item._menu_item )
 
 class StackableWindow ( Window ) :