diff options
author | Ted Gould <ted@gould.cx> | 2011-01-27 15:28:42 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-01-27 15:28:42 -0600 |
commit | 517ff3c2e5bff507195d242a142fa3bdce9d59f5 (patch) | |
tree | 010f8090f0b4474bc506e3872f36f6db7584c3cf /libindicator/indicator-object.h | |
parent | 7f4196b9052c27bda6ab407ad894b49ee52594ba (diff) | |
parent | b22f471a026de778bc2594b23768d1a3024f27c3 (diff) | |
download | libayatana-indicator-517ff3c2e5bff507195d242a142fa3bdce9d59f5.tar.gz libayatana-indicator-517ff3c2e5bff507195d242a142fa3bdce9d59f5.tar.bz2 libayatana-indicator-517ff3c2e5bff507195d242a142fa3bdce9d59f5.zip |
* New upstream release.
* Adding a signal for scrolling that includes the entry
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r-- | libindicator/indicator-object.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index 9ad1366..4b3ce0b 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -51,6 +51,8 @@ typedef enum #define INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED_ID (g_signal_lookup(INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED, INDICATOR_OBJECT_TYPE)) #define INDICATOR_OBJECT_SIGNAL_SCROLL "scroll" #define INDICATOR_OBJECT_SIGNAL_SCROLL_ID (g_signal_lookup(INDICATOR_OBJECT_SIGNAL_SCROLL, INDICATOR_OBJECT_TYPE)) +#define INDICATOR_OBJECT_SIGNAL_SCROLL_ENTRY "scroll-entry" +#define INDICATOR_OBJECT_SIGNAL_SCROLL_ENTRY_ID (g_signal_lookup(#define INDICATOR_OBJECT_SIGNAL_SCROLL_ENTRY, INDICATOR_OBJECT_TYPE)) #define INDICATOR_OBJECT_SIGNAL_MENU_SHOW "menu-show" #define INDICATOR_OBJECT_SIGNAL_MENU_SHOW_ID (g_signal_lookup(INDICATOR_OBJECT_SIGNAL_MENU_SHOW, INDICATOR_OBJECT_TYPE)) #define INDICATOR_OBJECT_SIGNAL_SHOW_NOW_CHANGED "show-now-changed" @@ -114,6 +116,7 @@ struct _IndicatorObjectClass { void (*scroll) (IndicatorObject * io, gint delta, IndicatorScrollDirection direction); void (*menu_show) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gpointer user_data); void (*show_now_changed) (IndicatorObject * io, IndicatorObjectEntry * entry, gboolean show_now_state, gpointer user_data); + void (*scroll_entry) (IndicatorObject * io, IndicatorObjectEntry * entry, gint delta, IndicatorScrollDirection direction); /* Reserved */ void (*reserved1) (void); @@ -121,7 +124,6 @@ struct _IndicatorObjectClass { void (*reserved3) (void); void (*reserved4) (void); void (*reserved5) (void); - void (*reserved6) (void); }; /** |