changeset 8356:8f2667524c06

[gaim-migrate @ 9080] because people apparently want this committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 28 Feb 2004 05:45:59 +0000
parents e7f0f16057f8
children 1f56ea865926
files src/gtknotify.c src/gtkprefs.c
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtknotify.c	Fri Feb 27 20:41:42 2004 +0000
+++ b/src/gtknotify.c	Sat Feb 28 05:45:59 2004 +0000
@@ -531,6 +531,10 @@
 		 * and/or current window?
 		 */
 	}
+	else if (!strcmp(web_browser, "gnome-open"))
+	{
+		command = g_strdup_printf("gnome-open \"%s\"", uri);
+	}
 	else if (!strcmp(web_browser, "galeon"))
 	{
 		if (place == GAIM_BROWSER_NEW_WINDOW)
--- a/src/gtkprefs.c	Fri Feb 27 20:41:42 2004 +0000
+++ b/src/gtkprefs.c	Sat Feb 28 05:45:59 2004 +0000
@@ -1293,9 +1293,10 @@
 		{N_("Konqueror"), "kfmclient"},
 		{N_("Galeon"), "galeon"},
 		{N_("Firebird"), "mozilla-firebird"},
-		{N_("Firefox"), "firefox"}
+		{N_("Firefox"), "firefox"},
+		{N_("Gnome Default"), "gnome-open"}
 	};
-	static const int num_possible_browsers = 7;
+	static const int num_possible_browsers = 8;
 
 	GList *browsers = NULL;
 	int i = 0;