| 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:", |