$self->{'clock'}->set_text(strftime("%H:%M %d/%m/%Y", localtime(time)));
Glib::Timeout->add_seconds(60 - strftime(%s, localtime()), $self->can('display'), $self);
$self->{'clock'}->set_text(strftime("%H:%M %d/%m/%Y", localtime(time)));
Glib::Timeout->add_seconds(60 - strftime(%s, localtime()), $self->can('display'), $self);
$self->{'clock'} = Clutter::Label->new('Sans 20', strftime("%H:%M %d/%m/%Y", localtime(time)));
$self->{'clock'}->set_anchor_point($self->{'clock'}->get_width(), 1);
$self->{'clock'}->set_position($self->{'stage'}->get_width() - 20, 15);
$self->{'clock'} = Clutter::Label->new('Sans 20', strftime("%H:%M %d/%m/%Y", localtime(time)));
$self->{'clock'}->set_anchor_point($self->{'clock'}->get_width(), 1);
$self->{'clock'}->set_position($self->{'stage'}->get_width() - 20, 15);
- Glib::Timeout->add_seconds(60 - strftime(%s, localtime()), $self->can('display'), $self);
+ $self->{'kernel'}->delay_set(clock_display, 60 - strftime(%s, localtime()));