Mercurial > projects > package-update-indicator
view NEWS @ 31:9905d4ae351c
Fix continuos loop of update checks if the refresh cache interval is 0
If the interval for refreshing the cache is set to 0 each check for available
updates refreshes the cache and causes an "updates-changed" signal to be
emitted after a short delay which in turn triggers another check for updates.
The "updates-changed" signal does not actually mean that the number of
available updates has changed but rather that the package metadata cache has
been invalidated. Fix this by blocking the "updates-changed" signal handler
from when a periodic or irregular check is started until 4 seconds after it has
finished. This is necessary since the signal will be delivered with a delay
after a transaction has been completed.
In addition prevent checks for updates triggered by the "updates-changed"
signal from refreshing the cache even the interval is 0 since the emission of
the signal implies that the cache has just been refreshed.
author | Guido Berhoerster <guido+pui@berhoerster.name> |
---|---|
date | Thu, 29 Aug 2019 13:48:47 +0200 |
parents | 74644b419e86 |
children | 8c5aee997afa |
line wrap: on
line source
News ==== package-update-indicator 4 (2019-07-24T16:27:25+02:00) ------------------------------------------------------ - Fix support for libayatana-appindicator package-update-indicator 3 (2019-07-24T10:33:37+02:00) ------------------------------------------------------ - Use consistent vocabulary in German translations - Add support for libayantana-indicator - Fix typo in German translations - Add missing changelog entries package-update-indicator 2 (2018-12-08T10:09:35+01:00) ------------------------------------------------------ - Add keywords to desktop files - Fix typo in notification message - Do not run glib-compile-schemas if schemas are installed into staging directory - Set application indicator title - Add note for vendors on how to override default settings package-update-indicator 1 (2018-07-06T14:21:28+02:00) ------------------------------------------------------ - Notify about required session or system restarts - Add Indonesian translations - Add German translations - Add English translations - Make PackagKit use the user's network proxies - Do not check for updates if the battery is low - Add setting to control whether to use a mobile connection - Add menu item to launch the preferences application - Use GtkBuilder for all widgets - Add preferences application - Initial revision