1 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-program-private.h
5 (hildon_program_set_common_menu)
6 (hildon_program_get_common_menu)
7 (hildon_program_set_common_app_menu)
8 (hildon_program_get_common_app_menu):
9 Change common menu pointers from GtkWidget* to GtkMenu* and
10 HildonAppMenu* to avoid unnecessary casts.
12 2009-03-03 Alberto Garcia <agarcia@igalia.com>
14 * src/hildon-window.c (hildon_window_set_main_menu):
15 Removed incorrect 'Since:' tag
17 2009-03-03 Alejandro G. Castro <alex@igalia.com>
19 * src/hildon-pannable-area.c,
20 (hildon_pannable_area_calculate_velocity): We use now the
21 RATIO_TOLERANCE here to check the distance, fixed typo in the
23 (hildon_pannable_area_motion_notify_cb): We have to set the type
24 and time even if we are not sending the motion.
26 2009-03-02 Alberto Garcia <agarcia@igalia.com>
28 * doc/hildon-sections.txt
29 * src/hildon-app-menu.h
30 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
31 (+hildon_app_menu_get_filters): New methods to get the contents of
34 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
37 2009-03-02 Alberto Garcia <agarcia@igalia.com>
39 * src/hildon-app-menu.c (hildon_app_menu_popup):
42 2009-03-02 Alberto Garcia <agarcia@igalia.com>
45 * src/hildon-window.c (+hildon_window_get_main_menu)
46 (hildon_window_get_menu): Created hildon_window_get_main_menu()
47 and deprecated hildon_window_get_menu().
49 * src/hildon-stackable-window.h
50 * src/hildon-stackable-window.c
51 (+hildon_stackable_window_set_app_menu)
52 (+hildon_stackable_window_get_app_menu)
53 (hildon_stackable_window_set_main_menu): Created
54 hildon_stackable_window_{get,set}_app_menu() and deprecated
55 hildon_stackable_window_set_main_menu().
57 * doc/hildon-sections.txt
58 * examples/hildon-app-menu-example.c (main)
59 * src/hildon-app-menu.c
60 * src/hildon-program.c:
61 Updated examples and documentation.
63 Fixes: NB#103758 (No way to obtain a menu from a
64 HildonStackableWindow)
66 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
71 * configure.ac: Bump version.
72 * debian/changelog: Updates.
74 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
76 * examples/hildon-remote-texture-example.c: Include
77 hildon-remote-texture.h explicitely.
78 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
79 applications not defining _XOPEN_SOURCE which don't require this header.
81 2009-02-27 Alberto Garcia <agarcia@igalia.com>
83 * doc/hildon-sections.txt
84 * src/hildon-app-menu.h
85 * src/hildon-app-menu.c (+hildon_app_menu_popup):
86 New function to pop up a HildonAppMenu
88 * src/hildon-stackable-window.c
89 (hildon_stackable_window_toggle_menu):
90 Use hildon_app_menu_popup() to show the menu.
92 2009-02-27 Alberto Garcia <agarcia@igalia.com>
94 * src/hildon-app-menu.c (hildon_app_menu_show)
95 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
96 menu if there's another window between it and its parent window.
98 Fixes: NB#100468 (Application menu window is launched even when a
99 new secondary-window/dialog is pending to be shown/realized)
101 2009-02-27 Alberto Garcia <agarcia@igalia.com>
103 * src/hildon-window-stack.c (hildon_window_stack_push)
104 (hildon_window_stack_pop_and_push):
105 Don't forget to push/pop the first window.
106 Reverse the window list before calling _push_list()
108 2009-02-27 Alberto Garcia <agarcia@igalia.com>
110 * src/hildon-picker-button.h
111 * src/hildon-picker-button.c (hildon_picker_button_class_init):
112 Remove "value_changed" slot to avoid ABI breakage
114 2009-02-26 Alejandro G. Castro <alex@igalia.com>
116 * src/hildon-pannable-area.c,
117 (hildon_pannable_area_realize),
118 (hildon_pannable_area_unrealize),
119 (hildon_pannable_draw_vscroll),
120 (hildon_pannable_draw_hscroll): Changed the method to handle the
121 GC used to draw the transparent scrollbar, this way we avoid
122 creating the GC all the time when drawing the scrollbars.
124 2009-02-26 Alejandro G. Castro <alex@igalia.com>
126 * src/hildon-pannable-area.c,
127 (hildon_pannable_area_init),
128 (hildon_pannable_area_remove): Removed some unnecessary casts.
129 (hildon_pannable_area_dispose): Disconnected some signals before
130 releasing the adjustments.
132 2009-02-26 Alberto Garcia <agarcia@igalia.com>
134 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
135 Make sure that all widgets contained in the toolbar are shown.
137 2009-02-25 Alberto Garcia <agarcia@igalia.com>
139 * doc/hildon-sections.txt
140 * src/hildon-picker-button.h
141 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
142 (_selection_changed, hildon_picker_button_on_dialog_response)
143 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
144 New hildon_picker_button_value_changed() method.
147 * src/hildon-picker-button-private.h
148 * src/hildon-picker-button.c (hildon_picker_button_init)
149 (+hildon_picker_button_disable_value_changed): Add protected
150 function for disabling the "value-changed" signal.
152 * src/hildon-date-button.c (hildon_date_button_set_date):
153 Don't emit "value-changed" for each one of the three columns.
155 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
156 before actual change of values)
158 2009-02-24 Alejandro G. Castro <alex@igalia.com>
160 * src/hildon-pannable-area.c,
161 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
162 for the treeview overshooting.
164 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
166 * src/hildon-banner.c (+hildon_banner_bind_style):
167 Renamed from hildon_banner_bind_label_style(), now naming the
168 banner itself as well.
169 (hildon_banner_show_information),
170 (hildon_banner_show_information_with_markup),
171 (hildon_banner_show_animation), (hildon_banner_show_progress):
172 Name the widgets and labels, based on their type.
174 See NB#98597 (Hildon Note and Hildon Banner should use themeable
177 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
179 * src/hildon-note.c (hildon_note_set_property): call
180 hildon_note_rename() on HildonNote:note-type set.
181 (hildon_note_rename): Name the note and its label, based on the
182 HildonNote:note-type property.
184 See NB#98597 (Hildon Note and Hildon Banner should use themeable
187 2009-02-24 Alejandro G. Castro <alex@igalia.com>
189 * src/hildon-pannable-area.c,
190 (hildon_pannable_area_class_init),
191 (hildon_pannable_area_motion_notify_cb): Reviewed the default
192 panning parameters, increased SPS and deceleration factor. Added
193 also a margin to control fake directions.
195 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
197 Patch by Sven Herzberg (sven@imendio.com)
199 * configure.ac: Add missing AM_PROG_CC_C_0
200 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
202 See NB#101420 (Update unit tests and fix make check)
204 2009-02-23 Alejandro G. Castro <alex@igalia.com>
206 This patch was applied before but reverted because it caused
207 problems, we have changed the main condition and tested the
208 regressions we detected before and they work ok. We have done a
209 complete review of the topmost algorithm in order to get a more
212 * src/hildon-pannable-area.c,
213 (hildon_pannable_area_get_topmost): Added a new parameter to
214 filter the the windows that do not include those events.
215 (hildon_pannable_area_button_press_cb),
216 (hildon_pannable_area_button_release_cb),
217 (hildon_pannable_get_child_widget_at): Reviewed the call the the
218 topmost function, we have added the new parameter.
220 Fixes: NB#97458 (Pannable area prevents propagation of button
223 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
225 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
226 if all columns in the selector have an item selected.
227 (_on_dialog_response): Stop "response" signal emission if there is
228 any selector column without selected items.
230 Fixes: NB#101889 (Picker dialog should not close when nothing is
231 selected in multiple selection list)
233 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
235 * src/hildon-font-selection-dialog.c
236 (hildon_font_selection_dialog_class_init),
237 (hildon_font_selection_dialog_init): Remove the preview
238 button and dialog, since previewing with default theming is likely
239 to be overcomplicated. The :preview property has now no effect.
240 Update documentation blurbs to inform about this.
242 Fixes: NB#92297 (Preview content is not clearly visible for
245 2009-02-20 Alejandro G. Castro <alex@igalia.com>
247 Reviewed the geometry that handles the children size and
248 scrollbar, now it tries a size and reviews the results depending
249 on the scrollbars visibility.
251 * src/hildon-pannable-area.c,
252 (hildon_pannable_area_realize): Fixed a typo.
253 (hildon_pannable_area_child_allocate_calculate): Added this
254 function to calculate the child allocation.
255 (hildon_pannable_area_size_allocate): Reviewed the allocation
257 (hildon_pannable_area_check_scrollbars),
258 (hildon_pannable_area_refresh): Refactored refresh function, this
259 way we can call the code handling the scrollbars without causing a
260 size_request, it is interesting in the allocate.
261 (hildon_pannable_area_init): Replace the callbacks of the
262 value_changed and changed signals to propertly deal with the
264 (hildon_pannable_area_grab_notify),
265 (hildon_pannable_area_initial_effect),
266 (hildon_pannable_area_launch_fade_timeout),
267 (hildon_pannable_area_adjust_changed),
268 (hildon_pannable_area_adjust_value_changed),
269 (hildon_pannable_area_redraw),
270 (hildon_pannable_area_button_press_cb),
271 (hildon_pannable_area_button_release_cb),
272 (hildon_pannable_area_scroll_cb),
273 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
274 code and use the new functions adjust_changed and
275 adjust_value_changed.
277 Fixes: NB#101603 (Focus is not even for the text entry boxes in
278 Contact editor dialog)
280 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: Bump version.
286 * debian/changelog: Updates.
288 2009-02-20 Alejandro G. Castro <alex@igalia.com>
290 * src/hildon-pannable-area.c,
291 (hildon_pannable_area_get_topmost),
292 (hildon_pannable_area_button_press_cb),
293 (hildon_pannable_area_button_release_cb),
294 (hildon_pannable_get_child_widget_at): Reverted the patch for the
295 topmost function adding the event mask. We have to try a
296 differente approach because it is still causing problems (NB#9745,
299 2009-02-19 Alberto Garcia <agarcia@igalia.com>
301 * src/hildon-banner.c:
302 Update the maximum width of timed banners.
303 (force_to_wrap_truncated): Enforce the maximum text width if the
306 Fixes: NB#102413 (The text margins (wrapping) in information
307 banner should be HILDON_MARGIN_TRIPLE)
309 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
311 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
313 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
314 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
315 bound when calculating the scroll indicator position.
317 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
318 treat ->lower correctly)
320 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
322 * src/hildon-caption.c (hildon_caption_class_init): Remove the
323 expose event handling, since it is not necessary to draw the focus
326 Fixes: NB#102467 (Do not show highlight on the text in
329 2009-02-18 Alberto Garcia <agarcia@igalia.com>
331 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
332 full height of the toolbar for the button and the label.
334 2009-02-18 Alberto Garcia <agarcia@igalia.com>
336 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
337 padding before the label and after the button.
339 2009-02-18 Alberto Garcia <agarcia@igalia.com>
341 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
343 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
344 Add a GtkVSeparator between the button and the back arrow.
345 Let the button have automatic size.
346 Set a name to the widget for theming handling.
348 Fixes: NB#101793 (Make edit toolbar the same height as window
349 title bar (use title area theming))
351 2009-02-18 Alberto Garcia <agarcia@igalia.com>
353 * src/hildon-helper.c (attach_new_color_element): Fix memory
356 Fixes: NB#102262 (memory leak in hildon_button_set_style())
358 2009-02-18 Alberto Garcia <agarcia@igalia.com>
360 * examples/hildon-button-example.c (common_buttons_window): Don't
363 2009-02-18 Alberto Garcia <agarcia@igalia.com>
365 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
366 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
368 2009-02-18 Alberto Garcia <agarcia@igalia.com>
370 * src/hildon-gtk.c: Check that the window is realized.
372 Fixes: NB#102225 (Crash setting the progress indicator to a non
375 2009-02-17 Alberto Garcia <agarcia@igalia.com>
377 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
378 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
379 instead of modifying the one in the widget style.
381 Fixes: NB#101043 (Second row of all the command button are
382 displayed in transparent mode.)
384 2009-02-17 Alberto Garcia <agarcia@igalia.com>
386 * src/hildon-date-button.c
387 * src/hildon-time-button.c: Add gettext macros
389 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
391 * src/hildon-date-button.c (hildon_date_button_new):
392 * src/hildon-time-button.c (hildon_time_button_new_step):
393 Use new logical strings to set the button default title.
395 Fixes: NB#99915 (Date and Time options are not localised in Date
398 2009-02-16 Alejandro G. Castro <alex@igalia.com>
400 * src/hildon-pannable-area.c
401 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
402 the PANNING_THRESHOLD.
404 2009-02-16 Alejandro G. Castro <alex@igalia.com>
406 * src/hildon-pannable-area.c,
407 (hildon_pannable_area_class_init): Increased the maximum speed.
408 (hildon_pannable_area_get_property),
409 (hildon_pannable_area_set_property),
410 (hildon_pannable_area_timeout): Added a new low friction mode, it
411 allows the user avoid friction when launching the widget fast
412 enough. It is interesting to traverse long lists.
414 2009-02-16 Alberto Garcia <agarcia@igalia.com>
416 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
417 (+hildon_stackable_window_delete_event): Ignore delete events if
418 the window is not the topmost one.
420 Fixes: NB#101698 (Back button long press and delete-event handling)
422 2009-02-16 Alejandro G. Castro <alex@igalia.com>
424 * src/hildon-pannable-area.c,
425 (hildon_pannable_area_motion_notify_cb): Removed the use of the
426 gtk-dnd-drag-threshold, it was too big. We have defined our own
427 dnd define and set a smaller value: PANNIG_THRESHOLD.
429 2009-02-16 Alberto Garcia <agarcia@igalia.com>
431 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
432 user-defined icons, use always the default one.
434 Fixes: NB#101916 (Do not allow custom icons on animation banner)
436 2009-02-13 Alejandro G. Castro <alex@igalia.com>
438 This patch was applied before but reverted because it caused
439 problems, we have changed the main condition and tested the
440 regressions we detected before and they work ok.
442 * src/hildon-pannable-area.c,
443 (hildon_pannable_area_get_topmost): Added a new parameter to
444 filter the the windows that do not include those events. Added
445 also a condition when finding the window to filter windows that do
446 not ask for those events.
447 (hildon_pannable_area_button_press_cb),
448 (hildon_pannable_area_button_release_cb),
449 (hildon_pannable_get_child_widget_at): Reviewed the call the the
450 topmost function, we have added the new parameter.
452 Fixes: NB#97458 (Pannable area prevents propagation of button
455 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
457 * tests/check-hildon-color-button.c (START_TEST): do not leak
460 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
462 * src/hildon-font-selection-dialog.c
463 (hildon_font_selection_dialog_get_preview_text): Return NULL
464 instead of FALSE on the g_return_val_if_fail().
466 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
468 * src/hildon-time-selector.c (hildon_time_selector_set_time):
469 * src/hildon-date-selector.c
470 (hildon_date_selector_select_current_date):
471 Do not compare unsigned integers to be greater than or equal 0,
472 because it's always TRUE.
474 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
476 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
477 (hildon_date_selector_constructor): Do not select the current
478 date until we are handle the "changed" signal, to avoid having bogus
479 elements in the days model.
481 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
483 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
484 for num_days, since _month_days() can return a negative value.
486 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
488 * src/hildon-caption.c (hildon_caption_size_allocate):
489 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
490 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
492 Initialize allocation variables to 0, to avoid eventually using
493 unitialized variables.
495 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
497 * src/hildon-bread-crumb-trail.c
498 (hildon_bread_crumb_trail_size_allocate):
499 * src/hildon-calendar.c (hildon_calendar_set_background):
500 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
501 * src/hildon-range-editor.c (hildon_range_editor_get_range):
502 * src/hildon-seekbar.c (hildon_seekbar_init):
503 * src/hildon-time-editor.c (hildon_time_editor_get_time):
504 * src/hildon-time-selector.c (hildon_time_selector_finalize):
505 * src/hildon-touch-selector-entry.c
506 (hildon_touch_selector_get_text_from_model):
507 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
508 * src/hildon-window.c (hildon_window_finalize):
510 Remove many unused variables.
512 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
514 * src/hildon-seekbar.c: (hildon_seekbar_init),
515 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
517 Remove unnecessary g_assert() calls.
519 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
521 * src/hildon-caption.c: (hildon_caption_expose),
522 (hildon_caption_set_property), (hildon_caption_init),
523 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
524 (hildon_caption_size_request), (hildon_caption_size_allocate),
525 (hildon_caption_forall), (hildon_caption_set_separator),
526 (hildon_caption_activate), (hildon_caption_set_child_expand),
527 (hildon_caption_set_label_text),
528 (hildon_caption_get_label_alignment):
530 Remove unnecessary g_assert() calls.
532 2009-02-12 Alberto Garcia <agarcia@igalia.com>
534 * src/hildon-banner.c
535 (hildon_banner_map, hildon_banner_init): Make banner temporary
536 before mapping it to avoid closing other temporary windows, but
537 make it non-temporary afterwards to avoid being closed by other
538 non-temporary windows.
539 (-hildon_banner_client_event, hildon_banner_init):
540 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
542 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
545 2009-02-11 Alberto Garcia <agarcia@igalia.com>
547 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
550 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
552 * src/hildon-remote-texture.c
553 * src/hildon-remote-texture.h
554 * src/hildon-remote-texture-private.h
555 * examples/hildon-remote-texture-example.c:
556 Updates/fixes to remote-texture and its example.
558 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
560 Patch by Mox Soini (ext-mox.soini@nokia.com)
562 * src/hildon-code-dialog.c: Update logical id.
563 * src/hildon-set-password-dialog.c: Update logical id.
565 Fixes: NB#100646 (Logical strings is shown for ok in set
566 password,Password needed dialogs)
568 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
571 * src/hildon-remote-texture.c
572 * src/hildon-remote-texture.h
573 * src/hildon-remote-texture-private.h
575 Added remote texture widget (for Clutter shared memory textures)
577 * examples/hildon-remote-texture-example.c
578 * examples/Makefile.am
579 Added example file for remote texture usage
581 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
583 * configure.ac: post release version bump.
584 * debian/changelog: version bump.
586 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
591 * configure.ac: Bump version.
592 * debian/changelog: Updates.
594 2009-02-06 Alberto Garcia <agarcia@igalia.com>
596 * src/hildon-date-selector.c (hildon_date_selector_init)
597 (hildon_date_selector_constructor): Don't connect to the "changed"
598 signal until the selector is completely constructed.
600 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
602 * src/hildon-touch-selector.c: (_create_new_column),
603 (hildon_touch_selector_append_column),
604 (hildon_touch_selector_set_column_selection_mode),
605 (hildon_touch_selector_set_active),
606 (hildon_touch_selector_select_iter):
607 Emit the HildonTouchSelector::changed signal every time selection
608 is changed in any of the methods above. This behavior was already
609 documented but not fully functional.
611 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
612 selection is programmatically changed)
614 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
616 * doc/hildon-sections.txt: Remove obsolete icon
617 sizes from here as well.
619 2009-02-05 Alberto Garcia <agarcia@igalia.com>
621 * examples/hildon-stackable-window-example.c (add_window): Remove
624 2009-02-05 Alberto Garcia <agarcia@igalia.com>
626 * src/hildon-app-menu.c
627 (hildon_app_menu_show): Check whether the parent window of a menu
628 is topmost before popping it up.
630 Fixes: NB#100468 (Application menu window is launched even when a
631 new secondary-window/dialog is pending to be shown/realized.)
633 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
635 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
638 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
640 Patch by Mox Soini (ext-mox.soini@nokia.com)
642 * src/hildon-banner.c: (hildon_banner_show_animation):
643 use stylus size instead of obsolete note size.
644 * src/hildon-defines.h: Update icon sizes.
646 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
648 * src/hildon-touch-selector-entry.c:
649 (hildon_touch_selector_entry_init): Disable unsupported
651 (hildon_touch_selector_entry_get_text_column): Emit a warning
652 if an unsupported input modes is used and explicitile state
653 these modes in the documentation.
655 Fixes: NB#99802 (Hildon touch selector entry not working properly
656 for some of the input modes)
658 2009-02-05 Alejandro G. Castro <alex@igalia.com>
660 * src/hildon-pannable-area.c,
661 (hildon_pannable_area_init): Added the changed signal handlers of
664 Fixes: NB#100320 (HildonPannableArea does not listen to
665 GtkAdjustment "change" signals)
667 2009-02-04 Alberto Garcia <agarcia@igalia.com>
669 * doc/hildon-sections.txt
670 * src/hildon-window-private.h
671 * src/hildon-window.h
672 * src/hildon-window.c (hildon_window_init)
673 (hildon_window_realize, hildon_window_unrealize)
674 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
675 (hildon_window_size_request, hildon_window_size_allocate)
676 (hildon_window_forall, hildon_window_show_all)
677 (hildon_window_destroy, +paint_edit_toolbar)
678 (+hildon_window_set_edit_toolbar):
679 New hildon_window_set_edit_toolbar() method, to add a
680 HildonEditToolbar to a window without having to pack it manually.
682 Reorganize hildon_window_size_allocate()
684 * src/hildon-edit-toolbar.c: Update documentation.
686 * examples/hildon-edit-toolbar-example.c (edit_window): Update
687 example to use the new API.
689 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
691 2009-02-04 Alberto Garcia <agarcia@igalia.com>
693 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
694 Remove from stack before calling parent's hide.
696 2009-02-04 Alberto Garcia <agarcia@igalia.com>
698 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
699 window is removed from the middle of the stack, update the
700 transiency of the previous one.
702 Fixes: NB#100487 (HildonStackableWindow transiency becomes
705 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
707 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
708 block/unblock the signal handler if it's not actually being used.
709 Fixes some critical warnings.
711 2009-02-02 Alberto Garcia <agarcia@igalia.com>
713 Based on a patch by Iván Gómez (igomez@igalia.com)
715 * src/hildon-banner.c
719 * src/hildon-pannable-area.c
720 * src/hildon-picker-dialog.c
721 * src/hildon-wizard-dialog.h
722 * src/hildon-wizard-dialog.c: Documentation updates.
724 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
725 gtk_dialog_add_button() instead of hildon_dialog_add_button().
727 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
729 * configure.ac: post release version bump.
730 * debian/changelog: version bump.
732 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
737 * configure.ac: Bump version.
738 * debian/changelog: Updates.
740 2009-01-29 Alberto Garcia <agarcia@igalia.com>
742 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
743 a stock icon nor change the relief of the back arrow.
745 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
748 2009-01-29 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-button.c (hildon_button_set_alignment): Use
751 priv->alignment if the button has no child yet.
753 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-button.c: (hildon_button_init): Set the
756 button style during initialization to give it the proper
759 Fixes: NB#99713 (HildonButton value label color is wrong)
761 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
763 * src/hildon-touch-selector.c: Document
764 hildon_touch_selector_center_on_selected()
766 2009-01-28 Alberto Garcia <agarcia@igalia.com>
768 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
769 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
770 all menu items, but not the menu itself.
771 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
772 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
773 items after adding them to the menu so keyboard accelerators work.
774 (hildon_app_menu_show): Don't show the menu if it contains items
775 but none of them are visible.
777 * examples/hildon-app-menu-example.c (create_menu): Use
778 gtk_widget_show_all() to show all menu items.
780 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-picker-dialog.c:
783 (-_update_title_on_selector_changed_cb),
784 (-_dialog_update_title): Removed.
785 (_select_on_selector_changed_cb), (_on_dialog_response),
786 (on_selector_columns_changed): Do not update the dialog title.
787 (setup_interaction_mode): Do not connect to
788 HildonTouchSelector::changed signal if there's a "done" button, as
789 the dialog title doesn't need to be updated.
791 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
794 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
796 Patch by Kristian Rietveld (kris@imendio.com)
798 * src/hildon-touch-selector.c: (_create_new_column): Use new
799 GtkTreeView::hildon-row-tapped signal to react to user interactions
800 instead of ::changed.
802 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
803 with some dynamic tree model)
805 2009-01-27 Alberto Garcia <agarcia@igalia.com>
807 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
808 (+screen_size_changed, +label_size_request)
809 (hildon_note_class_init): Make the Hildon information note have a
810 minimum height, and make its text hvae a maximum width.
812 Fixes: NB#98614 (Hildon information note (background) should have
813 minimum height and maximum text width)
815 2009-01-26 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-banner.h
818 * src/hildon-banner.c (hildon_banner_show_information)
819 (hildon_banner_show_informationf)
820 (hildon_banner_show_information_with_markup): Update documentation
821 to reflect that the icon_name parameter is not used anymore.
822 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
823 Remove all code from these functions and mark them as deprecated.
824 (hildon_banner_show_progress): Mark as deprecated.
826 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
828 2009-01-26 Alejandro G. Castro <alex@igalia.com>
830 * src/hildon-pannable-area.c,
831 (hildon_pannable_area_class_init),
833 (hildon_pannable_draw_vscroll),
834 (hildon_pannable_draw_hscroll),
835 (hildon_pannable_area_expose_event): Added a new way to render the
836 scrollbars of the pannable area avoiding using cairo at all. This
837 way we improve the performance of the pannable area rendering. The
838 cairo rendering procedure is still in the code, we can control
839 which one to use changing the value of the define
840 USE_CAIRO_SCROLLBARS.
842 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
844 * configure.ac: post release version bump.
845 * debian/changelog: version bump.
847 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
852 * configure.ac: Bump version.
853 * debian/changelog: Updates.
855 2009-01-23 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
858 banners instead of destroying them when they receive a button
861 2009-01-23 Alejandro G. Castro <alex@igalia.com>
863 Reverted commit 34028, it was causing regressions, probably the
864 topmost condition is not correct, we have to check it in more
865 detail. We have reponed the bug: NB#97458 (Pannable area prevents
866 propagation of button press events)
868 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
870 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
871 that the selection is not empty before attempting to retrieve the
872 current ampm selection.
874 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
876 * src/hildon-picker-button.c:
877 (hildon_picker_button_on_dialog_response): Directly update the
878 button contents when required instead of calling _selection_changed.
880 2009-01-23 Alberto Garcia <agarcia@igalia.com>
882 * src/hildon-program.c (hildon_program_update_top_most): Update
883 'is-topmost' property also when wm_hints is not set.
885 Fixes: NB#98383 (is-topmost signal is not emitted when task
886 switcher is clicked.)
888 2009-01-23 Alejandro G. Castro <alex@igalia.com>
890 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
894 * src/hildon-animation-actor.c,
895 * src/hildon-animation-actor.h: Added the animation actor class,
896 this widget represents an animation actor for WM-assisted
897 animation effects in the Hildon framework.
899 2009-01-23 Alberto Garcia <agarcia@igalia.com>
901 * src/hildon-window-stack-private.h
902 * src/hildon-window-stack.c
903 * src/hildon-stackable-window.c (hildon_stackable_window_show):
904 Avoid calling gtk_widget_show() again indirectly from
905 hildon_stackable_window_show()
907 2009-01-23 Alberto Garcia <agarcia@igalia.com>
909 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
912 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
914 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
915 (hildon_time_selector_init): Move the construction of the hours and
916 ampm columns to the constructor to preserve the order the columns
919 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
921 * src/hildon-picker-dialog.c:
922 (hildon_picker_dialog_class_init): Connect a realize method.
923 (+hildon_picker_dialog_realize): Setup the interaction mode here
925 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
926 yet, do it during the realize instead.
927 (_on_dialog_response):
928 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
929 if the widget is not realized, to avoid the dialog response before it
932 Avoid premature responses in the HildonPickerDialog that can cause it
933 to be hidden before it's even shown.
935 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
937 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
938 (on_selector_columns_changed), (requires_done_button),
939 (+prepare_action_area), (setup_interaction_mode),
940 (_hildon_picker_dialog_set_selector):
942 Split the interaction mode setup into preparation of the
943 action area (prepare_action_area()) and the connection of
944 the signals in setup_interaction_mode() and update the code to
947 2009-01-22 Alejandro G. Castro <alex@igalia.com>
949 * src/hildon-pannable-area.c,
950 (hildon_pannable_area_class_init): Reduced the amount of scrolls
951 per second to 15, we will check if this is ok regarding
954 2009-01-22 Alejandro G. Castro <alex@igalia.com>
956 * src/hildon-pannable-area.c,
957 (hildon_pannable_axis_scroll): Avoid resize if we already have
958 reached overshoot_max.
960 2009-01-22 Alejandro G. Castro <alex@igalia.com>
962 * src/hildon-pannable-area.c,
963 (hildon_pannable_area_init),
964 (hildon_pannable_area_realize),
965 (hildon_pannable_area_size_allocate),
966 (hildon_pannable_area_map),
967 (hildon_pannable_area_unmap),
968 (hildon_pannable_draw_vscroll),
969 (hildon_pannable_draw_hscroll),
970 (hildon_pannable_area_expose_event),
971 (hildon_pannable_area_refresh): Added a new GdkWindow to the
972 pannable are to avoid the expose events go to the window and
973 redraw the window. We save this way that part of the stack and the
974 paint_boxes. We had to change the positions of the elements when
977 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
979 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
980 * src/hildon-color-chooser-dialog.c:
981 (hildon_color_chooser_dialog_init):
982 * src/hildon-font-selection-dialog.c:
983 (hildon_font_selection_dialog_init),
984 (hildon_font_selection_dialog_show_preview):
985 * src/hildon-get-password-dialog.c:
986 * src/hildon-login-dialog.c:
987 * src/hildon-set-password-dialog.c:
988 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
989 * src/hildon-time-picker.c: (hildon_time_picker_init):
991 Remove obsolete logical string IDs and update to the appropriate ones.
993 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
995 2009-01-21 Alberto Garcia <agarcia@igalia.com>
997 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
998 that happens if the window hasn't been realized yet.
1000 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1001 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1003 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1006 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1009 Fixes: NB#98537 (Device hangs in account settings dialog)
1011 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1013 * configure.ac: post release version bump.
1014 * debian/changelog: version bump
1016 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1021 * configure.ac: Bump version.
1022 * debian/changelog: Updates.
1024 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1026 Added a new function to the HildonTimeButton widget that allows to
1027 change the step of the minutes in the selector associated with the
1028 button: hildon_time_button_new_step
1030 * src/hildon-time-button.c,
1031 (hildon_time_button_init),
1032 (hildon_time_button_new),
1033 (hildon_time_button_new_step):
1034 * src/hildon-time-button.h: Added the new function and refactored
1036 * examples/hildon-time-button-example.c,
1037 (main): We have replaced the function without parameters with the
1038 function with the steps set to 5
1040 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1042 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1044 * src/hildon-time-selector.c,
1045 (hildon_time_selector_class_init),
1046 (hildon_time_selector_constructor),
1047 (hildon_time_selector_get_property),
1048 (hildon_time_selector_set_property),
1049 (_create_minutes_model),
1050 (hildon_time_selector_new_step),
1051 (hildon_time_selector_set_time),
1052 * src/hildon-time-selector.h: Added a new property to the
1053 HildonTimeSelector (minutes-step), we use that property to control
1054 the steps between the minutes in the list of the selector. We have
1055 added a new function to the API to create a widget changing the
1056 step: hildon_time_selector_new_step.
1058 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1060 * src/hildon-time-selector.c,
1061 (hildon_time_selector_class_init),
1062 (hildon_time_selector_constructor),
1063 (hildon_time_selector_init): Overrided the construct function when
1064 creating the time selector object. We have moved the minutes model
1065 handling code from the init to the new construction function:
1066 hildon_time_selector_constructor.
1068 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1070 * examples/hildon-date-button-example.c: (main): Use the new
1071 hildon_date_button_new_with_year_range() method in the example.
1072 * src/hildon-date-button.c:
1073 (+hildon_date_button_new_with_year_range): New public method
1074 to conveniently create a HildonDateButton with a custom year range
1075 in its HildonDateSelector.
1076 * src/hildon-date-button.h: Add the new public method definition.
1078 Fixes: NB#97908 (Not possible to change the year range in
1079 HildonDateSelector/HildonDateButton)
1081 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1083 * src/hildon-date-selector.c:
1084 (+hildon_date_selector_set_property),
1085 (+hildon_date_selector_get_property),
1086 (hildon_date_selector_class_init): Install new properties "min-year"
1087 and "max-year" to define boundaries for the year column.
1088 (_create_year_model): Use the boundary properties to populate the model.
1089 (+hildon_date_selector_new_with_year_range): New public method to
1090 create a HildonDateSelector with a user defined year range.
1091 (hildon_date_selector_select_current_date): Use the new boundaries to
1092 calculate the iterator of current year.
1093 * src/hildon-date-selector.h: Add the new public method definition.
1095 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1097 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1098 Install a constructor method.
1099 (+hildon_date_selector_construct_ui): construct the widget.
1100 (+hildon_date_selector_constructor): new constructor.
1101 (+hildon_date_selector_init): move out widget construction code to
1102 the new constructor.
1104 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1106 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1107 that there's actually a month or year selected before obtaining them.
1108 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1109 of the HildonTouchSelector::changed signal, as it was emitted on every
1110 single item selection.
1112 Fix some warnings and possible crashers due to the selection restoring.
1114 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1116 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1117 the signal handlers only after creating the dialog instead of on every
1120 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-button.c (hildon_button_init)
1123 * src/hildon-check-button.c (hildon_check_button_init)
1124 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1125 focus when clicked by default.
1127 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1129 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1132 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1134 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1135 Alejandro G. Castro (alex@igalia.com)
1137 * src/hildon-picker-dialog.c:
1138 (hildon_picker_dialog_class_init): install new "center-on-show"
1140 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1141 (hildon_picker_dialog_set_property): add setter code for the new
1143 (hildon_picker_dialog_get_property): add getter code for the new
1145 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1146 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1149 Fixes: NB#92849 (Selected item is not always visible when
1150 HildonTouchSelector is shown)
1152 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1154 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1155 Alejandro G. Castro (alex@igalia.com)
1157 * src/hildon-touch-selector.c:
1158 (_create_new_column): Do not connect to the "realize" signal of the
1160 (hildon_touch_selector_append_column): center on the selected items
1161 when a new column is appended.
1162 (hildon_touch_selector_select_iter): Factor out the code to select a
1163 column to hildon_touch_selector_scroll_to().
1164 (+search_nearest_element): Method to retrieve the nearest selected
1165 element to the visible area of the pannable area in a column.
1166 (+on_realize_cb): scroll to the initially selected item.
1167 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1168 the pannable area is realized, otherwise delay this until it is.
1169 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1170 selected items of a given column.
1171 (+hildon_touch_selector_center_on_selected): Public method to center
1172 all columns on the nearest selected item.
1173 * src/hildon-touch-selector.h: Add definition for
1174 hildon_touch_selector_center_on_selected().
1176 Implement public API to ensure visibility of all selected items in
1177 a HildonTouchSelector.
1179 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1181 Fixed a problem in the fading when calling the scroll_to API, and
1182 improve scrollbar fading handling.
1184 * src/hildon-pannable-area.c,
1185 (hildon_pannable_area_grab_notify): avoid the timeout when the
1187 (hildon_pannable_area_button_press_cb),
1188 (hildon_pannable_area_motion_notify_cb): Code style changes.
1189 (hildon_pannable_area_button_release_cb): Review the conditions
1190 when releasing the mouse button to avoid unrequired fading
1192 (hildon_pannable_area_scroll_to): Do not calculate and set the
1193 velocity if the scroll is not required.
1195 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1197 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1198 Don't check whether the new selector is NULL: it cannot be.
1199 Hold a reference to the selector while doing the replacement.
1201 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1203 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1204 unnecessary size_request in a removed widget.
1206 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1208 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1209 an unnecessary reference tracking that was leaking.
1211 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1213 Added delayed motion notify event handling, this way we can
1214 discard redrawing if more than 25 events arrive per second.
1216 * src/hildon-pannable-area.c,
1217 (hildon_pannable_area_init): Initialized the new private atributes
1218 controlling this timeout
1219 (hildon_pannable_area_dispose): Remove the timeout that controls
1220 the motion notify events.
1221 (hildon_pannable_area_scroll): Added a condition to control the
1222 use of the acceleration.
1223 (hildon_pannable_area_motion_event_scroll_timeout),
1224 (hildon_pannable_area_motion_event_scroll): Added this two
1225 functions, they handle the motion notify events inside the
1227 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1228 to the scroll method with the new function.
1229 (hildon_pannable_area_button_release_cb): We have to remove the
1230 timeout handler and move to the last position if the last motion
1231 events were not handled.
1233 Fixes: NB#97028 (Pannable area updates on every motion event)
1235 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1237 * src/hildon-pannable-area.c,
1238 (hildon_pannable_area_get_topmost): Added a new parameter to
1239 filter the the windows that do not include those events. Added
1240 also a condition when finding the window to filter windows that do
1241 not ask for those events.
1242 (hildon_pannable_area_button_press_cb),
1243 (hildon_pannable_area_button_release_cb),
1244 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1245 topmost function, we have added the new parameter.
1247 Fixes: NB#97458 (Pannable area prevents propagation of button
1250 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1252 * src/hildon-pannable-area.c,
1253 (hildon_pannable_area_initial_effect): Added controls before
1254 launching the timeout and the idle functions.
1255 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1256 of the method, in some situations it can return with TRUE and 0 in
1258 (hildon_pannable_area_button_press_cb): We do not need to set
1259 DELAY for fading out here.
1261 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1263 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1265 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1266 post-cleaning if the selection is not NULL.
1268 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1270 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1271 all items before restoring the selection.
1273 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1275 * src/hildon-touch-selector.c:
1276 (+hildon_touch_selector_unselect_all):
1277 * src/hildon-touch-selector.h: New API to unselect all items in a
1278 column of the touch selector.
1280 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1282 * src/hildon-pannable-area.c,
1283 (hildon_pannable_area_redraw): Added a call to the refresh
1284 function inside the redraw because apparently in some cases the
1285 change in the adjustment does not imply a size allocate.
1287 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1288 despite the view not being scrollable)
1290 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1293 leak. Check for NULL before attempting to set the window title.
1295 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1297 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1298 whether to show or not the 'Done' button each time the dialog is
1299 shown, as it depends on the HildonTouchSelector selection mode.
1301 Fixes: NB#96226 (In multiple selection mode Done button is shown
1302 sometimes in listpicker)
1304 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1306 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1307 for the number of columns in the HildonTouchSelector more than once.
1309 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1311 * src/hildon-touch-selector.c: Minor documentation fixes.
1313 * src/hildon-picker-dialog.c (+_dialog_update_title)
1314 (_select_on_selector_changed_cb)
1315 (_update_title_on_selector_changed_cb)
1316 (on_selector_columns_changed): Update dialog title when there's no
1317 'Done' button and also when the number of columns in the selector
1321 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1322 (+_selection_changed, hildon_picker_button_on_dialog_response)
1323 (hildon_picker_button_selector_selection_changed)
1324 (+hildon_picker_button_selector_columns_changed)
1325 (hildon_picker_button_set_selector): Update button value and emit
1326 'value-changed' when the number of columns in the selector
1330 Fixes: NB#96225 (Dialog titles are not shown according to the
1331 values selected in the list picker)
1333 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1335 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1336 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1337 New "arrow-width" and "arrow-height" style properties to set the
1338 size of the arrow button.
1339 Set name of arrow button ("hildon-edit-toolbar-arrow").
1341 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1342 graphics from theme)
1344 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1346 * src/hildon-picker-button.c:
1347 (hildon_picker_button_selector_selection_changed): Use
1348 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1349 the dialog is present.
1351 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1352 the selection is accepted in the dialog)
1354 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1356 * src/hildon-color-chooser.h
1357 * src/hildon-color-chooser-dialog.h:
1358 Added G_BEGIN_DECLS and G_END_DECLS
1360 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1362 (_clean_current_selection): plug a leak in the list.
1364 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1366 * src/hildon-picker-dialog.c:
1367 (+free_path_list): Method to free a GList of GtkTreePaths.
1368 (_clean_current_selection), (_save_current_selection),
1369 (_restore_current_selection): Save the current selection in
1370 as a list of lists, to support multiple selection properly.
1372 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1374 patch by Claudio Saavedra (csaavedra@igalia.com)
1376 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1377 Store the press position.
1378 (+hildon_text_view_button_release_event): If the release position is
1379 close enough to the press position, move the cursor here. Otherwise,
1381 (hildon_text_view_class_init): Override GtkTextView press, release, and
1382 motion event handlers, disabling this way text selection through
1383 pointer interaction, and allowing the container widget to handle the
1386 Fixes: NB#95828 (HildonTextView functionality)
1388 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1390 Based on a patch by Iván Gómez (igomez@igalia.com)
1392 * src/hildon-button.[ch]
1393 * src/hildon-calendar.c
1394 * src/hildon-check-button.c
1395 * src/hildon-date-editor.c
1396 * src/hildon-date-selector.c
1397 * src/hildon-picker-button.c
1398 * src/hildon-time-editor.c
1399 * src/hildon-time-selector.c
1400 * src/hildon-touch-selector.[ch]:
1401 Documentation updates
1403 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1405 * src/hildon-pannable-area.c,
1406 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1407 threshold, it was required due to X events handling.
1409 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1411 * src/hildon-pannable-area.c,
1412 (hildon_pannable_area_grab_notify),
1413 (hildon_pannable_area_initial_effect),
1414 (hildon_pannable_area_button_press_cb),
1415 (hildon_pannable_area_button_release_cb),
1416 (hildon_pannable_area_scroll_cb),
1417 (hildon_pannable_area_scroll_to): Review the timeout management of
1418 the scrollbar, the frecuency was incorrectly set.
1420 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1422 * src/hildon-picker-button.c:
1423 (+hildon_picker_button_on_dialog_response),
1424 (hildon_picker_button_clicked): Present the dialog instead of
1425 running it with gtk_dialog_run().
1427 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1430 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1432 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1433 (hildon_app_menu_finalize): When a window is hidden it doesn't
1434 emit notify::is-topmost, so make sure than the menu also
1435 disappears in that case.
1436 (parent_window_topmost_notify): Renamed from parent_window_hidden
1438 Fixes: NB#94460 (stackable window's menu is not closed when its
1441 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1443 * src/hildon-touch-selector-entry.c:
1444 (+hildon_touch_selector_entry_set_input_mode),
1445 (+hildon_touch_selector_entry_get_input_mode):
1446 * src/hildon-touch-selector-entry.h: New methods to access the input
1447 mode in the selector's entry.
1449 Fixes: NB#93410 (API required for setting IM mode in
1450 HildonTouchSelectorEntry)
1452 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1454 * configure.ac: post release version bump.
1455 * debian/changelog: version bump
1457 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1462 * configure.ac: Bump version.
1463 * debian/changelog: Updates.
1465 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1467 * src/hildon-touch-selector.c:
1468 (_hildon_touch_selector_has_multiple_selection): No need
1469 to initialize the variables here.
1471 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-note-private.h
1474 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1475 (hildon_note_finalize, hildon_note_rebuild): Close information
1476 notes when they receive a button press.
1478 Fixes: NB#89890 (Information notes does not get disappeared after
1481 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1483 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1484 mark from the wizard title, as it's not really necessary. Also,
1485 do not display the page title if not set.
1487 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1489 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1490 (parent_window_hidden): Use the window's "is-topmost" property to
1491 detect when to hide the menu.
1493 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1496 (hildon_app_menu_finalize): If the parent window of the menu is
1497 hidden, hide the menu too.
1499 Fixes: NB#94460 (stackable window's menu is not closed when its
1502 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1505 * debian/libhildon1-examples.install
1507 * examples/Makefile.am:
1508 Use dh_install to install all examples.
1509 Use DEB_SRCDIR instead of defining SOURCE_DIR
1511 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1513 * configure.ac: post release version bump.
1514 * debian/changelog: version bump
1516 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1521 * configure.ac: bump version
1522 * debian/changelog: updates
1523 * debian/control: bump gtk+ dependency
1525 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1527 patch by Christian Dywan (christian@imendio.com)
1529 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1530 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1532 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1534 * src/hildon-check-button.c (hildon_check_button_init)
1535 (hildon_check_button_class_init, hildon_check_button_style_set)
1536 (hildon_check_button_apply_style):
1537 New "checkbox-size" style property.
1539 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1540 larger / configurable size)
1542 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1544 * configure.ac: post release version bump.
1545 * debian/changelog: version bump
1547 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1552 * configure.ac: bump version
1553 * debian/changelog: updates
1555 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1557 * doc/hildon-sections.txt
1558 * src/hildon-pannable-area.c
1559 * src/hildon-program.c
1560 * src/hildon-time-editor.c
1561 * src/hildon-touch-selector-entry.c:
1563 More documentation updates.
1565 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1567 * doc/hildon-sections.txt
1568 * src/hildon-caption.c
1569 * src/hildon-code-dialog.c
1570 * src/hildon-color-button.c
1571 * src/hildon-controlbar.c
1572 * src/hildon-date-editor.c
1573 * src/hildon-date-selector.c
1574 * src/hildon-edit-toolbar.c
1575 * src/hildon-find-toolbar.c
1576 * src/hildon-font-selection-dialog.c
1578 * src/hildon-program.c
1579 * src/hildon-range-editor.c
1580 * src/hildon-seekbar.c
1581 * src/hildon-time-editor.c
1582 * src/hildon-time-selector.c
1583 * src/hildon-volumebar-range.c
1584 * src/hildon-volumebar.c
1585 * src/hildon-vvolumebar.c
1586 * src/hildon-weekday-picker.c
1587 * src/hildon-window.c
1588 * src/hildon-wizard-dialog.c:
1590 Lots of documentation fixes.
1592 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1594 Patch contributed by Iván Gómez (igomez@igalia.com)
1596 * src/hildon-check-button.c:
1597 * src/hildon-date-button.c:
1598 * src/hildon-date-selector.c:
1599 * src/hildon-dialog.c:
1600 * src/hildon-edit-toolbar.c:
1601 * src/hildon-entry.c:
1602 * src/hildon-picker-button.c:
1603 * src/hildon-program.c:
1604 * src/hildon-text-view.c:
1605 * src/hildon-time-button.c:
1606 * src/hildon-touch-selector-entry.c:
1607 * src/hildon-window-stack.c:
1609 Add more "since" tags to the new API.
1611 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1613 * doc/hildon-sections.txt: Add below method.
1614 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1615 version for the hildonized scale.
1616 * src/hildon-gtk.h: Add the definition.
1618 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1620 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1622 * doc/hildon-sections.txt: Add missing entries for new methods.
1624 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1626 Added API to pannable are in order to get its adjustments. We
1627 added two properties to manage the values we had in the private
1630 * src/hildon-pannable-area.c:
1631 (hildon_pannable_area_class_init): Added hadjustment and
1632 vadjustment properties in order to expose horizontal and vertical
1634 (hildon_pannable_area_get_property),
1635 (hildon_pannable_area_set_property): Added code to handle the new
1637 (hildon_pannable_area_get_hadjustment),
1638 (hildon_pannable_area_get_vadjustment): API functions to get the
1640 * src/hildon-pannable-area.h:
1641 (hildon_pannable_area_get_hadjustment),
1642 (hildon_pannable_area_get_vadjustment): API functions to get the
1645 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1647 Fixed some leaks, after valgrinding.
1649 * src/hildon-touch-selector.c:
1650 (_default_print_func): Fixed a leak.
1651 (hildon_touch_selector_append_column): Fixed a leak.
1652 * src/hildon-date-button.c:
1653 (hildon_date_button_init): Fixed a leak.
1654 * src/hildon-date-selector.c
1655 (hildon_date_selector_finalize): Fixed a leak.
1657 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1659 Based on a patch by Christian Dywan (christian@imendio.com)
1661 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1663 * src/hildon-gtk.h: Add definition.
1665 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1667 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1669 * src/hildon-picker-button.c: (hildon_picker_button_init),
1670 (hildon_picker_button_new): Set the HildonButton::style property
1671 in the init method, to propagate the value to the derived classes.
1673 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1675 * src/hildon-button.c: (hildon_button_class_init): Do not make
1676 the "style" property a construct property.
1678 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1680 * src/hildon-wizard-dialog.h
1681 * src/hildon-wizard-dialog.c
1682 (hildon_wizard_dialog_set_forward_page_func)
1683 * src/hildon-pannable-area.h
1684 * src/hildon-pannable-area.c
1685 (hildon_pannable_area_set_size_request_policy):
1686 Documentation fixes.
1688 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1690 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1692 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1694 * doc/hildon-sections.txt: Added sections file.
1696 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1699 * src/*.[ch]: Updates.
1701 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1703 * examples/hildon-progress-indicator-example.c: new file
1704 * examples/Makefile.am: include the new example program
1706 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1710 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1712 * configure.ac: post release version bump
1713 * debian/changelog: version bump
1715 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1720 * configure.ac: bump version
1721 * debian/changelog: updates
1722 * debian/control: bump gtk+ dependency
1724 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1726 * src/hildon-dialog.c: Mark as deprecated.
1727 * src/hildon-dialog.h: Mark as deprecated.
1728 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1729 from HildonDialog and still work, even if
1730 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1731 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1733 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1734 maemo changes) instead)
1736 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1738 * src/hildon-pannable_area.h:
1739 * src/hildon-pannable_area.c:
1740 (hildon_pannable_area_class_init),
1741 (hildon_pannable_area_set_property),
1742 (hildon_pannable_area_get_property),
1743 (hildon_pannable_area_size_request),
1744 (hildon_pannable_area_get_size_request_policy),
1745 (hildon_pannable_area_set_size_request_policy): Added new API
1746 allowing applications to control the request policy. Now they can
1747 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1748 children allocation (HILDON_MOVEMENT_CHILDREN).
1750 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1754 (hildon_gtk_tree_view_set_ui_mode)
1755 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1756 mode of treeviews and iconviews.
1758 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1760 * src/hildon-touch-selector-entry.c:
1761 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1762 of a GtkEntry to get proper theming.
1764 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1765 widget, not GtkEntry)
1767 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1769 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1770 no HildonWizardDialogPageFunc.
1772 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1774 Patch contributed by Iván Gómez (igomez@igalia.com)
1776 * src/hildon-app-menu.c:
1777 * src/hildon-button.c:
1778 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1779 * src/hildon-stackable-window.c:
1780 * src/hildon-time-selector.c:
1781 * src/hildon-touch-selector.c:
1782 * src/hildon-window.c:
1784 Add more "since" tags to the new API in hildon 2.2.
1786 2008-12-05 Tim Janik <timj@imendio.com>
1788 Patch contributed by Christian Dywan (christian@imendio.com)
1790 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1791 HildonSizeType, which are supplied by Gtk+ now.
1793 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1795 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1796 (with maemo changes) instead)
1798 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1800 Patch contributed by Iván Gómez (igomez@igalia.com)
1802 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1805 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1807 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1808 (some_page_func), (main): Update the example to use a
1809 HildonWizardDialogPageFunc function.
1811 * src/hildon-wizard-dialog-private.h: Add private data for
1812 the HildonWizardDialogPageFunc function usage.
1814 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1815 (destroy), (hildon_wizard_dialog_init), (response),
1816 (hildon_wizard_dialog_set_forward_page_func):
1817 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1818 that applications can use to stop a HildonWizardDialog to jump to
1821 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1824 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-program.h
1827 * src/hildon-program-private.h
1828 * src/hildon-program.c (hildon_program_init)
1829 (hildon_program_set_common_app_menu)
1830 (hildon_program_get_common_app_menu):
1831 New API for setting a common HildonAppMenu for all
1832 HildonStackableWindows registered with the HildonProgram.
1834 * src/hildon-stackable-window.c
1835 (hildon_stackable_window_toggle_menu):
1836 Use the common HildonAppMenu if a window doesn't have a specific
1839 * src/hildon-app-menu-private.h
1840 * src/hildon-app-menu.c
1841 (hildon_app_menu_get_parent_window):
1842 Function to obtain the window a HildonAppMenu is attached to.
1843 (hildon_app_menu_set_parent_window):
1844 Hide the menu if the parent window is set to NULL.
1846 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1849 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1850 search widget to popup.
1852 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1854 * configure.ac: post release version bump
1855 * debian/changelog: version bump
1857 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1862 * configure.ac: bump version
1863 * debian/changelog: updates
1865 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1867 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1869 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1870 (hildon_window_stack_window_realized)
1871 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1872 Set the leader GdkWindow when a window is stacked and realized,
1873 unset it when it's unstacked.
1874 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1876 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1878 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1880 * src/hildon-stackable-window.h
1881 * src/hildon-window-stack.h:
1882 Protect definition of HildonWindowStack using the preprocessor.
1884 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1887 Fix warning if all menu items are hidden.
1889 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1891 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1893 * src/hildon-controlbar.c:
1894 * src/hildon-hvolumebar.c:
1895 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1896 Multiple scale size defines updates.
1898 Fixes: NB#94322 (Scale Updates)
1900 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1902 * examples/hildon-app-menu-example.c (create_menu)
1903 Show items after adding them to the menu, as in the future the
1904 menu will no longer call gtk_widget_show() on the added items.
1906 * src/hildon-app-menu.c:
1907 Update example as explained above.
1909 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1911 * src/hildon-app-menu.c
1912 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1913 Make sure that all menu items have finger height.
1915 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1917 * src/hildon-picker-dialog.c:
1918 (_on_dialog_response), (_save_current_selection),
1919 (_restore_current_selection), (_clean_current_selection),
1920 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1921 Defined new functions in order to save the current internal selector
1922 selection previous open the dialog, in case that the use cancel the
1923 interaction, so the widget restores the previous selection.
1925 Fixes: NB#92032 (In calendar application, date values in 'new event'
1928 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1930 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-button.c: Add a reference to the button examples in
1933 hildon-button-example.c
1935 * examples/hildon-button-example.c: Added examples of the most
1936 common button layouts.
1938 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1940 * src/hildon-app-menu.c (hildon_app_menu_show)
1941 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1943 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1945 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-picker-dialog.c:
1948 (hildon_picker_dialog_init): Initialize the signal id for
1949 HildonTouchSelector::columns-changed.
1950 (+on_selector_columns_changed): Set up the interaction mode everytime a
1951 column is added or removed from the HildonTouchSelector.
1952 (_hildon_picker_dialog_set_selector): Connect to
1953 HildonTouchSelector::columns-changed and keep track of it.
1955 Make sure to update the interaction mode of the dialog everytime a
1956 column is added or removed in the HildonTouchSelector.
1958 Fixes: NB#93228 (Done button is not shown always in listpicker)
1960 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1962 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1963 a new ::columns-changed signal.
1964 (hildon_touch_selector_append_column): Emit ::columns-changed.
1965 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1967 Add a ::columns-changed signal, emitted when the number of columns in a
1968 HildonTouchSelector changes.
1970 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1973 (_hildon_picker_dialog_set_selector): Factor out the code
1974 to set up the dialog interaction mode.
1976 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1978 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1979 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1980 to signal_changed_id.
1982 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1984 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1987 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1989 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1990 Updated the logical ids related to ampm format, as now it is required to
1991 show it correctly localized even on languages with no default
1992 abbreviations for am or pm
1993 (_check_am_pm_format): check correctly the 24h format gconf property
1995 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1997 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1999 * src/hildon-button.c: Documentation updates.
2001 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2003 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2004 * src/hildon-caption.c: (hildon_caption_class_init):
2005 * src/hildon-color-button.c: (hildon_color_button_class_init):
2006 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2007 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2008 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2009 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2011 Remove deprecated GTK+ marshalers and replace them with the ones
2012 provided by GLib, for those available, add a marshaler for
2013 BOOLEAN:VOID, which is not available in GLib, and use it.
2015 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2017 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2018 the text from the previous column if there is no
2019 HildonTouchSelectorColumn::text-property set.
2021 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-button.h
2024 * src/hildon-button.c (hildon_button_set_property)
2025 (hildon_button_get_property, hildon_button_class_init)
2026 (hildon_button_set_style, hildon_button_get_style):
2027 New "style" property to change the visual appearance of the
2030 * src/hildon-picker-button.c (hildon_picker_button_new):
2031 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2033 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2034 HildonButton look like PickerButton)
2036 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2039 column while building the default string.
2041 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2044 scroll indicator by default.
2046 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2048 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2050 * src/hildon-main.c: Fix the documentation for hildon_init()
2052 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2054 * doc/hildon-docs.sgml
2058 * src/hildon-window-stack-private.h
2059 * src/hildon-window-stack.h
2060 * src/hildon-window-stack.c:
2061 New HildonWindowStack object, that adds support for multiple
2062 stacks of windows per process.
2064 * src/hildon-stackable-window-private.h
2065 * src/hildon-stackable-window.h
2066 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2067 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2068 (hildon_stackable_window_show, hildon_stackable_window_hide)
2069 (hildon_stackable_window_class_init)
2070 (hildon_stackable_window_init):
2071 Use HildonWindowStack for stack management.
2073 * src/hildon-program.c (hildon_program_pop_window_stack)
2074 (hildon_program_peek_window_stack)
2075 (hildon_program_go_to_root_window):
2076 Add a fallback implementation to the deprecated functions using
2079 * examples/hildon-stackable-window-example.c:
2080 Use the new HildonWindowStack API.
2082 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2084 * src/hildon-stackable-window-private.h
2085 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2086 (hildon_stackable_window_hide, hildon_stackable_window_init):
2087 Remove all window stack management.
2089 * src/hildon-program-private.h
2090 * src/hildon-program.h
2091 * src/hildon-program.c (hildon_program_init)
2092 (hildon_program_pop_window_stack)
2093 (hildon_program_peek_window_stack)
2094 (hildon_program_go_to_root_window):
2095 Remove all window stack management and mark functions as
2098 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2100 * src/hildon-app-menu.c (hildon_app_menu_realize):
2101 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2103 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2105 * configure.ac: post release version bump
2106 * debian/changelog: version bump
2108 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2113 * configure.ac: bump version
2114 * debian/changelog: updates
2116 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2118 Based on initial code by Christian Dywan (christian@imendio.com)
2120 * doc/hildon-docs.sgml: Add section for hildon-main.
2121 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2122 * src/Makefile.am: Add new hildon-main.[ch]
2123 * src/hildon-defines.h: Update the icon sizes.
2124 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2125 new library initialization files and register icon sizes.
2126 * src/hildon-main.h: New declarations.
2127 * src/hildon.h: Include hildon-main.h
2129 Add new initialization functions to the library. These methods
2130 will register the hildon specific icon sizes and can be used in the
2131 future for other hildon specific bits.
2133 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2135 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2137 * src/hildon-window.c: (hildon_window_realize),
2138 (hildon_window_notify), (-hildon_window_update_title): Do not set
2139 the application name in the window title.
2141 Fixes: NB#89754 (Applications shouldn't display their names in the
2144 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-note-private.h:
2147 * src/hildon-note.c: (hildon_note_set_property),
2148 (hildon_note_get_property), (hildon_note_class_init),
2149 (hildon_note_init), (hildon_note_finalize),
2150 (hildon_note_new_confirmation_with_icon_name),
2151 (hildon_note_new_information_with_icon_name):
2153 No need to mark as deprecated the actual code. Revert
2154 to avoid missing symbols in widgets using deprecated API.
2156 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2158 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2160 * src/hildon-volumebar.h
2161 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2162 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2164 * src/hildon-helper.h
2165 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2166 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2168 * examples/Makefile.am:
2169 Deprecate hildon-insensitive-example
2171 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2173 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2175 * examples/hildon-pannable-area-buttons-scroll-example.c:
2176 Make all buttons finger height
2178 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2180 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2182 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2183 update the day model only if it is really required, and to avoid the
2184 full-reconstruction aproach. Now it only add or remove the required days.
2186 The purpose of this is avoid superfluous HildonTouchSelector::changed
2189 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2190 with strange parameters)
2192 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2194 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2196 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2197 the WINDOW_TYPE property.
2199 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2201 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2204 Fix dependency to allow parallel compilation with make -jX
2206 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2209 color frame and some minor tweaks to make it more consistent with
2212 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2213 highlighted but not visible)
2215 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2217 * examples/Makefile.am: Fixed typo in the Makefile.am.
2219 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2221 Reviewed the use of MAEMO_GTK define, now we add the define in the
2222 compilation line, and we also add it to the pc file.
2224 * configure.ac: Added MAEMO_GTK define to the compilation command
2225 and removed it from the config.h.
2227 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2228 do not have to take care about this define if the library was
2232 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2234 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2236 * examples/Makefile.am,
2237 * examples/hildon-pannable-area-buttons-scroll-example.c,
2238 * examples/hildon-pannable-area-gesture-signals-example.c,
2239 * examples/hildon-pannable-area-scroll-jump-example.c,
2240 * examples/hildon-pannable-area-tree-view-example.c:
2241 Renamed the pannable area examples, now they have more meaningful
2244 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2246 * src/hildon-touch-selector.c:
2247 (hildon_touch_selector_set_column_selection_mode): Used of
2248 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2249 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2250 to avoid re-seting the same selection mode.
2252 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2253 breaks HildonPickerDialog)
2255 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2257 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2258 conditional in the Makefile.am
2260 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2263 Remove unused methods.
2265 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2267 * src/hildon-button.c (hildon_button_init):
2268 Make button images center-aligned by default
2270 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2273 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2274 activated, we have to think about how to deal with both defines
2275 MAEMO_GTK and MAEMO_CHANGES.
2277 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2279 * examples/hildon-app-menu-example.c (create_menu): Make all
2280 buttons finger size.
2282 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2284 Fixed the compilation without maemo gtk adding ifdefs with
2285 MAEMO_GTK define to the code, we have to check this version more
2288 * examples/Makefile.am: Added control to avoid some examples that
2289 just make sense with maemo gtk.
2292 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2293 hildon modes with the define.
2295 * examples/hildon-edit-toolbar-example.c,
2296 (create_icon_view): Create the icon view without hildon-gtk
2297 helpers if we are not using maemo gtk.
2299 * src/hildon-touch-selector.c,
2300 (_create_new_column): Create the treeview without hildon-gtk
2301 helpers if we are not using maemo gtk.
2303 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2305 * src/hildon-pnnable-area.c,
2306 (hildon_pannable_area_dispose),
2307 (hildon_pannable_area_button_press_cb),
2308 (hildon_pannable_area_child_mapped),
2309 (hildon_pannable_area_add),
2310 (hildon_pannable_area_remove): Added code to control the position
2311 of the event_window when adding and removing children from the
2312 pannable. We have to raise the event window when the child is
2315 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2316 selection mode using custom widget inside pannable)
2318 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2320 * configure.ac: post release version bump
2321 * debian/changelog: version bump
2323 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2328 * configure.ac: bump version
2329 * debian/changelog: updates
2331 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2333 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2334 search mode, in order to avoid lose the focus on the treeview when
2335 a hw key (like enter) is pressed.
2337 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2338 in HildonDateSelector dialog)
2340 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2342 * debian/rules: Added --enable-maintainer-mode
2343 * Makefile.am: Added ACLOCAL_AMFLAGS
2345 This allows to properly regenerate the Makefiles if you modify the
2346 configure.ac or any Makefile.am.
2348 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2350 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2351 properties, not needed at all.
2353 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2357 * src/hildon-note.c: (hildon_note_set_property),
2358 (hildon_note_get_property), (hildon_note_class_init),
2359 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2360 (hildon_note_new_confirmation_add_buttons): Remove icons.
2361 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2362 (hildon_note_new_information_with_icon_name): Deprecate.
2363 (hildon_note_new_confirmation): Act directly, without calling
2364 the deprecated constructor.
2365 (hildon_note_new_information): Act directly, without calling
2366 the deprecated constructor.
2367 * src/hildon-note.h: Mark deprecate methods as such.
2368 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2369 not run tests on the deprecated methods if built with deprecation
2372 Fixes: NB#91688 (Never show icons in information notes/confirmation
2375 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2378 (hildon_app_menu_key_press): Remove leftover usage of the
2379 private structure in HildonAppMenu struct.
2380 * src/hildon-app-menu.h: Remove leftover private structure
2381 from the HildonAppMenu struct.
2383 Fixes a crasher when using the HildonAppMenu.
2385 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-picker-dialog.c: Use appropriate logical id
2388 for the default "Done" text.
2390 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2392 * configure.ac: post release version bump
2393 * debian/changelog: version bump
2395 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2397 Modified the way to scroll to the current selection just when the touch
2398 selector is shown on the screen, avoiding a g_idle. Added too a property
2399 to configure this behaviour. See hildon_pannable_area_jump_to_child
2400 documentation for more information.
2402 * src/hildon-touch-selector.c
2403 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2404 Added 'initial-scroll' property
2405 (hildon_touch_selector_set_property): Added
2406 (hildon_touch_selector_map): Removed as not required anymore
2407 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2408 only a concrete column, instead of iterate along all the columns
2410 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2415 * configure.ac: bump version
2416 * debian/changelog: updates
2418 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2420 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2421 compilation time warnings.
2423 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2426 the default value for HildonPannableArea::mov-mode to
2427 HILDON_PANNABLE_AREA_MODE_VERT.
2429 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2431 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2433 Reverting following commit:
2435 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2437 * src/hildon-app-menu-private.h
2438 * src/hildon-app-menu.[ch]
2439 * src/hildon-button.[ch]
2440 * src/hildon-check-button.[ch]
2441 * src/hildon-entry.[ch]
2442 * src/hildon-pannable-area.[ch]
2443 * src/hildon-text-view.[ch]:
2444 Added private field to the object's structure.
2446 because it causes an ABI breakage. We will need to introduce these
2447 changes later at some point. See NB#91636 for an extensive
2448 explanation and status.
2450 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2452 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2454 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2455 remove special cases that are no longer necessary.
2457 Fixes: NB#91016 (Change toolbar sizes, simplification)
2459 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2462 is shown in the cancel note.
2464 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2466 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2467 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2468 (hildon_seekbar_init): Remove steppers, remove expose event.
2469 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2471 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2473 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2475 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2476 label font to "SmallSystemFont" for vertically arranged buttons.
2478 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2481 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2483 * src/hildon-check-button.c
2484 (hildon_check_button_set_active, hildon_check_button_clicked):
2485 Don't access private parts directly, use getters instead.
2487 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-check-button.c (hildon_check_button_new):
2490 Align the contents of the check button to the left.
2492 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2494 * src/hildon-pannable-area.c,
2495 (hildon_pannable_area_scroll_to),
2496 (hildon_pannable_area_jump_to),
2497 (hildon_pannable_area_scroll_to_child),
2498 (hildon_pannable_area_jump_to_child): Replace the mapped
2499 precondition of these functions with the realized, it is the
2500 correct state of the widget in this case. Changed the
2501 documentation according to this modification.
2503 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2505 Added a new EXTRA_CFLAGS option to add the deprecated define to
2506 the compilation command. This way we can avoid using the define in
2507 the documentation compilation.
2509 * configure.ac: Defined EXTRA_CFLAGS.
2511 * examples/Makefile.am:
2513 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2515 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2517 * src/hildon-picker-dialog.c:
2518 Defined a utility macro with the desired touch selector height
2519 Removed currently unused separator, and title_label variables from
2521 (hildon_picker_dialog_init): Removed code related to the creation
2522 of unused private variables title_label and separator.
2523 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2524 to ensure correct visualization of the touch selector inside the dialog.
2525 * src/hildon-touch-selector.c
2526 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2527 ensure a concrete height of the widget.
2529 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2532 * tests/Makefile.am:
2534 Remove spurious whitespaces.
2536 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2539 compilation warning after the cancel button removal.
2541 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2543 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2545 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2546 Makefile.am, that way we can choose not to compile some examples
2547 and tests of the deprecated widgets.
2549 * examples/Makefile.am: Divided the sources in deprecated and
2552 * src/Makefile.am: Added undef statement of the deprecated
2553 symbol to the enums file generation process.
2555 * src/hildon-color-chooser-dialog.c
2556 * src/hildon-color-chooser-dialog.h
2557 * src/hildon-color-button.c
2558 * src/hildon-color-button.h
2559 * src/hildon-color-chooser.c
2560 * src/hildon-color-chooser.h
2561 * src/hildon-controlbar.c
2562 * src/hildon-controlbar.h
2563 * src/hildon-date-editor.c
2564 * src/hildon-date-editor.h
2565 * src/hildon-hvolumebar.c
2566 * src/hildon-hvolumebar.h
2567 * src/hildon-private.c
2568 * src/hildon-private.h
2569 * src/hildon-range-editor.c
2570 * src/hildon-range-editor.h
2571 * src/hildon-seekbar.c
2572 * src/hildon-seekbar.h
2573 * src/hildon-time-editor.c
2574 * src/hildon-time-editor.h
2575 * src/hildon-time-picker.c
2576 * src/hildon-time-picker.h
2577 * src/hildon-volumebar.c
2578 * src/hildon-volumebar.h
2579 * src/hildon-vvolumebar.c
2580 * src/hildon-vvolumebar.h
2581 * src/hildon-bread-crumb-trail.h
2582 * src/hildon-bread-crumb-trail.c
2583 * src/hildon-calendar-popup.c
2584 * src/hildon-calendar-popup.h
2585 * src/hildon-weekday-picker.c:
2586 * src/hildon-weekday-picker.h:
2587 * src/hildon-bread-crumb-widget.c:
2588 * src/hildon-bread-crumb-widget.h:
2589 * src/hildon-bread-crumb.c:
2590 * src/hildon-bread-crumb.h:
2591 * src/hildon-calendar.c:
2592 * src/hildon-calendar.h:
2593 * src/hildon-caption.c:
2594 * src/hildon-code-dialog.c:
2595 * src/hildon-code-dialog.h:
2596 * src/hildon-font-selection-dialog.c:
2597 * src/hildon-font-selection-dialog.h:
2598 * src/hildon-get-password-dialog.c:
2599 * src/hildon-get-password-dialog.h:
2600 * src/hildon-login-dialog.c:
2601 * src/hildon-login-dialog.h:
2602 * src/hildon-number-editor.c:
2603 * src/hildon-number-editor.h:
2604 * src/hildon-set-password-dialog.c:
2605 * src/hildon-set-password-dialog.h:
2606 * src/hildon-sort-dialog.c:
2607 * src/hildon-sort-dialog.h: This is the list of deprecated
2610 * src/hildon-touch-selector.c:
2611 * src/hildon-window.c: Added undef statement to avoid compilation
2614 * tests/Makefile.am: Divided the sources in deprecated and
2617 * tests/check_test.c,
2618 (configure_tests): Marked the deprecated code that was adding
2619 suites with deprecated tests.
2621 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2623 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2625 * src/hildon-touch-selector.c: (_default_print_func): Do not
2626 duplicate a string returned by gtk_tree_model_get(), it is already
2629 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2632 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2634 * src/hildon-pannable-area.c
2635 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2636 method, it had problems when adding a widget with viewport the
2637 second time. Now checks if it already has a viewport and uses it.
2639 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2642 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2644 * src/hildon-pannable-area.c,
2645 (hildon_pannable_area_scroll_to),
2646 (hildon_pannable_area_jump_to),
2647 (hildon_pannable_area_scroll_to_child),
2648 (hildon_pannable_area_jump_to_child): Added a precondition to the
2649 scroll and jump to functions: the widget must be mapped before we
2650 can safely call these functions. We have also added documentation
2651 to the functions to explain how to use them in this situation.
2654 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2656 Reviewed the threading handling of the pannable widget, we have
2657 used the gdk_threads_add_timeout function instead of the usual
2658 glib handlers. This avoids some problems with the threads.
2660 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2661 (hildon_pannable_area_initial_effect),
2662 (hildon_pannable_area_scroll_indicator_fade),
2663 (hildon_pannable_area_button_press_cb),
2664 (hildon_pannable_area_timeout),
2665 (hildon_pannable_area_motion_notify_cb),
2666 (hildon_pannable_area_button_release_cb),
2667 (hildon_pannable_area_scroll_cb),
2668 (hildon_pannable_area_scroll_to): Removed the
2669 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2670 gdk_threads_add_timeout.
2672 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2674 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2679 * configure.ac: bump version
2680 * debian/changelog: updates
2682 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2685 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2686 * src/hildon-color-chooser-dialog.c:
2687 (hildon_color_chooser_dialog_init):
2688 * src/hildon-font-selection-dialog.c:
2689 (hildon_font_selection_dialog_init):
2690 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2692 Remove all cancel/close-like dialogs, as these are not going to be
2695 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2697 * src/hildon-note.c: (hildon_note_rebuild),
2698 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2701 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2703 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2706 sure all buttons are shown, even the Cancel/Close-like ones.
2708 Fixes: NB#90861 (Custom Confirmation dialogs should be
2709 protected from cancel button removal)
2711 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2713 * debian/control: Change libhildon1-examples dependency from libhildon1
2715 * debian/libhildon1-examples.install
2717 * Makefile.am: Modified the final install directory for the examples on
2718 package libhildon1-examples
2719 * Makefile.static: Update clean target in order to remove all the binary
2722 Changes suggested by Claudio after review new libhildon1-examples package
2724 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2726 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2727 * src/hildon-touch-selector.c: Ditto.
2729 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2731 * debian/control: Added new package libhildon1-examples, in order to pack
2732 the current hildon examples as documentation
2733 * debian/rules: Not to compress .c files, modify some includes on the
2734 examples (as normally are compiled locally, but when installed it will
2735 require to include the installed libhildon1 library), and rename
2737 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2738 install all the example files on the new example package
2739 * examples/Makefile.static: Added static makefile that can be used to
2740 compile the examples, once installed the new example package
2741 * examples: Most of the examples were modified in order to grant that
2742 all use only '#include "hildon.h"', in order to be easy to prepare
2743 it on the example package
2745 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2748 * debian/libhildon1-dev.install
2749 * debian/libhildon1-doc.install:
2750 Move all gtk-doc files to a separate libhildon1-doc package.
2752 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2754 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2756 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2758 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2760 * debian/rules: Fixed a error in order to avoid unnecessary calls
2761 to autogen.sh on package building
2763 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2765 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2767 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2772 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2774 * src/hildon-picker-button.c
2775 (hildon_picker_button_finalize):
2776 Free priv->done_button_text
2778 * src/hildon-time-button.c
2779 (hildon_time_button_set_time)
2780 * src/hildon-picker-button.c
2781 (hildon_picker_button_clicked)
2782 (hildon_picker_button_selector_selection_changed)
2783 (hildon_picker_button_set_selector)
2784 * src/hildon-date-button.c
2785 (hildon_date_button_set_date):
2786 Free strings returned by hildon_touch_selector_get_current_text()
2788 * src/hildon-button.c (hildon_button_construct_child):
2789 Fix leaks in priv->image and priv->label_box
2791 Fixes: NB#90535 (Memory leak in picker button)
2793 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2795 * src/hildon-button.c: (hildon_button_get_property): Do not access
2796 private elements directly, use getters instead.
2798 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-app-menu-private.h
2801 * src/hildon-app-menu.c
2802 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2803 Store the menu's parent window.
2805 * src/hildon-stackable-window.c
2806 (hildon_stackable_window_toggle_menu)
2807 (hildon_stackable_window_finalize):
2808 Set the menu's parent window when the menu is shown, unset it when
2811 * src/hildon-app-menu.c
2812 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2813 (hildon_app_menu_class_init):
2814 Send unhandled keyboard accelerators to the parent window.
2816 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2818 * src/hildon-stackable-window.c
2819 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2821 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2823 * configure.ac: post release version bump
2825 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2828 * configure.ac: Bump version
2829 * debian/changelog: Updates
2830 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2833 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2835 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2838 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2839 GtkMenu with Hildon style.
2841 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-picker-button.c:
2844 (hildon_picker_button_set_done_button_text): Set the dialog's
2845 done button text here as well.
2847 Fixes: NB#90232 (Picker button does not set the label on done button
2848 for the second time)
2850 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2852 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2855 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-app-menu.c (hildon_app_menu_insert)
2858 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2859 the HildonAppMenu to be activatable using keyboard accelerators
2860 when the menu is not being shown.
2862 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2864 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2866 * src/hildon-stackable-window.c
2867 (hildon_stackable_window_show):
2868 Don't hide old windows automatically when new windows are shown:
2869 this is now a task for the window manager.
2870 (hildon_stackable_window_class_init)
2871 (hildon_stackable_window_hide):
2872 Remove windows from the stack everytime they're hidden.
2873 (hildon_stackable_window_realize):
2874 Don't change the _NET_WM_WINDOW_TYPE property. Use
2875 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2876 it as a stackable window.
2878 * src/hildon-program.c
2879 (hildon_program_pop_window_stack):
2880 Just hide the window to remove it from the stack.
2881 (hildon_program_go_to_root_window):
2882 Don't call gtk_widget_show(), this is now a task for the window
2885 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2887 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-button.c
2890 (hildon_button_construct_child):
2891 Don't pack anything in the button until text or image are
2892 set. This allows adding a custom child after creating the button
2893 with hildon_button_new().
2894 (hildon_button_finalize, hildon_button_class_init)
2895 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2896 alignment and the label box even when they're not packed in the
2899 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2901 * src/hildon-touch-selector.h:
2902 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2903 currently the type definition was using GTK_TYPE_VBOX
2904 * src/hildon-touch-selector.c:
2905 Added some implementation notes in order to clarify that any other widget
2906 added without the column related API will not be included on the
2907 selection logic, and how the widget is freed, as some people ask about
2909 (hildon_touch_selector_remove): Reimplemented in order to free properly
2910 the column related data when you remove the private hbox.
2911 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2912 to get a proper HildonTouchSelectorColumn documentation
2914 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2916 * src/hildon-touch-selector-entry.c:
2917 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2918 text in the GtkEntry and there is no item selected. Fixes a
2921 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-app-menu-private.h
2924 * src/hildon-app-menu.[ch]
2925 * src/hildon-button.[ch]
2926 * src/hildon-check-button.[ch]
2927 * src/hildon-entry.[ch]
2928 * src/hildon-pannable-area.[ch]
2929 * src/hildon-text-view.[ch]:
2930 Added private field to the object's structure.
2932 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2934 * configure.ac: post-release version bump
2936 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2940 * configure.ac: pre-release version bump
2942 * debian/changelog: updates.
2944 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2946 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2947 Disconnect the handler for HildonTouchSelector::changed.
2949 (hildon_picker_button_selector_selection_changed): Update the button
2950 value if the selection change was not triggered by the
2953 (hildon_picker_button_set_selector): connect to
2954 HildonTouchSelector::changed.
2956 Fixes: NB#89650 (Picker button is not updated, when selection in
2957 selector has changed)
2959 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2961 * src/hildon-picker-dialog.c
2962 (hildon_picker_dialog_realize): Removed as not required
2963 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2964 * src/hildon-picker-button.c
2965 (_current_selector_empty): New function, checks if the selector is empty
2966 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2967 if the current selector is empty, in order to avoid to show the dialog
2968 close the dialog in this case (and shows a g_warning).
2970 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2972 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2974 * src/hildon-pannable-area.c,
2975 (hildon_pannable_area_scroll): Added clause to stop movement when
2976 the child of pannable is smaller than one page.
2977 (hildon_pannable_area_scroll_to): Added conditions to avoid
2978 starting the scrolling movement if the child is smaller than one
2979 page, the complete child is in the screen, we do not have to move.
2981 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2983 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2986 this is managed automatically by the widget when the size of the
2989 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-picker-button.c
2992 (hildon_picker_button_set_done_button_text): Make a copy of the
2993 text, and free the previous value.
2995 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-touch-selector-entry.c:
2998 (hildon_touch_selector_entry_print_func): Return the selected row's
2999 text if the entry is empty.
3001 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3004 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3006 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3008 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3011 * src/hildon-check-button.h
3012 * src/hildon-check-button.c
3013 * examples/hildon-check-button-example.c:
3014 HildonCheckButton is now a new widget. 'toggled' signal added.
3016 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-program-private.h
3019 * src/hildon-program.c (hildon_program_init)
3020 (hildon_program_finalize): Removed unused variables group_leader
3021 and name from HildonProgramPrivate.
3023 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3025 * src/hildon-check-button.c (hildon_check_button_set_active)
3026 (hildon_check_button_get_active, hildon_check_button_new): Use
3027 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3029 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3031 * src/hildon-touch-selector.h
3032 (hildon_touch_selector_set_column_attributes): added deprecation
3033 guard HILDON_DISABLE_DEPRECATED
3034 * src/hildon-time-selector.c
3035 (hildon_time_selector_set_time)
3036 (hildon_time_selector_get_time): Fixed a typo on documentation
3037 * src/hildon-touch-selector.c: update HildonTouchSelector and
3038 HildonTouchSelectorColumn documentation
3039 * src/hildon-touch-selector-entry.c: update "text-column" property
3041 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3042 to be added to the general documentation.
3044 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3046 * examples/hildon-pannable-area-example-4.c,
3048 * examples/hildon-pannable-area-example.c,
3049 (main): Modified the code in order to use the container add, with
3050 viewport treeviews could have problems if they are really big.
3052 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3054 * src/hildon-weekday-picker.c,
3055 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3056 the agreement regarding deprecation in the library.
3058 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3060 * examples/hildon-picker-button-multicolumn-example.c:
3061 (main): Use custom "done" button text.
3063 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3064 (hildon_picker_button_set_property),
3065 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3066 (hildon_picker_button_init),
3067 (+hildon_picker_button_get_done_button_text),
3068 (+hildon_picker_button_set_done_button_text): New methods to customize
3069 the "done" button label in the launched HildonPickerDialog. Also,
3072 * src/hildon-picker-button.h: add the public API.
3074 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3076 * src/hildon-date-selector.h:
3077 * src/hildon-picker-dialog.h:
3078 * src/hildon-time-selector.h:
3079 * src/hildon-touch-selector-column.h:
3080 * src/hildon-touch-selector.h:
3082 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3083 declarations. Fixes gtk-doc warnings.
3085 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3087 * src/hildon-picker-dialog.h
3088 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3089 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3091 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3092 long text is set as label for done button)
3094 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3096 * src/hildon-dialog.c (hildon_dialog_add_button):
3097 Set fixed width to all buttons in the HildonDialog.
3099 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3101 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3103 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3104 Set widget name using class name plus "-finger" or "-thumb".
3106 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3109 'clicked' when the state of the button is manually changed.
3111 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3113 * src/hildon-app-menu.c (hildon_app_menu_realize)
3114 (hildon_app_menu_unrealize, hildon_app_menu_init)
3115 (hildon_app_menu_class_init, item_visibility_changed):
3116 Change the menu layout when the size of the screen changes.
3117 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3118 Show warning only when changing the number of colums using the
3121 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3123 * debian/compat: Set to 5
3124 * debian/control: Update dependencies.
3125 * debian/libhildon1-dbg.install: Remove.
3126 * debian/libhildon1-dev.install: Update according to cdbs paths.
3127 * debian/libhildon1.install: Update according to cdbs paths.
3128 * debian/rules: Switch to cdbs.
3130 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3133 'item' variable renamed to 'filter'
3135 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-app-menu.c (hildon_app_menu_insert)
3138 (hildon_app_menu_add_filter, remove_item_from_list)
3139 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3140 Don't leak hidden items when the menu is destroyed.
3142 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-app-menu.c (hildon_app_menu_insert)
3145 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3146 (hildon_app_menu_set_columns, item_visibility_changed)
3147 (filter_visibility_changed, hildon_app_menu_repack_filters)
3148 (hildon_app_menu_repack_items):
3149 Repack items and filters separately.
3151 Don't repack all items, change only the ones that are needed to
3154 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3156 * src/Makefile.am: added hildon-touch-selector-column.h
3158 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3160 * src/hildon-touch-selector.c: added the property "text-column" to the
3161 class HildonTouchSelectorColumn, and related get/set functions
3162 (_default_printf_func): updated to use "text-column" property
3163 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3164 "text-column" in his documentation, as this is now included on
3165 HildonTouchSelectorColumn. The get/set_property can still be used,
3166 working as a wrapper to the concrete column "text-column" property
3167 (_text_column_modified): callback added in order to handle the signal
3168 "notify::text-column" of the concrete HildonTouchSelectorColumn
3169 (hildon_touch_selector_entry_get_text_column)
3170 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3171 modified in order to use the HildonTouchSelectorColumn "text-column"
3173 * src/hildon-time-selector.c:
3174 * src/hildon-date-selector.c:
3175 * examples/hildon-touch-selector-example.c
3176 * examples/hildon-touch-selector-multi-cells-example.c
3177 * examples/hildon-picker-button-multicolumn-example.c
3178 Set the right value to "text-column" property on the creation of a new
3179 column using hildon_touch_selector_append_column()
3181 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3183 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3185 * src/hildon-app-menu.c
3186 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3187 updating the layout of the menu, don't create all widgets again,
3188 just repack the items in their new places.
3190 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3192 * src/hildon-time-selector.c
3193 (hildon_time_selector_get_time)
3194 (hildon_time_selector_set_time)
3195 Added documentation of these public methods
3197 * src/hildon-date-button.h
3198 * src/hildon-touch-selector-column.h
3199 * src/hildon-time-button.h
3200 * src/hildon-picker-dialog.h
3201 * src/hildon-time-selector.h
3202 * src/hildon-picker-button.h
3203 * src/hildon-touch-selector.h
3204 * src/hildon-time-picker.h
3205 * src/hildon-date-selector.h
3206 * src/hildon-touch-selector-entry.h
3207 Modified in order to use hildon-widgets code style
3209 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3211 Added deprecated support to the compilation process using
3212 HILDON_DISABLE_DEPRECATED
3214 * configure.ac: Added the --disable-deprecated to the configure
3217 * src/hildon-weekday-picker.c:
3218 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3219 to use the deprecated support. We will update the other deprecated
3220 widgets status in a new patch.
3222 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3224 * configure.ac: Fixed typo with fatal warnings support, the
3225 variable name was not correct
3227 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3229 * src/hildon-app-menu.c
3230 * src/hildon-program.c: Update documentation.
3232 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3234 * configure.ac: Post-release version bump.
3236 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3241 * configure.ac: Pre-release version bump.
3242 * debian/changelog: Updates.
3244 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3246 * NEWS: Update news for previous releases.
3248 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3250 * examples/hildon-touch-selector-multi-cells-example.c:
3251 (create_selector): Update the example to use
3252 hildon_touch_selector_append_column() with a NULL renderer and set
3253 the renderers later.
3254 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3255 passed a NULL renderer. This is documented behavior now.
3257 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3258 This must be used if the developer wants full control on the layout of
3259 the renderers to be added to the column.
3261 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3263 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-touch-selector.c: Documentation fixes.
3267 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3269 * src/hildon-wizard-dialog-private.h: Remove image and box.
3270 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3271 (hildon_wizard_dialog_set_property), (response): Completely remove
3272 image/icon support, and the containers required for the layout.
3274 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3276 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3278 * src/hildon-app-menu.c: Updated documentation.
3280 * src/hildon-stackable-window.c
3281 (hildon_stackable_window_set_main_menu): Unref the old menu after
3282 ref'ing the new one.
3284 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-stackable-window.c
3287 (hildon_stackable_window_set_main_menu): Unref the previous menu
3288 instead of destroying it.
3290 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3291 floating reference and set has_user_ref_count to FALSE to make
3292 HildonAppMenu act like a normal ref-counted widget and not a
3295 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3298 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3300 * src/hildon-touch-selector-column.h: new file
3301 * src/hildon-touch-selector.h
3302 * src/hildon-touch-selector.c
3303 Implemented GtkCellLayout interface, in order to allow to configure
3304 the cell layout on each individual selector column
3305 (hildon_touch_selector_set_column_attributes): marked as deprecated
3306 * examples/hildon-touch-selector-multi-cells-example.c
3307 Example of how to use the GtkCellLayout interface on the selector
3309 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3311 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3313 * src/hildon-app-menu.h
3314 * src/hildon-app-menu.c
3315 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3316 (hildon_app_menu_append, hildon_app_menu_prepend):
3317 New methods to prepend, insert and move items in the menu.
3319 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-wizard-dialog.c:
3323 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3325 (create_title): Update logical IDs and related code.
3326 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3328 * src/hildon-wizard-dialog.h: Note that
3329 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3330 point, as it is not used anymore.
3332 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3334 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3336 * src/hildon-note.c:
3337 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3338 shown. Do not display an icon in confirmation notes nor information
3340 (hildon_note_set_button_text): Update logical ID for cancel button.
3342 Fixes: NB#88850 (Update HildonNote button strings + signals)
3344 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-stackable-window.c
3347 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3349 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3351 * src/hildon-app-menu-private.h
3352 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3353 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3354 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3355 temporary property 'columns' to change the number of columns.
3357 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3359 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3361 * examples/hildon-note-example.c: (on_information_clicked),
3362 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3363 debugging information.
3364 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3366 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3367 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3368 in order to close: this will be handled by the WM from now on.
3370 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3372 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3374 * src/hildon-app-menu-private.h
3375 * src/hildon-app-menu.c
3376 (hildon_app_menu_append, hildon_app_menu_add_filter)
3377 (button_visibility_changed, hildon_app_menu_apply_style)
3378 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3379 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3380 layout everytime a button (item or filter) is shown or hidden.
3382 * src/hildon-stackable-window.c
3383 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3386 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3388 * src/hildon-touch-selector.c:
3389 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3390 that the treeview inside the touch selector is in fremantle hildon mode
3391 * examples/hildon-date-button-example.c
3392 * examples/hildon-picker-button-multicolumn-example.c
3393 * examples/hildon-touch-selector-entry-example.c
3394 * examples/hildon-touch-selector-example.c
3395 * examples/hildon-time-button-example.c
3396 * examples/hildon-picker-button-example.c:
3397 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3399 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3401 * examples/hildon-text-view-example.c: (main): Remove the
3402 gtkrc bits, now handled by the theme.
3404 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3406 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3409 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3411 * po/Makefile.am: Install properly the mo files.
3412 * po/en_GB.po: Update translation, to ease testing purposes.
3414 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3416 * examples/hildon-picker-button-example.c: (main): Select an item
3417 in the selector before setting it to the button.
3419 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3421 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3422 Update button's value if the selector has an item active.
3424 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3425 'value' with the selector)
3427 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3430 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3431 (hildon_picker_button_class_init): Plug the finalize method.
3432 (hildon_picker_button_set_selector): If there's a previously set
3433 selector, unref'it before setting a new one.
3435 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3436 HildonTouchSelector)
3438 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-touch-selector-entry.c:
3441 (hildon_touch_selector_entry_changed): Check if there is no text
3442 selected before setting the entry text.
3445 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-touch-selector.h
3448 * src/hildon-touch-selector.c
3449 (hildon_touch_selector_get_active)
3450 (hildon_touch_selector_set_active): New methods to set/get the
3451 index of the selected item.
3453 * src/hildon-picker-button.h
3454 * src/hildon-picker-button.c
3455 (hildon_picker_button_get_active)
3456 (hildon_picker_button_set_active): New methods to set/get the
3457 index of the selected item.
3459 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3461 * configure.ac: post-release version bump.
3463 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3467 * configure.ac: Pre-release version bump.
3468 * debian/changelog: Updates.
3469 * debian/control: Add myself as maintainer and depend on l10n
3472 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-window.c
3475 (hildon_window_set_main_menu)
3476 * src/hildon-stackable-window.c
3477 (hildon_stackable_window_set_main_menu):
3478 Updated documentation.
3480 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3482 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3483 Don't free selector->priv manually.
3486 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3489 (hildon_gtk_window_set_progress_indicator):
3490 * src/hildon-gtk.h: Added the new API
3491 hildon_gtk_window_set_progress_indicator, it changes the state of
3492 the window progress hint.
3494 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-button.c
3497 * src/hildon-stackable-window.c: Minor documentation updates.
3499 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3501 * src/hildon-stackable-window.c: Updated documentation.
3503 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-defines.h: Update margins definitions
3506 to the Fremantle sizes.
3509 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3511 * src/hildon-touch-selector.c,
3512 (_hildon_touch_selector_set_model): Cleaning the code after
3513 review, removed g_print and #if 0 from the code.
3515 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3517 * src/hildon-edit-toolbar.c: Update documentation.
3519 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-check-button.h
3522 * src/hildon-check-button.c
3523 (hildon_check_button_set_label, hildon_check_button_get_label)
3524 * examples/hildon-check-button-example.c
3525 (button_clicked_cb):
3526 Removed deprecated methods.
3528 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3530 * src/hildon-text-view.c:
3531 Add sample code to the documentation.
3533 * src/hildon-entry.h
3534 * src/hildon-text-view.h:
3535 Minor cosmetic changes.
3537 * src/hildon-entry.c:
3538 Add sample code to the documentation.
3539 (hildon_entry_init, hildon_entry_refresh_contents):
3540 Don't allow NULL values in the placeholder.
3542 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3544 * doc/hildon-docs.sgml
3546 * examples/Makefile.am
3547 * examples/hildon-text-view-example.c
3549 * src/hildon-text-view.c
3550 * src/hildon-text-view.h
3552 New HildonTextView widget, with example.
3554 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3556 * po/POTFILES.in: Add missing files with translatable strings.
3557 Partially fixes NB#88287.
3559 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3561 * examples/hildon-pannable-area-example-2.c: (main): No need to
3562 set the cellrenderer height inside hildon touch lists, the theme does
3565 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3567 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3568 they are integrated in the theme.
3570 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3572 * examples/hildon-entry-example.c: Update the example adding
3573 widgets to modify the text and the placeholder of the HildonEntry.
3575 * src/hildon-entry.c: Show the placeholder everytime the widget
3576 is empty and loses the focus.
3578 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3580 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3582 * src/hildon-pannable-area.c,
3583 (hildon_pannable_area_size_request): Fixed bug in height
3584 requisition, avoid increasing size and add border twice.
3586 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3588 * configure.ac: postrelease version bump.
3590 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3594 * configure.ac: Prerelease version bump.
3595 * debian/changelog: update.
3596 * debian/rules: make -dbg package contain useful debugging symbols.
3598 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3600 * src/hildon-dialog.h
3601 * src/hildon-dialog.c
3602 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3603 New methods to add buttons with finger size.
3604 (hildon_dialog_new_with_buttons):
3605 Create buttons with finger size.
3607 * examples/hildon-dialog-example.c (main): Use HildonDialog
3608 methods to add buttons.
3610 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3612 * src/hildon-entry.c: Updated HildonButton documentation.
3614 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3616 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3617 button value label with (FALSE, FALSE) to prevent NB#88126 from
3620 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3622 * examples/hildon-pannable-area-example.c,
3623 (main): Removed examples panning a vbox inside a pannable
3624 area. Check bug NB#87965
3626 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3628 Patch contributed by Kris Rietveld (kris@imendio.com)
3630 * src/hildon-pannable-area.c,
3631 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3632 get_size and get_position, this saves an X server roundtrip.
3634 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3636 * doc/hildon-docs.sgml
3638 * examples/Makefile.am
3639 * examples/hildon-entry-example.c
3641 * src/hildon-entry.c
3642 * src/hildon-entry.h
3644 New HildonEntry widget, with example.
3646 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-button.c (hildon_button_construct_child): Pack the
3649 image with expand == fill == FALSE. This is a workaround for a bug
3652 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3654 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3655 labels for the text column, to make it more look more dynamic.
3657 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3659 * src/hildon-time-selector.c
3660 Define gettext auxiliar macro N_
3661 (_create_minutes_model)
3662 (_create_hours_model)
3663 (_create_ampm_model): use of strftime in order to fill the model
3664 * src/hildon-date-selector.c
3665 (hildon_date_selector_finalize):
3666 (_locales_init): remove the logic related to get the name of the months
3667 using nl_langinfo, as it is not required anymore
3669 (_create_year_model)
3670 (_create_month_model)
3671 (_update_day_model): use of strftime in order to fill the model properly
3674 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-button.h
3677 * src/hildon-button.c (hildon_button_get_image): New method to
3680 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3682 * src/hildon-touch-selector.c:
3683 (hildon_touch_selector_remove_column): Remove from the correct parent
3684 and also remove the list element and free it.
3687 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3689 * src/hildon-time-selector.c
3690 (_create_hours_model): change the range on 12h ampm format in order to use
3691 a 12-11 range instead of previous 01-12 range
3692 (hildon_time_selector_set_time): change the way to select the current time
3693 on 12h ampm format, due the change on the range
3694 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3697 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3699 * src/hildon-touch-selector.c
3700 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3701 in order to allow use this function on multiple row selection mode if
3702 the column is different that the first one
3705 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3707 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3708 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3710 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3712 * src/hildon-date-selector.h: clean some comments, now on the .c
3713 * src/hildon-date-selector.c
3714 (hildon_date_selector_select_month): first implementation
3715 (hildon_date_selector_select_day): added documentation, reimplemented
3716 using hildon_date_selector_select_current_date to avoid repeat code
3719 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3721 Reviewed interaction logic based on device experiences, refactored
3724 * src/hildon-pannable-area.c,
3725 (hildon_pannable_area_class_init): Updated default vmax speed.
3726 (hildon_pannable_area_calculate_velocity): Added this function, it
3727 avoids duplicate valocity calculation. Adjusted calculation to
3728 avoid problems with zero dist events.
3730 (hildon_pannable_area_motion_notify_cb): Now we use the
3731 calculate_velocity function.
3733 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3735 * src/hildon-date-selector.c
3736 (hildon_date_selector_select_current_date): fix the day range check
3737 as it failed using the last day of the current month
3740 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3742 * src/hildon-touch-selector.c
3743 (hildon_touch_selector_get_num_columns): added a parameter validation
3746 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3748 * examples/Makefile.am
3749 * examples/hildon-edit-toolbar-example.c: Example of the
3750 HildonEditToolbar widget.
3752 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3754 * configure.ac: postrelease version bump.
3756 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3760 * configure.ac: prerelease version bump.
3761 * debian/changelog: update.
3763 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3765 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3766 renderer to display stock icons in the touch list. Also, set the sizes
3767 to the recommended in the style guide.
3769 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3770 * src/hildon-touch-selector.h
3771 (hildon_touch_selector_set_active_iter): renamed, now is
3772 hildon_touch_selector_select_iter
3773 (hildon_touch_selector_get_active_iter): renamed, now is
3774 hildon_touch_selector_get_selected
3775 (hildon_touch_selector_unselect_iter): added
3776 * src/hildon-touch-selector.c
3777 Update after API modification (methods renamed)
3778 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3779 order to avoid problems selecting multiple elements on the column
3780 (hildon_touch_selector_unselect_iter): added the implementation
3781 * src/hildon-time-selector.c
3782 * src/hildon-date-selector.c
3783 * src/hildon-touch-selector-entry.c
3784 Update methods calls after hildon-touch-selector.h API modification (methods
3787 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3789 * src/hildon-stackable-window.c
3790 (hildon_stackable_window_finalize): Call the parent class's finalize.
3792 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3794 * examples/hildon-touch-selector-example.c: (create_selector): Use
3795 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3798 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3800 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3801 set a cell background color, to respect theming.
3803 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3805 * doc/hildon-docs.sgml
3808 * src/hildon-edit-toolbar.c
3809 * src/hildon-edit-toolbar.h
3810 * src/hildon.h: New HildonEditToolbar widget.
3812 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3814 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3817 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3818 * src/hildon-touch-selector.c
3819 (_create_new_column): use g_object_set instead of two g_object_set_property
3821 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3822 * src/hildon-touch-selector.c
3823 (_create_new_column): use of hildon_gtk_tree_view_new to create
3824 the treeview, instead of use directly g_object_new
3825 (_create_new_column): update the property name "vindicator-mode" for the
3826 new one "vscrollbar-policy"
3827 * examples/hildon-date-button-example.c
3828 * examples/hildon-picker-button-multicolumn-example.c
3829 * examples/hildon-touch-selector-entry-example.c
3830 * examples/hildon-touch-selector-example.c
3831 * examples/hildon-time-button-example.c
3832 * examples/hildon-picker-button-example.c
3833 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3834 to all the treeviews inside a pannable area.
3836 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3838 * src/hildon-button.h
3839 * src/hildon-button.c (hildon_button_init)
3840 (hildon_button_set_arrangement, hildon_button_set_alignment)
3841 (hildon_button_set_title_alignment)
3842 (hildon_button_set_value_alignment)
3843 (hildon_button_set_image_alignment)
3844 (hildon_button_construct_child): New methods to set the alignment
3845 of the individual components of the button (title, value,
3846 image). Also, new method to alter the xscale and yscale properties
3847 of the GtkAlignment inside the button, so more complex layouts can
3850 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-button.c (hildon_button_style_set)
3853 (hildon_button_class_init, hildon_button_set_arrangement)
3854 (hildon_button_construct_child): Apply style properties
3855 correctly. Use the 'image-spacing' style property too.
3857 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3859 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3860 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3863 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3865 * src/hildon-pannable-area.c,
3866 (hildon_pannable_area_size_request): Fixed problem with
3867 pannable-area size_request.
3869 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3871 Added management for the grab-focus to a child widget, like a
3872 range, we need to fade out the scrollbar when releasing.
3874 * src/hildon-pannable-area.c,
3875 (hildon_pannable_area_init): Connected the grab-focus signal to
3877 (hildon_pannable_area_grab_notify): Added this function in order
3878 to manage the situation when the grab-focus ends. We have to
3879 fade-out the scrollbar.
3881 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3883 * src/hildon-app-menu.c: Minor documentation update.
3885 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-app-menu.c
3888 * examples/hildon-app-menu-example.c (create_menu): Update
3889 examples and documentation to explain how to connect callbacks.
3891 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3893 * examples/hildon-button-example.c
3894 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3895 hildon_stackable_window_new instead of gtk_window_new
3897 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3899 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3900 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3901 (hildon_pannable_area_set_property),
3902 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3903 (hildon_pannable_area_unrealize),
3904 (hildon_pannable_area_size_request),
3905 (hildon_pannable_area_size_allocate),
3906 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3907 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3908 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3909 (hildon_pannable_area_initial_effect),
3910 (hildon_pannable_area_redraw),
3911 (hildon_pannable_area_scroll_indicator_fade),
3912 (hildon_pannable_area_expose_event),
3913 (hildon_pannable_area_get_topmost), (synth_crossing),
3914 (hildon_pannable_area_button_press_cb),
3915 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3916 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3917 (hildon_pannable_area_motion_notify_cb),
3918 (hildon_pannable_area_button_release_cb),
3919 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3920 (hildon_pannable_area_remove),
3921 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3922 chage the code layout to a more GtkWidget like. Review the use of
3925 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3927 * examples/hildon-pannable-area-example-4.c,
3928 (main): Modified the name of the hindicator_mode to
3931 * src/hildon-pannable-area.c,
3932 (hildon_pannable_area_class_init),
3933 (hildon_pannable_area_motion_notify_cb),
3934 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3935 we have reduced the amount of signals and managed reviewed its
3936 rationale. Changed the default decelerate value.
3938 (hildon_pannable_area_add),
3939 (hildon_pannable_area_redraw): Refactored functions.
3941 (hildon_pannable_area_init),
3942 (hildon_pannable_area_get_property),
3943 (hildon_pannable_area_set_property):
3944 (hildon_pannable_draw_vscroll),
3945 (hildon_pannable_draw_hscroll),
3946 (hildon_pannable_area_initial_effect),
3947 (hildon_pannable_area_expose_event),
3948 (hildon_pannable_area_scroll),
3949 (hildon_pannable_area_button_press_cb),
3950 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3951 and vindicator_mode with hscrollbar_policy and
3952 vscrollbar_policy. Replaced hscroll and vscroll with
3953 hscroll_visible and vscroll_visible.
3955 (hildon_pannable_area_refresh): Refactor the function, remove
3956 variables and check the calls to this function, added resize
3957 conditions in case the children change their layout.
3959 (hildon_pannable_area_size_request): Added more detailed
3960 size_request calculation.
3963 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3965 * src/hildon-color-chooser.c
3966 (init_borders): use the correct gtk_border_free instead of g_free, to
3967 avoid a crash when this widget is used (ie: the three color selection
3970 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3972 * src/hildon-check-button.c,
3973 (hildon_check_button_set_active): Fixed problem when setting the
3974 active value, the widget was not redrawn.
3976 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3978 * src/hildon-pannable-area.c,
3979 (hildon_pannable_area_refresh),
3980 (hildon_pannable_area_scroll),
3981 (hildon_pannable_area_motion_notify_cb): Small code style change.
3983 (hildon_pannable_area_class_init): Default initial_hint set to
3984 FALSE, it is not in the specs.
3986 (hildon_pannable_area_initial_effect),
3987 (hildon_pannable_area_expose_event),
3988 (hildon_pannable_area_map),
3989 (hildon_pannable_area_init): Moved the launching point of the
3990 initial effect, it was in map but the sizes where not correct in
3991 that method so we do not know if we have the reproduce it. Now it
3992 is placed in the expose_event method and uses a variable to
3993 reproduce it just once.
3995 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3997 * src/hildon-pannable-area.c,
3998 (hildon_pannable_draw_vscroll),
3999 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4000 position allowed for the scrollbars.
4002 (hildon_pannable_area_size_allocate): Small style change.
4004 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4006 * src/hildon-pannable-area.c,
4007 (hildon_pannable_area_scroll_indicator_fade),
4008 (hildon_pannable_area_button_press_cb),
4009 (hildon_pannable_area_button_release_cb),
4010 (hildon_pannable_area_scroll_cb),
4011 (hildon_pannable_area_expose_event),
4012 (hildon_pannable_area_init): Added the define parameter
4013 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4014 and refactor the fade variable.
4016 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4018 * src/hildon-pannable-area.c,
4019 (hildon_pannable_area_redraw),
4020 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4021 lines, we were reimplemeting the redraw code.
4023 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4025 * src/hildon-pannable-area.c,
4026 (hildon_pannable_area_scroll_cb),
4027 (hildon_pannable_area_realize),
4028 (hildon_pannable_area_class_init): Added scroll_event management
4029 for pannable area, now we can scroll the usual desktop method.
4031 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4032 initialization of the parameters should depend on idle_id.
4034 (hildon_pannable_area_init),
4035 (hildon_pannable_area_map): Small code style modifications
4037 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4039 * src/hildon-pannable-area.c
4040 (hildon_pannable_area_button_press_cb),
4041 (hildon_pannable_area_motion_notify_cb),
4042 (hildon_pannable_area_button_release_cb),
4043 (hildon_pannable_area_size_allocate),
4044 (hildon_pannable_area_scroll_to): Improved the timeouts
4045 management, we avoid creating them each time.
4047 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4049 * src/hildon-pannable-area.c:
4050 (hildon_pannable_area_refresh),
4051 (hildon_pannable_area_motion_notify_cb),
4052 (hildon_pannable_area_class_init):
4053 * src/hildon-pannable-area.h:
4054 * src/hildon-touch-selector.c
4055 (_create_new_column):
4056 * examples/hildon-pannable-area-example-4.c:
4057 (horizontal_movement),
4058 (vertical_movement),
4060 Replaced the names of enums in the HildonPannableArea:
4061 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4062 HILDON_MOVEMENT_MODE_*
4063 - HILDON_PANNABLE_AREA_MOV_* ->
4065 - Removed HildonPannableAreaIndicatorMode, now we
4068 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4070 * examples/hildon-pannable-area-touch-grid-example.c
4071 * examples/hildon-pannable-area-touch-list-example.c: Fix
4072 compilation warnings.
4074 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4076 * src/hildon-gtk.c (hildon_gtk_button_new)
4077 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4078 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4079 images overriding the value of the "gtk-button-images" setting.
4081 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4083 * src/hildon-check-button.c (hildon_check_button_new):
4084 Instead of using a custom container, display the label and the
4085 checkbox using the standard GtkButton API.
4087 * examples/hildon-check-button-example.c (main): Don't use
4088 hildon_check_button_set_label() anymore
4090 * src/hildon-check-button.h
4091 * src/hildon-check-button.c
4092 (hildon_check_button_set_label, hildon_check_button_get_label):
4093 Set as deprecated, now we're using gtk_button_{get,set}_label()
4095 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4097 * src/hildon-pannable-area.c,
4098 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4099 GtkTreeview first line we detected it after the inclusion of the
4100 GtkWindowImpl in gtk+. We now check if the window is visible, not
4101 just if the pointer is over the window.
4102 (hildon_pannable_axis_scroll),
4103 (hildon_pannable_area_expose_event): Small style changes.
4105 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4107 * src/hildon-button.c: Update documentation.
4109 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4111 * examples/hildon-button-example.c: Add a switch to show images in
4114 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4116 * doc/hildon-docs.sgml: Some docs reorganization.
4118 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4120 * examples/hildon-pannable-area-touch-list-example.c
4122 * examples/hildon-pannable-area-touch-grid-example.c
4123 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4124 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4125 Fix memory leak when setting the tree model.
4127 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4131 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4133 * doc/hildon.types: Remove duplicated hildon_window_get_type
4134 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4135 documentation comment.
4137 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4139 * doc/Makefile.am: Complete list of private headers.
4141 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4143 * doc/hildon-docs.sgml
4144 * src/hildon-app-menu.c
4145 * src/hildon-bread-crumb.c
4146 * src/hildon-button.c
4148 * src/hildon-program.c
4149 * src/hildon-stackable-window.c
4150 * src/hildon-window.c: Lots of documentation updates.
4152 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4154 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4156 * configure.ac: Require Gtk+ 2.12.9 at least
4158 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4160 * src/hildon-pannable-area.c
4161 (hildon_pannable_area_scroll_indicator_fade),
4162 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4163 to protect the return of this timeout callbacks, avoiding deadlocks.
4165 2008-08-12 Christian Dywan <christian@imendio.com>
4168 * src/hildon-*.h: Ensure a consistent include order,
4169 include <gtk/gtk.h> instead of particular files and
4170 only include the topmost header in the gtk stack. See NB #39857
4172 2008-08-12 Christian Dywan <christian@imendio.com>
4174 * src/hildon-picker-dialog.c
4175 * src/hildon-touch-selector.c: Fix warnings about unused and
4176 uninitialized variables.
4178 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4180 * examples/Makefile.am
4181 * examples/hildon-check-button-example.c: Example of the hildon
4184 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4186 * src/hildon-window.h
4187 * src/hildon-window.c (hildon_window_class_init)
4188 (hildon_window_unset_program): Don't make
4189 hildon_window_unset_program a virtual function anymore.
4191 * src/hildon-stackable-window.c: Update documentation
4193 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4196 * doc/hildon-docs.sgml
4197 * doc/visual_index.xml
4198 * src/hildon-defines.c
4200 * src/hildon-helper.c
4201 * src/hildon-range-editor.c: Lots of documentation fixes.
4203 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4205 * examples/hildon-picker-button-multicolumn-example.c
4206 (create_touch_selector): Fix compilation warning.
4208 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4210 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4211 (hildon_pannable_area_button_release_cb)
4212 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4214 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4219 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4221 * src/hildon-bread-crumb-trail.h
4222 * src/hildon-date-editor.c
4223 * src/hildon-date-selector.c
4224 * src/hildon-pannable-area.c
4225 * src/hildon-picker-dialog.c
4226 * src/hildon-time-selector.c
4227 * src/hildon-touch-selector-entry.c
4228 * src/hildon-touch-selector.c
4229 * src/hildon-touch-selector.h: Misc documentation fixes
4231 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4233 * examples/hildon-date-editor-example.c (main): Updated date
4236 * examples/hildon-note-example.c (on_confirmation_clicked):
4237 Updated confirmation note example.
4239 * src/hildon-date-editor.c
4240 * src/hildon-note.c: Updated sample programs in documentation.
4243 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-date-button.h:
4246 * src/hildon-picker-button.h:
4247 * src/hildon-time-button.c:
4248 * src/hildon-time-button.h:
4250 Some declarations changes to allow gtk-doc to document the widgets
4253 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-date-button.c: Document the widget.
4256 * src/hildon-time-button.c: Document the widget.
4258 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-picker-button.c: Document the widget.
4261 * src/hildon-touch-selector-entry.c: Document the widget.
4263 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4265 * doc/hildon-docs.sgml
4268 * src/hildon-check-button.h
4269 * src/hildon-check-button.c: New functions to create the Hildon
4273 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4275 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4277 * src/hildon-button.h
4278 * src/hildon-button.c
4279 (hildon_button_add_title_size_group)
4280 (hildon_button_add_value_size_group)
4281 (hildon_button_add_image_size_group)
4282 (hildon_button_add_size_groups): New functions to set size groups
4283 for the button labels and image.
4284 (hildon_button_new_full): Removed
4286 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4288 * src/hildon-time-selector.c
4289 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4290 in order to avoid a crash if gconf is not available
4292 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4294 * src/hildon-button.c (hildon_button_set_arrangement)
4295 (hildon_button_construct_child): Don't construct the button child
4296 before setting the arrangement.
4298 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-program-private.h
4301 * src/hildon-program.c
4302 * src/hildon-program.h
4303 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4304 (hildon_program_peek_window_stack)
4305 (hildon_program_pop_window_stack)
4306 (hildon_program_go_to_root_window): HildonProgram now has a
4307 separate list for stackable windows. Functions are provided to
4308 manage that list with a stack-like API.
4310 * src/hildon-stackable-window.c: Stackable window management is
4311 now much simpler with the new HildonProgram API. Windows no
4312 longer need to be manually added to the program, they're
4313 automatically pushed to the top of the stack when shown.
4315 * examples/hildon-stackable-window-example.c: Updated example to
4316 reflect the API changes.
4318 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4320 * src/hildon-touch-selector.c: Comment out unimplemented
4321 hildon_touch_selector_insert_column() to avoid a compile warning.
4323 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4325 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4326 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4327 (hildon_touch_selector_set_column_selection_mode),
4328 (_hildon_touch_selector_set_model),
4329 (hildon_touch_selector_set_model):
4331 Complete review of HildonTouchSelector documentation.
4333 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4335 * doc/hildon-docs.sgml
4339 * src/hildon-gtk.c: Convenience functions for standard Gtk
4340 widgets, used to easily perform frequent operations.
4342 * src/hildon-button-helpers.h
4343 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4345 * src/hildon-helper.h
4346 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4347 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4349 * src/hildon-button.h
4350 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4352 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4354 * src/hildon-button.c (hildon_button_init)
4355 (hildon_button_set_arrangement, hildon_button_construct_child):
4356 Pack the image and the labels inside the same GtkAlignment so
4357 gtk_button_set_alignment() can be used
4359 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4361 * src/hildon-button.h
4362 * src/hildon-button.c
4363 (hildon_button_init, hildon_button_set_image)
4364 (hildon_button_set_image_position)
4365 (hildon_button_construct_child): New functions to add an image to
4368 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4370 * src/hildon-date-button.c
4371 * src/hildon-picker-button.c
4372 * src/hildon-time-button.c
4373 * src/hildon-button.c:
4374 (hildon_button_class_init): "size-flags" renamed to "size"
4375 (hildon_button_set_title): Hide the title label if set to NULL.
4377 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4379 HildonButtonFlags split into HildonButtonArrangement (to set the
4380 button layout) and HildonSizeType (which can be used for any
4383 * src/hildon-button.h
4384 * src/hildon-button.c
4385 (hildon_button_class_init)
4386 (hildon_button_set_arrangement)
4387 (hildon_button_set_property): New "size-flags"
4388 property. "arrangement-flags" renamed to "arrangement".
4389 (hildon_button_new, hildon_button_new_with_text)
4390 (hildon_button_new_full): Constructors updated to reflect type changes.
4392 * src/hildon-helper.h
4393 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4394 to set the size of a widget.
4398 * src/hildon-button-helpers.c
4399 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4401 * src/hildon-date-button.c
4402 * src/hildon-date-button.h
4403 * src/hildon-picker-button.c
4404 * src/hildon-picker-button.h
4405 * src/hildon-time-button.c
4406 * src/hildon-time-button.h: Updated widgets to reflect
4407 HildonButton API changes.
4409 * examples/hildon-button-example.c
4410 * examples/hildon-date-button-example.c
4411 * examples/hildon-picker-button-example.c
4412 * examples/hildon-picker-button-multicolumn-example.c
4413 * examples/hildon-time-button-example.c
4414 * examples/hildon-touch-selector-entry-example.c
4415 * examples/hildon-touch-selector-example.c: Updated examples to
4416 reflect HildonButton API changes.
4418 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4420 * doc/hildon-docs.sgml:
4422 * examples/Makefile.am:
4423 * examples/hildon-touch-selector-entry-example.c:
4425 * src/hildon-touch-selector-entry.c:
4426 * src/hildon-touch-selector-entry.h:
4429 Moved HildonTouchSelectorEntry from sandbox. Added its
4430 documentation and examples.
4432 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4434 * src/hildon-touch-selector.h:
4435 * examples/hildon-picker-button-multicolumn-example.c:
4436 (hildon_touch_selector_append_text_column): Add a gboolean
4437 parameter to determine if text must be centered in the column.
4439 * src/hildon-date-selector.c: (hildon_date_selector_init):
4440 * src/hildon-time-selector.c: (hildon_time_selector_init):
4441 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4442 (create_touch_selector): Update widgets and example to reflect
4445 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/hildon-touch-selector.c:
4448 (hildon_touch_selector_set_active_iter): Set also the cursor in
4451 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4453 * doc/hildon-docs.sgml
4456 * src/hildon-toggle-button.c
4457 * src/hildon-toggle-button.h
4458 * src/hildon.h: Removed HildonToggleButton widget, a derived
4459 class is not necessary for this.
4461 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4463 * src/hildon-pannable-area.c,
4464 (hildon_pannable_area_realize),
4465 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4468 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4470 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4471 "done" button the default widget for the dialog.
4473 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4475 * src/hildon-touch-selector.c:
4476 (hildon_touch_selector_class_init),
4477 (hildon_touch_selector_get_property),
4478 (_hildon_touch_selector_set_model),
4479 (_hildon_touch_selector_has_multiple_selection),
4480 (hildon_touch_selector_has_multiple_selection):
4481 Add a "has-multiple-selection" property with a virtual
4482 has_multiple_selection() method to allow derived classes to
4483 override the default value for it. See the method and property
4484 documentation for details.
4486 * src/hildon-touch-selector.h: Add the new API.
4488 * src/hildon-picker-dialog.c: (requires_done_button): Call
4489 hildon_touch_selector_has_multiple_selection() instead of
4490 determining the need for a button itself.
4492 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4494 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4495 (_hildon_touch_selector_set_model),
4496 (hildon_touch_selector_set_model): Move working code to
4497 _hildon_touch_selector_set_mode(). Call the class method instead.
4499 * src/hildon-touch-selector.h: Add (*set_model) to
4500 HildonTouchSelectorClass.
4502 Make hildon_touch_selector_set_model() a virtual method, so that
4503 derived classes can extend it and do fancy stuff with the model.
4505 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4507 * configure.ac: Set back the tarname in AC_INIT to hildon.
4509 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4513 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4514 instead of libesd (NB#86876). Volume handling is still an open issue.
4516 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4519 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4521 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4522 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4523 derived class to ease placement of an entry widget in
4524 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4525 end, where the selector columns are packed now.
4527 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4529 * src/hildon-picker-button.c: Removed the simple _text() API.
4530 * src/hildon-picker-button.h: Likewise.
4532 * src/hildon-touch-selector.h:
4533 * src/hildon-touch-selector.c:
4534 (hildon_touch_selector_new_text),
4535 (hildon_touch_selector_append_text),
4536 (hildon_touch_selector_prepend_text),
4537 (hildon_touch_selector_insert_text):
4539 Moved the simple _text() API from HildonPickerButton to
4540 HildonTouchPicker, to provide better escalability and not to tie
4541 that API to HildonPickerButton.
4543 * examples/hildon-picker-button-example.c: (main): Example updated.
4545 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-button.c: Updated documentation.
4549 * examples/hildon-button-example.c: Add the posibility to create
4550 the buttons using horizontal layout for title and value.
4552 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-app-menu-private.h
4555 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4556 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4557 GtkSizeGroup for the filters, use the 'homogeneous' property of
4560 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4562 * examples/hildon-button-example.c: Updated example.
4564 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4566 * doc/hildon-docs.sgml:
4569 Update documentation.
4571 * examples/Makefile.am: Update renamed examples.
4573 * examples/hildon-picker-button-multicolumn-example.c:
4574 (create_touch_selector), (main): Update after the rename.
4576 * examples/hildon-touch-picker-example.c: Removed.
4577 * examples/hildon-touch-selector-example.c: (value_changed),
4578 (create_selector), (get_visible_content), (main): Renamed from
4579 hildon-touch-picker-example.c
4581 * src/Makefile.am: Updated renamed files.
4583 * src/hildon-date-button.c: (hildon_date_button_init),
4584 (hildon_date_button_get_date), (hildon_date_button_set_date):
4585 * src/hildon-date-selector.c: (hildon_date_selector_init),
4586 (_custom_print_func), (_update_day_model),
4587 (_manage_selector_change_cb),
4588 (hildon_date_selector_select_current_date),
4589 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4590 * src/hildon-date-selector.h:
4591 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4592 (hildon_picker_button_set_property),
4593 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4594 (hildon_picker_button_init), (hildon_picker_button_new_text),
4595 (hildon_picker_button_append_text),
4596 (hildon_picker_button_prepend_text),
4597 (hildon_picker_button_insert_text),
4598 (hildon_picker_button_set_selector),
4599 (hildon_picker_button_get_selector):
4600 * src/hildon-picker-button.h:
4601 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4602 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4603 (_update_title_on_selector_changed_cb), (requires_done_button),
4604 (_hildon_picker_dialog_set_selector),
4605 (hildon_picker_dialog_set_selector),
4606 (hildon_picker_dialog_get_selector):
4607 * src/hildon-picker-dialog.h:
4608 * src/hildon-time-button.c: (hildon_time_button_init),
4609 (hildon_time_button_get_time), (hildon_time_button_set_time):
4610 * src/hildon-time-selector.c: (hildon_time_selector_init),
4611 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4612 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4613 * src/hildon-time-selector.h:
4616 Massive code updates after the rename.
4618 * src/hildon-touch-picker.c: Removed.
4619 * src/hildon-touch-picker.h: Removed.
4621 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4622 (hildon_touch_selector_init), (hildon_touch_selector_map),
4623 (hildon_touch_selector_remove), (_default_print_func),
4624 (_selection_changed_cb), (_create_new_column),
4625 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4626 (hildon_touch_selector_append_text_column),
4627 (hildon_touch_selector_remove_column),
4628 (hildon_touch_selector_set_column_attributes),
4629 (hildon_touch_selector_insert_column),
4630 (hildon_touch_selector_get_num_columns),
4631 (hildon_touch_selector_get_column_selection_mode),
4632 (hildon_touch_selector_set_column_selection_mode),
4633 (hildon_touch_selector_set_print_func),
4634 (hildon_touch_selector_get_print_func),
4635 (hildon_touch_selector_get_active_iter),
4636 (hildon_touch_selector_set_active_iter),
4637 (hildon_touch_selector_get_selected_rows),
4638 (hildon_touch_selector_get_model),
4639 (hildon_touch_selector_set_model),
4640 (hildon_touch_selector_get_current_text),
4641 (_hildon_touch_selector_center_on_selected_items):
4642 * src/hildon-touch-selector.h: Renamed from
4643 hildon-touch-picker.[ch]
4645 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4646 references, code examples, and related documentation.
4648 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4650 * doc/hildon-docs.sgml
4653 * src/hildon-toggle-button.c
4654 * src/hildon-toggle-button.h
4655 * src/hildon.h: New HildonToggleButton widget.
4657 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4659 * src/hildon-button.c: Add API documentation.
4660 (hildon_button_set_size_groups): Check input parameters
4662 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4664 * src/hildon-pannable-area.c
4665 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4666 effect after reaching the movement thredshold. This way we start
4667 using the distance after passing the thredshold.
4669 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4671 * src/hildon-button.c: (hildon_button_set_property): Use the
4672 appropriate g_value_get_flags() method.
4674 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4676 * doc/hildon-docs.sgml:
4679 Add the touch pickers, picker dialogs, and picker button widgets
4680 to the documentation.
4682 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4684 * src/hildon-button.c: (hildon_button_set_property),
4685 (hildon_button_class_init): Make "arrangement-flags" a proper
4686 G_TYPE_FLAGS derived property.
4688 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4690 * examples/Makefile.am: Add below examples.
4691 * examples/hildon-date-button-example.c:
4692 * examples/hildon-picker-button-example.c:
4693 * examples/hildon-picker-button-multicolumn-example.c:
4694 * examples/hildon-time-button-example.c:
4695 * examples/hildon-touch-picker-example.c:
4697 Add examples for the recently added touch pickers,
4698 picker dialogs, and picker button widgets.
4700 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-button.c: Add some API documentation
4704 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4706 * src/hildon-button.h
4707 * src/hildon-button.c
4709 (hildon_button_new_with_text): New constructor to create a button
4710 with no text at all.
4711 (hildon_button_init, hildon_button_set_arrangement)
4712 (hildon_button_set_title, hildon_button_set_value)
4713 (hildon_button_set_text)
4714 (hildon_button_construct_child): Hide the value when it's not used
4715 so the rest of the text is properly aligned.
4716 Allow creating buttons with arbitrary widgets inside (not just
4717 title/value labels).
4719 * examples/hildon-button-example.c (vertical_buttons_window)
4720 (horizontal_buttons_window): Update example to use new API.
4722 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4724 * src/Makefile.am: Added HildonTimeButton.
4725 * src/hildon-time-button.c: Added missing LGPL header.
4726 * src/hildon-time-button.h: Added missing LGPL header.
4727 * src/hildon.h: Add hildon-time-button.h
4729 Copied HildonTimeButton from sandbox to trunk. Future work on this
4730 widget must take place in trunk.
4732 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4734 * src/Makefile.am: Added HildonDateButton.
4735 * src/hildon-date-button.c: Update includes.
4736 * src/hildon.h: Add hildon-date-button.h
4738 Copied HildonDateButton from sandbox to trunk. Future work on this
4739 widget must take place in trunk.
4741 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/Makefile.am: Added HildonPickerButton.
4744 * src/hildon-picker-button.h: Update includes.
4745 * src/hildon.h: Add hildon-picker-button.h
4747 Copied HildonPickerButton from sandbox to trunk. Future work on
4748 this widget must take place in trunk.
4750 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4752 * src/Makefile.am: Added HildonPickerDialog.
4753 * src/hildon-picker-dialog.c: Update includes.
4754 * src/hildon.h: Add hildon-picker-dialog.h
4756 Copied HildonPickerDialog from sandbox to trunk. Future work
4757 on this widget must take place in trunk.
4759 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4761 * src/Makefile.am: Added HildonTimeSelector.
4762 * src/hildon.h: Add hildon-time-selector.h
4764 Copied HildonTimeSelector widget from sandbox to trunk. Future
4765 work on this widget must happen in trunk.
4767 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4769 * src/Makefile.am: Added HildonDateSelector.
4770 * src/hildon.h: Add hildon-date-selector.h
4772 Copied HildonDateSelector widget from sandbox to trunk. Future
4773 work on this widget must happen in trunk.
4775 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4777 * src/Makefile.am: Added HildonTouchPicker.
4778 * src/hildon-touch-picker.c: Update includes.
4779 * src/hildon.h: Add hildon-touch-picker.h
4781 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4782 on this widget must happen in trunk.
4784 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4786 * src/hildon-pannable-area.c:
4787 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4789 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4791 * examples/hildon-app-menu-example.c (main): Let the window
4794 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4796 * src/hildon-pannable-area.c
4797 (hildon_pannable_area_class_init): Set the min value of the
4798 overshoot properties to zero, which points out that not
4799 overshooting allowed.
4801 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4803 Modified the procedure to get the widget at a point inside the
4804 pannable area when using the movement type signals. Now the user
4805 has to call a function to get the child, that way we just
4806 calculate the child in case the user really want to use it and not
4809 * src/hildon-marshalers.list: Modified the marshallers, now we do
4810 not have the widget as a parameter.
4812 * src/hildon-pannable-area.c
4813 (hildon_pannable_area_motion_notify_cb),
4814 (hildon_pannable_area_class_init),
4815 (hildon_pannable_get_child_widget_at): Removed the widget
4816 parameter from the signal callback. We have also refactored the
4817 emission of the signals.
4819 * src/hildon-pannable-area.h: Added a new method to the API to
4820 calculate a widget at a point inside the pannable area,
4821 hildon_pannable_get_child_widget_at.
4823 * examples/hildon-pannable-area-example-4.c
4824 (horizontal_movement): Modified the example to use the new API,
4825 added condition to control which widget is under the event. This
4826 way we can avoid scrolling laterally over other widgets.
4828 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4830 * src/hildon-pannable-area.c
4831 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4832 modes, we stop getting the pointer events due to returning the
4833 callback without properly calling the get pointer again. Fixed
4834 also an error using the hscroll and vscroll.
4836 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4838 * src/hildon-app-menu-private.h
4839 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4840 (hildon_app_menu_button_release, hildon_app_menu_init)
4841 (hildon_app_menu_class_init): Don't hide the menu on button
4842 release if the user didn't press outside first.
4844 * src/hildon-window.h
4845 * src/hildon-window.c (hildon_window_toggle_menu)
4846 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4847 hildon_window_toggle_menu a virtual function for the stackable
4848 window to override it.
4850 * src/hildon-stackable-window.h
4851 * src/hildon-stackable-window-private.h
4852 * src/hildon-stackable-window.c
4853 (hildon_stackable_window_realize)
4854 (hildon_stackable_window_finalize)
4855 (hildon_stackable_window_class_init)
4856 (hildon_stackable_window_init)
4857 (hildon_stackable_window_set_main_menu): New function to set the
4858 app menu of a HildonStackableWindow.
4860 * examples/hildon-app-menu-example.c: Remove the button to show
4861 the app menu, now it'll be shown when clicking on the title bar
4864 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4867 set the widget name if the arrangement flags do not specify
4870 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-button.c: (hildon_button_set_property),
4873 (hildon_button_class_init), (hildon_button_new_full),
4874 (hildon_button_set_arrangement): Added "arrangement-flags"
4877 Make the HildonButtonFlags a construction-only property, to allow
4878 subclasses to set them properly.
4880 2008-07-21 Tim Janik <timj@imendio.com>
4882 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4883 insertion position after backspace, so additional digits are appended,
4886 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4888 * src/hildon-pannable-area.c,
4889 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4890 TODO list, it was complete and removed the g_debug and g_print
4893 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4895 Added the movement modes to the hildon-pannable-area, with this
4896 modes the developers can control in which directions the widget
4897 can scroll. They can also connect to signals in order to do
4898 something when that happens, allowing applications scroll. There
4899 is an example uploaded showing how to use it.
4901 * examples/Makefile.am:
4902 * examples/hildon-pannable-area-example-4.c: Added this example of
4903 an application using the modes.
4905 * src/hildon-marshalers.list: Added a new marshaller for the new
4908 * src/hildon-pannable-area.h: Added new enumerations and flags in
4909 order to control the movement modes and the new signals to warn
4910 about the movements in the area.
4912 * src/hildon-pannable-area.c:
4913 (hildon_pannable_axis_scroll),
4914 (hildon_pannable_area_scroll),
4915 (hildon_pannable_area_motion_notify_cb),
4916 (hildon_pannable_area_get_property),
4917 (hildon_pannable_area_set_property),
4918 (hildon_pannable_area_map),
4919 (hildon_pannable_area_class_init),
4920 (hildon_pannable_area_init),
4921 (hildon_pannable_area_jump_to): Added the modes to control the
4922 movement in the widget. We have added properties to control it,
4923 signals to warn about the movements and refactored some code.
4925 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4927 Changes required in order to allow vfast_factor set to zero to
4930 * src/hildon-pannable-area.c:
4931 (hildon_pannable_area_button_press_cb): Changed the condition, it
4932 is required for not allowing click when vfast_factor is zero.
4933 (hildon_pannable_area_timeout): Initialized velocity variables
4934 when we stop moving, it was less than 1 but not zero and we need
4935 to check zero in some situations.
4936 (hildon_pannable_area_class_init): Changed the default value of
4937 the speed factor, now the button_press is just sent in case the
4938 speed is 2 per cent of the max speed.
4939 (hildon_pannable_area_init): Initialization with 0.
4941 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4943 * src/hildon-pannable-area.c,
4944 (hildon_pannable_area_get_topmost): replaced
4945 gdk_window_get_children with gdk_window_peek_children, this way we
4946 do not have to free the list because it is not a copy.
4948 (hildon_pannable_axis_scroll),
4949 (hildon_pannable_area_scroll),
4950 (hildon_pannable_area_timeout),
4951 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4952 two parameters that were only used inside the
4953 hildon_pannable_area_scroll function.
4955 * examples/hildon-pannable-area-example.c,
4956 (get_sawtooth_label): Fixed small memory leak.
4958 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4960 More checks for the case where the overshoot is bigger than the
4963 * src/hildon-pannable-area.c:
4964 (hildon_pannable_draw_vscroll),
4965 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4966 to draw the slider of the scrollbar under the other scrollbar.
4967 (hildon_pannable_area_expose_event): added new checks to control
4968 the drawing of the overshooting area rectangle, in case it is too
4969 big for the area of the widget.
4970 (hildon_pannable_area_size_allocate): add more checks to avoid
4971 setting a position to the child widget outside the area.
4973 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4975 * src/hildon-pannable-area.c
4976 (hildon_pannable_area_size_allocate): Added conditions to control
4977 when overshooting is bigger than the allocated space for the
4978 children, this avoids negative allocations.
4980 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4982 * doc/hildon-docs.sgml
4984 * examples/Makefile.am
4985 * examples/hildon-button-example.c
4987 * src/hildon-button.c
4988 * src/hildon-button.h
4989 * src/hildon.h: Initial version of the new HildonButton widget,
4992 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4994 * src/hildon-pannable-area.c:
4995 (hildon_pannable_area_button_press_cb),
4996 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4997 (hildon_pannable_area_motion_notify_cb),
4998 (hildon_pannable_area_button_release_cb),
4999 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5000 (hildon_pannable_area_jump_to_child):
5002 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5004 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5006 * examples/Makefile.am
5007 * examples/hildon-pannable-area-touch-grid-example.c
5008 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5009 the Hildon Touch List and Hildon Touch Grid using the
5010 HildonPannableArea widget.
5012 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5014 * src/hildon-pannable-area.c,
5015 (hildon_pannable_area_button_press_cb),
5016 (hildon_pannable_area_refresh),
5017 (hildon_pannable_area_scroll),
5018 (hildon_pannable_area_motion_notify_cb),
5019 (hildon_pannable_area_button_release_cb),
5020 (hildon_pannable_area_expose_event),
5021 (hildon_pannable_area_add),
5022 (hildon_pannable_area_remove),
5023 (hildon_pannable_area_realize),
5024 (hildon_pannable_area_size_allocate),
5025 (hildon_pannable_area_class_init),
5026 (hildon_pannable_area_init),
5027 (hildon_pannable_area_scroll_to_child),
5028 (hildon_pannable_area_jump_to_child): Fixed the problem of
5029 removing the child from the GtkBin, we have rearranged the widget
5030 hierarchy, now there is no GtkAlignment which was not doing
5031 anything interesting but breaking some of the assumptions of
5032 GtkContainer. Now developers if they want to add a GtkAlignment
5033 they could, but it is not inside the area.
5035 We had to review the whole allocation/expose process, now it is
5036 improved and we save at least three signals which would be saving
5037 some time when rendering the widget. The allocation of the
5038 scrollbars is now made in the allocate method as usual.
5040 We have also added some conditions in order to control when there
5041 is no child of the pannable area. Maybe we will need more work
5044 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5046 * src/hildon-pannable-area.c,
5047 (hildon_pannable_area_dispose): Released the fade-out timeout when
5048 disposing the widget.
5050 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5052 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5053 zero, we are going to use that property in order to deactivate the
5055 (hildon_pannable_axis_scroll),
5056 (hildon_pannable_area_size_allocate): Added conditions to control
5057 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5058 call, now it is called in all situations and we can remove calls
5059 in the allocate method.
5060 (hildon_pannable_area_map): Control the situation when
5061 overshoot_max is zero, we do not need the timeout.
5062 (hildon_pannable_area_class_init): Added documentation in order to
5063 point out that setting zero to overshoot_max means deactivate
5066 NOTE: removed trailing whitespaces from my previous comments of
5069 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5071 * src/hildon-pannable-area.c
5072 (hildon_pannable_area_get_property),
5073 (hildon_pannable_area_set_property),
5074 (hildon_pannable_area_map),
5075 (hildon_pannable_area_class_init),
5076 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5077 to cause the widget give a hint about its panning abilities upon
5080 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5082 * src/hildon-pannable-area.c: Several documentation improvements.
5084 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5086 * src/hildon-program.c
5087 * src/hildon-stackable-window.c: Update documentation.
5089 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5091 * src/hildon-stackable-window.c (get_previous_window_if_last):
5092 Renamed get_last_window()
5093 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5094 (hildon_stackable_window_unset_program):
5096 (get_previous_window_if_last):
5097 Detect if the window hasn't been added to a HildonProgram.
5099 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5101 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5103 * src/hildon-pannable-area.c
5104 (hildon_pannable_area_button_press_cb),
5105 (hildon_pannable_axis_scroll),
5106 (hildon_pannable_area_scroll),
5107 (hildon_pannable_area_timeout),
5108 (hildon_pannable_calculate_vel_factor),
5109 (hildon_pannable_area_get_property),
5110 (hildon_pannable_area_set_property),
5111 (hildon_pannable_area_class_init),
5112 (hildon_pannable_area_init),
5113 (hildon_pannable_area_scroll_to),
5114 (hildon_pannable_area_jump_to),
5115 (hildon_pannable_area_scroll_to_child),
5116 (hildon_pannable_area_jump_to_child):
5117 * src/hildon-pannable-area.h: Added the new API functions:
5118 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5119 hildon_pannable_area_scroll_to_child,
5120 hildon_pannable_area_jump_to_child
5123 * examples/Makefile.am
5124 * examples/hildon-pannable-area-example-2.c
5125 * examples/hildon-pannable-area-example-3.c: Added these two new
5126 examples in order to test and show how the new APIs work.
5128 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5130 * examples/hildon-stackable-window-example.c (new_window):
5131 * src/Makefile.am (noinst_HEADERS):
5132 * src/hildon-program.c (hildon_program_go_to_root_window):
5133 * src/hildon-program.h:
5134 * src/hildon-stackable-window-private.h:
5135 * src/hildon-stackable-window.c:
5136 * src/hildon-stackable-window.h:
5137 Create hildon-stackable-window-private.h
5138 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5140 * examples/hildon-app-menu-example.c (create_menu):
5141 * examples/hildon-hvolumebar-insensitive-example.c (main):
5142 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5143 * examples/hildon-toolbar-seekbar-example.c (main):
5144 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5145 * src/hildon-banner.c (hildon_banner_set_property):
5146 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5147 Fix compilation warnings
5149 * src/hildon-window.c:
5152 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5154 * src/hildon-stackable-window.c
5155 (hildon_stackable_window_unset_program):
5156 Calculate correctly whether to show the previous window if the
5157 last one is removed from the stack.
5158 (hildon_stackable_window_go_to_root_window):
5159 Send delete events starting from the topmost window.
5160 Stop if one of the windows is not destroyed.
5162 (hildon_stackable_window_delete_event)
5163 (hildon_stackable_window_class_init):
5164 Ignore the delete event if the window is not the topmost one.
5166 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5168 * src/hildon-pannable-area.c
5169 (hildon_pannable_area_expose_event): Fixed a problem when
5170 selecting the background color of the scrollbars.
5172 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5174 * examples/hildon-stackable-window-example.c
5175 * src/hildon-stackable-window.c
5176 * src/hildon-stackable-window.h
5177 hildon_stackable_window_go_home() renamed to
5178 hildon_stackable_window_go_to_root_window()
5179 Send delete events to windows rather than closing them with
5180 gtk_widget_destroy()
5182 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5184 * src/hildon-pannable-area.c
5185 (hildon_pannable_area_button_release_cb): Fix overshooting in
5188 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5190 * src/hildon-pannable-area.c
5191 (hildon_pannable_area_init): Initially show the scroll indicators.
5192 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5194 Add initial effect showing the widget is pannable.
5196 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5198 * src/hildon-pannable-area.c
5199 (hildon_pannable_area_class_init)
5200 (hildon_pannable_area_set_property)
5201 (hildon_pannable_area_get_property)
5202 (hildon_pannable_area_button_press_cb):
5203 New 'velocity_fast_factor' property to decide which velocity is
5206 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5208 * src/hildon-pannable-area.c
5209 (hildon_pannable_draw_hscroll)
5210 (hildon_pannable_draw_vscroll):
5211 Use float variables to calculate the size of the scrollbars to
5212 avoid error propagation and resizing during scrolling.
5214 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5216 * src/hildon-pannable-area.c
5217 (hildon_pannable_draw_vscroll)
5218 (hildon_pannable_draw_hscroll):
5219 Define a minimum size for the scroll bars
5221 * src/hildon-stackable-window.c
5222 (hildon_stackable_window_go_home): Fix compilation warning
5223 (get_last_window): Minor optimizations
5224 (hildon_stackable_window_class_init): Fix initialization of
5227 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5229 * src/hildon-stackable-window.c: Fixed typos in doc
5231 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5233 * src/hildon-pannable-area.c
5234 (hildon_pannable_area_scroll):
5235 Calculate here whether we need to scroll instead of using the booleans
5236 that tell us whether to /draw/ the scrolling bars.
5238 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5240 * src/hildon-app-menu.h
5242 * src/hildon-app-menu.c
5243 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5244 multiple filter groups related code and API. Now we support only
5246 * examples/hildon-app-menu-example.c:
5248 Update to reflect API changes.
5250 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5252 * src/hildon-stackable-window.c
5253 (hildon_stackable_window_class_init):
5254 Add hildon_stackable_window_realize.
5255 (hildon_stackable_window_realize):
5256 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5257 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5258 to apply theming and behavior specific to HildonStackableWindow
5261 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5263 * src/hildon-note.c (hildon_note_button_release):
5264 Close information notes also when tapping on them
5266 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5268 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5269 ELASTICITY, refactor and review, fix some issues with drawing
5272 * src/hildon-pannable-area.c:
5273 (hildon_pannable_area_button_press_cb): removed the conditions to
5274 avoid clicks when overshooting. It is not required
5276 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5277 define. Refatored and reviewed the code, now we do not need to
5278 manage velocity in motion_notify.
5280 (hildon_pannable_area_motion_notify_cb): We have moved the code
5281 that controls the area_scroll to the axis_scroll function and get
5282 rid of duplicated code.
5284 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5286 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5288 (hildon_pannable_draw_vscroll),
5289 (hildon_pannable_draw_hscroll): Fixed the problems with the
5290 scrollbar drawing, now we do not use two surfaces, it is easier
5291 and saves resources.
5293 (hildon_pannable_area_get_property): Style modification.
5295 (hildon_pannable_area_class_init): Changed some default values.
5297 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5299 * src/hildon-stackable-window.c: Fix some typos in the
5302 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5304 * src/hildon-dialog.c:
5305 Change indentation style
5308 (hildon_note_button_release):
5309 Use root coordinates to check if the release event happened
5312 * src/hildon-app-menu.c
5313 (hildon_app_menu_button_release):
5314 Remove unnecessary check
5316 * examples/hildon-app-menu-example.c
5318 Add cast to fix warning
5320 * src/hildon-app-menu.c
5321 (hildon_app_menu_class_init):
5322 New inner-border style property.
5323 Set all default spacings to 16
5324 (hildon_app_menu_init):
5325 Use vertical-spacing to set the space between filter buttons and
5326 regular menu buttons.
5327 Set the default container border using the inner-border value.
5329 * examples/hildon-app-menu-example.c
5331 Don't set the menu border explicitly, now we have the inner-border
5332 style property for that.
5334 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5336 * src/hildon-app-menu.c (hildon_app_menu_init):
5337 Make the window modal
5339 * src/hildon-note.c (hildon_note_map)
5340 * src/hildon-app-menu.c (hildon_app_menu_map):
5341 Destroy the grab window if we're unable to grab the pointer
5343 * src/hildon-app-menu-private.h
5344 * src/hildon-app-menu.c
5345 (hildon_app_menu_init, hildon_app_menu_finalize)
5346 (hildon_app_menu_map, hildon_app_menu_unmap)
5347 (hildon_app_menu_button_release)
5348 (grab_transfer_window_get):
5349 Bring back the grab window
5350 (hildon_app_menu_realize):
5351 Decorate the window, set WM hint for Matchbox
5353 * src/hildon-note.c (hildon_note_realize):
5354 * src/hildon-banner.c (hildon_banner_realize):
5355 Add WM hints for Matchbox
5357 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5359 * src/hildon-app-menu-private.h
5360 * src/hildon-app-menu.c
5361 (hildon_app_menu_init, hildon_app_menu_finalize)
5362 (hildon_app_menu_map, hildon_app_menu_unmap)
5363 (hildon_app_menu_button_release):
5364 Remove the grab window, it's not needed anymore
5366 * src/hildon-program.c
5367 Fixed typo in documentation
5369 * src/hildon-app-menu.h
5370 * src/hildon-app-menu.c
5371 * examples/hildon-app-menu-example.c
5372 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5374 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5377 Added new transfer_window and close_if_pressed_outside private
5379 (hildon_note_rebuild):
5380 Don't add a cancel button to the information note. It will be
5381 closed when tapping outside
5382 Remove the comment about the OK button in the documentation
5383 (hildon_note_realize):
5384 Set the notification type hint
5385 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5386 Grab/ungrab pointer and keyboard if the note has to be closed when
5388 (hildon_note_button_release):
5389 Close the note when tapping outside (if applicable)
5391 * src/hildon-app-menu.c
5392 Grab/ungrab pointer and keyboard on map/unmap
5393 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5394 Close the menu on button release, not button press
5396 * src/hildon-banner.c
5397 (hildon_banner_set_property)
5398 (hildon_banner_check_position):
5399 Make the banner use the full width of the screen
5400 (hildon_banner_show_information)
5401 (hildon_banner_show_information_with_markup):
5402 Don't display an icon by default
5404 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5406 Added fading scrollbars and adapted all the overshooting code to
5407 horizontal scrolling. We have also fixed bugs with overshooting
5408 and current fading implementation.
5410 * src/hildon-pannable-area.c
5411 (hildon_pannable_area_scroll_indicator_fade): Time out function
5412 used to change the transparency of the scrollbars.
5414 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5415 control and fixed a problem with fading, we now remove the fade
5416 timeout before adding a new one.
5418 (hildon_pannable_axis_scroll):
5419 (hildon_pannable_area_scroll):
5420 (hildon_pannable_area_timeout): Added this functions so we can use
5421 the scroll code both for vertical and horizontal.
5423 (hildon_pannable_area_motion_notify_cb):
5424 (hildon_pannable_area_button_release_cb): Added the horizontal
5425 scrolling control, fixed a problem with the overshooting timeout.
5427 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5428 painting of the scrolls.
5430 (hildon_pannable_draw_vscroll):
5431 (hildon_pannable_draw_hscroll):
5432 (hildon_pannable_area_expose_event):
5433 Draw both scrollbars and rectangles in the overshooting area.
5435 (hildon_pannable_area_get_property):
5436 (hildon_pannable_area_set_property):
5437 Modified the overshoot property to overshoot_max
5439 (hildon_pannable_area_map):
5440 Replaced the comments symbols.
5442 (hildon_pannable_area_size_allocate):
5443 (hildon_pannable_area_class_init):
5444 (hildon_pannable_area_init): Added horizontal scroll, fading
5445 effect properties, fixed a problem when overshooting in the bottom
5448 * examples/hildon-pannable-area-example.c:
5449 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5450 looks better in the example.
5452 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-window.c
5455 * src/hildon-window.h
5456 (hildon_window_class_init)
5457 (hildon_window_unset_program)
5458 (hildon_window_unset_program_real):
5459 Make unset_program a virtual function
5461 * src/hildon-stackable-window.c
5462 * src/hildon-stackable-window.h
5463 Added hildon_stackable_window_go_home()
5465 * examples/Makefile.am
5466 * examples/hildon-stackable-window-example.c
5467 HildonStackableWindow example
5469 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5471 * hildon-pannable-area.c: Added the overshoot property and removed
5472 the OVERSHOOT define. Fixed an indent style error.
5473 (hildon_pannable_area_motion_notify_cb):
5474 (hildon_pannable_area_get_property):
5475 (hildon_pannable_area_set_property): Add overshoot property.
5477 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5480 (hildon_pannable_area_class_init): Installed the new property.
5482 * hildon-pannable-area-example.c: Added a sawtooth function, this
5483 way it is easier to check the movement in the pannable.
5484 (get_sawtooth_label): Added this function.
5485 (main): Now we get the labels from the new get_sawtooth_label
5488 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5490 * src/hildon-app-menu.h
5491 * src/hildon-app-menu.c
5492 Renamed API variables for consistency
5494 (hildon_app_menu_popup): Use also the default window size to
5495 decide where to place the menu
5497 (hildon_app_menu_init, hildon_app_menu_class_init): New
5498 external-border style property
5500 2008-05-26 Michael Natterer <mitch@imendio.com>
5502 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5503 widget_class->tap_and_hold_setup signal slot doesn't exist any
5504 longer, stop overriding it.
5506 (hildon_time_editor_init): g_signal_connect() to the
5507 tap-and-hold-setup signal instead.
5509 (hildon_time_editor_entry_keypress): add cast to fix warning.
5511 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5513 * doc/hildon-docs.sgml
5515 * examples/Makefile.am
5516 * examples/hildon-app-menu-example.c
5518 * src/hildon-app-menu-private.h
5519 * src/hildon-app-menu.c
5520 * src/hildon-app-menu.h
5522 New HildonAppMenu widget
5524 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5526 Rearranged the inheritance of the pannable area, now it inherits
5527 from GtkBin. This will allow us to control the event_window and
5528 the allocation process of the widget, required for some effects.
5530 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5531 GtkBin structures. * src/hildon-pannable-area.c: Added the
5532 event_window variable.
5533 (hildon_pannable_area_button_press_cb):
5534 (hildon_pannable_area_button_release_cb):
5535 (hildon_pannable_area_motion_notify_cb):
5536 Changed the signature of the method, now we override the event
5537 callback instead of connecting to the signal.
5539 (hildon_pannable_area_realize):
5540 (hildon_pannable_area_unrealize):
5541 (hildon_pannable_area_map):
5542 (hildon_pannable_area_unmap):
5543 (hildon_pannable_area_size_allocate):
5544 Added functions to control the widget construction. We add a
5545 INPUT_ONLY window and we put it over the widgets inside the
5546 container, this event_window handles the events.
5548 (hildon_pannable_area_class_init):
5549 Replaced the signal connections with overrides of the event
5552 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5554 Bouncing effect added when touching the borders, you can change
5555 the elasticity of the border changing the ELASTICITY define.
5557 * src/hildon-pannable-area.c: Added ELASTICITY define.
5558 (hildon_pannable_area_timeout): Added inverse velocity when
5559 touching the border of the child widget, that causes a bounce.
5561 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5563 Improved performance, we now do not go to the X server in order to
5564 get the list of window children. Apparently the effect is the
5565 same, we have to be careful and check if this breaks something in
5568 * src/hildon-pannable-area.c:
5569 (get_ordered_children): Removed this function.
5570 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5571 the children windows function with gdk_window_get_children.
5573 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5575 * src/hildon-pannable-area.c:
5576 (hildon_pannable_area_dispose): Fixed a crash when closing the
5577 window and kinetics is activated.
5579 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5581 * src/hildon-pannable-area.h
5582 * src/hildon-pannable-area.c
5583 Changed indentation style to meet the one used in Hildon
5585 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5587 Reviewed the interaction of the AUTO mode, now we use the time
5588 attribute of the events and calculate the velocity in the motion,
5589 doing a gimp like calculation. The velocity is calculated in each
5590 motion event using the last velocity and the current one, the
5591 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5593 * src/hildon-pannable-area.c: Replaced the time based algorithm
5595 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5596 timeout for the AUTO mode when we are still moving the cursor. We
5597 added also the velocity calculation in this function.
5598 (hildon_pannable_area_button_release_cb): launch the timeout in
5599 case we are in AUTO mode. There are still some constants here that
5600 come from the old implementation that should be reviewed and
5603 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5605 * doc/hildon-docs.sgml
5608 * src/hildon-stackable-window.c
5609 * src/hildon-stackable-window.h
5611 New HildonStackableWindow widget
5613 * examples/hildon-dialog-example.c
5614 * examples/hildon-pannable-area-example.c
5617 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5619 * src/hildon-dialog.c
5620 (hildon_dialog_new_with_buttons): New constructor.
5622 * examples/hildon-dialog-example.c
5623 (main): Update the example to use the new
5624 hildon_dialog_new_with_buttons().
5626 * examples/hildon-pannable-area-example.c
5627 (main): Update example.
5629 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5631 * doc/hildon-docs.sgml
5633 Added HildonPannableArea to the documentation.
5635 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5637 * doc/visual_index.xml
5638 Fix reference to HildonLoginDialog in documentation
5640 * doc/hildon-docs.sgml
5642 * examples/Makefile.am
5643 * examples/hildon-dialog-example.c
5645 * src/hildon-dialog.c
5646 * src/hildon-dialog.h
5648 New HildonDialog widget.
5650 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5652 * src/hildon-pannable-area.c
5653 Merge latest changes (r4318, r4342) from libmokoui trunk
5655 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5657 * examples/Makefile.am
5658 * examples/hildon-pannable-area-example.c
5660 * src/hildon-pannable-area.c
5661 * src/hildon-pannable-area.h
5663 New HildonPannableArea widget.
5665 2008-04-15 18:05:19 <timj@imendio.com>
5667 * src/hildon-banner.c: revert the recent change, that introduced
5668 gtk_window_present() calls. this reopens:
5669 Bug 78481 - [freetest] information banners are hidden under browser menu
5670 But resolves another variant of:
5671 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5673 2008-04-15 13:21:13 <timj@imendio.com>
5675 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5676 recreated its layout, spotted by Kris. this fixes all remaining
5677 artefacts and stability issues with the banner code. in particular:
5678 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5680 2008-04-14 16:52:59 <timj@imendio.com>
5682 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5683 operating on unrealized widgets, fixes:
5684 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5686 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5688 2008-04-09 Kristian Rietveld <kris@imendio.com>
5690 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5691 makes banner disappear.
5692 Fixes: NB#79182: info banner flickering with certain message lengts.
5694 * src/hildon-banner.c (hildon_banner_constructor),
5695 (hildon_banner_init), (hildon_banner_set_text),
5696 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5697 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5698 FALSE, reset size requests of label and banner,
5699 (force_to_wrap_truncated): when the text is too wide, always enforce
5700 the maximum possible width instead of recalculating it from the
5701 layout; enforce the maximum banner height of 3 lines,
5702 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5703 nicer wrapping and no truncated chars if space gets tight.
5705 * src/hildon-banner-private.h: add has_been_wrapped and
5706 has_been_truncated fields.
5708 2008-04-07 Sven Herzberg <sven@imendio.com>
5710 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5711 local values in hildon_date_editor_size_allocate
5713 * src/hildon-date-editor.c: moved the real allocation code into the
5716 2008-04-07 Sven Herzberg <sven@imendio.com>
5718 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5719 local values in hildon_date_editor_size_allocate
5721 * src/hildon-date-editor.c: merged the two if() branches together
5723 2008-04-07 Sven Herzberg <sven@imendio.com>
5725 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5726 local values in hildon_date_editor_size_allocate
5728 * src/hildon-date-editor.c: changed the arguments of the if()
5731 2008-04-07 Sven Herzberg <sven@imendio.com>
5733 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5734 local values in hildon_date_editor_size_allocate
5736 * src/hildon-date-editor.c: split the calculation of the allocation
5737 from the real allocation
5739 2008-03-27 Michael Natterer <mitch@imendio.com>
5741 Fixes: NB#81696: The passcode is not overwritten even after
5744 * src/hildon-code-dialog.c
5745 (hildon_code_dialog_button_clicked)
5746 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5747 because that doesn't overwrite selected text. Instead, emit the
5748 "commit" signal on the entry's im_context so the entry's normal
5749 insert logic is triggered. Set the cursor to the end of the entry
5750 after each insert operation so that we *only* insert in the middle
5751 of the text if something was selected.
5753 2008-03-27 Michael Natterer <mitch@imendio.com>
5755 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5756 selector cannot be opened
5758 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5759 when the popup color selector is created. Please connect to this
5760 signal in order to set the dialog's help ID.
5762 2008-03-25 Sven Herzberg <sven@imendio.com>
5764 Fixes: MB#1212: Hide info banners (infoprints) on click
5766 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5767 extracted the close event simulation into an extra function
5768 (hildon_banner_button_press_event): simulate a close event and destroy
5769 the widget if the event wasn't handled
5770 (hildon_banner_class_init): added the button_press_event handler
5771 (hildon_banner_init): added button-press events to the widget
5773 2008-03-25 Sven Herzberg <sven@imendio.com>
5775 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5776 Patch from: Mohammad Anwari <mdamt@maemo.org>
5778 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5779 instead of the right in RTL mode
5780 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5781 breadcrumb button list in RTL mode
5782 * src/hildon-caption.c: mirror the appearance of the caption widget in
5784 * src/hildon-date-editor.c: mirror appearance of the date editor in
5786 * src/hildon-time-editor.c: mirror appearance of the time editor in
5788 * src/hildon-window.c: fix the position of the popup in RTL mode
5790 2008-03-25 Sven Herzberg <sven@imendio.com>
5792 Amendment to the fix of NB#22072. Fix compilation.
5794 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5796 2008-03-19 Sven Herzberg <sven@imendio.com>
5798 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5801 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5802 timeout id properly when the timeout will disappear this leaves no
5803 artifacts around in the destroy(); there will only be the timeout
5804 created by hildon_banner_ensure_timeout() and adding a new timeout
5805 will also work if the timeout gets removed because the timeout_handler
5808 2008-03-19 Michael Natterer <mitch@imendio.com>
5810 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5812 * src/hildon-volumebar.c
5813 * src/hildon-vvolumebar.c
5814 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5815 the widget becomes focussable at all.
5817 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5818 set the focus to wither the mute button or the volumebar.
5820 Remove own "can-focus" property and instead listen to
5821 notify::can-focus in order to update the widget's state.
5823 Implement GtkWidget::focus() and make sure we can also *leave* the
5824 widget, not only enter it, depending on volumebar orientation and
5825 requested focus direction.
5827 Clean up set_mute() to cooperate nicely with all the above.
5829 2008-03-04 Michael Natterer <mitch@imendio.com>
5831 Fixes: NB#78481: information banners are hidden under browser menu
5833 * src/hildon-banner.c: call gtk_window_present() on the banners so
5834 they are risen if they are already visible.
5836 2008-03-03 Sven Herzberg <sven@imendio.com>
5838 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5840 * examples/hildon-window-menu-example.c: (main): extended the window
5841 menu example to serve as a testcase for automatically added
5842 accelerator groups, too
5843 * src/hildon-window.c: (hildon_window_add_accel_group),
5844 (hildon_window_set_menu): added patch by Tommi Komulainen
5846 2008-03-03 Sven Herzberg <sven@imendio.com>
5848 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5850 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5851 knowledge about the border allocators used within GTK+
5853 2008-02-26 Sven Herzberg <sven@imendio.com>
5855 Fixes: MB#2981: Build with asserts broken
5857 * src/hildon-date-editor.c,
5858 * src/hildon-number-editor.c,
5859 * src/hildon-time-editor.c,
5860 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5861 the proper GType instance check
5863 2008-02-25 Sven Herzberg <sven@imendio.com>
5865 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5867 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5868 * examples/hildon-window-menu-example.c: (main): explicitly show
5870 * src/hildon-window.c:
5871 (hildon_window_set_main_menu): moved most of the code from set_menu()
5872 to this place; skipped the call to gtk_widget_show_all(); also didn't
5873 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5874 (hildon_window_set_menu): removed most of the code, just keep the
5875 questionable gtk_widget_show_all()
5876 * src/hildon-window.h: added the new function and deprecate the old
5879 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5885 * debian/changelog: Updating.
5887 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5890 * pkgconfig/Makefile.am:
5891 * pkgconfig/hildon.pc.in:
5894 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5895 use newly created API_MAJOR_VERSION.
5897 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5903 * debian/changelog: Updating.
5905 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5907 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5909 Add outer_border style property, we use it but don't define it (!).
5913 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5915 * examples/hildon-bread-crumb-trail-example.c (main):
5919 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5921 Fix logic for the bread crumb trail node removal.
5925 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5931 * debian/changelog: Updating.
5933 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5935 Patch by Alejandro to get/set passwords dialogs accesibility.
5937 * hildon-1/src/hildon-get-password-dialog.c:
5938 * hildon-1/src/hildon-set-password-dialog.c:
5939 Set atk_set_name to the passwd entries in order to allow
5940 accessibility by name on this entries.
5942 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5947 * debian/control: Updating gtk dep.
5949 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5951 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5952 USE_MAEMO_GTK is enabled.
5954 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5956 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5957 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5959 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5965 * debian/changelog: Updating.
5967 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5969 * examples/Makefile.am:
5970 * examples/hildon-logical-color-example.c:
5971 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5972 applied + adding a test case. Fixes: NB#71660.
5974 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5976 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5977 to be visible, fixes warning on map for windows without toolbars.
5979 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5981 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5982 2.11.0, add a check for that besides the MAEMO_GTK check.
5984 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5990 * debian/changelog: Updating.
5992 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5994 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5995 visibility. Fixes: NB#70842 and MB#615.
5997 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5999 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6000 set the separator as no-show-all so it doesn't unintentionally appear when
6001 someone does a show_all.
6003 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6005 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6006 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6007 toplevel item. Fixes: NB#62031
6009 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6011 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6012 fix the name of the function in the docs.
6014 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6020 * debian/changelog: Updating.
6022 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6024 * examples/hildon-banner-long-example.c: Adding a test-case for long
6027 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6029 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6031 * src/hildon-color-chooser-dialog.c:
6032 * src/hildon-color-chooser.c:
6033 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6034 memory leaks in font selector and color selector. Fixes: NB#70499 and
6037 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6039 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6041 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6043 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6044 little bit bigger. Fixes: #NB63694.
6046 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6052 * debian/changelog: Updating.
6054 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6057 * doc/hildon-docs.sgml:
6058 * doc/images/bread-crumb-trail.png:
6059 * doc/images/calendar-popup.png:
6060 * doc/images/caption.png:
6061 * doc/images/code-dialog.png:
6062 * doc/images/color-button.png:
6063 * doc/images/color-chooser-dialog.png:
6064 * doc/images/color-chooser.png:
6065 * doc/images/controlbar.png:
6066 * doc/images/date-editor.png:
6067 * doc/images/font-selection-dialog.png:
6068 * doc/images/get-password-dialog.png:
6069 * doc/images/hvolumebar.png:
6070 * doc/images/login-dialog.png:
6071 * doc/images/note.png:
6072 * doc/images/number-editor.png:
6073 * doc/images/range-editor.png:
6074 * doc/images/seekbar.png:
6075 * doc/images/set-password-dialog.png:
6076 * doc/images/sort-dialog.png:
6077 * doc/images/time-editor.png:
6078 * doc/images/time-picker.png:
6079 * doc/images/vvolumebar.png:
6080 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6081 Adding the bread-crumb-trial and helpers to the documentation.
6083 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6085 * examples/hildon-find-toolbar-example.c:
6086 * src/hildon-find-toolbar.c:
6087 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6088 actually continue firing the other handlers if connected. Adding a new
6090 hildon_find_toolbar_get_last_index that gets the index of the most
6091 recently added (last) item. Fixes: NB#52301.
6093 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6095 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6096 behaviour. Fixes: NB#68610.
6098 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6100 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6103 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6105 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6106 when realizing the banner. Should make the infonbanner effect a bit more
6109 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6111 * src/hildon-volumebar.c:
6112 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6113 hildon_volumebar_set_range_insensitive_message and
6114 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6116 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6118 * src/hildon-window.c: Fixing the border freeing on destroy.
6120 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6122 * src/hildon-code-dialog-private.h:
6123 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6124 kw keyboard support in HildonCodeDialog.
6126 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6132 * debian/changelog: Updating.
6134 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6136 * src/hildon-date-editor.c:
6137 * src/hildon-number-editor.c:
6138 * src/hildon-private.c:
6139 * src/hildon-private.h:
6140 * src/hildon-time-editor.c:
6141 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6142 handling in subclassed composite widgets. Fixes: NB#66628.
6144 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6146 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6147 from destroy_ callback as it introduces problems in async dbus signal
6148 handlers. Fixes NB#66673.
6150 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6152 * examples/hildon-hvolumebar-example.c:
6153 * src/hildon-volumebar.c: Improving the focus handling in the
6154 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6155 set_property accessor so that "mute" property can be actually set. I'm
6156 scared that nobody noticed it's totally broken.
6158 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6160 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6163 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6165 * src/hildon-calendar.c:
6166 * src/hildon-number-editor.c:
6167 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6168 matches the spec of 6 chars per second. Fixes: NB#60489.
6170 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6172 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6173 gtk_style_lookup_color sometime returns FALSE even though color was
6174 found and values were filled properly. Weird. Removing the warning for the
6177 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6179 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6180 expand vertically. Adding some extra space to the find toolbar buttons to
6181 make them thumbable. Fixes NB#66060.
6183 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6185 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6186 popup with "Ok" and "Cancel". Fixes NB#59299.
6188 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6190 * src/hildon-calendar.c: Process all window updates before executing next
6191 timeout. Fixes: NB#54146.
6193 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6199 * debian/changelog: Updating.
6201 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6203 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6204 the client event and ignore it, since we use the delete event to close
6207 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6209 * src/hildon-helper.c: Remove the bogus warning about color not being
6210 found. Fixes NB#58352.
6212 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6214 * examples/Makefile.am:
6215 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6216 HildonSeekbar widget inside a toolbar.
6218 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6220 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6221 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6222 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6223 don't want to be closed by non-temporary windows on map.
6225 Also use G_DEFINE_TYPE instead of manually typed code.
6227 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6234 * debian/rules: Updating.
6236 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6238 * examples/Makefile.am:
6239 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6240 bug NB#61128. Strangely it works.
6242 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6244 * src/hildon-date-editor.c: When the date editor entry has been changed
6245 but the numbers of characters < max, turn off the skip validation flag.
6246 Prevents a situation when we enter first a valid year and later re-write
6247 it with an invalid one. Fixes NB#60154.
6249 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6251 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6252 code dialog. Fixes NB#64355.
6254 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6256 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6257 switching the page. Fixes NB#49374.
6259 * examples/Makefile.am:
6260 * examples/hildon-wizard-dialog-example.c: Adding an example for
6261 HildonWizardDialog that shows how to handle manual sensitivity setting on
6264 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6268 * src/hildon-version.h.in:
6269 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6271 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6273 * src/hildon-volumebar.c: Updating the docs.
6275 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6281 * debian/changelog: Updating.
6283 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6285 * src/hildon-find-toolbar.c:
6286 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6287 selected item: hildon_find_toolbar_set_active,
6288 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6289 hildon_find_toolbar_get_active_iter . They correspond to respective
6290 GtkComboBox functions.
6292 * examples/Makefile.am:
6293 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6296 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6298 * examples/Makefile.am:
6299 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6302 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6303 when font size > 32 and we pack a focusable widget inside. Actually using
6304 the default response would work too, but since we don't show default
6305 response state in any way (no theming) it would not be visible to the
6306 user. Fixes NB#63430.
6308 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6310 * src/hildon-date-editor.c: Adding the missing variable setter in the
6311 set_property handler. Fixes NB#54182.
6313 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6315 * src/hildon-window.h: Changing the long key press time from 1500ms to
6316 800ms as requested in NB#63700. I have a bad feeling about this, let's
6317 see... Fixes NB#63700.
6319 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6321 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6322 hildon_time_picker_map, hildon_time_picker_realize,
6323 hildon_time_picker_style_set): Split the contents of map to more
6324 appropriate functions; set window decorations on realize and update
6325 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6327 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6332 * debian/changelog: Updating.
6334 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6336 * src/Makefile.am: fixed installation of the header files
6338 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6344 * debian/changelog: Updating.
6346 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6348 * configure.ac: Removing some remaining of --enable-xan.
6350 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6352 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6353 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6355 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6356 2.10.12-osso6 because the move-focus signal needs to be available in
6359 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6361 * examples/Makefile.am:
6362 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6363 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6364 fine. Prolly NB#61128 is fixed now.
6366 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6368 * src/hildon-volumebar.c:
6369 * src/hildon-volumebar.h: Adding the
6370 hildon_volumebar_set_range_insensitive_message and
6371 hildon_volumebar_set_range_insensitive_messagef functions to set
6372 insensitive message on the slider of the volumebar. Fixes NB#61129.
6374 * examples/Makefile.am:
6375 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6376 test the new insensitive messsage functionality on HildonVolumebar.
6378 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6380 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6383 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6385 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6386 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6387 button on after clearing the trail.
6389 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6391 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6393 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6395 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6396 by splitting the installed headers in generated and non-generated groups. Use
6397 only the non-generated headers to create the hildon-enum-types.h file.
6399 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6401 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6403 * src/hildon-window.c: Hide the window before performing the destroy.
6404 Should make the app closing a little tiny bit more snappy.
6406 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6408 * src/hildon-seekbar.c: add gtkrange.h header
6409 * src/hildon-caption.c: remove unused variable
6411 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6413 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6416 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6422 * debian/changelog: Updating.
6424 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6426 * src/hildon-window.c (hildon_window_window_state_event,
6427 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6428 escape timeout on focus-out-event rather than notify::is-topmost; the
6429 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6431 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6433 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6434 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6436 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6438 * src/hildon-window: actually, you need to use the macro always, there's
6439 no private pointer in the instance structure. We should have cleaned this up
6440 when we had the chance...
6442 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6444 * src/hildon-window.c: do not get the private date from HildonWindow before
6445 it passes the g_return_if_fail check. Once it's passed the test, there's no
6446 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6447 if you are only going to access the data once. Whitespace cleanups.
6449 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6451 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6452 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6454 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6460 * debian/changelog: Updating.
6462 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6464 * src/hildon-window.c: When destroying the window, remove (if exists) the
6465 escape timeout handler. Fixes #NB59276.
6467 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6469 * src/hildon-banner.c: When realizing the widget, set the window
6470 transiency. Setting the transiency in the gobject constructor is not
6471 good, as the widget is not realized at that point. Fixes: #NB56624.
6473 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6475 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6476 Add padding for future expansions.
6478 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6480 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6481 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6482 will fake an activation on the previous to the last item of the trail, so
6483 the effect can be overrided by the developer as usual.
6484 Also change the callback for the back button to do the same thing, so its
6485 effect can be overrided too. Fixes: NB#58982
6487 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6489 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6490 HildonCaption. Fixes NB#52379.
6492 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6494 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6495 the internal state of the trail after the user has had the chance of executing
6496 his handler for the signal. Specifically, it may happen that the activated button
6497 is removed and the user still lets the default handler run. This would segfault
6500 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6502 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6503 scrollbar to the preview dialog. Fixes NB#54147.
6505 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6507 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6508 max/min year properties can be altered, so the client can modify it
6509 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6511 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6513 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6514 hildonlike by default. Fixing a problem with disappearing arrows when
6515 scrolling through months and years. Fixes NB#54127.
6517 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6519 * examples/hildon-date-editor-example.c: Adding error callback to the date
6522 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6528 * configure.ac: Updating.
6530 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6532 * configure.ac: Adding a special '--enable-xan' configure option that
6533 turns off the -Werror compilation setting. Usefull for development.
6535 * src/hildon-calendar.c:
6536 * src/hildon-number-editor.c:
6537 * src/hildon-time-picker.c: Adding the 5* multiplier to
6540 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6542 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6543 instead of g_object_ref + gtk_object_sink.
6545 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6551 * debian/changelog: Updating.
6553 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6555 * src/hildon-color-chooser-dialog.c:
6556 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6557 straight from Tommi labs.
6559 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6561 * examples/hildon-finger-example.c: Correcting the header file path.
6563 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6564 the changed signal. Fixes a small memory leak.
6566 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6570 * src/hildon-banner.c: Importing several usefull fixes from the
6571 ubuntu-mobile branch.
6573 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6575 * examples/Makefile.am:
6576 * examples/hildon-finger-example.c: Adding a finger-checking code
6579 * src/hildon-font-selection-dialog.c: Do not allocate the color
6580 structure using the g_new. Fixes NB#54061.
6582 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6584 * src/hildon-helper.c: Correcting tabs in file.
6586 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6588 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6589 control the visibility of the children.
6591 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6593 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6599 * debian/changelog: Updating.
6601 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6603 * src/hildon-bread-crumb-trail.c:
6604 (hildon_bread_crumb_trail_size_allocate):
6606 Make the back button always a square.
6608 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6610 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6611 from the .c file as it's a private file.
6613 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6615 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6616 uses slightly bigger height.
6618 * src/hildon-font-selection-dialog.c: Adding some checks before
6619 freeing memory in the font selection dialog.
6621 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6623 * src/hildon-font-selection-dialog.c: Adding a small check when
6626 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6627 buttons sensitivity on page switching.
6629 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6631 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6632 internal details of adding a bread crumb to the trail.
6634 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6640 * debian/changelog: Updating.
6642 * src/hildon-bread-crumb-trail.h:
6643 * src/hildon-bread-crumb.h: Changing the API guard to
6644 HILDON_ENABLE_UNSTABLE_API.
6646 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6654 * src/hildon-helper.h: Updating.
6656 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6664 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6668 * src/hildon-helper.h: Small fix to make the package actually compile.
6670 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6672 * src/hildon-bread-crumb-trail.h:
6673 * src/hildon-bread-crumb.h:
6675 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6676 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6678 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6680 * examples/hildon-bread-crumb-trail-example.c:
6682 * src/hildon-bread-crumb-trail.c:
6683 * src/hildon-bread-crumb-trail.h:
6684 * src/hildon-bread-crumb.c:
6685 * src/hildon-bread-crumb.h:
6686 * src/hildon-marshalers.list:
6687 * src/hildon-bread-crumb-widget.c:
6688 * src/hildon-bread-crumb-widget.h:
6690 Slight change in the widget design. The bread crumb trail API is
6691 unchanged, but HildonBreadCrumb is now an interface. A *private*
6692 implementation, hildon-bread-crumb-widget, is provided and used
6693 internally by the trail for the push_text/push_icon functions.
6695 The generic push API is still available, so anyone can implement
6696 and use its own bread crumb widget.
6698 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6700 * debian/rules: Fixing the shlibs.
6702 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6704 * src/hildon-banner.c: Fixing a problem with timed banners having
6705 their parrent destroyed before they are.
6707 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6709 * src/hildon-bread-crumb.c:
6710 * src/hildon-bread-crumb.h:
6712 Make the get_natural_size function a vfunc.
6714 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6716 * src/hildon-bread-crumb.c:
6717 * src/hildon-bread-crumb-trail.c:
6721 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6728 * debian/changelog: Updating for release.
6730 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6732 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6733 don't leak the pango layout.
6735 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6738 * examples/hildon-bread-crumb-trail-example.c:
6742 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6744 * debian/changelog: Removing the bug-fixed entries that were actually
6745 resolved as WONTFIX.
6747 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6750 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6752 * src/hildon-bread-crumb-trail.c:
6753 * src/hildon-bread-crumb-trail.h:
6754 * src/hildon-bread-crumb.c:
6755 * src/hildon-bread-crumb.h:
6759 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6761 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6762 until it's passed the type check.
6764 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6766 * examples/hildon-bread-crumb-trail-example.c
6770 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6772 * examples/Makefile.am
6773 * examples/hildon-bread-crumb-trail-example.c
6775 * src/hildon-bread-crumb-trail.c
6776 * src/hildon-bread-crumb-trail.h
6777 * src/hildon-bread-crumb.c
6778 * src/hildon-bread-crumb.h
6780 New HildonBreadCrumbTrail widget.
6782 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6784 * src/hildon-range-editor.c (hildon_range_editor_init),
6785 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6786 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6787 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6788 hildon_time_editor_class_init, hildon_time_editor_init),
6789 src/hildon-get-password-dialog.c (invalid_input,
6790 hildon_get_password_set_property, hildon_get_password_get_property,
6791 create_contents, hildon_get_password_dialog_set_max_characters),
6792 src/hildon-set-password-dialog.c (create_contents),
6793 src/hildon-date-editor.c (hildon_date_editor_init),
6794 src/hildon-login-dialog.c (hildon_login_dialog_init),
6795 src/hildon-number-editor.c (hildon_number_editor_init),
6796 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6797 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6798 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6799 configure option and adding the respective checks in the code.
6800 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6801 hildon_calendar_drag_data_received): fixed some build warnings.
6803 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6805 * debian/changelog: A 1.0.0 release notes.