]> granicus.if.org Git - transmission/commitdiff
(trunk gtk) #4012 "Cannot set individual seeding time in GTK+ client" -- fixed.
authorJordan Lee <jordan@transmissionbt.com>
Sat, 12 Feb 2011 23:54:33 +0000 (23:54 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sat, 12 Feb 2011 23:54:33 +0000 (23:54 +0000)
The code in gtk/details.c was still using the pre-release RPC key "seedInactiveLimit" when it should have been using "seedIdleLimit" instead.

gtk/details.c

index af96dad468428544ee8f3f4a40e977eaa5cd54d8..b0dd7871048c1da589401de3c2b97d5b248cf741 100644 (file)
@@ -406,7 +406,7 @@ down_speed_spun_cb( GtkSpinButton * s, struct DetailsImpl * di )
 static void
 idle_spun_cb( GtkSpinButton * s, struct DetailsImpl * di )
 {
-    torrent_set_int( di, "seedInactiveLimit", gtk_spin_button_get_value_as_int( s ) );
+    torrent_set_int( di, "seedIdleLimit", gtk_spin_button_get_value_as_int( s ) );
 }
 
 static void