* src/gnome/modest-main-window.c
[modest] / src / widgets / modest-msg-view.h
index 78360d6..7689da3 100644 (file)
@@ -34,6 +34,7 @@
 #include <tny-msg.h>
 #include <tny-mime-part.h>
 #include <tny-msg-view.h>
+#include <widgets/modest-recpt-view.h>
 
 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);
 };