aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-event.h
diff options
context:
space:
mode:
authorLucian Langa <lucilanga@gnome.org>2008-07-28 03:15:42 +0800
committerLucian Langa <lucilanga@src.gnome.org>2008-07-28 03:15:42 +0800
commit60f7e7bf1c9c8bc848591d4574e59ca2b356885a (patch)
tree66e1ed3bf72d80f4747358c3af6a4fe65ff1c91d /mail/em-event.h
parent40547a996b1100b0f51897acda2a7d22dc6db2cb (diff)
downloadgsoc2013-evolution-60f7e7bf1c9c8bc848591d4574e59ca2b356885a.tar.gz
gsoc2013-evolution-60f7e7bf1c9c8bc848591d4574e59ca2b356885a.tar.zst
gsoc2013-evolution-60f7e7bf1c9c8bc848591d4574e59ca2b356885a.zip
** See bug #544969: Added the hook for folder custom icon.
2008-07-27 Lucian Langa <lucilanga@gnome.org> * mail/em-event.h (struct _EMEventTargetCustomIcon): * mail/em-event.c (em_event_target_new_custom_icon): * mail/em-folder-tree.c (render_pixbuf): ** See bug #544969: Added the hook for folder custom icon. svn path=/trunk/; revision=35842
Diffstat (limited to 'mail/em-event.h')
-rw-r--r--mail/em-event.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/em-event.h b/mail/em-event.h
index d8e93f1b34..8725868e2f 100644
--- a/mail/em-event.h
+++ b/mail/em-event.h
@@ -46,6 +46,7 @@ enum _em_event_target_t {
EM_EVENT_TARGET_MESSAGE,
EM_EVENT_TARGET_COMPOSER,
EM_EVENT_TARGET_SEND_RECEIVE,
+ EM_EVENT_TARGET_CUSTOM_ICON,
};
/* Flags that describe TARGET_FOLDER */
@@ -68,6 +69,11 @@ enum {
EM_EVENT_SEND_RECEIVE = 1<< 0,
};
+/* Flags that describe TARGET_CUSTOM_ICON*/
+enum {
+ EM_EVENT_CUSTOM_ICON = 1<< 0,
+};
+
typedef struct _EMEventTargetFolder EMEventTargetFolder;
struct _EMEventTargetFolder {
@@ -105,6 +111,14 @@ struct _EMEventTargetSendReceive {
int row;
};
+typedef struct _EMEventTargetCustomIcon EMEventTargetCustomIcon;
+
+struct _EMEventTargetCustomIcon {
+ EEventTarget target;
+
+ GtkCellRenderer *renderer;
+ char *folder_name;
+};
typedef struct _EEventItem EMEventItem;
@@ -127,6 +141,7 @@ EMEventTargetFolder *em_event_target_new_folder(EMEvent *emp, const char *uri, g
EMEventTargetComposer *em_event_target_new_composer(EMEvent *emp, const struct _EMsgComposer *composer, guint32 flags);
EMEventTargetMessage *em_event_target_new_message(EMEvent *emp, struct _CamelFolder *folder, struct _CamelMimeMessage *message, const char *uid, guint32 flags);
EMEventTargetSendReceive * em_event_target_new_send_receive(EMEvent *eme, struct _GtkWidget *table, gpointer data, int row, guint32 flags);
+EMEventTargetCustomIcon * em_event_target_new_custom_icon(EMEvent *eme, GtkCellRenderer *renderer, const char *uri, guint32 flags);
/* ********************************************************************** */