diff options
author | Dan Winship <danw@src.gnome.org> | 2001-09-29 08:31:59 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-09-29 08:31:59 +0800 |
commit | 9072c0e4dca7048582bf59f89fca23c3a6a01e86 (patch) | |
tree | cbb3ef4b63ef6fde2a687f873fef30d2c4d778f4 /mail/folder-browser-ui.c | |
parent | 28783ed7f587fc4420c804cf16e78ccd1b75cf46 (diff) | |
download | gsoc2013-evolution-9072c0e4dca7048582bf59f89fca23c3a6a01e86.tar gsoc2013-evolution-9072c0e4dca7048582bf59f89fca23c3a6a01e86.tar.gz gsoc2013-evolution-9072c0e4dca7048582bf59f89fca23c3a6a01e86.tar.bz2 gsoc2013-evolution-9072c0e4dca7048582bf59f89fca23c3a6a01e86.tar.lz gsoc2013-evolution-9072c0e4dca7048582bf59f89fca23c3a6a01e86.tar.xz gsoc2013-evolution-9072c0e4dca7048582bf59f89fca23c3a6a01e86.tar.zst gsoc2013-evolution-9072c0e4dca7048582bf59f89fca23c3a6a01e86.zip |
wrap a bonobo_ui_component_freeze/thaw around all of the set_props so they
* 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.
svn path=/trunk/; revision=13245
Diffstat (limited to 'mail/folder-browser-ui.c')
-rw-r--r-- | mail/folder-browser-ui.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |