X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-account-view.h;h=6a5bb4a0fa5b443218cf056358a886e863842d93;hb=a431bd899a8289392f99685df90300e10e015200;hp=aa16dd2d9958f2e8e26f11fd095675a6350353ae;hpb=6f95048c7a24ff3295e1a30d27d5765cc4ef1d26;p=modest diff --git a/src/widgets/modest-account-view.h b/src/widgets/modest-account-view.h index aa16dd2..6a5bb4a 100644 --- a/src/widgets/modest-account-view.h +++ b/src/widgets/modest-account-view.h @@ -87,6 +87,17 @@ ModestAccountView* modest_account_view_new (ModestAccountMgr *account_ **/ 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 #endif /* __MODEST_ACCOUNT_VIEW_H__ */