No power menu in the main menu
authorEnrico Zini <enrico@enricozini.org>
Wed, 12 Aug 2009 17:47:13 +0000 (18:47 +0100)
committerEnrico Zini <enrico@enricozini.org>
Wed, 12 Aug 2009 17:47:13 +0000 (18:47 +0100)
src/app_power.vala

index 56ee8dafd0541c91e689532e088c966330964419..cd049f0c4d35860d9d825225d255efd186beffe8 100644 (file)
@@ -238,7 +238,7 @@ public void init()
        menu_power.add_widget(new RebootButton());
     zavai.registry.register_menu("menu.power", menu_power);
 
        menu_power.add_widget(new RebootButton());
     zavai.registry.register_menu("menu.power", menu_power);
 
-    zavai.registry.getmenu("menu.main").add_applet("menu.power");
+    //zavai.registry.getmenu("menu.main").add_applet("menu.power");
 
     /*
        raise_icon = new RaiseIcon();
 
     /*
        raise_icon = new RaiseIcon();