Mercurial > pidgin.yaz
diff pidgin/gtkprefs.c @ 21697:65ef019c000b
Allow UPnP and NAT-PMP port mapping to be disabled via a pref. This means that UPnP discovery will not occur if this new pref and the "Autodetect IP Address" pref are both unchecked. Fixes #4157.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 30 Nov 2007 23:25:28 +0000 |
parents | c9946b9965c9 |
children | a3f0c30eb0bf e13759a83714 |
line wrap: on
line diff
--- a/pidgin/gtkprefs.c Fri Nov 30 21:29:18 2007 +0000 +++ b/pidgin/gtkprefs.c Fri Nov 30 23:25:28 2007 +0000 @@ -1211,6 +1211,9 @@ vbox = pidgin_make_frame (ret, _("Ports")); sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); + pidgin_prefs_checkbox(_("_Enable automatic router port forwarding"), + "/purple/network/map_ports", vbox); + ports_checkbox = pidgin_prefs_checkbox(_("_Manually specify range of ports to listen on"), "/purple/network/ports_range_use", vbox);