# HG changeset patch # User Mark Doliner # Date 1088134359 0 # Node ID 5667b1cdcb53d87b1e72dcccb8ab6c019dc29110 # Parent 9c0af57343117ea6f5b923078a0022fba919187a [gaim-migrate @ 10202] Make the firefox browser option with with firefox 0.9 when an instance of firefox is already running. Fixes bug 976056. This is backward compatible (with 0.8, at least). committer: Tailor Script diff -r 9c0af5734311 -r 5667b1cdcb53 ChangeLog --- a/ChangeLog Fri Jun 25 03:19:25 2004 +0000 +++ b/ChangeLog Fri Jun 25 03:32:39 2004 +0000 @@ -1,7 +1,8 @@ Gaim: The Pimpin' Penguin IM Client that's good for the soul! version 0.80cvs: - * Ninja + Bug Fixes: + * The firefox browser option now works with firefox 0.9 version 0.79 (06/24/2004): New Features: diff -r 9c0af5734311 -r 5667b1cdcb53 src/gtknotify.c --- a/src/gtknotify.c Fri Jun 25 03:19:25 2004 +0000 +++ b/src/gtknotify.c Fri Jun 25 03:32:39 2004 +0000 @@ -542,19 +542,20 @@ if (place == GAIM_BROWSER_NEW_WINDOW) { - remote_command = g_strdup_printf("%s -remote \"openURL(\"%s\"," - "new-window)\"", + remote_command = g_strdup_printf("%s -a firefox -remote " + "\"openURL(\"%s\",new-window)\"", web_browser, uri); } else if (place == GAIM_BROWSER_NEW_TAB) { - remote_command = g_strdup_printf("%s -remote \"openURL(\"%s\"," - "new-tab)\"", + remote_command = g_strdup_printf("%s -a firefox -remote " + "\"openURL(\"%s\",new-tab)\"", web_browser, uri); } else if (place == GAIM_BROWSER_CURRENT) { - remote_command = g_strdup_printf("%s -remote \"openURL(\"%s\")\"", + remote_command = g_strdup_printf("%s -a firefox -remote " + "\"openURL(\"%s\")\"", web_browser, uri); } }