[evolution-rss] adapt to latest evolution changes



commit a7d886e3e383484ded07d9808eb8ada16ab1ca9c
Author: Lucian Langa <lucilanga gnome org>
Date:   Thu Aug 11 22:34:50 2011 +0300

    adapt to latest evolution changes

 TODO                     |    2 +-
 src/rss-config-factory.c |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/TODO b/TODO
index 8304a01..e1674b0 100644
--- a/TODO
+++ b/TODO
@@ -43,4 +43,4 @@
 	* detect rss-id changes (file changes) -> feeds downloaded all over again
 	* add evolution-rss.desktop file to integrate into browsers
 	* remove useless validation option
-	* checkbox - autodisable broken feeds
+	* checkbox - autodisable broken feeds - apply dyn penalty
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 427d3d5..4a5b4c2 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -465,6 +465,9 @@ folder_cb (GtkWidget *widget, gpointer data)
 	GError *error = NULL;
 	EMFolderSelector *selector;
 	EMFolderTree *folder_tree;
+#if EVOLUTION_VERSION >= 30101
+	EMFolderTreeModel *model;
+#endif
 #else
 	GtkWidget *folder_tree;
 #endif
@@ -482,10 +485,16 @@ folder_cb (GtkWidget *widget, gpointer data)
 
 	window = e_mail_reader_get_window (reader);
 
+#if EVOLUTION_VERSION >= 30103
+	model = em_folder_tree_model_get_default ();
+#endif
 	dialog = em_folder_selector_new (
 			window,
 #if EVOLUTION_VERSION >= 30101
 			backend,
+#if EVOLUTION_VERSION >= 30103
+			model,
+#endif
 #else
 			EM_FOLDER_TREE (folder_tree),
 #endif



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