aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorGediminas Paulauskas <menesis@delfi.lt>2001-04-22 06:52:56 +0800
committerGediminas Paulauskas <menesis@src.gnome.org>2001-04-22 06:52:56 +0800
commitb50306c3800b30c2cd1256ebdd8902c8a4c8486d (patch)
tree1b179a29f216d9b40cdd14d6ea9ee5e8ca469cd9 /mail/mail-ops.c
parentadb3761ed62ffc0fbfc840b07ef409c0a6f36f67 (diff)
downloadgsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar
gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.gz
gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.bz2
gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.lz
gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.xz
gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.zst
gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.zip
use system = EVOLUTION_DATADIR "/file" instead of g_strdup_printf. Rename
2001-04-22 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser.c, mail-autofilter.c, mail-callbacks.c, mail-ops.c, mail-summary.c, mail-vfolder.c: use system = EVOLUTION_DATADIR "/file" instead of g_strdup_printf. Rename userrules to user (and system) to be consistent. * mail-send-recv.c: set window icon to send-receive.xpm 2001-04-21 Gediminas Paulauskas <menesis@delfi.lt> * mail-summary.c: translate "Mail summary". svn path=/trunk/; revision=9490
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 348cb72206..1ee9de5369 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -52,16 +52,15 @@
FilterContext *
mail_load_filter_context(void)
{
- char *userrules;
- char *systemrules;
+ char *user;
+ char *system;
FilterContext *fc;
- userrules = g_strdup_printf ("%s/filters.xml", evolution_dir);
- systemrules = g_strdup_printf ("%s/evolution/filtertypes.xml", EVOLUTION_DATADIR);
+ user = g_strdup_printf ("%s/filters.xml", evolution_dir);
+ system = EVOLUTION_DATADIR "/evolution/filtertypes.xml";
fc = filter_context_new ();
- rule_context_load ((RuleContext *)fc, systemrules, userrules);
- g_free (userrules);
- g_free (systemrules);
+ rule_context_load ((RuleContext *)fc, system, user);
+ g_free (user);
return fc;
}