diff src/gtknotify.c @ 9393:5667b1cdcb53

[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 <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Fri, 25 Jun 2004 03:32:39 +0000
parents f01eef2c264a
children 0c31db6bde62
line wrap: on
line diff
--- 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);
 		}
 	}