mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(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
2 changed files with 2 additions and 2 deletions
|
@ -1149,7 +1149,7 @@ onPortTest( GtkButton * button UNUSED, gpointer vdata )
|
|||
struct network_page_data * data = vdata;
|
||||
gtk_widget_set_sensitive( data->portButton, 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 )
|
||||
data->portTag = g_signal_connect( data->core, "port-tested", G_CALLBACK(onPortTested), data );
|
||||
gtr_core_port_test( data->core );
|
||||
|
|
|
@ -322,7 +322,7 @@ PrefsDialog :: onPortTested( bool isOpen )
|
|||
void
|
||||
PrefsDialog :: onPortTest( )
|
||||
{
|
||||
myPortLabel->setText( tr( "Testing..." ) );
|
||||
myPortLabel->setText( tr( "Testing TCP Port..." ) );
|
||||
myPortButton->setEnabled( false );
|
||||
myWidgets[Prefs::PEER_PORT]->setEnabled( false );
|
||||
mySession.portTest( );
|
||||
|
|
Loading…
Reference in a new issue