GOA: Support the upcoming "imap_smtp" provider type.
authorMatthew Barnes <mbarnes@redhat.com>
Mon, 28 Jan 2013 17:16:35 +0000 (12:16 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 28 Jan 2013 17:18:50 +0000 (12:18 -0500)
modules/gnome-online-accounts/module-gnome-online-accounts.c

index 4c57bc8..16a96be 100644 (file)
@@ -111,6 +111,9 @@ gnome_online_accounts_get_backend_name (const gchar *goa_provider_type)
        if (g_str_equal (goa_provider_type, "google"))
                eds_backend_name = "google";
 
+       if (g_str_equal (goa_provider_type, "imap_smtp"))
+               eds_backend_name = "none";
+
        if (g_str_equal (goa_provider_type, "yahoo"))
                eds_backend_name = "yahoo";