[gnome-packagekit/gnome-2-28] Fix up a thinko where were were checking for updates every day when the user had specified 'Never'.
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/gnome-2-28] Fix up a thinko where were were checking for updates every day when the user had specified 'Never'.
- Date: Thu, 25 Mar 2010 17:15:03 +0000 (UTC)
commit f719bc82facb2419f89865803e60c7e790cab3f4
Author: Richard Hughes <richard hughsie com>
Date: Thu Mar 25 17:10:44 2010 +0000
Fix up a thinko where were were checking for updates every day when the user had specified 'Never'. Fixes rh#544573
src/gpk-auto-refresh.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gpk-auto-refresh.c b/src/gpk-auto-refresh.c
index 765414c..2a69dee 100644
--- a/src/gpk-auto-refresh.c
+++ b/src/gpk-auto-refresh.c
@@ -161,10 +161,6 @@ gpk_auto_refresh_get_frequency_prefs (GpkAutoRefresh *arefresh, const gchar *key
/* get from gconf */
value = gconf_client_get_int (arefresh->priv->gconf_client, key, NULL);
- if (value == 0) {
- egg_warning ("no schema for %s, using daily", key);
- value = 86400;
- }
/* convert to enum and get seconds */
return value;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]