[evolution-rss] port to mail_session_get_data_dir



commit 59ceb442566e454644e736c1fe3642bbab4e2a53
Author: Lucian Langa <lucilanga gnome org>
Date:   Wed Dec 16 22:34:45 2009 +0200

    port to mail_session_get_data_dir

 TODO      |    1 +
 src/rss.c |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/TODO b/TODO
index a657e65..f6ebc41 100644
--- a/TODO
+++ b/TODO
@@ -43,3 +43,4 @@
 	* config option to sort comments ascending/descending
 	* hook all rss config options in RSS top folder properties in right click menu
 	* image contained in feeds displayed after the coments ??
+	* accept feeds clicked from mails - add feed option to right click context menu
diff --git a/src/rss.c b/src/rss.c
index 3020fe7..506bee9 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -61,6 +61,7 @@ int rss_verbose_debug = 0;
 #include <e-util/e-alert-dialog.h>
 #include <glib/gi18n.h>
 #include <mail/e-mail-local.h>
+#include <mail/mail-session.h>
 #include <shell/e-shell.h>
 #include <shell/e-shell-taskbar.h>
 #include <shell/e-shell-view.h>
@@ -3666,7 +3667,8 @@ rss_component_peek_base_directory(void)
 {
 #if (EVOLUTION_VERSION >= 22900) //kb//
 	return g_strdup_printf("%s/rss",
-		em_utils_get_data_dir());
+//		em_utils_get_data_dir());
+		mail_session_get_data_dir ());
 #else
 	MailComponent *component = mail_component_peek();
 /* http://bugzilla.gnome.org/show_bug.cgi?id=513951 */



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