public static void NewList(string newListName) { if (IsProtectedList(newListName)) { Services.Notifications.Notify("Invalid List Name", "The provided new list name is reserved.", RTMIconPath); return; } try { rtm.ListsNew(timeline, newListName); } catch (RtmException e) { Log <RTM> .Debug(e.Message); return; } FinalizeAction(AddinManager.CurrentLocalizer.GetString("New List Created"), String.Format(AddinManager.CurrentLocalizer.GetString("A new task list named \"{0}\" has been created."), newListName)); }