indicator-object.h | indicator-object.h | |||
---|---|---|---|---|
skipping to change at line 60 | skipping to change at line 60 | |||
#define INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED "entry-moved" | #define INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED "entry-moved" | |||
#define INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED_ID (g_signal_lookup(INDICATO R_OBJECT_SIGNAL_ENTRY_MOVED, INDICATOR_OBJECT_TYPE)) | #define INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED_ID (g_signal_lookup(INDICATO R_OBJECT_SIGNAL_ENTRY_MOVED, INDICATOR_OBJECT_TYPE)) | |||
#define INDICATOR_OBJECT_SIGNAL_ENTRY_SCROLLED "entry-scrolled" | #define INDICATOR_OBJECT_SIGNAL_ENTRY_SCROLLED "entry-scrolled" | |||
#define INDICATOR_OBJECT_SIGNAL_ENTRY_SCROLLED_ID (g_signal_lookup(INDICATO R_OBJECT_SIGNAL_ENTRY_SCROLLED, INDICATOR_OBJECT_TYPE)) | #define INDICATOR_OBJECT_SIGNAL_ENTRY_SCROLLED_ID (g_signal_lookup(INDICATO R_OBJECT_SIGNAL_ENTRY_SCROLLED, INDICATOR_OBJECT_TYPE)) | |||
#define INDICATOR_OBJECT_SIGNAL_MENU_SHOW "menu-show" | #define INDICATOR_OBJECT_SIGNAL_MENU_SHOW "menu-show" | |||
#define INDICATOR_OBJECT_SIGNAL_MENU_SHOW_ID (g_signal_lookup(INDICATO R_OBJECT_SIGNAL_MENU_SHOW, INDICATOR_OBJECT_TYPE)) | #define INDICATOR_OBJECT_SIGNAL_MENU_SHOW_ID (g_signal_lookup(INDICATO R_OBJECT_SIGNAL_MENU_SHOW, INDICATOR_OBJECT_TYPE)) | |||
#define INDICATOR_OBJECT_SIGNAL_SHOW_NOW_CHANGED "show-now-changed" | #define INDICATOR_OBJECT_SIGNAL_SHOW_NOW_CHANGED "show-now-changed" | |||
#define INDICATOR_OBJECT_SIGNAL_SHOW_NOW_CHANGED_ID (g_signal_lookup(INDICA TOR_OBJECT_SIGNAL_SHOW_NOW_CHANGED, INDICATOR_OBJECT_TYPE)) | #define INDICATOR_OBJECT_SIGNAL_SHOW_NOW_CHANGED_ID (g_signal_lookup(INDICA TOR_OBJECT_SIGNAL_SHOW_NOW_CHANGED, INDICATOR_OBJECT_TYPE)) | |||
#define INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE "accessible-desc-upd ate" | #define INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE "accessible-desc-upd ate" | |||
#define INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE_ID (g_signal_lookup( INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE, INDICATOR_OBJECT_TYPE)) | #define INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE_ID (g_signal_lookup( INDICATOR_OBJECT_SIGNAL_ACCESSIBLE_DESC_UPDATE, INDICATOR_OBJECT_TYPE)) | |||
#define INDICATOR_OBJECT_SIGNAL_SECONDARY_ACTIVATE "secondary-activate" | ||||
#define INDICATOR_OBJECT_SIGNAL_SECONDARY_ACTIVATE_ID (g_signal_lookup(INDI | ||||
CATOR_OBJECT_SIGNAL_SECONDARY_ACTIVATE, INDICATOR_OBJECT_TYPE)) | ||||
typedef struct _IndicatorObject IndicatorObject; | typedef struct _IndicatorObject IndicatorObject; | |||
typedef struct _IndicatorObjectClass IndicatorObjectClass; | typedef struct _IndicatorObjectClass IndicatorObjectClass; | |||
typedef struct _IndicatorObjectPrivate IndicatorObjectPrivate; | typedef struct _IndicatorObjectPrivate IndicatorObjectPrivate; | |||
typedef struct _IndicatorObjectEntry IndicatorObjectEntry; | typedef struct _IndicatorObjectEntry IndicatorObjectEntry; | |||
/** | /** | |||
IndicatorObjectClass: | IndicatorObjectClass: | |||
@parent_class: #GObjectClass | @parent_class: #GObjectClass | |||
@get_label: Gets the label for this object. Should be set | @get_label: Gets the label for this object. Should be set | |||
skipping to change at line 102 | skipping to change at line 104 | |||
@entry_activate: Should be called when the menus for a given | @entry_activate: Should be called when the menus for a given | |||
entry are shown to the user. | entry are shown to the user. | |||
@entry_close: Called when the menu is closed. | @entry_close: Called when the menu is closed. | |||
@entry_added: Slot for #IndicatorObject::entry-added | @entry_added: Slot for #IndicatorObject::entry-added | |||
@entry_removed: Slot for #IndicatorObject::entry-removed | @entry_removed: Slot for #IndicatorObject::entry-removed | |||
@entry_moved: Slot for #IndicatorObject::entry-moved | @entry_moved: Slot for #IndicatorObject::entry-moved | |||
@menu_show: Slot for #IndicatorObject::menu-show | @menu_show: Slot for #IndicatorObject::menu-show | |||
@entry_scrolled: Slot for #IndicatorObject::entry-scrolled | @entry_scrolled: Slot for #IndicatorObject::entry-scrolled | |||
@show_now_changed: Slot for #IndicatorObject::show-now-changed | @show_now_changed: Slot for #IndicatorObject::show-now-changed | |||
@accessible_desc_update: Slot for #IndicatorObject::accessible-desc- update | @accessible_desc_update: Slot for #IndicatorObject::accessible-desc- update | |||
@secondary_activate: Slot for #IndicatorObject::secondary-activate | ||||
*/ | */ | |||
struct _IndicatorObjectClass { | struct _IndicatorObjectClass { | |||
GObjectClass parent_class; | GObjectClass parent_class; | |||
/* Virtual Functions */ | /* Virtual Functions */ | |||
GtkLabel * (*get_label) (IndicatorObject * io); | GtkLabel * (*get_label) (IndicatorObject * io); | |||
GtkImage * (*get_image) (IndicatorObject * io); | GtkImage * (*get_image) (IndicatorObject * io); | |||
GtkMenu * (*get_menu) (IndicatorObject * io); | GtkMenu * (*get_menu) (IndicatorObject * io); | |||
const gchar * (*get_accessible_desc) (IndicatorObject * io); | const gchar * (*get_accessible_desc) (IndicatorObject * io); | |||
const gchar * (*get_name_hint) (IndicatorObject * io); | const gchar * (*get_name_hint) (IndicatorObject * io); | |||
skipping to change at line 128 | skipping to change at line 131 | |||
void (*entry_close) (IndicatorObject * io, IndicatorObjectEntr y * entry, guint timestamp); | void (*entry_close) (IndicatorObject * io, IndicatorObjectEntr y * entry, guint timestamp); | |||
/* Signals */ | /* Signals */ | |||
void (*entry_added) (IndicatorObject * io, IndicatorObjectEn try * entry, gpointer user_data); | void (*entry_added) (IndicatorObject * io, IndicatorObjectEn try * entry, gpointer user_data); | |||
void (*entry_removed) (IndicatorObject * io, IndicatorObjectEn try * entry, gpointer user_data); | void (*entry_removed) (IndicatorObject * io, IndicatorObjectEn try * entry, gpointer user_data); | |||
void (*entry_moved) (IndicatorObject * io, IndicatorObjectEn try * entry, guint old_pos, guint new_pos, gpointer user_data); | void (*entry_moved) (IndicatorObject * io, IndicatorObjectEn try * entry, guint old_pos, guint new_pos, gpointer user_data); | |||
void (*entry_scrolled) (IndicatorObject * io, IndicatorObject Entry * entry, gint delta, IndicatorScrollDirection direction); | void (*entry_scrolled) (IndicatorObject * io, IndicatorObject Entry * entry, gint delta, IndicatorScrollDirection direction); | |||
void (*menu_show) (IndicatorObject * io, IndicatorObjectEn try * entry, guint timestamp, gpointer user_data); | void (*menu_show) (IndicatorObject * io, IndicatorObjectEn try * entry, guint timestamp, gpointer user_data); | |||
void (*show_now_changed) (IndicatorObject * io, IndicatorObjec tEntry * entry, gboolean show_now_state, gpointer user_data); | void (*show_now_changed) (IndicatorObject * io, IndicatorObjec tEntry * entry, gboolean show_now_state, gpointer user_data); | |||
void (*accessible_desc_update) (IndicatorObject * io, Indicato rObjectEntry * entry, gpointer user_data); | void (*accessible_desc_update) (IndicatorObject * io, Indicato rObjectEntry * entry, gpointer user_data); | |||
void (*secondary_activate) (IndicatorObject * io, IndicatorObj ectEntry * entry, guint timestamp, gpointer user_data); | ||||
/* Reserved */ | /* Reserved */ | |||
void (*reserved1) (void); | void (*reserved1) (void); | |||
void (*reserved2) (void); | void (*reserved2) (void); | |||
void (*reserved3) (void); | void (*reserved3) (void); | |||
void (*reserved4) (void); | void (*reserved4) (void); | |||
void (*reserved5) (void); | void (*reserved5) (void); | |||
void (*reserved6) (void); | ||||
}; | }; | |||
/** | /** | |||
IndicatorObject: | IndicatorObject: | |||
@parent: #GObject | @parent: #GObject | |||
@priv: A cached reference to the private data for the | @priv: A cached reference to the private data for the | |||
instance. | instance. | |||
*/ | */ | |||
struct _IndicatorObject { | struct _IndicatorObject { | |||
GObject parent; | GObject parent; | |||
End of changes. 4 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||