From 2422012145abfef466809fccc37a07dd6abb2c08 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 24 Oct 2007 22:59:54 +0000 Subject: [PATCH] set the lowest "maximum upload" and "maximum download" speed to 0 --- gtk/tr_prefs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/tr_prefs.c b/gtk/tr_prefs.c index 49e7b68c2..010f29a6b 100644 --- a/gtk/tr_prefs.c +++ b/gtk/tr_prefs.c @@ -216,7 +216,7 @@ tr_prefs_dialog_new( GObject * core, GtkWindow * parent ) w = new_check_button( s, PREF_KEY_UL_LIMIT_ENABLED, core ); 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)"); 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 ); 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)"); l = hig_workarea_add_row( t, &row, s, w, NULL );