changeset 17063:fdd1a73aa37e

Only include Google Talk if we have XMPP.
author Richard Laager <rlaager@wiktel.com>
date Sat, 12 May 2007 02:50:27 +0000
parents ce02eb521787
children 541c5ed54e90
files pidgin/gtkutils.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkutils.c	Sat May 12 02:43:16 2007 +0000
+++ b/pidgin/gtkutils.c	Sat May 12 02:50:27 2007 +0000
@@ -510,7 +510,10 @@
 	const char *proto_name;
 	char buf[256];
 	int i, selected_index = -1;
-	char *gtalk_name = g_strdup(_("Google Talk"));
+	char *gtalk_name = NULL;
+
+	if (purple_find_prpl("prpl-jabber"))
+		gtalk_name = g_strdup(_("Google Talk"));
 
 	optmenu = gtk_option_menu_new();
 	gtk_widget_show(optmenu);