* Fixed NB#57522
[modest] / src / widgets / modest-account-view.h
index fcc8ea2..94e314f 100644 (file)
@@ -85,7 +85,36 @@ 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_set_selected_account:
+ * @account_view: a #ModestAccountView
+ * @account_name: The name of the account to select.
+ * 
+ * Sets the currently selected account.
+ **/
+void modest_account_view_select_account (ModestAccountView *account_view, 
+       const gchar* account_name);
+
+/** 
+ * modest_account_view_block_conf_updates
+ * @account_view: a #ModestAccountView
+ * 
+ * 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
+ * 
+ * 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.
+ **/
+void modest_account_view_unblock_conf_updates    (ModestAccountView *account_view);
 
 G_END_DECLS