aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/folder-browser-ui.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 0f2de99021..974b112950 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-28 Dan Winship <danw@ximian.com>
+
+ * folder-browser-ui.c (fbui_sensitize_timeout): wrap a
+ bonobo_ui_component_freeze/thaw around all of the set_props so
+ they all update at once.
+
2001-09-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-accounts.c (construct): Don't create checkboxes for global
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c
index bb07825712..662fd98de3 100644
--- a/mail/folder-browser-ui.c
+++ b/mail/folder-browser-ui.c
@@ -430,6 +430,8 @@ fbui_sensitize_timeout (gpointer data)
GSList *iter;
struct sensitize_data *sd;
+ if (uic)
+ bonobo_ui_component_freeze (uic, NULL);
for (iter = fb->sensitize_changes; iter; iter = iter->next) {
sd = (struct sensitize_data *) iter->data;
@@ -442,6 +444,8 @@ fbui_sensitize_timeout (gpointer data)
fbui_real_sensitize_items (uic, sd->items, sd->enable);
g_free (sd);
}
+ if (uic)
+ bonobo_ui_component_thaw (uic, NULL);
g_slist_free (fb->sensitize_changes);
fb->sensitize_changes = NULL;