Deleted done items
[gregoa/zavai.git] / src / app_calendar.vala
index 6dae536efc5058865d55b69f6901de3dccbaa3a7..e35c2cd687da2d8915d00b4fa7fc358ba04fd848 100644 (file)
@@ -43,13 +43,12 @@ public class Calendar : Applet
     }
 }
 
-Calendar calendar;
+public Calendar calendar;
 
 public void init()
 {
     calendar = new Calendar();
-    zavai.registry.register_applet("ui.calendar", calendar);
-    zavai.registry.getmenu("menu.misc").add_applet("ui.calendar");
+    zavai.menu_misc.add_applet(calendar);
 }
 
 }