aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-09 14:52:41 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-09 14:52:41 +0800
commit88ab6df1309919eaca6ce10106bae4cdb8b37525 (patch)
treee1d2af9f8cf79dd00bd12c6e152d09525934d5b7
parent2481120809ca40d8675f85851214272a527e6298 (diff)
downloadgsoc2013-evolution-88ab6df1309919eaca6ce10106bae4cdb8b37525.tar
gsoc2013-evolution-88ab6df1309919eaca6ce10106bae4cdb8b37525.tar.gz
gsoc2013-evolution-88ab6df1309919eaca6ce10106bae4cdb8b37525.tar.bz2
gsoc2013-evolution-88ab6df1309919eaca6ce10106bae4cdb8b37525.tar.lz
gsoc2013-evolution-88ab6df1309919eaca6ce10106bae4cdb8b37525.tar.xz
gsoc2013-evolution-88ab6df1309919eaca6ce10106bae4cdb8b37525.tar.zst
gsoc2013-evolution-88ab6df1309919eaca6ce10106bae4cdb8b37525.zip
** See bug 52696.
2004-01-09 Not Zed <NotZed@Ximian.com> ** See bug 52696. * mail-component.c (setup_search_context): move the searches to ~/.evolution/mail/searches.xml (migration?). (setup_search_context): fix a merge error, vfoldertypes.xml->searchtypes.xml since it includes the system searches now. svn path=/trunk/; revision=24127
-rw-r--r--mail/ChangeLog10
-rw-r--r--mail/mail-component.c4
2 files changed, 12 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 307651ea64..ae58656df8 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,15 @@
2004-01-09 Not Zed <NotZed@Ximian.com>
+ ** See bug 52696.
+
+ * mail-component.c (setup_search_context): move the searches to
+ ~/.evolution/mail/searches.xml (migration?).
+ (setup_search_context): fix a merge error,
+ vfoldertypes.xml->searchtypes.xml since it includes the system
+ searches now.
+
+2004-01-09 Not Zed <NotZed@Ximian.com>
+
* em-folder-tree.c (emft_popup_properties_got_folder): add total +
unread counts to properties page.
diff --git a/mail/mail-component.c b/mail/mail-component.c
index af9add5a80..00715d7970 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -162,8 +162,8 @@ static void
setup_search_context (MailComponent *component)
{
MailComponentPrivate *priv = component->priv;
- char *user = g_strdup_printf ("%s/evolution/searches.xml", g_get_home_dir ()); /* EPFIXME should be somewhere else. */
- char *system = g_strdup (EVOLUTION_PRIVDATADIR "/vfoldertypes.xml");
+ char *user = g_build_filename(component->priv->base_directory, "mail/searches.xml", NULL);
+ char *system = g_strdup (EVOLUTION_PRIVDATADIR "/searchtypes.xml");
priv->search_context = rule_context_new ();
g_object_set_data_full (G_OBJECT (priv->search_context), "user", user, g_free);