From e561e2bd11dec8de2b71ca7f5df45b477b7fc0b7 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 2 Oct 2014 01:34:00 +0100 Subject: Update UI before generating OTR key --- src/otr/otr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/otr/otr.c b/src/otr/otr.c index 7e955900..9661089e 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -306,6 +306,7 @@ _otr_keygen(ProfAccount *account) log_debug("Generating private key file %s for %s", keysfilename->str, jid); cons_show("Generating private key, this may take some time."); cons_show("Moving the mouse randomly around the screen may speed up the process!"); + ui_update(); err = otrl_privkey_generate(user_state, keysfilename->str, account->jid, "xmpp"); if (!err == GPG_ERR_NO_ERROR) { g_string_free(basedir, TRUE); -- cgit 1.4.1-2-gfad0