(trunk gtk, qt) "It is unobvious if test port feature tests UDP port status as well" -- fixed.
This commit is contained in:
parent
8d254af2b8
commit
2863ee49c9
|
@ -1149,7 +1149,7 @@ onPortTest( GtkButton * button UNUSED, gpointer vdata )
|
||||||
struct network_page_data * data = vdata;
|
struct network_page_data * data = vdata;
|
||||||
gtk_widget_set_sensitive( data->portButton, FALSE );
|
gtk_widget_set_sensitive( data->portButton, FALSE );
|
||||||
gtk_widget_set_sensitive( data->portSpin, FALSE );
|
gtk_widget_set_sensitive( data->portSpin, FALSE );
|
||||||
gtk_label_set_markup( GTK_LABEL( data->portLabel ), _( "<i>Testing...</i>" ) );
|
gtk_label_set_markup( GTK_LABEL( data->portLabel ), _( "<i>Testing TCP port...</i>" ) );
|
||||||
if( !data->portTag )
|
if( !data->portTag )
|
||||||
data->portTag = g_signal_connect( data->core, "port-tested", G_CALLBACK(onPortTested), data );
|
data->portTag = g_signal_connect( data->core, "port-tested", G_CALLBACK(onPortTested), data );
|
||||||
gtr_core_port_test( data->core );
|
gtr_core_port_test( data->core );
|
||||||
|
|
|
@ -322,7 +322,7 @@ PrefsDialog :: onPortTested( bool isOpen )
|
||||||
void
|
void
|
||||||
PrefsDialog :: onPortTest( )
|
PrefsDialog :: onPortTest( )
|
||||||
{
|
{
|
||||||
myPortLabel->setText( tr( "Testing..." ) );
|
myPortLabel->setText( tr( "Testing TCP Port..." ) );
|
||||||
myPortButton->setEnabled( false );
|
myPortButton->setEnabled( false );
|
||||||
myWidgets[Prefs::PEER_PORT]->setEnabled( false );
|
myWidgets[Prefs::PEER_PORT]->setEnabled( false );
|
||||||
mySession.portTest( );
|
mySession.portTest( );
|
||||||
|
|
Loading…
Reference in New Issue