23
23
#include <gtk/gtk.h>
24
24
#include <glib/gi18n.h>
25
#include <gconf/gconf.h>
26
#include <gconf/gconf-client.h>
28
26
#define CLIPBOARD_NAME "UPGRADE_NOTIFIER_SELECTION"
29
#define GCONF_KEY_DEFAULT_ACTION "/apps/update-notifier/default_action"
30
#define GCONF_KEY_NO_UPDATE_NOTIFICATIONS "/apps/update-notifier/no_show_notifications"
31
#define GCONF_KEY_APPORT_NOTIFICATIONS "/apps/update-notifier/show_apport_crashes"
32
#define GCONF_KEY_END_SYSTEM_UIDS "/apps/update-notifier/end_system_uids"
33
#define GCONF_KEY_AUTO_LAUNCH "/apps/update-notifier/auto_launch"
34
#define GCONF_KEY_AUTO_LAUNCH_INTERVAL "/apps/update-notifier/regular_auto_launch_interval"
35
#define GCONF_KEY_HIDE_REBOOT "/apps/update-notifier/hide_reboot_notification"
36
#define GCONF_KEY_LAST_LAUNCH "/apps/update-manager/launch_time"
37
#define GCONF_KEY_LAST_RELEASE_CHECK "/apps/update-notifier/release_check_time"
28
#define SETTINGS_SCHEMA "com.canonical.update-notifier"
29
#define SETTINGS_KEY_NO_UPDATE_NOTIFICATIONS "no-show-notifications"
30
#define SETTINGS_KEY_APPORT_NOTIFICATIONS "show-apport-crashes"
31
#define SETTINGS_KEY_END_SYSTEM_UIDS "end-system-uids"
32
#define SETTINGS_KEY_AUTO_LAUNCH "auto-launch"
33
#define SETTINGS_KEY_AUTO_LAUNCH_INTERVAL "regular-auto-launch-interval"
34
#define SETTINGS_KEY_HIDE_REBOOT "hide-reboot-notification"
35
#define SETTINGS_KEY_LAST_RELEASE_CHECK "release-check-time"
37
#define SETTINGS_UM_SCHEMA "com.ubuntu.update-manager"
38
#define SETTINGS_UM_KEY_LAST_LAUNCH "launch-time"
39
40
#define HOOKS_DIR "/var/lib/update-notifier/user.d/"
40
41
#define CRASHREPORT_HELPER "/usr/share/apport/apport-checkreports"