Sat, 18 Sep 2010 02:01:29 +0000
Add the new browsers here so they do useful stuff by default.
| pidgin/gtknotify.c | file | annotate | diff | comparison | revisions |
--- 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;