aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog10
-rw-r--r--mail/message-list.c15
-rw-r--r--mail/message-list.h1
3 files changed, 12 insertions, 14 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 053cf113a8..f953bfcb32 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,15 @@
2008-03-27 Milan Crha <mcrha@redhat.com>
+ ** Part of fix for bug #519292
+
+ * message-list.h: (message_list_set_expand_all):
+ * message-list.c: (message_list_set_expand_all):
+ Remove unused confusing function.
+ * message-list.c: (regen_list_done):
+ Use numbers instead of gboolean value.
+
+2008-03-27 Milan Crha <mcrha@redhat.com>
+
** Fix for bug #502826 (original patch by nickspoon0)
* mail-config.glade:
diff --git a/mail/message-list.c b/mail/message-list.c
index 374ad3bea0..b276e227e7 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3546,17 +3546,6 @@ message_list_set_threaded (MessageList *ml, gboolean threaded)
}
void
-message_list_set_expand_all (MessageList *ml, gboolean threaded)
-{
- if (ml->threaded != threaded) {
- ml->threaded = threaded;
-
- if (ml->frozen == 0)
- mail_regen_list (ml, ml->search, NULL, NULL);
- }
-}
-
-void
message_list_set_hidedeleted (MessageList *ml, gboolean hidedeleted)
{
if (ml->hidedeleted != hidedeleted) {
@@ -4062,8 +4051,8 @@ regen_list_done (struct _regen_list_msg *m)
else
load_tree_state (m->ml);
- m->ml->expand_all = FALSE;
- m->ml->collapse_all = FALSE;
+ m->ml->expand_all = 0;
+ m->ml->collapse_all = 0;
} else
build_flat (m->ml, m->summary, m->changes);
diff --git a/mail/message-list.h b/mail/message-list.h
index 147d76955d..806c0e2417 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -219,7 +219,6 @@ void message_list_set_threaded (MessageList *ml, gboolean threaded);
void message_list_set_threaded_expand_all (MessageList *ml);
void message_list_set_threaded_collapse_all (MessageList *ml);
-void message_list_set_expand_all (MessageList *ml, gboolean threaded);
void message_list_set_hidedeleted (MessageList *ml, gboolean hidedeleted);
void message_list_set_search (MessageList *ml, const char *search);