[evolution-rss] fix #596034 - Cannot rename RSS folders



commit ed330e5db04be0b7c6b3f2c5d4020a7bf52a5630
Author: Lucian Langa <lucilanga gnome org>
Date:   Sun Sep 27 22:10:24 2009 +0300

    fix #596034 - Cannot rename RSS folders

 src/rss-config-factory.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 510e436..cb36d72 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -1057,11 +1057,10 @@ process_dialog_edit(add_feed *feed, gchar *url, gchar *feed_name)
         feed->feed_url = sanitize_url(feed->feed_url);
         g_free(text);
         if (feed->feed_url) {
-			feed->edit=1;
-			feed->feed_name = g_path_get_basename(lookup_feed_folder(feed_name));
-			prefix = g_path_get_dirname(lookup_feed_folder(feed_name));
-			if (*prefix != '.')
-				feed->prefix = prefix;
+		feed->edit=1;
+		prefix = g_path_get_dirname(lookup_feed_folder(feed_name));
+		if (*prefix != '.')
+			feed->prefix = prefix;
 		if (strcmp(url, feed->feed_url)) {
 			//prevent adding of an existing feed (url)
 			//which might screw things



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]