[gnome-packagekit/gnome-2-30] When the icon gets UpdatesChanged then hide until the new GetUpdate is complete as the information i
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/gnome-2-30] When the icon gets UpdatesChanged then hide until the new GetUpdate is complete as the information i
- Date: Wed, 6 Oct 2010 09:45:05 +0000 (UTC)
commit dbdaeb8d4e0b9435fffd6977d79e76217c5a53cb
Author: Richard Hughes <richard hughsie com>
Date: Fri Aug 6 17:00:37 2010 +0100
When the icon gets UpdatesChanged then hide until the new GetUpdate is complete as the information is likely inaccurate
src/gpk-check-update.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-check-update.c b/src/gpk-check-update.c
index 391d760..8ad06cf 100644
--- a/src/gpk-check-update.c
+++ b/src/gpk-check-update.c
@@ -1136,6 +1136,9 @@ gpk_check_update_updates_changed_cb (PkControl *control, GpkCheckUpdate *cupdate
if (cupdate->priv->updates_changed_id > 0)
g_source_remove (cupdate->priv->updates_changed_id);
+ /* hiding icon, as it's probably inaccurate */
+ gpk_check_update_set_gicon (cupdate, NULL);
+
/* now try to get newest update list */
egg_debug ("updates changed, so getting new update list in %is", GPK_CHECK_UPDATE_UPDATES_CHANGED_TIMEOUT);
cupdate->priv->updates_changed_id =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]