Skip to content
Snippets Groups Projects
Commit b20358ec authored by Yun Liu's avatar Yun Liu
Browse files

Set Port entry enable when using SIP protocol

parent 42e19003
Branches
Tags
No related merge requests found
......@@ -61,6 +61,7 @@ change_protocol (account_t * currentAccount)
if (strcmp(proto, "SIP") == 0) {
gtk_widget_set_sensitive( GTK_WIDGET(stunEnable), TRUE);
gtk_widget_set_sensitive( GTK_WIDGET(stunServer), TRUE);
gtk_widget_set_sensitive( GTK_WIDGET(entryPort), TRUE);
}
else if (strcmp(proto, "IAX") == 0) {
gtk_widget_set_sensitive( GTK_WIDGET(stunEnable), FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment