Logo Search packages:      
Sourcecode: cairo-dock version File versions

void cairo_dock_relaunch_measure_immediately ( CairoDockMeasure *  pMeasureTimer,
int  iNewCheckInterval 
)

Change la frequence des mesures et les relance immediatement. La prochaine mesure est donc tout de suite.

Parameters:
pMeasureTimer la mesure periodique.
iNewCheckInterval le nouvel intervalle entre 2 mesures, en ms.

Definition at line 474 of file cairo-dock-applet-facility.c.

{
      cairo_dock_stop_measure_timer (pMeasureTimer);  // on stoppe avant car on ne veut pas attendre la prochaine iteration.
      cairo_dock_change_measure_frequency (pMeasureTimer, iNewCheckInterval); // nouvelle frequence eventuelement.
      cairo_dock_launch_measure (pMeasureTimer);  // mesure immediate.
}


Generated by  Doxygen 1.6.0   Back to index