summaryrefslogtreecommitdiff
path: root/plugins/authenticator/shotwell/GoogleAuthenticator.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-25 20:18:02 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-25 20:18:02 +0200
commitd816fb9430b39a5aa7ed1c6ab4fd6ff39e804383 (patch)
treeb33dde0d7d164dabdd09bc86eb655bcb8672abbd /plugins/authenticator/shotwell/GoogleAuthenticator.vala
parent32662cb4e6c60da265aba1e4cc6a5e05e5c7c2d1 (diff)
parent78aeec6a66a80c1494e4f5dec30e9a2f71caef41 (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'plugins/authenticator/shotwell/GoogleAuthenticator.vala')
-rw-r--r--plugins/authenticator/shotwell/GoogleAuthenticator.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/authenticator/shotwell/GoogleAuthenticator.vala b/plugins/authenticator/shotwell/GoogleAuthenticator.vala
index 5b38ee6..a607cd0 100644
--- a/plugins/authenticator/shotwell/GoogleAuthenticator.vala
+++ b/plugins/authenticator/shotwell/GoogleAuthenticator.vala
@@ -371,6 +371,7 @@ namespace Publishing.Authenticator.Shotwell.Google {
host.set_config_string("refresh_token", session.refresh_token);
this.authenticated();
+ web_auth_pane.clear();
}
@@ -387,7 +388,7 @@ namespace Publishing.Authenticator.Shotwell.Google {
try {
txn.execute();
} catch (Spit.Publishing.PublishingError err) {
- host.post_error(err);
+ host.post_error(err);
}
}
@@ -420,6 +421,7 @@ namespace Publishing.Authenticator.Shotwell.Google {
Idle.add (() => { this.authenticate(); return false; });
}
+ web_auth_pane.clear();
host.post_error(err);
}