Changeset 6698


Ignore:
Timestamp:
Sep 3, 2008, 8:00:27 PM (13 years ago)
Author:
charles
Message:

(gtk) r6692 tweak: lower the spinbutton delay a little in the prefs dialog

File:
1 edited

Legend:

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

    r6693 r6698  
    199199    struct spin_idle_data * data = g_object_get_data( o, IDLE_DATA );
    200200
    201     /* has it been at least a half-second since the user stopped making changes? */
    202     if( g_timer_elapsed( data->last_change, NULL ) > 0.5f )
     201    /* has the user stopped making changes? */
     202    if( g_timer_elapsed( data->last_change, NULL ) > 0.33f )
    203203    {
    204204        /* update the core */
     
    228228        data->last_change = g_timer_new( );
    229229        g_object_set_data_full( o, IDLE_DATA, data, spin_idle_data_free );
    230         g_timeout_add( 500, spun_cb_idle, w );
     230        g_timeout_add( 100, spun_cb_idle, w );
    231231    }
    232232    g_timer_start( data->last_change );
Note: See TracChangeset for help on using the changeset viewer.