From ef6000b227427ac4f3e9180df3046a29f219dec8 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Mon, 30 Jul 2001 20:50:33 +0000 Subject: Remove the wipe trackers option. svn path=/trunk/; revision=11486 --- my-evolution/e-summary-rdf.c | 38 +++----------------------------------- 1 file changed, 3 insertions(+), 35 deletions(-) (limited to 'my-evolution/e-summary-rdf.c') 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 ("
  • \n", x+4); - g_string_append (html, tmp); - g_free (tmp); - } - else { - tmp = g_strdup_printf ("
  • \n", layer_find_url(item[i]->childs, "link", "")); - g_string_append (html, tmp); - g_free (tmp); - } + tmp = g_strdup_printf ("
  • \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
  • ", p); -- cgit