X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-account-view.h;h=6a5bb4a0fa5b443218cf056358a886e863842d93;hb=a431bd899a8289392f99685df90300e10e015200;hp=ba5992cad9129db170f1d426284de8fad5401f49;hpb=6ebf456ad9d34d07c36667fa1e05118076d5dc38;p=modest diff --git a/src/widgets/modest-account-view.h b/src/widgets/modest-account-view.h index ba5992c..6a5bb4a 100644 --- a/src/widgets/modest-account-view.h +++ b/src/widgets/modest-account-view.h @@ -87,24 +87,16 @@ ModestAccountView* modest_account_view_new (ModestAccountMgr *account_ **/ gchar* modest_account_view_get_selected_account (ModestAccountView *account_view); -/** - * modest_account_view_block_conf_updates +/** + * modest_account_view_get_path_account: * @account_view: a #ModestAccountView + * @path: a #GtkTreePath * - * Stops the widget from updating in response to configuration key changes. - * This can be a useful optimization when making many configuration changes. - **/ -void modest_account_view_block_conf_updates (ModestAccountView *account_view); - -/** - * modest_account_view_unblock_conf_updates - * @account_view: a #ModestAccountView + * Gets the name of the account pointed by @path * - * Allows the widget tp update again in response to configuration key changes. - * When this is called it will cause the widget to immediately update its view from the - * configuration data. + * Returns: the name of the account or NULL if no account in path **/ -void modest_account_view_unblock_conf_updates (ModestAccountView *account_view); +gchar * modest_account_view_get_path_account (ModestAccountView *self, GtkTreePath *path); G_END_DECLS