diff options
author | Ted Gould <ted@canonical.com> | 2009-01-29 13:39:31 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-29 13:39:31 -0600 |
commit | 17bc0dab5a61d41e1a57755f7b2d1cdbe79e90da (patch) | |
tree | 76b90fa38c10ef625c86d2bf88bc10dd2014ccae /libindicate/indicator.h | |
parent | b6c14253a035bdf06b1b84a1a6ccd04e87ae23b5 (diff) | |
parent | de80300e02efb93d3cf4bd06733dd8c691451de6 (diff) | |
download | libayatana-indicator-17bc0dab5a61d41e1a57755f7b2d1cdbe79e90da.tar.gz libayatana-indicator-17bc0dab5a61d41e1a57755f7b2d1cdbe79e90da.tar.bz2 libayatana-indicator-17bc0dab5a61d41e1a57755f7b2d1cdbe79e90da.zip |
* Fixing the handling of named DBus connections
* Moving most of the data in the objects to private sections
* Making the signal names defines for easier usage
* Having property changes actually work now.
Diffstat (limited to 'libindicate/indicator.h')
-rw-r--r-- | libindicate/indicator.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/libindicate/indicator.h b/libindicate/indicator.h index 91f08a7..8823757 100644 --- a/libindicate/indicator.h +++ b/libindicate/indicator.h @@ -21,19 +21,13 @@ G_BEGIN_DECLS #define INDICATE_INDICATOR_SIGNAL_HIDE "hide" #define INDICATE_INDICATOR_SIGNAL_SHOW "show" #define INDICATE_INDICATOR_SIGNAL_DISPLAY "user-display" +#define INDICATE_INDICATOR_SIGNAL_MODIFIED "modified" typedef struct _IndicateIndicator IndicateIndicator; typedef struct _IndicateIndicatorClass IndicateIndicatorClass; -#include "server.h" - struct _IndicateIndicator { GObject parent; - - guint id; - gboolean is_visible; - IndicateServer * server; - GHashTable * properties; }; struct _IndicateIndicatorClass { @@ -42,6 +36,7 @@ struct _IndicateIndicatorClass { void (*hide) (IndicateIndicator * indicator, gpointer data); void (*show) (IndicateIndicator * indicator, gpointer data); void (*user_display) (IndicateIndicator * indicator, gpointer data); + void (*modified) (IndicateIndicator * indicator, gchar * property, gpointer data); const gchar * (*get_type) (IndicateIndicator * indicator); void (*set_property) (IndicateIndicator * indicator, const gchar * key, const gchar * data); |