aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-27 19:49:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-27 19:49:54 +0800
commit55c4f30db73b6078d8d0b8bd74a038d39f096b04 (patch)
tree6c7f9e48a4b2826db639bab2aafae1478a95990f
parent8a3964b72e3915d52e0fd4936466771b57b49ef0 (diff)
downloadgsoc2013-evolution-55c4f30db73b6078d8d0b8bd74a038d39f096b04.tar
gsoc2013-evolution-55c4f30db73b6078d8d0b8bd74a038d39f096b04.tar.gz
gsoc2013-evolution-55c4f30db73b6078d8d0b8bd74a038d39f096b04.tar.bz2
gsoc2013-evolution-55c4f30db73b6078d8d0b8bd74a038d39f096b04.tar.lz
gsoc2013-evolution-55c4f30db73b6078d8d0b8bd74a038d39f096b04.tar.xz
gsoc2013-evolution-55c4f30db73b6078d8d0b8bd74a038d39f096b04.tar.zst
gsoc2013-evolution-55c4f30db73b6078d8d0b8bd74a038d39f096b04.zip
Bug 619811 - Bogus "Cannot update from version 0.0" dialog on start
-rw-r--r--shell/e-shell-migrate.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell-migrate.c b/shell/e-shell-migrate.c
index d26c9a83d1..45ed5a1b95 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;