1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

(trunk, qt/gtk) tweak the torrent priorities gui a little

This commit is contained in:
Charles Kerr 2009-06-29 06:49:35 +00:00
parent abdb05c572
commit 6b7a400cee
2 changed files with 4 additions and 4 deletions

View file

@ -467,9 +467,9 @@ new_priority_combo( struct DetailsImpl * di )
int value; int value;
const char * text; const char * text;
} items[] = { } items[] = {
{ TR_PRI_LOW, N_( "Low" ) }, { TR_PRI_HIGH, N_( "High" ) },
{ TR_PRI_NORMAL, N_( "Normal" ) }, { TR_PRI_NORMAL, N_( "Normal" ) },
{ TR_PRI_HIGH, N_( "High" ) } { TR_PRI_LOW, N_( "Low" ) }
}; };
store = gtk_list_store_new( 2, G_TYPE_INT, G_TYPE_STRING ); store = gtk_list_store_new( 2, G_TYPE_INT, G_TYPE_STRING );

View file

@ -934,9 +934,9 @@ Details :: createOptionsTab( )
connect( s, SIGNAL(valueChanged(int)), this, SLOT(onUploadLimitChanged(int))); connect( s, SIGNAL(valueChanged(int)), this, SLOT(onUploadLimitChanged(int)));
m = new QComboBox; m = new QComboBox;
m->addItem( tr( "Low" ), TR_PRI_LOW );
m->addItem( tr( "Normal" ), TR_PRI_NORMAL );
m->addItem( tr( "High" ), TR_PRI_HIGH ); m->addItem( tr( "High" ), TR_PRI_HIGH );
m->addItem( tr( "Normal" ), TR_PRI_NORMAL );
m->addItem( tr( "Low" ), TR_PRI_LOW );
connect( m, SIGNAL(currentIndexChanged(int)), this, SLOT(onBandwidthPriorityChanged(int))); connect( m, SIGNAL(currentIndexChanged(int)), this, SLOT(onBandwidthPriorityChanged(int)));
hig->addRow( tr( "Torrent &priority:" ), m ); hig->addRow( tr( "Torrent &priority:" ), m );
myBandwidthPriorityCombo = m; myBandwidthPriorityCombo = m;