[evolution-rss] Bug 733130 - Adapt to EMFolderSelector API changes in evolution 3.13.1
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] Bug 733130 - Adapt to EMFolderSelector API changes in evolution 3.13.1
- Date: Thu, 31 Jul 2014 07:20:32 +0000 (UTC)
commit 659a3c02d75ee739c36e253582bc497bfa92e692
Author: Milan Crha <mcrha redhat com>
Date: Thu Jul 31 09:20:14 2014 +0200
Bug 733130 - Adapt to EMFolderSelector API changes in evolution 3.13.1
src/rss-config-factory.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index a4f22e8..3529a64 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -552,11 +552,18 @@ folder_cb (GtkWidget *widget, gpointer data)
model = em_folder_tree_model_get_default ();
#endif
#if EVOLUTION_VERSION >= 30303
+#if EVOLUTION_VERSION >= 31301
+ dialog = em_folder_selector_new (window, model);
+ em_folder_selector_set_can_create (EM_FOLDER_SELECTOR (dialog), TRUE);
+ em_folder_selector_set_caption (EM_FOLDER_SELECTOR (dialog), _("Move to Folder"));
+ em_folder_selector_set_default_button_label (EM_FOLDER_SELECTOR (dialog), _("M_ove"));
+#else
dialog = em_folder_selector_new (
window,
model,
EM_FOLDER_SELECTOR_CAN_CREATE,
_("Move to Folder"), NULL, _("M_ove"));
+#endif
#else
dialog = em_folder_selector_new (
window,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]