X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=blobdiff_plain;f=launcher.c;h=f738c636eeaa4a6d8851762384b927b8993cc538;hp=a2aec7195ffa386eeec32ef5435424778e75bb6a;hb=d8a6039b1040c422b24d082aa6375fae78016773;hpb=2ee76ea08e6e8552dcc128d057efcfa1213b084c diff --git a/launcher.c b/launcher.c index a2aec71..f738c63 100644 --- a/launcher.c +++ b/launcher.c @@ -46,8 +46,8 @@ static void launch_tear(struct swb_context *ctx, char *uri) { printf("launch_tear with uri '%s'\n", uri); /* We should be able to just call the D-Bus service to open Tear ... - but if Tear's not open, that cuases D-Bus to star Tear and then pass - it the OpenAddress call, which results in two browser windows. + but if Tear's not open, that cuases D-Bus to start Tear and then + pass it the OpenAddress call, which results in two browser windows. Properly fixing this probably requires Tear to provide a D-Bus method that opens an address in an existing window, but for now work around by just invoking Tear with exec() if it's not running. */