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

« back to all changes in this revision

Viewing changes to src/update-notifier.h

  • Committer: mvo
  • Date: 2005-02-08 00:25:09 UTC
  • Revision ID: gustavo@niemeyer.net-20050208002509-a211f90ce9367f80
* cleanups:
  - configure.in: no longer need libglade
  - src/update-notifier{c,h}: we no longer use dbus directly only libhal
  - src/update.c: added comment to update_check() 
  - README: reflect the latest developments (no direct dbus use etc)
  - data/Makefile.am: don't distribute the dbus helper script

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <gnome.h>
24
24
#include <gconf/gconf.h>
25
25
#include <gconf/gconf-client.h>
 
26
#include <fam.h>
26
27
#include "eggtrayicon.h"
27
28
 
28
29
#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"
 
30
#define GCONF_KEY_DEFAULT_ACTION "/apps/update-notifer/default_action"
31
31
 
32
32
#define HOOKS_DIR "/var/lib/update-notifier/user.d/"
33
 
#define REBOOT_FILE "/var/run/reboot-required"
34
33
 
35
34
void invoke_with_gksu(gchar *cmd, gchar *descr);
36
35
 
51
50
struct _UpgradeNotifier
52
51
{
53
52
   TrayApplet *update;
54
 
   TrayApplet *reboot;
55
53
   TrayApplet *hook;
56
54
 
57
55
   GConfClient *gconf;
 
56
   FAMConnection fc;
58
57
   guint update_finished_timer; 
59
58
 
60
59
   // bool if we have a dbus connection