~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/update-notifier.h

  • Committer: Brian Murray
  • Date: 2013-04-22 23:10:17 UTC
  • mto: This revision was merged to the branch mainline in revision 796.
  • Revision ID: brian@canonical.com-20130422231017-o9ivnx9294pacwuf
* Modified new release check to run as an upstart user session
* Added in a weekly cron job to check for a new release of ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#define SETTINGS_KEY_AUTO_LAUNCH "auto-launch"
39
39
#define SETTINGS_KEY_AUTO_LAUNCH_INTERVAL "regular-auto-launch-interval"
40
40
#define SETTINGS_KEY_HIDE_REBOOT "hide-reboot-notification"
41
 
#define SETTINGS_KEY_LAST_RELEASE_CHECK "release-check-time"
42
41
 
43
42
#define SETTINGS_UM_SCHEMA "com.ubuntu.update-manager"
44
43
#define SETTINGS_UM_KEY_LAST_LAUNCH "launch-time"
59
58
// anacron(and friends) to update the system (2h)
60
59
#define OUTDATED_NAG_WAIT 60*60*2
61
60
 
62
 
// this is the script and the time to run the release-upgrades checker
63
 
#define RELEASE_UPGRADE_CHECKER "/usr/lib/ubuntu-release-upgrader/check-new-release-gtk"
64
 
#define RELEASE_UPGRADE_CHECK_WAIT 60*60*24*14
65
 
 
66
61
// cache-changed plugin dir
67
62
#define CACHE_CHANGED_PLUGIN_DIR "/usr/share/update-notifier/plugins/cache-changed"
68
63
 
102
97
   TrayApplet *hook;
103
98
   TrayApplet *crashreport;
104
99
 
105
 
   guint update_finished_timer; 
 
100
   guint update_finished_timer;
106
101
 
107
 
   
108
102
   // some states for the file montioring (these field
109
103
   // are the state for the current "time-slice")
110
104
   gboolean dpkg_was_run;