aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-summary.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-summary.c
parentadb3761ed62ffc0fbfc840b07ef409c0a6f36f67 (diff)
downloadgsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.gz
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-summary.c')
-rw-r--r--mail/mail-summary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-summary.c b/mail/mail-summary.c
index 94057e53ab..a10d57aea7 100644
--- a/mail/mail-summary.c
+++ b/mail/mail-summary.c
@@ -42,6 +42,7 @@
#include <evolution-services/executive-summary-component.h>
#include <evolution-services/executive-summary-html-view.h>
+#include <gal/widgets/e-unicode.h>
typedef struct {
CamelFolder *folder;
@@ -297,12 +298,11 @@ generate_folder_summaries (MailSummary *summary)
int i;
user = g_strdup_printf ("%s/vfolders.xml", evolution_dir);
- system = g_strdup_printf ("%s/evolution/vfoldertypes.xml", EVOLUTION_DATADIR);
+ system = EVOLUTION_DATADIR "/evolution/vfoldertypes.xml";
context = vfolder_context_new ();
rule_context_load ((RuleContext *)context, system, user);
g_free (user);
- g_free (system);
rule = NULL;
while ((rule = rule_context_next_rule ((RuleContext *)context, rule, NULL))){
@@ -465,7 +465,7 @@ create_summary_view (ExecutiveSummaryComponentFactory *_factory,
summary->folders = 0;
summary->in_summary = FALSE;
summary->folder_to_summary = g_hash_table_new (NULL, NULL);
- summary->title = g_strdup ("Mail Summary");
+ summary->title = e_utf8_from_locale_string (_("Mail Summary"));
summary->icon = g_strdup ("envelope.png");
summary->idle = 0;