aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-07 20:12:13 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-07 20:12:13 +0800
commit39be7e3d9cc8d42b63ec88aecb7756440d0b96ae (patch)
tree33486ea9292e8a64658e1c11daa201169087eed5 /plugins
parent8f3a968fc9e8fc309eace95ff760378875ebf6fd (diff)
downloadgsoc2013-evolution-39be7e3d9cc8d42b63ec88aecb7756440d0b96ae.tar
gsoc2013-evolution-39be7e3d9cc8d42b63ec88aecb7756440d0b96ae.tar.gz
gsoc2013-evolution-39be7e3d9cc8d42b63ec88aecb7756440d0b96ae.tar.bz2
gsoc2013-evolution-39be7e3d9cc8d42b63ec88aecb7756440d0b96ae.tar.lz
gsoc2013-evolution-39be7e3d9cc8d42b63ec88aecb7756440d0b96ae.tar.xz
gsoc2013-evolution-39be7e3d9cc8d42b63ec88aecb7756440d0b96ae.tar.zst
gsoc2013-evolution-39be7e3d9cc8d42b63ec88aecb7756440d0b96ae.zip
** Fix for bug #300336
2008-01-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #300336 * plugins/groupwise-features/share-folder-common.c: (users_dialog_response): Ensure vfolder is running. * mail/mail-vfolder.h: (vfolder_loaded): * mail/mail-vfolder.c: (vfolder_loaded): New helper function. * mail/em-folder-utils.c: (emfu_popup_new_folder_response): * mail/mail-vfolder.c: (vfolder_gui_add_rule), (vfolder_gui_add_from_message), (vfolder_gui_add_from_address): * mail/em-folder-browser.c: (emfb_search_menu_activated): * mail/em-folder-view.c: (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (vfolder_type_current): Ensure vfolder is running. * mail/mail-component.c: (mc_startup): Do not start vfolder when disabled by option '/apps/evolution/mail/display/enable_vfolders'. * mail/evolution-mail.schemas.in: Added schema for new option. * mail/mail-config.glade: * mail/em-mailer-prefs.h: * mail/em-mailer-prefs.c: Added checkbox for "Enable Search Folders" option. Note: if your schema failed to install, then the search folders will be hidden. Enable by hand then. svn path=/trunk/; revision=34775
Diffstat (limited to 'plugins')
-rw-r--r--plugins/groupwise-features/ChangeLog7
-rw-r--r--plugins/groupwise-features/share-folder-common.c4
2 files changed, 11 insertions, 0 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index 330ed6384d..b11ca999c1 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,3 +1,10 @@
+2008-01-07 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #300336
+
+ * share-folder-common.c: (users_dialog_response):
+ Ensure vfolder is running.
+
2007-12-06 Alex Kloss <alexkloss@att.net>
** Fix for bug #347328
diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c
index 952980b171..9427788de3 100644
--- a/plugins/groupwise-features/share-folder-common.c
+++ b/plugins/groupwise-features/share-folder-common.c
@@ -273,6 +273,10 @@ users_dialog_response(GtkWidget *dialog, int response, struct ShareInfo *ssi)
if (CAMEL_IS_VEE_STORE(store)) {
EMVFolderRule *rule;
+ /* ensures vfolder is running */
+ if (!vfolder_loaded ())
+ vfolder_load_storage ();
+
rule = em_vfolder_rule_new();
filter_rule_set_name((FilterRule *)rule, path);
vfolder_gui_add_rule(rule);