aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-accounts.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c5cc0583fd..d7ad00e5d2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-18 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-accounts.c (mail_accounts_load): Specify the default
+ account. Also, don't need to use e_utf8_to_gtk_string() here.
+
2002-11-18 Not Zed <NotZed@Ximian.com>
* Makefile.am (evolution_mail_LDADD): Added back
diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c
index 7e630aeda1..2e1609b717 100644
--- a/mail/mail-accounts.c
+++ b/mail/mail-accounts.c
@@ -467,10 +467,15 @@ mail_accounts_load (MailAccountsTab *prefs)
e_table_memory_set_data (E_TABLE_MEMORY (prefs->model), row, (gpointer) account);
#else
{
+ const MailConfigAccount *default_account;
char *text[3];
+ default_account = mail_config_get_default_account ();
+
text[0] = NULL;
- text[1] = e_utf8_to_gtk_string (GTK_WIDGET (prefs->table), account->name);
+ text[1] = g_strdup_printf ("%s%s%s", account->name,
+ account == default_account ? " " : "",
+ account == default_account ? _("[Default]") : "");
text[2] = url && url->protocol ? url->protocol : (char *) _("None");
gtk_clist_insert (prefs->table, row, text);