# HG changeset patch # User John Bailey # Date 1284775289 0 # Node ID 00455fe8c574878bc97f909f223df7b764e08d72 # Parent 0dc6c4be763d37813caff726b19e292755e86fde Add the new browsers here so they do useful stuff by default. diff -r 0dc6c4be763d -r 00455fe8c574 pidgin/gtknotify.c --- 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;