TnyAccountStore *account_store);
/**
- * modest_folder_view_get_selected_display_name:
- * @self: a #ModestFolderView
- *
- * returns a the display name of the currently selected
- * #TnyFolder. Note that it could be different to the name returned by
- * the #TnyFolder that could be get using
- * modest_folder_view_get_selected, because it for example could
- * contain the unread messages between brackets
- *
- * Returns: the display name of the currently selected #TnyFolder or
- * NULL if none is selected
- **/
-const gchar* modest_folder_view_get_selected_display_name (ModestFolderView *self);
-
-
-/**
* modest_folder_view_set_style:
* @self: a #ModestFolderView
* @style: a #ModestFolderViewStyle
/**
+ * modest_folder_view_select_folder
+ * @self: a #ModestFolderView
+ * @folder: a #TnyFolder
+ * @after_change: should we select directly (TRUE), or after the first change to the view (FALSE)
+ *
+ * select the given TnyFolder in the folder;
+ * return TRUE if it succeeded, FALSE otherwise.
+ **/
+gboolean modest_folder_view_select_folder (ModestFolderView *self, TnyFolder *folder, gboolean after_change);
+
+/**
* modest_folder_view_paste_selection:
* @self: a #ModestFolderView
* @folders: ouput parameter with a #TnyList of folders which will be returned.