Now folder paths are shown as a set of dots (fixes part of NB#97144).
[modest] / src / widgets / modest-account-view.h
index fcc8ea2..6a5bb4a 100644 (file)
@@ -85,7 +85,18 @@ ModestAccountView*   modest_account_view_new         (ModestAccountMgr *account_
  * Returns: the name of the selected account or NULL if none is
  * selected
  **/
-const gchar*   modest_account_view_get_selected_account    (ModestAccountView *account_view);
+gchar*   modest_account_view_get_selected_account    (ModestAccountView *account_view);
+
+/**
+ * modest_account_view_get_path_account:
+ * @account_view: a #ModestAccountView
+ * @path: a #GtkTreePath
+ * 
+ * Gets the name of the account pointed by @path
+ * 
+ * Returns: the name of the account or NULL if no account in path
+ **/
+gchar *  modest_account_view_get_path_account (ModestAccountView *self, GtkTreePath *path);
 
 G_END_DECLS