[maemo-commits] [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2797
From: www-data www-data at stage.maemo.orgDate: Wed Mar 15 22:48:33 EET 2006
- Previous message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2796
- Next message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2798
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More cleanup for range editor,
* hildon-widgets/hildon-range-editor.[ch]
- removed useless includes
(hildon_range_editor_new_with_separator): set char parameter 'const'
* hildon-widgets/hildon-range-editor.c
- removed useless includes
- rewritten a lot of functions because code was inefficient.
- removed useless g_return_if_fail calls from various functions.
(hildon_range_editor_init): Romoved unneeded casts, added composite names.
(hildon_range_editor_entry_keypress): rewritten
(hildon_range_editor_entry_focus_out): rewritten
(hildon_range_editor_refresh_widths): New function
(hildon_range_editor_set_range): Make sure that the values are in
correct order
(hildon_range_editor_set_lower): rewritten.
(hildon_range_editor_set_higher): rewritten.
(hildon_range_editor_set_min): rewritten.
(hildon_range_editor_set_max): rewritten.
(hildon_range_editor_entry_validate): New validator function
(hildon_range_editor_entry_changed): New signal handler for
"changed" for entries, this will now validate whenever entry changes.
(hildon_range_editor_entry_focus_out): Added g_assert for
editor. Removed call to hildon_range_editor_apply_current_range().
Added call to the new function hildon_range_editor_entry_validate()
for validation.
(hildon_range_editor_init): connected
hildon_range_editor_entry_changed to "changed" for entries.
U projects/haf/branches/hildon-libs/QI-clean-up/ChangeLog
U projects/haf/branches/hildon-libs/QI-clean-up/hildon-widgets/hildon-range-editor.c
U projects/haf/branches/hildon-libs/QI-clean-up/hildon-widgets/hildon-range-editor.h
URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=2797
/branches/hildon-libs/QI-clean-up/
- Previous message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2796
- Next message: [maemo-commits] /branches/hildon-libs/QI-clean-up/ - luc - r2798
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
