[epiphany/profile-migrator-diego: 11/12] e-profile-migrator: warn when no valid profile found



commit 68dc529eee0bf5e7e9ff2f124ab6bb669a3a3a81
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Mon Sep 3 05:15:13 2012 -0500

    e-profile-migrator: warn when no valid profile found

 lib/ephy-profile-migrator.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/ephy-profile-migrator.c b/lib/ephy-profile-migrator.c
index f1e250e..6bb07de 100644
--- a/lib/ephy-profile-migrator.c
+++ b/lib/ephy-profile-migrator.c
@@ -985,8 +985,10 @@ ephy_migrator (const char *source,
   /* If after this point there's no profile dir, there's no point in
    * running anything because Epiphany has never run in this sytem, so
    * exit here. */
-  if (!profile_dir_exists ())
+  if (!profile_dir_exists ()) {
+    g_warning ("No Epiphany profile detected, can not migrate");
     return TRUE;
+  }
 
   profile_dir = (source == NULL) ? ephy_dot_dir () : source;
   dest_dir = profile_dir;



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