aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-rdf.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-07-31 04:50:33 +0800
committerIain Holmes <iain@src.gnome.org>2001-07-31 04:50:33 +0800
commitef6000b227427ac4f3e9180df3046a29f219dec8 (patch)
tree7e746fadc7e54b7a63f3075f8515fbd176749a5a /my-evolution/e-summary-rdf.c
parent381bb00712e2990e4c9cd23789d04c4227cb59ec (diff)
downloadgsoc2013-evolution-ef6000b227427ac4f3e9180df3046a29f219dec8.tar
gsoc2013-evolution-ef6000b227427ac4f3e9180df3046a29f219dec8.tar.gz
gsoc2013-evolution-ef6000b227427ac4f3e9180df3046a29f219dec8.tar.bz2
gsoc2013-evolution-ef6000b227427ac4f3e9180df3046a29f219dec8.tar.lz
gsoc2013-evolution-ef6000b227427ac4f3e9180df3046a29f219dec8.tar.xz
gsoc2013-evolution-ef6000b227427ac4f3e9180df3046a29f219dec8.tar.zst
gsoc2013-evolution-ef6000b227427ac4f3e9180df3046a29f219dec8.zip
Remove the wipe trackers option.
svn path=/trunk/; revision=11486
Diffstat (limited to 'my-evolution/e-summary-rdf.c')
-rw-r--r--my-evolution/e-summary-rdf.c38
1 files changed, 3 insertions, 35 deletions
diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c
index 5677e5628d..3a6eae6754 100644
--- a/my-evolution/e-summary-rdf.c
+++ b/my-evolution/e-summary-rdf.c
@@ -154,7 +154,6 @@ tree_walk (xmlNodePtr root,
xmlNodePtr channel = NULL;
xmlNodePtr image = NULL;
xmlNodePtr item[16];
- gboolean wipe_trackers;
int items = 0;
int limit;
int i;
@@ -163,10 +162,8 @@ tree_walk (xmlNodePtr root,
if (r->summary->preferences == NULL) {
limit = 10;
- wipe_trackers = FALSE;
} else {
limit = r->summary->preferences->limit;
- wipe_trackers = r->summary->preferences->wipe_trackers;
}
/* FIXME: Need arrows */
@@ -257,38 +254,9 @@ tree_walk (xmlNodePtr root,
for (i = 0; i < items; i++) {
char *p = layer_find (item[i]->childs, "title", "No information");
- if (wipe_trackers) {
- char *p = layer_find_url (item[i]->childs, "link", "");
- char *x = strchr (p, '?');
- unsigned char *r, *w;
- int n;
- if (x == NULL)
- continue;
- x++;
- r = x;
- w = x;
- while (*r) {
- if (*r == '+') {
- *w++ = ' ';
- } else if (*r == '%') {
- sscanf (r+1, "%02x", &n);
- *w++ = n;
- r += 2;
- } else {
- *w++ = *r;
- }
- r++;
- }
- *w = 0;
- tmp = g_strdup_printf ("<LI><font size=\"-1\"><A href=\"%s\">\n", x+4);
- g_string_append (html, tmp);
- g_free (tmp);
- }
- else {
- tmp = g_strdup_printf ("<LI><font size=\"-1\"><A href=\"%s\">\n", layer_find_url(item[i]->childs, "link", ""));
- g_string_append (html, tmp);
- g_free (tmp);
- }
+ tmp = g_strdup_printf ("<LI><font size=\"-1\"><A href=\"%s\">\n", layer_find_url(item[i]->childs, "link", ""));
+ g_string_append (html, tmp);
+ g_free (tmp);
p = e_utf8_from_locale_string (p);
tmp = g_strdup_printf ("%s\n</A></font></li>", p);