[gnome-software] Show offline update results 5 seconds after login, not 15
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Show offline update results 5 seconds after login, not 15
- Date: Tue, 23 Jun 2015 14:14:20 +0000 (UTC)
commit dc7bcb44ca25e1556b91b7c7d3530a3d6b9aef28
Author: Kalev Lember <klember redhat com>
Date: Tue Jun 23 15:19:21 2015 +0200
Show offline update results 5 seconds after login, not 15
If we wait too long, people start using the computer and feel surprised
when the offline update results appear in the middle of their session.
Reduce the delay to 5 seconds to avoid that.
src/gs-update-monitor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 27bd556..e93885a 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -510,7 +510,7 @@ gs_update_monitor_init (GsUpdateMonitor *monitor)
monitor->offline_update_file = g_file_new_for_path ("/var/lib/PackageKit/prepared-update");
monitor->check_offline_update_id =
- g_timeout_add_seconds (15, check_offline_update_cb, monitor);
+ g_timeout_add_seconds (5, check_offline_update_cb, monitor);
monitor->settings = g_settings_new ("org.gnome.software");
g_settings_get (monitor->settings, "check-timestamp", "x", &tmp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]