Check for NULL uic here as well. (fbui_sensitize_items): Up the timeout

2001-08-22  Peter Williams  <peterw@ximian.com>

	* folder-browser-ui.c (fbui_sensitize_timeout): Check for NULL uic
	here as well.
	(fbui_sensitize_items): Up the timeout interval to 110 ms.

svn path=/trunk/; revision=12380
This commit is contained in:
Peter Williams
2001-08-22 15:02:02 +00:00
committed by Peter Williams
parent ec13cd14da
commit f4b632e0ef
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2001-08-22 Peter Williams <peterw@ximian.com>
* folder-browser-ui.c (fbui_sensitize_timeout): Check for NULL uic
here as well.
(fbui_sensitize_items): Up the timeout interval to 110 ms.
2001-08-21 Peter Williams <peterw@ximian.com>
* mail-account-editor.c (apply_changes): Honor the return value of

View File

@ -433,7 +433,13 @@ fbui_sensitize_timeout (gpointer data)
for (iter = fb->sensitize_changes; iter; iter = iter->next) {
sd = (struct sensitize_data *) iter->data;
fbui_real_sensitize_items (uic, sd->items, sd->enable);
/* if UIC == NULL, we could just return TRUE, but we don't
* know when UIC is going to come back... when it does,
* the UI stuff will be reset, so no problem.
*/
if (uic)
fbui_real_sensitize_items (uic, sd->items, sd->enable);
g_free (sd);
}
@ -472,7 +478,7 @@ fbui_sensitize_items (FolderBrowser *fb, const char **items, gboolean enable)
}
if (fb->sensitize_timeout_id == 0)
fb->sensitize_timeout_id = g_timeout_add (90, fbui_sensitize_timeout, fb);
fb->sensitize_timeout_id = g_timeout_add (110, fbui_sensitize_timeout, fb);
}
static const char *message_pane_enables[] = {