about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-10-02 01:34:00 +0100
committerJames Booth <boothj5@gmail.com>2014-10-02 01:34:00 +0100
commite561e2bd11dec8de2b71ca7f5df45b477b7fc0b7 (patch)
treef47af305fad2073806123390985c89bb08a22448
parent60e0d5ef7b32d509005078bcc5e0581e68162732 (diff)
downloadprofani-tty-e561e2bd11dec8de2b71ca7f5df45b477b7fc0b7.tar.gz
Update UI before generating OTR key
-rw-r--r--src/otr/otr.c1
1 files changed, 1 insertions, 0 deletions
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);