[evolution-rss/evolution-rss-0-2-0] Revert "sanitize value passed to list store" as this breaks list store values
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss/evolution-rss-0-2-0] Revert "sanitize value passed to list store" as this breaks list store values
- Date: Sun, 11 Jul 2010 14:53:55 +0000 (UTC)
commit 2de11161454eeb25b5a293549732b1c8865060ce
Author: Lucian Langa <lucilanga gnome org>
Date: Sun Jul 11 17:46:57 2010 +0300
Revert "sanitize value passed to list store" as this breaks list store values
This reverts commit 61f6f121789893d6001bbc8499298aba0ac846a3.
src/rss-config-factory.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index d653c3e..a602736 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -372,13 +372,10 @@ construct_list(gpointer key, gpointer value, gpointer user_data)
GtkListStore *store = user_data;
GtkTreeIter iter;
gchar *full_name, *name, *full_path;
- gchar *tmp;
gtk_list_store_append (store, &iter);
full_name = lookup_feed_folder(key);
name = g_path_get_basename(full_name);
- tmp = g_markup_escape_text(name, -1);
- g_free(name);
full_path = g_build_filename(
lookup_main_folder(),
full_name,
@@ -387,12 +384,12 @@ construct_list(gpointer key, gpointer value, gpointer user_data)
store,
&iter,
0, g_hash_table_lookup(rf->hre, lookup_key(key)),
- 1, tmp,
+ 1, name,
2, g_hash_table_lookup(rf->hrt, lookup_key(key)),
3, g_strdup(key),
4, full_path,
-1);
- g_free(tmp);
+ g_free(name);
g_free(full_path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]