about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-01 19:14:52 +0100
committerJames Booth <boothj5@gmail.com>2014-09-01 19:14:52 +0100
commitbc3c4e09a194acba2f5947b62b8913d7311fb1cb (patch)
tree7313a3acc3db68bc4d78bef7be65963cd86f096d /src/otr
parentc73c4b20efef6d412d48be241b84f4374dacc4f7 (diff)
downloadprofani-tty-bc3c4e09a194acba2f5947b62b8913d7311fb1cb.tar.gz
Always update UI in event loop, removed updates from rest of code
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index fe0a114d..7e955900 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -306,8 +306,6 @@ _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_current_page_off();
-    ui_update_screen();
     err = otrl_privkey_generate(user_state, keysfilename->str, account->jid, "xmpp");
     if (!err == GPG_ERR_NO_ERROR) {
         g_string_free(basedir, TRUE);