[blam] Temporary fix for context:encoded
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] Temporary fix for context:encoded
- Date: Mon, 11 Oct 2010 20:30:29 +0000 (UTC)
commit 9a9411af546415ce4458ac99222c14c618c020d7
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Mon Oct 11 13:32:43 2010 +0100
Temporary fix for context:encoded
src/Item.cs | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/src/Item.cs b/src/Item.cs
index 788f1da..2b67240 100644
--- a/src/Item.cs
+++ b/src/Item.cs
@@ -82,14 +82,10 @@ namespace Imendio.Blam {
break;
}
break;
- case "content":
- /* <content:encoded> overwrites anything */
- switch(ext.OuterName){
- case "encoded":
- this.exposed_text = ext.GetObject<SyndicationContent>();
- break;
- }
- break;
+ }
+
+ if(ext.OuterName == "encoded"){
+ exposed_text = new TextSyndicationContent(ext.GetObject<string>());
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]