pidgin: 01493271: Add the new browsers here so they do use...
rekkanoryo at pidgin.im
rekkanoryo at pidgin.im
Fri Sep 17 22:05:36 EDT 2010
----------------------------------------------------------------------
Revision: 0149327168b6f5f7ad69ae18066afccf126b4124
Parent: 605e3104d4da257c5bd0a523e362328583ea8b17
Author: rekkanoryo at pidgin.im
Date: 09/17/10 22:01:29
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/0149327168b6f5f7ad69ae18066afccf126b4124
Changelog:
Add the new browsers here so they do useful stuff by default.
Changes against parent 605e3104d4da257c5bd0a523e362328583ea8b17
patched pidgin/gtknotify.c
-------------- next part --------------
============================================================
--- pidgin/gtknotify.c 022aa5cf8649fc4b4e6d56d4bd2ff0feb62dcaf0
+++ pidgin/gtknotify.c 30a3cf47f47f8ca12060d7d435ce08204742499f
@@ -1367,6 +1367,27 @@ pidgin_notify_uri(const char *uri)
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;
More information about the Commits
mailing list