aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-08-22 23:02:02 +0800
committerPeter Williams <peterw@src.gnome.org>2001-08-22 23:02:02 +0800
commitf4b632e0ef2999834fcf3faebec00b04e459f628 (patch)
tree63cf48ad443321e1f599b45ca64839640531a5e3
parentec13cd14dacd7ebcc32a984a4ef858073995653b (diff)
downloadgsoc2013-evolution-f4b632e0ef2999834fcf3faebec00b04e459f628.tar
gsoc2013-evolution-f4b632e0ef2999834fcf3faebec00b04e459f628.tar.gz
gsoc2013-evolution-f4b632e0ef2999834fcf3faebec00b04e459f628.tar.bz2
gsoc2013-evolution-f4b632e0ef2999834fcf3faebec00b04e459f628.tar.lz
gsoc2013-evolution-f4b632e0ef2999834fcf3faebec00b04e459f628.tar.xz
gsoc2013-evolution-f4b632e0ef2999834fcf3faebec00b04e459f628.tar.zst
gsoc2013-evolution-f4b632e0ef2999834fcf3faebec00b04e459f628.zip
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
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/folder-browser-ui.c10
2 files changed, 14 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4fa2534fd5..639122624a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -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
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c
index ba6fb8ef28..8a2189e1f9 100644
--- a/mail/folder-browser-ui.c
+++ b/mail/folder-browser-ui.c
@@ -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[] = {