[tasque] [RTM] Omit smart lists. They are not supported by the model
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque] [RTM] Omit smart lists. They are not supported by the model
- Date: Wed, 29 Aug 2012 18:17:21 +0000 (UTC)
commit 24c08fa8a816313a79e9cd1d5dd55df67c2fedb6
Author: Antonius Riha <antoniusriha gmail com>
Date: Fri Aug 24 08:12:34 2012 +0200
[RTM] Omit smart lists. They are not supported by the model
src/Backends/Rtm/RtmBackend.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Backends/Rtm/RtmBackend.cs b/src/Backends/Rtm/RtmBackend.cs
index b59e236..5fe5cc6 100644
--- a/src/Backends/Rtm/RtmBackend.cs
+++ b/src/Backends/Rtm/RtmBackend.cs
@@ -560,6 +560,11 @@ namespace Tasque.Backends.RtmBackend
try {
foreach(List list in lists.listCollection)
{
+ if (list.Smart == 1) {
+ Logger.Warn ("Smart list \"{0}\" omitted", list.Name);
+ continue;
+ }
+
RtmCategory rtmCategory = new RtmCategory(list);
lock(catLock)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]