* modest_msg_view_window_new_for_attachment:
* @msg: an #TnyMsg instance
* @modest_account_name: the account name
+ * @mailbox: the mailbox (if any)
*
* instantiates a new #ModestMsgViewWindow widget to view a message that is an
* attachment in another message.
* Returns: a new #ModestMsgViewWindow, or NULL in case of error
*/
ModestWindow* modest_msg_view_window_new_for_attachment (TnyMsg *msg,
- const gchar *modest_account_name,
- const gchar *msg_uid);
+ const gchar *modest_account_name,
+ const gchar *mailbox,
+ const gchar *msg_uid);
/**
* modest_msg_view_window_new_with_header_model:
* @msg: an #TnyMsg instance
* @modest_account_name: the account name
+ * @mailbox: the mailbox (if any)
* @model: a #GtkTreeModel, with the format used by #ModestHeaderView
* @row_reference: a #GtkTreeRowReference, pointing to the position of @msg in @model.
*
*/
ModestWindow* modest_msg_view_window_new_with_header_model (TnyMsg *msg,
const gchar *modest_account_name,
+ const gchar *mailbox,
const gchar *msg_uid,
GtkTreeModel *model,
GtkTreeRowReference *row_reference);
* modest_msg_view_window_new_from_header_view:
* @header_view: an #ModestHeaderView instance
* @modest_account_name: the account name
+ * @mailbox: the mailbox (if any)
* @msg_uid: the initial uid reserved by this window
* @row_reference: a #GtkTreeRowReference, pointing to the selected position @model.
*
*/
ModestWindow* modest_msg_view_window_new_from_header_view (ModestHeaderView *header_view,
const gchar *modest_account_name,
+ const gchar *mailbox,
const gchar *msg_uid,
GtkTreeRowReference *row_reference);
ModestWindow *
modest_msg_view_window_new_for_search_result (TnyMsg *msg,
const gchar *modest_account_name,
+ const gchar *mailbox,
const gchar *msg_uid);
/**