diff options
author | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-11-25 21:53:23 +0200 |
---|---|---|
committer | Gabriel Ivascu <gabrielivascu@gnome.org> | 2017-11-25 21:53:23 +0200 |
commit | bc26aebfe664b356607c123aa1b816d0dfa4b18b (patch) | |
tree | 6a0606f737ce1f1cf8709f4ab0b400d5f2223b6d /lib/sync | |
parent | fdcfe7c8511630523c0bec3d990607d3bcc8a9b2 (diff) | |
download | epiphany-bc26aebfe664b356607c123aa1b816d0dfa4b18b.tar.gz |
sync-service: Fix sign in error report when registering device
Diffstat (limited to 'lib/sync')
-rw-r--r-- | lib/sync/ephy-sync-service.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/sync/ephy-sync-service.c b/lib/sync/ephy-sync-service.c index 2fa7d665c..7df8c7c84 100644 --- a/lib/sync/ephy-sync-service.c +++ b/lib/sync/ephy-sync-service.c @@ -2275,9 +2275,8 @@ register_device_cb (SoupSession *session, if (msg->status_code != 200) { g_warning ("Failed to register device. Status code: %u, response: %s", msg->status_code, msg->response_body->data); - ephy_sync_service_report_sign_in_error (self, - _("Failed to register device."), - NULL, TRUE); + if (self->is_signing_in) + ephy_sync_service_report_sign_in_error (self, _("Failed to register device."), NULL, TRUE); } else { LOG ("Successfully registered device"); if (self->is_signing_in) |