aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-09-14 09:50:09 -0500
committerTed Gould <ted@gould.cx>2010-09-14 09:50:09 -0500
commit98ec2f386f7b9409a2c745808ea6d5e329175bcd (patch)
tree72dfcbfe0227ef0c9bae1ceec42d9c52cd23ac98
parent7df0fe9109e7ffab293cf5d720cc708d5e6ff89f (diff)
downloadlibayatana-indicator-98ec2f386f7b9409a2c745808ea6d5e329175bcd.tar.gz
libayatana-indicator-98ec2f386f7b9409a2c745808ea6d5e329175bcd.tar.bz2
libayatana-indicator-98ec2f386f7b9409a2c745808ea6d5e329175bcd.zip
Adding slot for the menu show signal
-rw-r--r--libindicator/indicator-object.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 3c6bec5..cddf7c8 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -79,8 +79,7 @@ typedef struct _IndicatorObjectEntry IndicatorObjectEntry;
@entry_added: Slot for #IndicatorObject::entry-added
@entry_removed: Slot for #IndicatorObject::entry-removed
@entry_moved: Slot for #IndicatorObject::entry-moved
- @indicator_object_reserved_1: Reserved for future use
- @indicator_object_reserved_2: Reserved for future use
+ @menu_show: Slot for #IndicatorObject::menu-show
*/
struct _IndicatorObjectClass {
GObjectClass parent_class;
@@ -94,13 +93,13 @@ struct _IndicatorObjectClass {
guint (*get_location) (IndicatorObject * io, IndicatorObjectEntry * entry);
/* Signals */
- void (*entry_added) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
- void (*entry_removed) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
- void (*entry_moved) (IndicatorObject * io, IndicatorObjectEntry * entry, guint old_pos, guint new_pos, gpointer user_data);
- void (*scroll) (IndicatorObject * io, gint delta, IndicatorScrollDirection direction);
+ void (*entry_added) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
+ void (*entry_removed) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
+ void (*entry_moved) (IndicatorObject * io, IndicatorObjectEntry * entry, guint old_pos, guint new_pos, gpointer user_data);
+ void (*scroll) (IndicatorObject * io, gint delta, IndicatorScrollDirection direction);
+ void (*menu_show) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gpointer user_data);
/* Reserved */
- void (* indicator_object_reserved_1) (void);
};
/**