static void
_e_mod_config_schedule_label_update(E_Config_Schedule_Data *csd)
{
   char buf[1024];

   snprintf(buf, sizeof(buf), D_("%1.0f Minutes of Break per every %1.0f Minutes of Work"),
            csd->break_min, csd->work_min);

   e_widget_label_text_set(csd->oblabel, buf);
}
static Eina_Bool
_tclock_cb_check(void *data)
{
   Instance *inst;
   Eina_List *l;
   time_t current_time;
   struct tm *local_time;
   char buf[1024];
   int offset_int;
      
   for (l = tclock_config->instances; l; l = l->next) 
     {
	inst = l->data;
	
	if (!inst->ci->show_time)
	  edje_object_signal_emit(inst->tclock, "time_hidden", "");
	else
	  edje_object_signal_emit(inst->tclock, "time_visible", "");
	edje_object_message_signal_process(inst->tclock);
	
	if (!inst->ci->show_date)
	  edje_object_signal_emit(inst->tclock, "date_hidden", "");
	else
	  edje_object_signal_emit(inst->tclock, "date_visible", "");
	edje_object_message_signal_process(inst->tclock);

	memset(buf, 0, sizeof(buf));

    offset_int=atoi(inst->ci->time_offset); 
  
    current_time = time(NULL)+offset_int*3600;
    local_time = localtime(&current_time);
	
	if (inst->ci->time_format)
	  {
             strftime(buf, 1024, inst->ci->time_format, local_time);
             edje_object_part_text_set(inst->tclock, "tclock_time", buf);
	  }
	
	if (inst->ci->date_format)
	  {
             strftime(buf, 1024, inst->ci->date_format, local_time);
             edje_object_part_text_set(inst->tclock, "tclock_date", buf);
	  }
	if ((inst->ci->tip_format) && (inst->o_tip))
	  {
             strftime(buf, 1024, inst->ci->tip_format, local_time);
	     e_widget_label_text_set(inst->o_tip, buf);
	  }
     }

   return EINA_TRUE;
}