aboutsummaryrefslogtreecommitdiff
path: root/libsylph/utils.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-09-06 08:51:24 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-09-06 08:51:24 +0000
commitf59c735b2a727a1359c485e9568e8c278a05c1ca (patch)
tree4244375e19b505357cd1340c6e3b1049e1f95642 /libsylph/utils.c
parentad1bba830a5e4a8d6d641111bf17396e177429da (diff)
added UI hints for IMAP4 operation.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@552 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.c')
-rw-r--r--libsylph/utils.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libsylph/utils.c b/libsylph/utils.c
index ac4ffa6c..c45563c5 100644
--- a/libsylph/utils.c
+++ b/libsylph/utils.c
@@ -3263,6 +3263,21 @@ size_t my_strftime(gchar *s, size_t max, const gchar *format,
return strftime(s, max, format, tm);
}
+/* UI hints */
+
+static UIUpdateFunc ui_update_func = NULL;
+
+void set_ui_update_func(UIUpdateFunc func)
+{
+ ui_update_func = func;
+}
+
+void ui_update(void)
+{
+ if (ui_update_func)
+ ui_update_func();
+}
+
/* user input */
static QueryPasswordFunc query_password_func = NULL;