Mercurial > pidgin.yaz
diff src/gtkprefs.c @ 13129:d0ae6489a0fb
[gaim-migrate @ 15491]
Remove some sillyness when attempting to autodetect our IP address
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 06 Feb 2006 04:20:30 +0000 |
parents | a0a4b44239e8 |
children | 307a259d6f6c |
line wrap: on
line diff
--- a/src/gtkprefs.c Sun Feb 05 22:31:48 2006 +0000 +++ b/src/gtkprefs.c Mon Feb 06 04:20:30 2006 +0000 @@ -986,9 +986,13 @@ g_signal_connect(G_OBJECT(entry), "changed", G_CALLBACK(network_ip_changed), NULL); - if (gaim_network_get_public_ip() != NULL) + /* + * TODO: This could be better by showing the autodeteced + * IP separately from the user-specified IP. + */ + if (gaim_network_get_my_ip(-1) != NULL) gtk_entry_set_text(GTK_ENTRY(entry), - gaim_network_get_public_ip()); + gaim_network_get_my_ip(-1)); gaim_set_accessible_label (entry, label);