Mercurial > pidgin.yaz
diff src/browser.c @ 3320:26130b6a04db
[gaim-migrate @ 3338]
Added Mozilla as a browser, and changed KFM to Konqueror.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Mon, 17 Jun 2002 00:10:34 +0000 |
| parents | a7e03c5d2205 |
| children | 2a34734f6a0d |
line wrap: on
line diff
--- a/src/browser.c Sun Jun 16 20:03:31 2002 +0000 +++ b/src/browser.c Mon Jun 17 00:10:34 2002 +0000 @@ -586,22 +586,31 @@ char command[1024]; if (web_browser == BROWSER_OPERA) { - args[0] = g_strdup("opera"); - args[1] = g_strdup("-newwindow"); + args[0] = "opera"; + args[1] = "-newwindow"; args[2] = url; args[3] = NULL; - } else if (web_browser == BROWSER_KFM) { - args[0] = g_strdup("kfmclient"); - args[1] = g_strdup("openURL"); + } else if (web_browser == BROWSER_KONQ) { + args[0] = "kfmclient"; + args[1] = "openURL"; args[2] = url; args[3] = NULL; } else if (web_browser == BROWSER_GALEON) { - args[0] = g_strdup("galeon"); + args[0] = "galeon"; + if (misc_options & OPT_MISC_BROWSER_POPUP) { + args[1] = "-w"; + args[2] = url; + args[3] = NULL; + } else { + args[1] = url; + args[2] = NULL; + } + } else if (web_browser == BROWSER_MOZILLA) { + args[0] = "mozilla"; args[1] = url; args[2] = NULL; } else if (web_browser == BROWSER_MANUAL) { g_snprintf(command, sizeof(command), web_command, url); - args[0] = "sh"; args[1] = "-c"; args[2] = command;
