gchar* modest_account_view_get_selected_account (ModestAccountView *account_view);
/**
- * modest_account_view_set_selected_account:
+ * modest_account_view_get_path_account:
* @account_view: a #ModestAccountView
- * @account_name: The name of the account to select.
+ * @path: a #GtkTreePath
*
- * Sets the currently selected account.
+ * Gets the name of the account pointed by @path
+ *
+ * Returns: the name of the account or NULL if no account in path
**/
-/* Not used outside:
-void modest_account_view_select_account (ModestAccountView *account_view,
- const gchar* account_name);
-*/
+gchar * modest_account_view_get_path_account (ModestAccountView *self, GtkTreePath *path);
G_END_DECLS