summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Laager <rlaager@pidgin.im>2007-05-12 02:50:27 +0000
committerRichard Laager <rlaager@pidgin.im>2007-05-12 02:50:27 +0000
commit4192527fbb72014afad6d91a5eaf4c70bfdd1052 (patch)
tree1147ddc11860bb406f4dc4d0d48e9b433e9f803b
parent2c2e57653cc8effebcedfad399bf024abf527f4e (diff)
downloadpidgin-4192527fbb72014afad6d91a5eaf4c70bfdd1052.tar.gz
Only include Google Talk if we have XMPP.
-rw-r--r--pidgin/gtkutils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pidgin/gtkutils.c b/pidgin/gtkutils.c
index 450419186a..3bda71be84 100644
--- a/pidgin/gtkutils.c
+++ b/pidgin/gtkutils.c
@@ -510,7 +510,10 @@ pidgin_protocol_option_menu_new(const char *id, GCallback cb,
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);