~chad.smith/update-notifier/updates-available-list-ubuntu-advantage-package-counts-inline

« back to all changes in this revision

Viewing changes to src/update-notifier.h

  • Committer: Brian Murray
  • Date: 2018-04-20 18:02:03 UTC
  • Revision ID: brian@canonical.com-20180420180203-l6rvdor5dvmvyw31
restore update-notifier code to check for whether or not a release upgrade
is available. (LP: #1765485)

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#define SETTINGS_KEY_APPORT_NOTIFICATIONS "show-apport-crashes"
37
37
#define SETTINGS_KEY_END_SYSTEM_UIDS "end-system-uids"
38
38
#define SETTINGS_KEY_AUTO_LAUNCH_INTERVAL "regular-auto-launch-interval"
 
39
#define SETTINGS_KEY_LAST_RELEASE_CHECK "release-check-time"
39
40
 
40
41
#define SETTINGS_UM_SCHEMA "com.ubuntu.update-manager"
41
42
#define SETTINGS_UM_KEY_LAST_LAUNCH "launch-time"
57
58
// anacron(and friends) to update the system (2h)
58
59
#define OUTDATED_NAG_WAIT 60*60*2
59
60
 
 
61
// this is the script and the time to run the release-upgrades checker
 
62
#define RELEASE_UPGRADE_CHECKER "/usr/lib/ubuntu-release-upgrader/check-new-release-gtk"
 
63
#define RELEASE_UPGRADE_CHECK_WAIT 60*60*24*14
 
64
 
60
65
// cache-changed plugin dir
61
66
#define CACHE_CHANGED_PLUGIN_DIR "/usr/share/update-notifier/plugins/cache-changed"
62
67