forked from mirrors/linphone-iphone
Hide the 'use NAT address' firewall policy
This commit is contained in:
parent
52b2cf4899
commit
5eb9bc379b
2 changed files with 7 additions and 4 deletions
|
|
@ -186,13 +186,13 @@
|
|||
</columns>
|
||||
<data>
|
||||
<row>
|
||||
<col id="0" translatable="no">default</col>
|
||||
<col id="0">default</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="no">high-fps</col>
|
||||
<col id="0">high-fps</col>
|
||||
</row>
|
||||
<row>
|
||||
<col id="0" translatable="no">custom</col>
|
||||
<col id="0">custom</col>
|
||||
</row>
|
||||
</data>
|
||||
</object>
|
||||
|
|
@ -2086,7 +2086,7 @@
|
|||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
<property name="homogeneous">True</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label39">
|
||||
<object class="GtkLabel" id="nat_address_label">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
|
|
|
|||
|
|
@ -1666,6 +1666,9 @@ void linphone_gtk_show_parameters(void){
|
|||
if(!linphone_core_upnp_available()) {
|
||||
gtk_widget_hide(linphone_gtk_get_widget(pb,"use_upnp"));
|
||||
}
|
||||
gtk_widget_hide(linphone_gtk_get_widget(pb, "use_nat_address"));
|
||||
gtk_widget_hide(linphone_gtk_get_widget(pb, "nat_address"));
|
||||
gtk_widget_hide(linphone_gtk_get_widget(pb, "nat_address_label"));
|
||||
|
||||
mtu=linphone_core_get_mtu(lc);
|
||||
if (mtu<=0){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue