diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 4 | ||||
-rw-r--r-- | mail/mail-config.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f69c3c8e8a..08450858c1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,9 @@ 2000-07-12 Chris Toshok <toshok@helixcode.com> + * mail-config.c (providers_config_new): fix some cut & paste bung. + +2000-07-12 Chris Toshok <toshok@helixcode.com> + * mail-format.c (setup_function_table): add "message/news" to the mime_function_table using the same handler as message/rfc822. diff --git a/mail/mail-config.c b/mail/mail-config.c index 9fda6b516c..c4a580befd 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -2116,21 +2116,21 @@ providers_config_new (void) (GtkDestroyNotify) gtk_widget_unref); gtk_clist_set_column_width (GTK_CLIST (clistNewsServers), 0, 80); - if (news_configured) { + if (news_configured && !news_server) { path = g_strdup_printf ("=%s/config=/news/source", evolution_dir); - source = gnome_config_get_string (path); + news_server = gnome_config_get_string (path); g_free (path); } - source_row = -1; - if (source) { + news_server_row = -1; + if (news_server) { char *text[] = { "" }; gtk_clist_append (GTK_CLIST (clistNewsServers), text); - gtk_clist_set_text (GTK_CLIST (clistNewsServers), 0, 0, source); + gtk_clist_set_text (GTK_CLIST (clistNewsServers), 0, 0, news_server); gtk_clist_set_row_data (GTK_CLIST (clistNewsServers), 0, - g_strdup(source)); + g_strdup(news_server)); } cmdNewsServersAdd = glade_xml_get_widget (gui, "cmdNewsServersAdd"); |