summaryrefslogtreecommitdiff
path: root/plugins/authenticator/shotwell/GoogleAuthenticator.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-31 12:05:32 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-31 12:05:32 +0200
commita03d7d2e5151332bbe89e5bc36965956cfa7af35 (patch)
tree1667c3a269ad810db3a7a4a592a5721955dbdf01 /plugins/authenticator/shotwell/GoogleAuthenticator.vala
parent2db2a00a812ec31ee59c3920ff457290e1f4a05e (diff)
parenta99b581716d7972a62ed6c227a807e304a98d6af (diff)
Merge branch 'release/debian/0.30.10-1'debian/0.30.10-1
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);
}