-static gboolean hildon_time_editor_entry_clicked(GtkWidget * widget,
- GdkEventButton * event,
- gpointer data)
-{
- HildonTimeEditor *editor;
- HildonTimeEditorPrivate *priv;
-
- editor = HILDON_TIME_EDITOR (data);
- priv = HILDON_TIME_EDITOR_GET_PRIVATE (editor);
-
- /* If the focus has been grabbed back before the "clicked"
- * signal gets processed, don't highlight the text.
- * This happens when input in one H:M:S field is invalid and we're
- * trying to move to another field. The focus moves back to the invalid
- * field.
- */
- if (gtk_widget_is_focus (widget))
- gtk_editable_select_region(GTK_EDITABLE(widget), 0, 2);
-
- return FALSE;
-}
-