X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-view-window.h;h=11216873b479684e536338839f316d609fe869b6;hp=6cad5e0e5bb637eaf4a1b8cc152bc204cb4cd41c;hb=f6d386ff93e929092ba105385a29d760aeba9ff7;hpb=2fbc6870fbfcb6c2a1198b302141e268acd4b94c diff --git a/src/widgets/modest-msg-view-window.h b/src/widgets/modest-msg-view-window.h index 6cad5e0..1121687 100644 --- a/src/widgets/modest-msg-view-window.h +++ b/src/widgets/modest-msg-view-window.h @@ -31,8 +31,10 @@ #define __MODEST_MSG_VIEW_WINDOW_H__ #include +#include #include #include +#include G_BEGIN_DECLS @@ -56,6 +58,11 @@ typedef struct { GtkTreeModel *model, GtkTreeRowReference *row_reference, gpointer user_data); + + gboolean (*scroll_child) (ModestMsgViewWindow *self, + GtkScrollType scroll_type, + gboolean horizontal, + gpointer userdata); } ModestMsgViewWindowClass; /** @@ -157,17 +164,6 @@ TnyMsg* modest_msg_view_window_get_message (ModestMsgViewWindow *win const gchar* modest_msg_view_window_get_message_uid (ModestMsgViewWindow *window); /** - * modest_msg_view_window_select_first_message: - * @window: a #ModestMsgViewWindow instance - * - * select the first message obtained from the header view this view - * was called from - * - * Returns: %TRUE if a new message is shown. - */ -gboolean modest_msg_view_window_select_first_message (ModestMsgViewWindow *window); - -/** * modest_msg_view_window_select_next_message: * @window: a #ModestMsgViewWindow instance * @@ -207,18 +203,18 @@ void modest_msg_view_window_view_attachment (ModestMsgViewWindow *win * * Get selected attachments from #ModetMsgView private object. */ -GList * modest_msg_view_window_get_attachments (ModestMsgViewWindow *win); +TnyList * modest_msg_view_window_get_attachments (ModestMsgViewWindow *win); /** * modest_msg_view_window_save_attachments: * @window: a #ModestMsgViewWindow - * @mime_parts: a #GList of #TnyMimePart + * @mime_parts: a #TnyList of #TnyMimePart * * Save the #TnyMimePart attachments in @mime_parts, or currently selected attachments * if @mime_parts is %NULL, offering a dialog to the user to choose the location. */ void modest_msg_view_window_save_attachments (ModestMsgViewWindow *window, - GList *mime_parts); + TnyList *mime_parts); /** * modest_msg_view_window_remove_attachments: