Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
CalDAV: WIP CalDAV support
[xestiacalendar/.git] / source / forms / main / frmMain.cpp
index 9c420ff..42ad5e8 100644 (file)
@@ -82,6 +82,11 @@ frmMainADT( parent )
        
        LoadAccountData();
        
+       // Setup the form icons.
+       
+       SetupFormIcons();
+       SetupStatusBar();
+       
        // Setup the form control.
        
        mainCalendarCtrl = new XCCalendarCtrl(this, &calendarData);
@@ -191,7 +196,8 @@ void frmMain::QuitApp()
 
 }
 
-void frmMain::LoadAccountData(){
+void frmMain::LoadAccountData()
+{
        
        // Get the list of accounts and put into the calendar data storage.
        
@@ -502,7 +508,8 @@ void frmMain::DeleteCalendar( wxCommandEvent& event )
        
 }
 
-void frmMain::CreateNewEvent( wxCommandEvent& event ){
+void frmMain::CreateNewEvent( wxCommandEvent& event )
+{
        
        frmEventEditor *frameNewEvent = new frmEventEditor ( this );
        frameNewEvent->SetupForm(&calendarData, preferences);
@@ -525,7 +532,8 @@ void frmMain::CreateNewEvent( wxCommandEvent& event ){
        
 }
 
-void frmMain::EditEvent( wxCommandEvent& event ){
+void frmMain::EditEvent( wxCommandEvent& event )
+{
        
        frmEventEditor *frameEditEvent = new frmEventEditor ( this );
        frameEditEvent->SetEventID(event.GetInt());
@@ -552,7 +560,8 @@ void frmMain::EditEvent( wxCommandEvent& event ){
        
 }
 
-void frmMain::DeleteEvent( wxCommandEvent& event ){
+void frmMain::DeleteEvent( wxCommandEvent& event )
+{
        
        EventProperties *eventInfo = (EventProperties*)event.GetClientData();
        
@@ -705,4 +714,11 @@ void frmMain::ShowHelp( wxCommandEvent& event )
        
        wxMessageBox(_("The help documentation will be implemented in a future version of Xestia Calendar."), _("Unimplemented"));
        
-}
\ No newline at end of file
+}
+
+void frmMain::ShowActivityManager( wxCommandEvent &event )
+{
+
+       activityManager->Show();
+
+}
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy