~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-06-03 20:55:52 UTC
  • Revision ID: brian@canonical.com-20130603205552-cmsdkfwtbf24sz55
* Remove support for choosing not to auto-launch applications (LP: #947008)
* Remove reboot required notification as update-manager itself indicates
  when a reboot is required and it only appeared when auto-launch was set to
  false.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#define SETTINGS_KEY_NO_UPDATE_NOTIFICATIONS "no-show-notifications"
36
36
#define SETTINGS_KEY_APPORT_NOTIFICATIONS "show-apport-crashes"
37
37
#define SETTINGS_KEY_END_SYSTEM_UIDS "end-system-uids"
38
 
#define SETTINGS_KEY_AUTO_LAUNCH "auto-launch"
39
38
#define SETTINGS_KEY_AUTO_LAUNCH_INTERVAL "regular-auto-launch-interval"
40
 
#define SETTINGS_KEY_HIDE_REBOOT "hide-reboot-notification"
41
39
#define SETTINGS_KEY_LAST_RELEASE_CHECK "release-check-time"
42
40
 
43
41
#define SETTINGS_UM_SCHEMA "com.ubuntu.update-manager"
47
45
#define CRASHREPORT_HELPER "/usr/share/apport/apport-checkreports"
48
46
#define CRASHREPORT_REPORT_APP "/usr/share/apport/apport-gtk"
49
47
#define CRASHREPORT_DIR "/var/crash/"
50
 
#define REBOOT_FILE "/var/run/reboot-required"
51
48
#define UNICAST_LOCAL_AVAHI_FILE "/var/run/avahi-daemon/disabled-for-unicast-local"
52
49
 
53
50
// security update autolaunch minimal time (12h)
99
96
   GSettings *settings;
100
97
 
101
98
   TrayApplet *update;
102
 
   TrayApplet *reboot;
103
99
   TrayApplet *hook;
104
100
   TrayApplet *crashreport;
105
101
 
106
 
   guint update_finished_timer; 
 
102
   guint update_finished_timer;
107
103
 
108
 
   
109
104
   // some states for the file montioring (these field
110
105
   // are the state for the current "time-slice")
111
106
   gboolean dpkg_was_run;
112
107
   gboolean apt_get_running;
113
108
 
114
109
   // these field are "global" (time-wise)
115
 
   gboolean reboot_pending;
116
110
   gboolean hook_pending;
117
111
   gboolean crashreport_pending;
118
112
   gboolean unicast_local_avahi_pending;