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

« back to all changes in this revision

Viewing changes to src/update-notifier.h

  • Committer: Michael Vogt
  • Date: 2011-10-05 10:09:25 UTC
  • mfrom: (639.1.6 app-indicator-port)
  • Revision ID: michael.vogt@ubuntu.com-20111005100925-c0j7d7k3706145uk
port to libappindicator (LP: #779382) to ensure its visible
under unity{,-2d}

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <gtk/gtk.h>
24
24
#include <glib/gi18n.h>
25
25
 
 
26
#include "config.h"
 
27
 
 
28
#ifdef HAVE_APP_INDICATOR
 
29
#include <libappindicator/app-indicator.h>
 
30
#endif
 
31
 
 
32
 
 
33
 
26
34
#define CLIPBOARD_NAME  "UPGRADE_NOTIFIER_SELECTION"
27
35
 
28
36
#define SETTINGS_SCHEMA "com.ubuntu.update-notifier"
74
82
typedef struct _TrayApplet TrayApplet;
75
83
struct _TrayApplet 
76
84
{
 
85
   GObject me;
 
86
#ifdef HAVE_APP_INDICATOR
 
87
   AppIndicator *indicator;
 
88
#else
77
89
   GtkStatusIcon *tray_icon;
 
90
#endif
78
91
   GtkWidget *menu;
79
92
   char *name;
80
93
   void *user_data;