comparison src/gtkstatusbox.h @ 12778:a36eec90c604

[gaim-migrate @ 15125] sf patch #1395811, from Sadrul Habib Chowdhury with some changes by me Statusbox: Add `Popular statuses' committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 09 Jan 2006 06:11:28 +0000
parents dc995f73c101
children a09027e9d159
comparison
equal deleted inserted replaced
12777:6911a971c97f 12778:a36eec90c604
57 * correspond to GaimStatusPrimitives. 57 * correspond to GaimStatusPrimitives.
58 */ 58 */
59 GTK_GAIM_STATUS_BOX_TYPE_SEPARATOR = GAIM_STATUS_NUM_PRIMITIVES, 59 GTK_GAIM_STATUS_BOX_TYPE_SEPARATOR = GAIM_STATUS_NUM_PRIMITIVES,
60 GTK_GAIM_STATUS_BOX_TYPE_CUSTOM, 60 GTK_GAIM_STATUS_BOX_TYPE_CUSTOM,
61 GTK_GAIM_STATUS_BOX_TYPE_SAVED, 61 GTK_GAIM_STATUS_BOX_TYPE_SAVED,
62 GTK_GAIM_STATUS_BOX_TYPE_POPULAR,
62 GTK_GAIM_STATUS_BOX_NUM_TYPES 63 GTK_GAIM_STATUS_BOX_NUM_TYPES
63 } GtkGaimStatusBoxItemType; 64 } GtkGaimStatusBoxItemType;
64 65
65 typedef struct _GtkGaimStatusBox GtkGaimStatusBox; 66 typedef struct _GtkGaimStatusBox GtkGaimStatusBox;
66 typedef struct _GtkGaimStatusBoxClass GtkGaimStatusBoxClass; 67 typedef struct _GtkGaimStatusBoxClass GtkGaimStatusBoxClass;
134 GType gtk_gaim_status_box_get_type (void) G_GNUC_CONST; 135 GType gtk_gaim_status_box_get_type (void) G_GNUC_CONST;
135 GtkWidget *gtk_gaim_status_box_new (void); 136 GtkWidget *gtk_gaim_status_box_new (void);
136 GtkWidget *gtk_gaim_status_box_new_with_account (GaimAccount *); 137 GtkWidget *gtk_gaim_status_box_new_with_account (GaimAccount *);
137 138
138 void 139 void
139 gtk_gaim_status_box_add(GtkGaimStatusBox *status_box, GtkGaimStatusBoxItemType type, GdkPixbuf *pixbuf, const char *text, const char *sec_text); 140 gtk_gaim_status_box_add(GtkGaimStatusBox *status_box, GtkGaimStatusBoxItemType type, GdkPixbuf *pixbuf, const char *text, const char *sec_text, gpointer data);
140 141
141 void 142 void
142 gtk_gaim_status_box_add_separator(GtkGaimStatusBox *status_box); 143 gtk_gaim_status_box_add_separator(GtkGaimStatusBox *status_box);
143 144
144 void 145 void