[maemo-commits] [maemo-commits] /trunk/hildon-libs/ - luc - r2889
From: www-data www-data at stage.maemo.orgDate: Thu Mar 16 17:17:25 EET 2006
- Previous message: [maemo-commits] /trunk/hildon-libs/ - luc - r2888
- Next message: [maemo-commits] /trunk/hildon-libs/ - luc - r2890
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/trunk/hildon-libs/ChangeLog
U projects/haf/trunk/hildon-libs/hildon-widgets/hildon-time-editor.c
U projects/haf/trunk/hildon-libs/hildon-widgets/hildon-time-editor.h
URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=2889
/trunk/hildon-libs/
- Previous message: [maemo-commits] /trunk/hildon-libs/ - luc - r2888
- Next message: [maemo-commits] /trunk/hildon-libs/ - luc - r2890
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
