comparison pidgin/gtkprefs.c @ 26150:f95aa2b14bec

propagate from branch 'im.pidgin.pidgin' (head 96db74f0ccbe2a283893e33f0f7bff5a827f48d9) to branch 'im.pidgin.pidgin.vv' (head 55aa623e09a7429df54b4e068dcba4c67c5fe779)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Fri, 30 Jan 2009 08:58:07 +0000
parents c56e8826fed0 17b840986607
children 9fcff08ce726
comparison
equal deleted inserted replaced
26149:a6e53d23bcbb 26150:f95aa2b14bec
1507 1507
1508 entry = gtk_entry_new(); 1508 entry = gtk_entry_new();
1509 gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry); 1509 gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry);
1510 gtk_table_attach(GTK_TABLE(table), entry, 3, 4, 1, 2, GTK_FILL , 0, 0, 0); 1510 gtk_table_attach(GTK_TABLE(table), entry, 3, 4, 1, 2, GTK_FILL , 0, 0, 0);
1511 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); 1511 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE);
1512 #if !GTK_CHECK_VERSION(2,16,0)
1512 if (gtk_entry_get_invisible_char(GTK_ENTRY(entry)) == '*') 1513 if (gtk_entry_get_invisible_char(GTK_ENTRY(entry)) == '*')
1513 gtk_entry_set_invisible_char(GTK_ENTRY(entry), PIDGIN_INVISIBLE_CHAR); 1514 gtk_entry_set_invisible_char(GTK_ENTRY(entry), PIDGIN_INVISIBLE_CHAR);
1515 #endif /* Less than GTK+ 2.16 */
1514 g_signal_connect(G_OBJECT(entry), "changed", 1516 g_signal_connect(G_OBJECT(entry), "changed",
1515 G_CALLBACK(proxy_print_option), (void *)PROXYPASS); 1517 G_CALLBACK(proxy_print_option), (void *)PROXYPASS);
1516 1518
1517 if (proxy_info != NULL && purple_proxy_info_get_password(proxy_info) != NULL) 1519 if (proxy_info != NULL && purple_proxy_info_get_password(proxy_info) != NULL)
1518 gtk_entry_set_text(GTK_ENTRY(entry), 1520 gtk_entry_set_text(GTK_ENTRY(entry),