* hopefully, this restores the bora-build
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 18 Jun 2007 15:24:48 +0000 (15:24 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Mon, 18 Jun 2007 15:24:48 +0000 (15:24 +0000)
pmo-trunk-r2288

src/maemo/modest-platform.c

index 1f9c1ea..192b6c4 100644 (file)
@@ -241,8 +241,7 @@ modest_platform_activate_uri (const gchar *uri)
        
        for (iter = actions; iter; iter = g_slist_next (iter)) {
                action = (OssoURIAction*) iter->data;
-               const gchar* service = NULL; /* TODO: hildon_uri_action_get_service (action); */
-               if (action && service && strcmp (service, "com.nokia.modest") == 0) {
+               if (action && strcmp (osso_uri_action_get_name (action), "uri_link_compose_email") == 0) {
                        GError *err = NULL;
                        result = osso_uri_open (uri, action, &err);
                        if (!result && err) {
@@ -259,7 +258,7 @@ modest_platform_activate_uri (const gchar *uri)
        return result;
 }
 
-#else /* MODEST_HILDON_VERSION_0*/
+#else /* !MODEST_HILDON_VERSION_0*/
 
 
 gboolean