From d8a6039b1040c422b24d082aa6375fae78016773 Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Mon, 4 Jan 2010 23:36:33 -0800 Subject: [PATCH] Spelling/grammar fixes to comments --- config-ui/browser-switchboard-cp.c | 2 +- launcher.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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. */ -- 1.7.9.5