changeset 12:5b6f2dccb9ce

Merge
author Zerotorescue
date Thu, 09 Sep 2010 16:35:14 +0200
parents fb952805d8b7 (diff) a344263c0238 (current diff)
children fbdf16ba212d
files
diffstat 3 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Core.lua	Thu Sep 09 12:45:44 2010 +0000
+++ b/Core.lua	Thu Sep 09 16:35:14 2010 +0200
@@ -352,9 +352,9 @@
 	local tempLastAmount = lastAmount;
 	lastAmount = currentMailWithAttachments;
 	
-	if currentMailWithAttachments ~= tempLastAmount then
-		self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments);
-	end
+	--if currentMailWithAttachments ~= tempLastAmount then
+	--	self:Debug("MAIL_INBOX_UPDATE - lastAmount:" .. tempLastAmount .. " - current:" .. currentMailWithAttachments);
+	--end
 	
 	if currentMailWithAttachments > tempLastAmount then
 		-- New messages arrived in our mailbox, so this was a refresh, so set a timer
--- a/Modules/FailSafe.lua	Thu Sep 09 12:45:44 2010 +0000
+++ b/Modules/FailSafe.lua	Thu Sep 09 16:35:14 2010 +0200
@@ -56,6 +56,7 @@
 function FailSafe:MO_OPENING_MAIL()
 	-- Single mail being opened
 	
+	self:CancelTimer(self.tmrTimeout, true); -- insurance
 	self.tmrTimeout = self:ScheduleTimer("Continue", self.db.profile.timeout);
 end
 
--- a/Modules/OpenAll.lua	Thu Sep 09 12:45:44 2010 +0000
+++ b/Modules/OpenAll.lua	Thu Sep 09 16:35:14 2010 +0200
@@ -438,7 +438,7 @@
 				else
 					continue = false;
 			
-					self:Debug("MO_OPENING_MAIL");
+					self:Debug("MO_OPENING_MAIL (#" .. index .. ")");
 					
 					-- Notifiy other modules of opening
 					self:SendMessage("MO_OPENING_MAIL");