Mercurial > pidgin.yaz
diff pidgin/gtkprefs.c @ 27923:2f50e850f4ab
propagate from branch 'im.pidgin.pidgin' (head ff9f5e053b251ded25ede4d5f3e47f4c9757313c)
to branch 'im.pidgin.pidgin.yaz' (head bd76a617e7c002d8f894be49c5f1579169452700)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 24 Jan 2009 16:51:05 +0000 |
parents | 45ce87f9a07f 17b840986607 |
children | 25319f536d93 |
line wrap: on
line diff
--- a/pidgin/gtkprefs.c Thu Jan 15 11:44:06 2009 +0000 +++ b/pidgin/gtkprefs.c Sat Jan 24 16:51:05 2009 +0000 @@ -1415,8 +1415,10 @@ gtk_label_set_mnemonic_widget(GTK_LABEL(label), entry); gtk_table_attach(GTK_TABLE(table), entry, 3, 4, 1, 2, GTK_FILL , 0, 0, 0); gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE); +#if !GTK_CHECK_VERSION(2,16,0) if (gtk_entry_get_invisible_char(GTK_ENTRY(entry)) == '*') gtk_entry_set_invisible_char(GTK_ENTRY(entry), PIDGIN_INVISIBLE_CHAR); +#endif /* Less than GTK+ 2.16 */ g_signal_connect(G_OBJECT(entry), "changed", G_CALLBACK(proxy_print_option), (void *)PROXYPASS);