aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-07-28 18:07:46 +0800
committerMilan Crha <mcrha@redhat.com>2011-07-28 18:07:46 +0800
commitf093504e65eb82178d1335a9c8f748caf4382580 (patch)
treee43f475912345bf1ab612789383c75563979c40d /mail
parent5583c88321df3cc36a82befaa050e5c9322bc1af (diff)
downloadgsoc2013-evolution-f093504e65eb82178d1335a9c8f748caf4382580.tar
gsoc2013-evolution-f093504e65eb82178d1335a9c8f748caf4382580.tar.gz
gsoc2013-evolution-f093504e65eb82178d1335a9c8f748caf4382580.tar.bz2
gsoc2013-evolution-f093504e65eb82178d1335a9c8f748caf4382580.tar.lz
gsoc2013-evolution-f093504e65eb82178d1335a9c8f748caf4382580.tar.xz
gsoc2013-evolution-f093504e65eb82178d1335a9c8f748caf4382580.tar.zst
gsoc2013-evolution-f093504e65eb82178d1335a9c8f748caf4382580.zip
Bug #635211 - Select-all processed on timeout when not needed
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 3e04fb0f39..66432a930f 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -842,14 +842,14 @@ message_list_select_all (MessageList *message_list)
{
g_return_if_fail (IS_MESSAGE_LIST (message_list));
- if (message_list->threaded) {
+ if (message_list->threaded && message_list->regen_timeout_id) {
/* XXX The timeout below is added so that the execution
* thread to expand all conversation threads would
* have completed. The timeout 505 is just to ensure
* that the value is a small delta more than the
* timeout value in mail_regen_list(). */
g_timeout_add (
- 505, (GSourceFunc)
+ 55, (GSourceFunc)
message_list_select_all_timeout_cb,
message_list);
} else
@@ -4937,6 +4937,6 @@ mail_regen_list (MessageList *ml, const gchar *search, const gchar *hideexpr, Ca
ml_regen_timeout (m);
else {
ml->regen_timeout_msg = m;
- ml->regen_timeout_id = g_timeout_add (500, (GSourceFunc) ml_regen_timeout, m);
+ ml->regen_timeout_id = g_timeout_add (50, (GSourceFunc) ml_regen_timeout, m);
}
}