summaryrefslogtreecommitdiff
path: root/plugins/authenticator/shotwell/GoogleAuthenticator.vala
diff options
context:
space:
mode:
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);
}