X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-view.h;h=7689da370f23d244a447c567629c9e83b292b47e;hp=73a9232def154d79cbc17ccbb9ef219edad595f3;hb=49b1c4b5e7e28b54afd6c84b3c3b4f38c0cea2e4;hpb=5ea90afc47f699b651384a4490a360df090a085f diff --git a/src/widgets/modest-msg-view.h b/src/widgets/modest-msg-view.h index 73a9232..7689da3 100644 --- a/src/widgets/modest-msg-view.h +++ b/src/widgets/modest-msg-view.h @@ -34,6 +34,7 @@ #include #include #include +#include G_BEGIN_DECLS @@ -49,11 +50,11 @@ typedef struct _ModestMsgView ModestMsgView; typedef struct _ModestMsgViewClass ModestMsgViewClass; struct _ModestMsgView { - GtkScrolledWindow parent; + GtkViewport parent; }; struct _ModestMsgViewClass { - GtkScrolledWindowClass parent_class; + GtkViewportClass parent_class; void (*link_hover) (ModestMsgView *msgview, const gchar* link, gpointer user_data); @@ -61,6 +62,8 @@ struct _ModestMsgViewClass { gpointer user_data); void (*attachment_clicked) (ModestMsgView *msgview, int index, gpointer user_data); + void (*recpt_activated) (ModestMsgView *msgview, const gchar *address, + gpointer user_data); }; @@ -98,6 +101,20 @@ GtkWidget* modest_msg_view_new (TnyMsg *tny_msg); * */ void modest_msg_view_set_message (ModestMsgView *self, TnyMsg *tny_msg); + + +/** + * modest_msg_view_set_message + * @self: a ModestMsgView instance + * + * get the @tny_msg e-mail message. + * + * Returns: the message or NULL + */ +TnyMsg* modest_msg_view_get_message (ModestMsgView *self); + + + G_END_DECLS #endif /* __MODEST_MSG_VIEW_H__ */