Don't automatically re-check signatures
authorColin Leroy <colin@colino.net>
Fri, 20 Jun 2014 10:59:32 +0000 (12:59 +0200)
committerColin Leroy <colin@colino.net>
Fri, 20 Jun 2014 10:59:32 +0000 (12:59 +0200)
src/mimeview.c

index f63a522..7f4664b 100644 (file)
@@ -1459,7 +1459,8 @@ static void mimeview_selected(GtkTreeSelection *selection, MimeView *mimeview)
                }
        }
 
-       if (mimeview->siginfo && privacy_auto_check_signatures(mimeview->siginfo)) {
+       if (mimeview->siginfo && privacy_auto_check_signatures(mimeview->siginfo)
+       &&  privacy_mimeinfo_get_sig_status(mimeview->siginfo) == SIGNATURE_UNCHECKED) {
                mimeview_check_signature(mimeview);
        }
 }