cgeo/c-geo-opensource — pull request #1199 by campbeb (2012-02-28 11:41:36+00:00)
Title: Improve offline logging

Improve offline logging through the following:

- Don't mark cache as found when logging offline. `setVisitDate` was marking cache as found. This is incorrect. Cache is marked found in the code that posts log online. This is why if you logged an offline visit and then went back to cache list, there would be a green bar.

- Handle data changed to show status message. Handler was being set in `onResume`, but `cache` is always `null` here because the `LoadCacheHandler` thread hasn't finished yet

- Set cache logged offline. This ensures orange bar will show up.