2007-05-09 Murray Cumming <murrayc@murrayc.com>
[modest] / src / widgets / modest-account-view.h
index aa16dd2..ba5992c 100644 (file)
@@ -87,6 +87,25 @@ ModestAccountView*   modest_account_view_new         (ModestAccountMgr *account_
  **/
 gchar*   modest_account_view_get_selected_account    (ModestAccountView *account_view);
 
+/** 
+ * 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
 
 #endif /* __MODEST_ACCOUNT_VIEW_H__ */