comparison pidgin/gtkaccount.c @ 24135:e9094d59a4c2

Do not set the connect server for Google Talk accounts. Setting the connect server causes problems for SSL certificate verification. If this is a problem, revert.
author Ethan Blanton <elb@pidgin.im>
date Mon, 29 Sep 2008 00:59:53 +0000
parents 7cb7bc8865af
children b682a74a2c69
comparison
equal deleted inserted replaced
24134:aa8ddc4e12af 24135:e9094d59a4c2
855 { 855 {
856 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); 856 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE);
857 if (gtk_entry_get_invisible_char(GTK_ENTRY(entry)) == '*') 857 if (gtk_entry_get_invisible_char(GTK_ENTRY(entry)) == '*')
858 gtk_entry_set_invisible_char(GTK_ENTRY(entry), PIDGIN_INVISIBLE_CHAR); 858 gtk_entry_set_invisible_char(GTK_ENTRY(entry), PIDGIN_INVISIBLE_CHAR);
859 } 859 }
860
861 /* Google Talk default domain hackery! */
862 menu = gtk_option_menu_get_menu(GTK_OPTION_MENU(dialog->protocol_menu));
863 item = gtk_menu_get_active(GTK_MENU(menu));
864 if (str_value == NULL && g_object_get_data(G_OBJECT(item), "fake") &&
865 !strcmp(_("Connect server"), purple_account_option_get_text(option)))
866 str_value = "talk.google.com";
867 860
868 if (str_value != NULL) 861 if (str_value != NULL)
869 gtk_entry_set_text(GTK_ENTRY(entry), str_value); 862 gtk_entry_set_text(GTK_ENTRY(entry), str_value);
870 863
871 title = g_strdup_printf("_%s:", 864 title = g_strdup_printf("_%s:",