Example #1
0
 public void UpdateTaskCompleted(RtmTask task)
 {
     if (rtm != null)
     {
         try {
             List list = rtm.TasksComplete(timeline, task.ListID, task.SeriesTaskID, task.TaskTaskID);
             UpdateTaskFromResult(list);
         } catch (Exception e) {
             Logger.Debug("Unable to set Task as completed: " + task.Name);
             Logger.Debug(e.ToString());
         }
     }
 }
Example #2
0
        public static void CompleteTask(string listId, string taskSeriesId, string taskId)
        {
            try {
                rtm.TasksComplete(timeline, listId, taskSeriesId, taskId);
            } catch (RtmException e) {
                Log <RTM> .Debug(e.Message);

                return;
            }

            FinalizeAction(AddinManager.CurrentLocalizer.GetString("Task Completed"),
                           AddinManager.CurrentLocalizer.GetString("The selected task in your Remember The Milk task list has been marked as completed."));
        }