X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=dbus-server-bindings.c;h=8224defbdc2d3ad447b7da945cc8eeabe1312560;hp=4afaec835bc717497e62e0e683bafc8c4f95f613;hb=663c89819b6990c99427d1cf5b0fcae21e4201bc;hpb=d9eaacdb0796bfa089b4dea6fb5f1ad1d9835c44 diff --git a/dbus-server-bindings.c b/dbus-server-bindings.c index 4afaec8..8224def 100644 --- a/dbus-server-bindings.c +++ b/dbus-server-bindings.c @@ -1,7 +1,7 @@ /* * dbus-server-bindings.c -- osso_browser D-Bus interface implementation * - * Copyright (C) 2009 Steven Luo + * Copyright (C) 2009-2010 Steven Luo * Derived from a Python implementation by Jason Simpson and Steven Luo * * This program is free software; you can redistribute it and/or @@ -81,6 +81,15 @@ static void open_address(const char *uri) { we need to clean up after ourselves */ free(new_uri); } else { +#ifdef FREMANTLE + if (!strcmp(uri, "http://link.ovi.mobi/n900ovistore")) { + /* Ovi Store webpage will not open correctly in + any browser other than MicroB, so force the + link in the provided bookmark to open in MicroB */ + launch_microb(&ctx, (char *)uri); + return; + } +#endif launch_browser(&ctx, (char *)uri); } }