Now all appointments in mailbox are taken into account
This commit is contained in:
parent
66679785d5
commit
3f1d5f3570
@ -263,8 +263,12 @@ namespace Outlook2013TodoAddIn
|
|||||||
{
|
{
|
||||||
if (Properties.Settings.Default.Accounts != null && Properties.Settings.Default.Accounts.Contains(store.DisplayName))
|
if (Properties.Settings.Default.Accounts != null && Properties.Settings.Default.Accounts.Contains(store.DisplayName))
|
||||||
{
|
{
|
||||||
Outlook.Folder calFolder = store.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar) as Outlook.Folder;
|
Outlook.Folders rootFolders = store.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderCalendar).Parent.Folders as Outlook.Folders;
|
||||||
appts.AddRange(this.RetrieveAppointmentsForFolder(calFolder));
|
foreach (Outlook.Folder folder in rootFolders)
|
||||||
|
{
|
||||||
|
appts.AddRange(this.RetrieveAppointmentsForFolder(folder));
|
||||||
|
}
|
||||||
|
|
||||||
// TODO: Shared calendars?
|
// TODO: Shared calendars?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user