Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
3319:3a05fcb133c4 | 3320:26130b6a04db |
---|---|
584 if (pid == 0) { | 584 if (pid == 0) { |
585 char *args[4]; | 585 char *args[4]; |
586 char command[1024]; | 586 char command[1024]; |
587 | 587 |
588 if (web_browser == BROWSER_OPERA) { | 588 if (web_browser == BROWSER_OPERA) { |
589 args[0] = g_strdup("opera"); | 589 args[0] = "opera"; |
590 args[1] = g_strdup("-newwindow"); | 590 args[1] = "-newwindow"; |
591 args[2] = url; | 591 args[2] = url; |
592 args[3] = NULL; | 592 args[3] = NULL; |
593 } else if (web_browser == BROWSER_KFM) { | 593 } else if (web_browser == BROWSER_KONQ) { |
594 args[0] = g_strdup("kfmclient"); | 594 args[0] = "kfmclient"; |
595 args[1] = g_strdup("openURL"); | 595 args[1] = "openURL"; |
596 args[2] = url; | 596 args[2] = url; |
597 args[3] = NULL; | 597 args[3] = NULL; |
598 } else if (web_browser == BROWSER_GALEON) { | 598 } else if (web_browser == BROWSER_GALEON) { |
599 args[0] = g_strdup("galeon"); | 599 args[0] = "galeon"; |
600 if (misc_options & OPT_MISC_BROWSER_POPUP) { | |
601 args[1] = "-w"; | |
602 args[2] = url; | |
603 args[3] = NULL; | |
604 } else { | |
605 args[1] = url; | |
606 args[2] = NULL; | |
607 } | |
608 } else if (web_browser == BROWSER_MOZILLA) { | |
609 args[0] = "mozilla"; | |
600 args[1] = url; | 610 args[1] = url; |
601 args[2] = NULL; | 611 args[2] = NULL; |
602 } else if (web_browser == BROWSER_MANUAL) { | 612 } else if (web_browser == BROWSER_MANUAL) { |
603 g_snprintf(command, sizeof(command), web_command, url); | 613 g_snprintf(command, sizeof(command), web_command, url); |
604 | |
605 args[0] = "sh"; | 614 args[0] = "sh"; |
606 args[1] = "-c"; | 615 args[1] = "-c"; |
607 args[2] = command; | 616 args[2] = command; |
608 args[3] = NULL; | 617 args[3] = NULL; |
609 } | 618 } |