aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog27
-rw-r--r--mail/mail-config.c6
2 files changed, 23 insertions, 10 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 39f88349c2..c7cbefae16 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,26 +1,37 @@
+2001-07-05 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-config.c (mail_config_set_show_preview): Okay, apparently I
+ was wrong. Oh well.
+ (mail_config_set_thread_list): Fix this one too.
+
2001-07-05 Peter Williams <peterw@ximian.com>
- * Makefile.am: Remove the ridiculuous relic known as test-mail. Clean up
- a bit.
+ * mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache
+ hookups.
- * mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache hookups.
+ * Makefile.am: Remove the ridiculuous relic known as
+ test-mail. Clean up a bit.
+
+ * mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache
+ hookups.
2001-07-05 Peter Williams <peterw@ximian.com>
- * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Clear the
- shell view label if mailer loses focus.
+ * mail-folder-cache.c (mail_folder_cache_set_folder_browser):
+ Clear the shell view label if mailer loses focus.
* mail-ops.c (do_update_subfolders_rec): Check for NULL url before
calling folder cache functions.
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
- * folder-browser-ui.c (message_pixcache): set icon for ApplyFilters
- command.
+ * folder-browser-ui.c (message_pixcache): set icon for
+ ApplyFilters command.
2001-07-04 Jeffrey Stedfast <fejj@ximian.com>
- * mail-config.c (mail_config_set_show_preview): Revert Sam's changes.
+ * mail-config.c (mail_config_set_show_preview): Revert Sam's
+ changes.
Note: Uhm, g_hash_table_lookup_extended gives us a pointer to the
original value which we can just change to update the hash table
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 6a60a4855e..d0b473172f 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -923,7 +923,8 @@ mail_config_set_show_preview (const char *uri, gboolean value)
config->preview_hash = g_hash_table_new (g_str_hash, g_str_equal);
if (g_hash_table_lookup_extended (config->preview_hash, dbkey, &key, &val)) {
- val = GINT_TO_POINTER (value);
+ g_hash_table_insert (config->preview_hash, dbkey,
+ GINT_TO_POINTER (value));
g_free (dbkey);
} else {
g_hash_table_insert (config->preview_hash, dbkey,
@@ -977,7 +978,8 @@ mail_config_set_thread_list (const char *uri, gboolean value)
config->threaded_hash = g_hash_table_new (g_str_hash, g_str_equal);
if (g_hash_table_lookup_extended (config->threaded_hash, dbkey, &key, &val)) {
- val = GINT_TO_POINTER (value);
+ g_hash_table_insert (config->threaded_hash, dbkey,
+ GINT_TO_POINTER (value));
g_free (dbkey);
} else {
g_hash_table_insert (config->threaded_hash, dbkey,