protected virtual void OnDiscardRatingsActionActivated(object sender, System.EventArgs e) { if (GtkSharpUtils.YesNo(this, "Are you sure you want to delete all ratings?") == ResponseType.Yes) { ratings.Clear(); rating_predictor.RemoveUser(current_user_id); Console.Error.WriteLine("Removed user ratings."); PredictAllRatings(); } }