Changeset 10940


Ignore:
Timestamp:
Jul 4, 2010, 6:34:00 PM (12 years ago)
Author:
charles
Message:

(2.0x gtk) #3392 "gtk client can set individual torrents' download speed to 1 KBps but not 0" -- fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/gtk/details.c

    r10905 r10940  
    458458    d->downLimitedCheckTag = tag;
    459459
    460     w = gtk_spin_button_new_with_range( 1, INT_MAX, 5 );
     460    w = gtk_spin_button_new_with_range( 0, INT_MAX, 5 );
    461461    tag = g_signal_connect( w, "value-changed", G_CALLBACK( down_speed_spun_cb ), d );
    462462    d->downLimitSpinTag = tag;
     
    469469    d->upLimitedCheckTag = tag;
    470470
    471     w = gtk_spin_button_new_with_range( 1, INT_MAX, 5 );
     471    w = gtk_spin_button_new_with_range( 0, INT_MAX, 5 );
    472472    tag = g_signal_connect( w, "value-changed", G_CALLBACK( up_speed_spun_cb ), d );
    473473    d->upLimitSpinTag = tag;
Note: See TracChangeset for help on using the changeset viewer.