aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.h
diff options
context:
space:
mode:
authorLuke Yelavich <luke.yelavich@canonical.com>2011-02-04 14:03:31 +1100
committerLuke Yelavich <luke.yelavich@canonical.com>2011-02-04 14:03:31 +1100
commit31519e77b290d832f287c1daa6a90f8d6e11b136 (patch)
tree5fe44ed322fc3edfafd07be08aa834997247a010 /src/app-indicator.h
parentb13fa490fb368b779a99543d18d5c68c01f8eb31 (diff)
parent0faacd13e0e23b202969127e9034605b4fcf90c4 (diff)
downloadlibayatana-appindicator-31519e77b290d832f287c1daa6a90f8d6e11b136.tar.gz
libayatana-appindicator-31519e77b290d832f287c1daa6a90f8d6e11b136.tar.bz2
libayatana-appindicator-31519e77b290d832f287c1daa6a90f8d6e11b136.zip
Merge from trunk
Diffstat (limited to 'src/app-indicator.h')
-rw-r--r--src/app-indicator.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/app-indicator.h b/src/app-indicator.h
index dac87ec..0d4473d 100644
--- a/src/app-indicator.h
+++ b/src/app-indicator.h
@@ -108,6 +108,11 @@ G_BEGIN_DECLS
String identifier for the #AppIndicator::new-icon-theme-path signal.
*/
/**
+ APP_INDICATOR_SIGNAL_SCROLL_EVENT:
+
+ String identifier for the #AppIndicator::scroll-event signal.
+*/
+/**
APP_INDICATOR_SIGNAL_NEW_ACCESSIBLE_NAME:
String identifier for the #AppIndicator::new-accessible-name signal.
@@ -118,6 +123,7 @@ G_BEGIN_DECLS
#define APP_INDICATOR_SIGNAL_NEW_LABEL "new-label"
#define APP_INDICATOR_SIGNAL_CONNECTION_CHANGED "connection-changed"
#define APP_INDICATOR_SIGNAL_NEW_ICON_THEME_PATH "new-icon-theme-path"
+#define APP_INDICATOR_SIGNAL_SCROLL_EVENT "scroll-event"
#define APP_INDICATOR_SIGNAL_NEW_ACCESSIBLE_NAME "new-accessible-name"
/**
@@ -170,7 +176,7 @@ typedef struct _AppIndicatorPrivate AppIndicatorPrivate;
@new_label: Slot for #AppIndicator::new-label.
@new_accessible_name: Slot for #AppIndicator::new-accessible-name.
@connection_changed: Slot for #AppIndicator::connection-changed.
- @app_indicator_reserved_sw: Reserved for future use.
+ @scroll-event: Slot for #AppIndicator::scroll-event
@app_indicator_reserved_ats: Reserved for future use.
@fallback: Function that gets called to make a #GtkStatusIcon when
there is no Application Indicator area available.
@@ -213,7 +219,12 @@ struct _AppIndicatorClass {
void (* connection_changed) (AppIndicator * indicator,
gboolean connected,
gpointer user_data);
- void (*app_indicator_reserved_sw)(void);
+
+ void (* scroll_event) (AppIndicator * indicator,
+ gint delta,
+ guint direction,
+ gpointer user_data);
+
void (*app_indicator_reserved_ats)(void);
/* Overridable Functions */