changeset 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 9c0af5734311
children ef79ee090cc5
files ChangeLog src/gtknotify.c
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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:
--- 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);
 		}
 	}