X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=dbus-server-bindings.c;h=e3d2c4fb512a9fef09334aba236380c6361c726f;hp=f20a6901fa79f525196f42d3e94b90233545f9ba;hb=846e68b8ffa979d30ed331c43020212ffdee2bf2;hpb=d6e7a8bf0f28cdb7156b891ff565d5406047914a diff --git a/dbus-server-bindings.c b/dbus-server-bindings.c index f20a690..e3d2c4f 100644 --- a/dbus-server-bindings.c +++ b/dbus-server-bindings.c @@ -131,9 +131,19 @@ gboolean osso_browser_top_application(OssoBrowser *obj, return TRUE; } -/* This is a "undocumented", non-standard extension to the API, ONLY - for use by /usr/bin/microb wrapper */ -gboolean osso_browser_switchboard_launch_microb(OssoBrowser *obj, + +/* + * The org.maemo.garage.browser_switchboard D-Bus interface + */ +gboolean switchboard_top_application(OssoBrowser *obj, + GError **error) { + if (!ctx.continuous_mode) + ignore_reconfig_requests(); + launch_microb(&ctx, "new_window"); + return TRUE; +} + +gboolean switchboard_launch_microb(OssoBrowser *obj, const char *uri, GError **error) { if (!ctx.continuous_mode) ignore_reconfig_requests();