~ubuntu-branches/ubuntu/quantal/update-notifier/quantal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <gtk/gtk.h>
#include <libnotify/notify.h>


gboolean update_check(TrayApplet *un);
void update_tray_icon_init(TrayApplet *un);

void update_apt_is_running(TrayApplet *ta, gboolean is_running);

typedef struct _UpdateTrayAppletPrivate UpdateTrayAppletPrivate;
struct _UpdateTrayAppletPrivate 
{
   GSettings* settings;
   // this is a permanent marker if apt is runing currently
   // (the difference to the one in update-notifier.h is that
   //  the one in here is "global" and not "per-timeslice" information
   gboolean apt_is_running;
   NotifyNotification *active_notification;
   
   int num_upgrades;
   int num_security;
};