set the lowest "maximum upload" and "maximum download" speed to 0

This commit is contained in:
Charles Kerr 2007-10-24 22:59:54 +00:00
parent 9fa2fa2c8f
commit 2422012145
1 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ tr_prefs_dialog_new( GObject * core, GtkWindow * parent )
w = new_check_button( s, PREF_KEY_UL_LIMIT_ENABLED, core ); w = new_check_button( s, PREF_KEY_UL_LIMIT_ENABLED, core );
hig_workarea_add_wide_control( t, &row, w ); hig_workarea_add_wide_control( t, &row, w );
w = new_spin_button( PREF_KEY_UL_LIMIT, core, 20, INT_MAX ); w = new_spin_button( PREF_KEY_UL_LIMIT, core, 0, INT_MAX );
s = _("Maximum _Upload Speed (KiB/s)"); s = _("Maximum _Upload Speed (KiB/s)");
l = hig_workarea_add_row( t, &row, s, w, NULL ); l = hig_workarea_add_row( t, &row, s, w, NULL );
@ -224,7 +224,7 @@ tr_prefs_dialog_new( GObject * core, GtkWindow * parent )
w = new_check_button( s, PREF_KEY_DL_LIMIT_ENABLED, core ); w = new_check_button( s, PREF_KEY_DL_LIMIT_ENABLED, core );
hig_workarea_add_wide_control( t, &row, w ); hig_workarea_add_wide_control( t, &row, w );
w = new_spin_button( PREF_KEY_DL_LIMIT, core, 1, INT_MAX ); w = new_spin_button( PREF_KEY_DL_LIMIT, core, 0, INT_MAX );
s = _("Maximum _Download Speed (KiB/s)"); s = _("Maximum _Download Speed (KiB/s)");
l = hig_workarea_add_row( t, &row, s, w, NULL ); l = hig_workarea_add_row( t, &row, s, w, NULL );