[epiphany/wip/sync-rebase: 85/86] ephy-sync: Reset sync time at sign out



commit 30c197dd1fcc7162724847461cb03a4482f09e09
Author: Gabriel Ivascu <ivascu gabriel59 gmail com>
Date:   Thu Sep 29 18:51:14 2016 +0300

    ephy-sync: Reset sync time at sign out

 src/prefs-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 05877de..c45e026 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -361,6 +361,7 @@ on_sync_sign_out_button_clicked (GtkWidget   *button,
   ephy_sync_service_clear_tokens (service);
   ephy_sync_secret_forget_tokens ();
   ephy_sync_service_set_user_email (service, NULL);
+  ephy_sync_service_set_sync_time (service, 0);
 
   g_settings_set_string (EPHY_SETTINGS_MAIN, EPHY_PREFS_SYNC_USER, "");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]