[evolution] Bug 619811 - Bogus "Cannot update from version 0.0" dialog on start



commit 55c4f30db73b6078d8d0b8bd74a038d39f096b04
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu May 27 07:49:07 2010 -0400

    Bug 619811 - Bogus "Cannot update from version 0.0" dialog on start

 shell/e-shell-migrate.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index d26c9a8..45ed5a1 100644
--- a/shell/e-shell-migrate.c
+++ b/shell/e-shell-migrate.c
@@ -49,6 +49,10 @@ shell_migrate_attempt (EShell *shell,
 	parent = e_shell_get_active_window (shell);
 	backends = e_shell_get_shell_backends (shell);
 
+	/* New user accounts have nothing to migrate. */
+	if (major == 0 && minor == 0 && micro == 0)
+		return TRUE;
+
 	/* We only support migrating from version 2 now. */
 	if (major < 2) {
 		gchar *version;



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