[maemo-commits] [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2796

From: www-data www-data at stage.maemo.org
Date: Wed Mar 15 22:39:24 EET 2006
        Major cleanup for time editor

        * hildon-widgets/hildon-time-editor.c
        - removed unused #includes.
        - Removed useless g_return_if_fail(editor) calls
        (HILDON_IS_TIME_EDITOR does this check as well for us).

        (hildon_time_editor_add_style):         removed, obsolete.
        (hildon_time_editor_mnemonic_activate): removed, obsolete
        (hildon_time_editor_get_max_values):    removed, obsolete.

        (validated_conversion): New helper function

        (hildon_time_editor_entry_changed): New function, now the widget
        interactively validates the inputted contents (not requiring focus
        move).

        (ticks_to_time): rewritten, using less arithmetic operations.
        (hildon_time_editor_validate):          rewritten
        (hildon_time_editor_set_ticks):         rewritten
        (hildon_time_editor_set_duration_mode): rewritten
        (hildon_time_editor_entry_keypress):    rewritten

        * hildon-widgets/hildon-time-editor.[ch]
        (hildon_time_editor_set_show_hours)
        (hildon_time_editor_get_show_hours) new functions to show/hide hours




U   projects/haf/branches/hildon-libs/QI-clean-up/ChangeLog
U   projects/haf/branches/hildon-libs/QI-clean-up/hildon-widgets/hildon-time-editor.c
U   projects/haf/branches/hildon-libs/QI-clean-up/hildon-widgets/hildon-time-editor.h

URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=2796

/branches/hildon-libs/QI-clean-up/

More information about the maemo-commits mailing list