From: Steven Luo Date: Tue, 5 Jan 2010 07:36:33 +0000 (-0800) Subject: Spelling/grammar fixes to comments X-Git-Tag: v3.1~2 X-Git-Url: http://git.maemo.org/git/?p=browser-switch;a=commitdiff_plain;h=d8a6039b1040c422b24d082aa6375fae78016773;hp=2ee76ea08e6e8552dcc128d057efcfa1213b084c Spelling/grammar fixes to comments --- diff --git a/config-ui/browser-switchboard-cp.c b/config-ui/browser-switchboard-cp.c index 7ddb6ae..13b0b48 100644 --- a/config-ui/browser-switchboard-cp.c +++ b/config-ui/browser-switchboard-cp.c @@ -302,7 +302,7 @@ static void do_reconfig(void) { save_config(); /* Try to send SIGHUP to any running browser-switchboard process - This causes it to reread config files if in continuous_mode, and + This causes it to reread config files if in continuous_mode, or die so that the config will be reloaded on next start otherwise */ system("kill -HUP `pidof browser-switchboard` > /dev/null 2>&1"); } 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. */