Changeset 6679


Ignore:
Timestamp:
Sep 1, 2008, 8:19:52 AM (13 years ago)
Author:
muks
Message:

Correct the key name for scheduled upload limits

Also, widget sensitivity is handled elsewhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-prefs.c

    r6677 r6679  
    11661166
    11671167        w = new_spin_button( PREF_KEY_SCHED_DL_LIMIT, core, 0, INT_MAX, 5 );
    1168         gtk_widget_set_sensitive( GTK_WIDGET(w), pref_flag_get( PREF_KEY_SCHED_LIMIT_ENABLED ) );
    11691168        page->sched_widgets = g_slist_append( page->sched_widgets, w );
    11701169        hig_workarea_add_row( t, &row, _( "Scheduled download speed (KB/s):" ), w, NULL );
    1171         w = new_spin_button( PREF_KEY_SCHED_DL_LIMIT, core, 0, INT_MAX, 5 );
    1172         gtk_widget_set_sensitive( GTK_WIDGET(w), pref_flag_get( PREF_KEY_SCHED_LIMIT_ENABLED ) );
     1170        w = new_spin_button( PREF_KEY_SCHED_UL_LIMIT, core, 0, INT_MAX, 5 );
    11731171        page->sched_widgets = g_slist_append( page->sched_widgets, w );
    11741172        hig_workarea_add_row( t, &row, _( "Scheduled upload speed (KB/s):" ), w, NULL );
Note: See TracChangeset for help on using the changeset viewer.