sync with Hiroyuki's 0.5.0claws2-3
[claws.git] / src / send.c
index 51e818f..ad182fd 100644 (file)
@@ -339,7 +339,7 @@ static gint send_message_smtp(GSList *to_list, const gchar *from,
 
                gettimeofday(&tv_cur, NULL);
                if (tv_cur.tv_sec - tv_prev.tv_sec > 0 ||
-                   tv_cur.tv_usec - tv_prev.tv_usec > 10000) {
+                   tv_cur.tv_usec - tv_prev.tv_usec > UI_REFRESH_INTERVAL) {
                        g_snprintf(str, sizeof(str),
                                   _("Sending message (%d / %d bytes)"),
                                   bytes, size);