aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-07-13 06:17:23 +0800
committerChris Toshok <toshok@src.gnome.org>2000-07-13 06:17:23 +0800
commit247366f851afcaff367fcf13c130e3f727566864 (patch)
tree0c2947af8149aa00d9bb2079b6079d98e2134b27
parent6e8da6b223c9e3450597eeaf03a88123f3c8b656 (diff)
downloadgsoc2013-evolution-247366f851afcaff367fcf13c130e3f727566864.tar
gsoc2013-evolution-247366f851afcaff367fcf13c130e3f727566864.tar.gz
gsoc2013-evolution-247366f851afcaff367fcf13c130e3f727566864.tar.bz2
gsoc2013-evolution-247366f851afcaff367fcf13c130e3f727566864.tar.lz
gsoc2013-evolution-247366f851afcaff367fcf13c130e3f727566864.tar.xz
gsoc2013-evolution-247366f851afcaff367fcf13c130e3f727566864.tar.zst
gsoc2013-evolution-247366f851afcaff367fcf13c130e3f727566864.zip
fix some cut & paste bung.
2000-07-12 Chris Toshok <toshok@helixcode.com> * mail-config.c (providers_config_new): fix some cut & paste bung. svn path=/trunk/; revision=4126
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/mail-config.c12
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");