Mercurial > pidgin.yaz
comparison pidgin/gtkprefs.c @ 24994:b3015da48886
merge of 'a2f94e06ea53c95077731e0833699222e6050fd0'
and 'b20c44775e2aa1c5bc5e36f7f94adafc5c67b3fd'
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 25 Jan 2009 20:51:41 +0000 (2009-01-25) |
parents | 17b840986607 |
children | e859785b49d8 3d8c53f3108e f95aa2b14bec 2f50e850f4ab |
comparison
equal
deleted
inserted
replaced
24971:859e5b3f5c47 | 24994:b3015da48886 |
---|---|
1410 | 1410 |
1411 entry = gtk_entry_new(); | 1411 entry = gtk_entry_new(); |
1412 gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry); | 1412 gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry); |
1413 gtk_table_attach(GTK_TABLE(table), entry, 3, 4, 1, 2, GTK_FILL , 0, 0, 0); | 1413 gtk_table_attach(GTK_TABLE(table), entry, 3, 4, 1, 2, GTK_FILL , 0, 0, 0); |
1414 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); | 1414 gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); |
1415 #if !GTK_CHECK_VERSION(2,16,0) | |
1415 if (gtk_entry_get_invisible_char(GTK_ENTRY(entry)) == '*') | 1416 if (gtk_entry_get_invisible_char(GTK_ENTRY(entry)) == '*') |
1416 gtk_entry_set_invisible_char(GTK_ENTRY(entry), PIDGIN_INVISIBLE_CHAR); | 1417 gtk_entry_set_invisible_char(GTK_ENTRY(entry), PIDGIN_INVISIBLE_CHAR); |
1418 #endif /* Less than GTK+ 2.16 */ | |
1417 g_signal_connect(G_OBJECT(entry), "changed", | 1419 g_signal_connect(G_OBJECT(entry), "changed", |
1418 G_CALLBACK(proxy_print_option), (void *)PROXYPASS); | 1420 G_CALLBACK(proxy_print_option), (void *)PROXYPASS); |
1419 | 1421 |
1420 if (proxy_info != NULL && purple_proxy_info_get_password(proxy_info) != NULL) | 1422 if (proxy_info != NULL && purple_proxy_info_get_password(proxy_info) != NULL) |
1421 gtk_entry_set_text(GTK_ENTRY(entry), | 1423 gtk_entry_set_text(GTK_ENTRY(entry), |