Mercurial > pidgin.yaz
changeset 30990:00455fe8c574
Add the new browsers here so they do useful stuff by default.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Sat, 18 Sep 2010 02:01:29 +0000 |
parents | 0dc6c4be763d |
children | 41c3ae96f398 |
files | pidgin/gtknotify.c |
diffstat | 1 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtknotify.c Sat Sep 18 01:38:41 2010 +0000 +++ b/pidgin/gtknotify.c Sat Sep 18 02:01:29 2010 +0000 @@ -1367,6 +1367,27 @@ command = g_strdup_printf("opera %s", escaped); } + else if (!strcmp(web_browser, "google-chrome")) + { + /* Google Chrome doesn't have command-line arguments that control the + * opening of links from external calls. This is controlled solely from + * a preference within Google Chrome. */ + command = g_strdup_printf("google-chrome %s", escaped); + } + else if (!strcmp(web_browser, "chrome")) + { + /* Chromium doesn't have command-line arguments that control the + * opening of links from external calls. This is controlled solely from + * a preference within Chromium. */ + command = g_strdup_printf("chrome %s", escaped); + } + else if (!strcmp(web_browser, "chromium-browser")) + { + /* Chromium doesn't have command-line arguments that control the + * opening of links from external calls. This is controlled solely from + * a preference within Chromium. */ + command = g_strdup_printf("chromium-browser %s", escaped); + } else if (!strcmp(web_browser, "custom")) { const char *web_command;