1 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3 * doc/hildon-sections.txt
4 * src/hildon-app-menu.h
5 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
6 (+hildon_app_menu_get_filters): New methods to get the contents of
9 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
12 2009-03-02 Alberto Garcia <agarcia@igalia.com>
14 * src/hildon-app-menu.c (hildon_app_menu_popup):
17 2009-03-02 Alberto Garcia <agarcia@igalia.com>
20 * src/hildon-window.c (+hildon_window_get_main_menu)
21 (hildon_window_get_menu): Created hildon_window_get_main_menu()
22 and deprecated hildon_window_get_menu().
24 * src/hildon-stackable-window.h
25 * src/hildon-stackable-window.c
26 (+hildon_stackable_window_set_app_menu)
27 (+hildon_stackable_window_get_app_menu)
28 (hildon_stackable_window_set_main_menu): Created
29 hildon_stackable_window_{get,set}_app_menu() and deprecated
30 hildon_stackable_window_set_main_menu().
32 * doc/hildon-sections.txt
33 * examples/hildon-app-menu-example.c (main)
34 * src/hildon-app-menu.c
35 * src/hildon-program.c:
36 Updated examples and documentation.
38 Fixes: NB#103758 (No way to obtain a menu from a
39 HildonStackableWindow)
41 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
46 * configure.ac: Bump version.
47 * debian/changelog: Updates.
49 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
51 * examples/hildon-remote-texture-example.c: Include
52 hildon-remote-texture.h explicitely.
53 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
54 applications not defining _XOPEN_SOURCE which don't require this header.
56 2009-02-27 Alberto Garcia <agarcia@igalia.com>
58 * doc/hildon-sections.txt
59 * src/hildon-app-menu.h
60 * src/hildon-app-menu.c (+hildon_app_menu_popup):
61 New function to pop up a HildonAppMenu
63 * src/hildon-stackable-window.c
64 (hildon_stackable_window_toggle_menu):
65 Use hildon_app_menu_popup() to show the menu.
67 2009-02-27 Alberto Garcia <agarcia@igalia.com>
69 * src/hildon-app-menu.c (hildon_app_menu_show)
70 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
71 menu if there's another window between it and its parent window.
73 Fixes: NB#100468 (Application menu window is launched even when a
74 new secondary-window/dialog is pending to be shown/realized)
76 2009-02-27 Alberto Garcia <agarcia@igalia.com>
78 * src/hildon-window-stack.c (hildon_window_stack_push)
79 (hildon_window_stack_pop_and_push):
80 Don't forget to push/pop the first window.
81 Reverse the window list before calling _push_list()
83 2009-02-27 Alberto Garcia <agarcia@igalia.com>
85 * src/hildon-picker-button.h
86 * src/hildon-picker-button.c (hildon_picker_button_class_init):
87 Remove "value_changed" slot to avoid ABI breakage
89 2009-02-26 Alejandro G. Castro <alex@igalia.com>
91 * src/hildon-pannable-area.c,
92 (hildon_pannable_area_realize),
93 (hildon_pannable_area_unrealize),
94 (hildon_pannable_draw_vscroll),
95 (hildon_pannable_draw_hscroll): Changed the method to handle the
96 GC used to draw the transparent scrollbar, this way we avoid
97 creating the GC all the time when drawing the scrollbars.
99 2009-02-26 Alejandro G. Castro <alex@igalia.com>
101 * src/hildon-pannable-area.c,
102 (hildon_pannable_area_init),
103 (hildon_pannable_area_remove): Removed some unnecessary casts.
104 (hildon_pannable_area_dispose): Disconnected some signals before
105 releasing the adjustments.
107 2009-02-26 Alberto Garcia <agarcia@igalia.com>
109 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
110 Make sure that all widgets contained in the toolbar are shown.
112 2009-02-25 Alberto Garcia <agarcia@igalia.com>
114 * doc/hildon-sections.txt
115 * src/hildon-picker-button.h
116 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
117 (_selection_changed, hildon_picker_button_on_dialog_response)
118 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
119 New hildon_picker_button_value_changed() method.
122 * src/hildon-picker-button-private.h
123 * src/hildon-picker-button.c (hildon_picker_button_init)
124 (+hildon_picker_button_disable_value_changed): Add protected
125 function for disabling the "value-changed" signal.
127 * src/hildon-date-button.c (hildon_date_button_set_date):
128 Don't emit "value-changed" for each one of the three columns.
130 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
131 before actual change of values)
133 2009-02-24 Alejandro G. Castro <alex@igalia.com>
135 * src/hildon-pannable-area.c,
136 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
137 for the treeview overshooting.
139 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
141 * src/hildon-banner.c (+hildon_banner_bind_style):
142 Renamed from hildon_banner_bind_label_style(), now naming the
143 banner itself as well.
144 (hildon_banner_show_information),
145 (hildon_banner_show_information_with_markup),
146 (hildon_banner_show_animation), (hildon_banner_show_progress):
147 Name the widgets and labels, based on their type.
149 See NB#98597 (Hildon Note and Hildon Banner should use themeable
152 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
154 * src/hildon-note.c (hildon_note_set_property): call
155 hildon_note_rename() on HildonNote:note-type set.
156 (hildon_note_rename): Name the note and its label, based on the
157 HildonNote:note-type property.
159 See NB#98597 (Hildon Note and Hildon Banner should use themeable
162 2009-02-24 Alejandro G. Castro <alex@igalia.com>
164 * src/hildon-pannable-area.c,
165 (hildon_pannable_area_class_init),
166 (hildon_pannable_area_motion_notify_cb): Reviewed the default
167 panning parameters, increased SPS and deceleration factor. Added
168 also a margin to control fake directions.
170 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
172 Patch by Sven Herzberg (sven@imendio.com)
174 * configure.ac: Add missing AM_PROG_CC_C_0
175 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
177 See NB#101420 (Update unit tests and fix make check)
179 2009-02-23 Alejandro G. Castro <alex@igalia.com>
181 This patch was applied before but reverted because it caused
182 problems, we have changed the main condition and tested the
183 regressions we detected before and they work ok. We have done a
184 complete review of the topmost algorithm in order to get a more
187 * src/hildon-pannable-area.c,
188 (hildon_pannable_area_get_topmost): Added a new parameter to
189 filter the the windows that do not include those events.
190 (hildon_pannable_area_button_press_cb),
191 (hildon_pannable_area_button_release_cb),
192 (hildon_pannable_get_child_widget_at): Reviewed the call the the
193 topmost function, we have added the new parameter.
195 Fixes: NB#97458 (Pannable area prevents propagation of button
198 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
200 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
201 if all columns in the selector have an item selected.
202 (_on_dialog_response): Stop "response" signal emission if there is
203 any selector column without selected items.
205 Fixes: NB#101889 (Picker dialog should not close when nothing is
206 selected in multiple selection list)
208 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
210 * src/hildon-font-selection-dialog.c
211 (hildon_font_selection_dialog_class_init),
212 (hildon_font_selection_dialog_init): Remove the preview
213 button and dialog, since previewing with default theming is likely
214 to be overcomplicated. The :preview property has now no effect.
215 Update documentation blurbs to inform about this.
217 Fixes: NB#92297 (Preview content is not clearly visible for
220 2009-02-20 Alejandro G. Castro <alex@igalia.com>
222 Reviewed the geometry that handles the children size and
223 scrollbar, now it tries a size and reviews the results depending
224 on the scrollbars visibility.
226 * src/hildon-pannable-area.c,
227 (hildon_pannable_area_realize): Fixed a typo.
228 (hildon_pannable_area_child_allocate_calculate): Added this
229 function to calculate the child allocation.
230 (hildon_pannable_area_size_allocate): Reviewed the allocation
232 (hildon_pannable_area_check_scrollbars),
233 (hildon_pannable_area_refresh): Refactored refresh function, this
234 way we can call the code handling the scrollbars without causing a
235 size_request, it is interesting in the allocate.
236 (hildon_pannable_area_init): Replace the callbacks of the
237 value_changed and changed signals to propertly deal with the
239 (hildon_pannable_area_grab_notify),
240 (hildon_pannable_area_initial_effect),
241 (hildon_pannable_area_launch_fade_timeout),
242 (hildon_pannable_area_adjust_changed),
243 (hildon_pannable_area_adjust_value_changed),
244 (hildon_pannable_area_redraw),
245 (hildon_pannable_area_button_press_cb),
246 (hildon_pannable_area_button_release_cb),
247 (hildon_pannable_area_scroll_cb),
248 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
249 code and use the new functions adjust_changed and
250 adjust_value_changed.
252 Fixes: NB#101603 (Focus is not even for the text entry boxes in
253 Contact editor dialog)
255 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: Bump version.
261 * debian/changelog: Updates.
263 2009-02-20 Alejandro G. Castro <alex@igalia.com>
265 * src/hildon-pannable-area.c,
266 (hildon_pannable_area_get_topmost),
267 (hildon_pannable_area_button_press_cb),
268 (hildon_pannable_area_button_release_cb),
269 (hildon_pannable_get_child_widget_at): Reverted the patch for the
270 topmost function adding the event mask. We have to try a
271 differente approach because it is still causing problems (NB#9745,
274 2009-02-19 Alberto Garcia <agarcia@igalia.com>
276 * src/hildon-banner.c:
277 Update the maximum width of timed banners.
278 (force_to_wrap_truncated): Enforce the maximum text width if the
281 Fixes: NB#102413 (The text margins (wrapping) in information
282 banner should be HILDON_MARGIN_TRIPLE)
284 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
286 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
288 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
289 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
290 bound when calculating the scroll indicator position.
292 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
293 treat ->lower correctly)
295 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
297 * src/hildon-caption.c (hildon_caption_class_init): Remove the
298 expose event handling, since it is not necessary to draw the focus
301 Fixes: NB#102467 (Do not show highlight on the text in
304 2009-02-18 Alberto Garcia <agarcia@igalia.com>
306 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
307 full height of the toolbar for the button and the label.
309 2009-02-18 Alberto Garcia <agarcia@igalia.com>
311 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
312 padding before the label and after the button.
314 2009-02-18 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
318 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
319 Add a GtkVSeparator between the button and the back arrow.
320 Let the button have automatic size.
321 Set a name to the widget for theming handling.
323 Fixes: NB#101793 (Make edit toolbar the same height as window
324 title bar (use title area theming))
326 2009-02-18 Alberto Garcia <agarcia@igalia.com>
328 * src/hildon-helper.c (attach_new_color_element): Fix memory
331 Fixes: NB#102262 (memory leak in hildon_button_set_style())
333 2009-02-18 Alberto Garcia <agarcia@igalia.com>
335 * examples/hildon-button-example.c (common_buttons_window): Don't
338 2009-02-18 Alberto Garcia <agarcia@igalia.com>
340 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
341 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
343 2009-02-18 Alberto Garcia <agarcia@igalia.com>
345 * src/hildon-gtk.c: Check that the window is realized.
347 Fixes: NB#102225 (Crash setting the progress indicator to a non
350 2009-02-17 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
353 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
354 instead of modifying the one in the widget style.
356 Fixes: NB#101043 (Second row of all the command button are
357 displayed in transparent mode.)
359 2009-02-17 Alberto Garcia <agarcia@igalia.com>
361 * src/hildon-date-button.c
362 * src/hildon-time-button.c: Add gettext macros
364 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
366 * src/hildon-date-button.c (hildon_date_button_new):
367 * src/hildon-time-button.c (hildon_time_button_new_step):
368 Use new logical strings to set the button default title.
370 Fixes: NB#99915 (Date and Time options are not localised in Date
373 2009-02-16 Alejandro G. Castro <alex@igalia.com>
375 * src/hildon-pannable-area.c
376 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
377 the PANNING_THRESHOLD.
379 2009-02-16 Alejandro G. Castro <alex@igalia.com>
381 * src/hildon-pannable-area.c,
382 (hildon_pannable_area_class_init): Increased the maximum speed.
383 (hildon_pannable_area_get_property),
384 (hildon_pannable_area_set_property),
385 (hildon_pannable_area_timeout): Added a new low friction mode, it
386 allows the user avoid friction when launching the widget fast
387 enough. It is interesting to traverse long lists.
389 2009-02-16 Alberto Garcia <agarcia@igalia.com>
391 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
392 (+hildon_stackable_window_delete_event): Ignore delete events if
393 the window is not the topmost one.
395 Fixes: NB#101698 (Back button long press and delete-event handling)
397 2009-02-16 Alejandro G. Castro <alex@igalia.com>
399 * src/hildon-pannable-area.c,
400 (hildon_pannable_area_motion_notify_cb): Removed the use of the
401 gtk-dnd-drag-threshold, it was too big. We have defined our own
402 dnd define and set a smaller value: PANNIG_THRESHOLD.
404 2009-02-16 Alberto Garcia <agarcia@igalia.com>
406 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
407 user-defined icons, use always the default one.
409 Fixes: NB#101916 (Do not allow custom icons on animation banner)
411 2009-02-13 Alejandro G. Castro <alex@igalia.com>
413 This patch was applied before but reverted because it caused
414 problems, we have changed the main condition and tested the
415 regressions we detected before and they work ok.
417 * src/hildon-pannable-area.c,
418 (hildon_pannable_area_get_topmost): Added a new parameter to
419 filter the the windows that do not include those events. Added
420 also a condition when finding the window to filter windows that do
421 not ask for those events.
422 (hildon_pannable_area_button_press_cb),
423 (hildon_pannable_area_button_release_cb),
424 (hildon_pannable_get_child_widget_at): Reviewed the call the the
425 topmost function, we have added the new parameter.
427 Fixes: NB#97458 (Pannable area prevents propagation of button
430 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
432 * tests/check-hildon-color-button.c (START_TEST): do not leak
435 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
437 * src/hildon-font-selection-dialog.c
438 (hildon_font_selection_dialog_get_preview_text): Return NULL
439 instead of FALSE on the g_return_val_if_fail().
441 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
443 * src/hildon-time-selector.c (hildon_time_selector_set_time):
444 * src/hildon-date-selector.c
445 (hildon_date_selector_select_current_date):
446 Do not compare unsigned integers to be greater than or equal 0,
447 because it's always TRUE.
449 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
451 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
452 (hildon_date_selector_constructor): Do not select the current
453 date until we are handle the "changed" signal, to avoid having bogus
454 elements in the days model.
456 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
458 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
459 for num_days, since _month_days() can return a negative value.
461 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
463 * src/hildon-caption.c (hildon_caption_size_allocate):
464 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
465 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
467 Initialize allocation variables to 0, to avoid eventually using
468 unitialized variables.
470 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
472 * src/hildon-bread-crumb-trail.c
473 (hildon_bread_crumb_trail_size_allocate):
474 * src/hildon-calendar.c (hildon_calendar_set_background):
475 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
476 * src/hildon-range-editor.c (hildon_range_editor_get_range):
477 * src/hildon-seekbar.c (hildon_seekbar_init):
478 * src/hildon-time-editor.c (hildon_time_editor_get_time):
479 * src/hildon-time-selector.c (hildon_time_selector_finalize):
480 * src/hildon-touch-selector-entry.c
481 (hildon_touch_selector_get_text_from_model):
482 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
483 * src/hildon-window.c (hildon_window_finalize):
485 Remove many unused variables.
487 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
489 * src/hildon-seekbar.c: (hildon_seekbar_init),
490 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
492 Remove unnecessary g_assert() calls.
494 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
496 * src/hildon-caption.c: (hildon_caption_expose),
497 (hildon_caption_set_property), (hildon_caption_init),
498 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
499 (hildon_caption_size_request), (hildon_caption_size_allocate),
500 (hildon_caption_forall), (hildon_caption_set_separator),
501 (hildon_caption_activate), (hildon_caption_set_child_expand),
502 (hildon_caption_set_label_text),
503 (hildon_caption_get_label_alignment):
505 Remove unnecessary g_assert() calls.
507 2009-02-12 Alberto Garcia <agarcia@igalia.com>
509 * src/hildon-banner.c
510 (hildon_banner_map, hildon_banner_init): Make banner temporary
511 before mapping it to avoid closing other temporary windows, but
512 make it non-temporary afterwards to avoid being closed by other
513 non-temporary windows.
514 (-hildon_banner_client_event, hildon_banner_init):
515 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
517 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
520 2009-02-11 Alberto Garcia <agarcia@igalia.com>
522 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
525 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
527 * src/hildon-remote-texture.c
528 * src/hildon-remote-texture.h
529 * src/hildon-remote-texture-private.h
530 * examples/hildon-remote-texture-example.c:
531 Updates/fixes to remote-texture and its example.
533 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
535 Patch by Mox Soini (ext-mox.soini@nokia.com)
537 * src/hildon-code-dialog.c: Update logical id.
538 * src/hildon-set-password-dialog.c: Update logical id.
540 Fixes: NB#100646 (Logical strings is shown for ok in set
541 password,Password needed dialogs)
543 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
546 * src/hildon-remote-texture.c
547 * src/hildon-remote-texture.h
548 * src/hildon-remote-texture-private.h
550 Added remote texture widget (for Clutter shared memory textures)
552 * examples/hildon-remote-texture-example.c
553 * examples/Makefile.am
554 Added example file for remote texture usage
556 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
558 * configure.ac: post release version bump.
559 * debian/changelog: version bump.
561 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
566 * configure.ac: Bump version.
567 * debian/changelog: Updates.
569 2009-02-06 Alberto Garcia <agarcia@igalia.com>
571 * src/hildon-date-selector.c (hildon_date_selector_init)
572 (hildon_date_selector_constructor): Don't connect to the "changed"
573 signal until the selector is completely constructed.
575 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
577 * src/hildon-touch-selector.c: (_create_new_column),
578 (hildon_touch_selector_append_column),
579 (hildon_touch_selector_set_column_selection_mode),
580 (hildon_touch_selector_set_active),
581 (hildon_touch_selector_select_iter):
582 Emit the HildonTouchSelector::changed signal every time selection
583 is changed in any of the methods above. This behavior was already
584 documented but not fully functional.
586 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
587 selection is programmatically changed)
589 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
591 * doc/hildon-sections.txt: Remove obsolete icon
592 sizes from here as well.
594 2009-02-05 Alberto Garcia <agarcia@igalia.com>
596 * examples/hildon-stackable-window-example.c (add_window): Remove
599 2009-02-05 Alberto Garcia <agarcia@igalia.com>
601 * src/hildon-app-menu.c
602 (hildon_app_menu_show): Check whether the parent window of a menu
603 is topmost before popping it up.
605 Fixes: NB#100468 (Application menu window is launched even when a
606 new secondary-window/dialog is pending to be shown/realized.)
608 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
610 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
613 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
615 Patch by Mox Soini (ext-mox.soini@nokia.com)
617 * src/hildon-banner.c: (hildon_banner_show_animation):
618 use stylus size instead of obsolete note size.
619 * src/hildon-defines.h: Update icon sizes.
621 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-touch-selector-entry.c:
624 (hildon_touch_selector_entry_init): Disable unsupported
626 (hildon_touch_selector_entry_get_text_column): Emit a warning
627 if an unsupported input modes is used and explicitile state
628 these modes in the documentation.
630 Fixes: NB#99802 (Hildon touch selector entry not working properly
631 for some of the input modes)
633 2009-02-05 Alejandro G. Castro <alex@igalia.com>
635 * src/hildon-pannable-area.c,
636 (hildon_pannable_area_init): Added the changed signal handlers of
639 Fixes: NB#100320 (HildonPannableArea does not listen to
640 GtkAdjustment "change" signals)
642 2009-02-04 Alberto Garcia <agarcia@igalia.com>
644 * doc/hildon-sections.txt
645 * src/hildon-window-private.h
646 * src/hildon-window.h
647 * src/hildon-window.c (hildon_window_init)
648 (hildon_window_realize, hildon_window_unrealize)
649 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
650 (hildon_window_size_request, hildon_window_size_allocate)
651 (hildon_window_forall, hildon_window_show_all)
652 (hildon_window_destroy, +paint_edit_toolbar)
653 (+hildon_window_set_edit_toolbar):
654 New hildon_window_set_edit_toolbar() method, to add a
655 HildonEditToolbar to a window without having to pack it manually.
657 Reorganize hildon_window_size_allocate()
659 * src/hildon-edit-toolbar.c: Update documentation.
661 * examples/hildon-edit-toolbar-example.c (edit_window): Update
662 example to use the new API.
664 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
666 2009-02-04 Alberto Garcia <agarcia@igalia.com>
668 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
669 Remove from stack before calling parent's hide.
671 2009-02-04 Alberto Garcia <agarcia@igalia.com>
673 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
674 window is removed from the middle of the stack, update the
675 transiency of the previous one.
677 Fixes: NB#100487 (HildonStackableWindow transiency becomes
680 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
682 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
683 block/unblock the signal handler if it's not actually being used.
684 Fixes some critical warnings.
686 2009-02-02 Alberto Garcia <agarcia@igalia.com>
688 Based on a patch by Iván Gómez (igomez@igalia.com)
690 * src/hildon-banner.c
694 * src/hildon-pannable-area.c
695 * src/hildon-picker-dialog.c
696 * src/hildon-wizard-dialog.h
697 * src/hildon-wizard-dialog.c: Documentation updates.
699 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
700 gtk_dialog_add_button() instead of hildon_dialog_add_button().
702 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
704 * configure.ac: post release version bump.
705 * debian/changelog: version bump.
707 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
712 * configure.ac: Bump version.
713 * debian/changelog: Updates.
715 2009-01-29 Alberto Garcia <agarcia@igalia.com>
717 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
718 a stock icon nor change the relief of the back arrow.
720 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
723 2009-01-29 Alberto Garcia <agarcia@igalia.com>
725 * src/hildon-button.c (hildon_button_set_alignment): Use
726 priv->alignment if the button has no child yet.
728 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
730 * src/hildon-button.c: (hildon_button_init): Set the
731 button style during initialization to give it the proper
734 Fixes: NB#99713 (HildonButton value label color is wrong)
736 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
738 * src/hildon-touch-selector.c: Document
739 hildon_touch_selector_center_on_selected()
741 2009-01-28 Alberto Garcia <agarcia@igalia.com>
743 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
744 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
745 all menu items, but not the menu itself.
746 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
747 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
748 items after adding them to the menu so keyboard accelerators work.
749 (hildon_app_menu_show): Don't show the menu if it contains items
750 but none of them are visible.
752 * examples/hildon-app-menu-example.c (create_menu): Use
753 gtk_widget_show_all() to show all menu items.
755 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
757 * src/hildon-picker-dialog.c:
758 (-_update_title_on_selector_changed_cb),
759 (-_dialog_update_title): Removed.
760 (_select_on_selector_changed_cb), (_on_dialog_response),
761 (on_selector_columns_changed): Do not update the dialog title.
762 (setup_interaction_mode): Do not connect to
763 HildonTouchSelector::changed signal if there's a "done" button, as
764 the dialog title doesn't need to be updated.
766 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
769 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
771 Patch by Kristian Rietveld (kris@imendio.com)
773 * src/hildon-touch-selector.c: (_create_new_column): Use new
774 GtkTreeView::hildon-row-tapped signal to react to user interactions
775 instead of ::changed.
777 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
778 with some dynamic tree model)
780 2009-01-27 Alberto Garcia <agarcia@igalia.com>
782 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
783 (+screen_size_changed, +label_size_request)
784 (hildon_note_class_init): Make the Hildon information note have a
785 minimum height, and make its text hvae a maximum width.
787 Fixes: NB#98614 (Hildon information note (background) should have
788 minimum height and maximum text width)
790 2009-01-26 Alberto Garcia <agarcia@igalia.com>
792 * src/hildon-banner.h
793 * src/hildon-banner.c (hildon_banner_show_information)
794 (hildon_banner_show_informationf)
795 (hildon_banner_show_information_with_markup): Update documentation
796 to reflect that the icon_name parameter is not used anymore.
797 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
798 Remove all code from these functions and mark them as deprecated.
799 (hildon_banner_show_progress): Mark as deprecated.
801 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
803 2009-01-26 Alejandro G. Castro <alex@igalia.com>
805 * src/hildon-pannable-area.c,
806 (hildon_pannable_area_class_init),
808 (hildon_pannable_draw_vscroll),
809 (hildon_pannable_draw_hscroll),
810 (hildon_pannable_area_expose_event): Added a new way to render the
811 scrollbars of the pannable area avoiding using cairo at all. This
812 way we improve the performance of the pannable area rendering. The
813 cairo rendering procedure is still in the code, we can control
814 which one to use changing the value of the define
815 USE_CAIRO_SCROLLBARS.
817 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
819 * configure.ac: post release version bump.
820 * debian/changelog: version bump.
822 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
827 * configure.ac: Bump version.
828 * debian/changelog: Updates.
830 2009-01-23 Alberto Garcia <agarcia@igalia.com>
832 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
833 banners instead of destroying them when they receive a button
836 2009-01-23 Alejandro G. Castro <alex@igalia.com>
838 Reverted commit 34028, it was causing regressions, probably the
839 topmost condition is not correct, we have to check it in more
840 detail. We have reponed the bug: NB#97458 (Pannable area prevents
841 propagation of button press events)
843 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
845 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
846 that the selection is not empty before attempting to retrieve the
847 current ampm selection.
849 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-picker-button.c:
852 (hildon_picker_button_on_dialog_response): Directly update the
853 button contents when required instead of calling _selection_changed.
855 2009-01-23 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-program.c (hildon_program_update_top_most): Update
858 'is-topmost' property also when wm_hints is not set.
860 Fixes: NB#98383 (is-topmost signal is not emitted when task
861 switcher is clicked.)
863 2009-01-23 Alejandro G. Castro <alex@igalia.com>
865 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
869 * src/hildon-animation-actor.c,
870 * src/hildon-animation-actor.h: Added the animation actor class,
871 this widget represents an animation actor for WM-assisted
872 animation effects in the Hildon framework.
874 2009-01-23 Alberto Garcia <agarcia@igalia.com>
876 * src/hildon-window-stack-private.h
877 * src/hildon-window-stack.c
878 * src/hildon-stackable-window.c (hildon_stackable_window_show):
879 Avoid calling gtk_widget_show() again indirectly from
880 hildon_stackable_window_show()
882 2009-01-23 Alberto Garcia <agarcia@igalia.com>
884 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
887 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
889 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
890 (hildon_time_selector_init): Move the construction of the hours and
891 ampm columns to the constructor to preserve the order the columns
894 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
896 * src/hildon-picker-dialog.c:
897 (hildon_picker_dialog_class_init): Connect a realize method.
898 (+hildon_picker_dialog_realize): Setup the interaction mode here
900 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
901 yet, do it during the realize instead.
902 (_on_dialog_response):
903 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
904 if the widget is not realized, to avoid the dialog response before it
907 Avoid premature responses in the HildonPickerDialog that can cause it
908 to be hidden before it's even shown.
910 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
912 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
913 (on_selector_columns_changed), (requires_done_button),
914 (+prepare_action_area), (setup_interaction_mode),
915 (_hildon_picker_dialog_set_selector):
917 Split the interaction mode setup into preparation of the
918 action area (prepare_action_area()) and the connection of
919 the signals in setup_interaction_mode() and update the code to
922 2009-01-22 Alejandro G. Castro <alex@igalia.com>
924 * src/hildon-pannable-area.c,
925 (hildon_pannable_area_class_init): Reduced the amount of scrolls
926 per second to 15, we will check if this is ok regarding
929 2009-01-22 Alejandro G. Castro <alex@igalia.com>
931 * src/hildon-pannable-area.c,
932 (hildon_pannable_axis_scroll): Avoid resize if we already have
933 reached overshoot_max.
935 2009-01-22 Alejandro G. Castro <alex@igalia.com>
937 * src/hildon-pannable-area.c,
938 (hildon_pannable_area_init),
939 (hildon_pannable_area_realize),
940 (hildon_pannable_area_size_allocate),
941 (hildon_pannable_area_map),
942 (hildon_pannable_area_unmap),
943 (hildon_pannable_draw_vscroll),
944 (hildon_pannable_draw_hscroll),
945 (hildon_pannable_area_expose_event),
946 (hildon_pannable_area_refresh): Added a new GdkWindow to the
947 pannable are to avoid the expose events go to the window and
948 redraw the window. We save this way that part of the stack and the
949 paint_boxes. We had to change the positions of the elements when
952 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
954 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
955 * src/hildon-color-chooser-dialog.c:
956 (hildon_color_chooser_dialog_init):
957 * src/hildon-font-selection-dialog.c:
958 (hildon_font_selection_dialog_init),
959 (hildon_font_selection_dialog_show_preview):
960 * src/hildon-get-password-dialog.c:
961 * src/hildon-login-dialog.c:
962 * src/hildon-set-password-dialog.c:
963 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
964 * src/hildon-time-picker.c: (hildon_time_picker_init):
966 Remove obsolete logical string IDs and update to the appropriate ones.
968 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
970 2009-01-21 Alberto Garcia <agarcia@igalia.com>
972 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
973 that happens if the window hasn't been realized yet.
975 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
976 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
978 2009-01-20 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-app-menu.c (hildon_app_menu_class_init)
981 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
984 Fixes: NB#98537 (Device hangs in account settings dialog)
986 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
988 * configure.ac: post release version bump.
989 * debian/changelog: version bump
991 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
996 * configure.ac: Bump version.
997 * debian/changelog: Updates.
999 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1001 Added a new function to the HildonTimeButton widget that allows to
1002 change the step of the minutes in the selector associated with the
1003 button: hildon_time_button_new_step
1005 * src/hildon-time-button.c,
1006 (hildon_time_button_init),
1007 (hildon_time_button_new),
1008 (hildon_time_button_new_step):
1009 * src/hildon-time-button.h: Added the new function and refactored
1011 * examples/hildon-time-button-example.c,
1012 (main): We have replaced the function without parameters with the
1013 function with the steps set to 5
1015 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1017 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1019 * src/hildon-time-selector.c,
1020 (hildon_time_selector_class_init),
1021 (hildon_time_selector_constructor),
1022 (hildon_time_selector_get_property),
1023 (hildon_time_selector_set_property),
1024 (_create_minutes_model),
1025 (hildon_time_selector_new_step),
1026 (hildon_time_selector_set_time),
1027 * src/hildon-time-selector.h: Added a new property to the
1028 HildonTimeSelector (minutes-step), we use that property to control
1029 the steps between the minutes in the list of the selector. We have
1030 added a new function to the API to create a widget changing the
1031 step: hildon_time_selector_new_step.
1033 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1035 * src/hildon-time-selector.c,
1036 (hildon_time_selector_class_init),
1037 (hildon_time_selector_constructor),
1038 (hildon_time_selector_init): Overrided the construct function when
1039 creating the time selector object. We have moved the minutes model
1040 handling code from the init to the new construction function:
1041 hildon_time_selector_constructor.
1043 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1045 * examples/hildon-date-button-example.c: (main): Use the new
1046 hildon_date_button_new_with_year_range() method in the example.
1047 * src/hildon-date-button.c:
1048 (+hildon_date_button_new_with_year_range): New public method
1049 to conveniently create a HildonDateButton with a custom year range
1050 in its HildonDateSelector.
1051 * src/hildon-date-button.h: Add the new public method definition.
1053 Fixes: NB#97908 (Not possible to change the year range in
1054 HildonDateSelector/HildonDateButton)
1056 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1058 * src/hildon-date-selector.c:
1059 (+hildon_date_selector_set_property),
1060 (+hildon_date_selector_get_property),
1061 (hildon_date_selector_class_init): Install new properties "min-year"
1062 and "max-year" to define boundaries for the year column.
1063 (_create_year_model): Use the boundary properties to populate the model.
1064 (+hildon_date_selector_new_with_year_range): New public method to
1065 create a HildonDateSelector with a user defined year range.
1066 (hildon_date_selector_select_current_date): Use the new boundaries to
1067 calculate the iterator of current year.
1068 * src/hildon-date-selector.h: Add the new public method definition.
1070 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1072 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1073 Install a constructor method.
1074 (+hildon_date_selector_construct_ui): construct the widget.
1075 (+hildon_date_selector_constructor): new constructor.
1076 (+hildon_date_selector_init): move out widget construction code to
1077 the new constructor.
1079 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1082 that there's actually a month or year selected before obtaining them.
1083 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1084 of the HildonTouchSelector::changed signal, as it was emitted on every
1085 single item selection.
1087 Fix some warnings and possible crashers due to the selection restoring.
1089 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1091 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1092 the signal handlers only after creating the dialog instead of on every
1095 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1097 * src/hildon-button.c (hildon_button_init)
1098 * src/hildon-check-button.c (hildon_check_button_init)
1099 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1100 focus when clicked by default.
1102 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1104 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1107 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1109 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1110 Alejandro G. Castro (alex@igalia.com)
1112 * src/hildon-picker-dialog.c:
1113 (hildon_picker_dialog_class_init): install new "center-on-show"
1115 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1116 (hildon_picker_dialog_set_property): add setter code for the new
1118 (hildon_picker_dialog_get_property): add getter code for the new
1120 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1121 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1124 Fixes: NB#92849 (Selected item is not always visible when
1125 HildonTouchSelector is shown)
1127 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1129 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1130 Alejandro G. Castro (alex@igalia.com)
1132 * src/hildon-touch-selector.c:
1133 (_create_new_column): Do not connect to the "realize" signal of the
1135 (hildon_touch_selector_append_column): center on the selected items
1136 when a new column is appended.
1137 (hildon_touch_selector_select_iter): Factor out the code to select a
1138 column to hildon_touch_selector_scroll_to().
1139 (+search_nearest_element): Method to retrieve the nearest selected
1140 element to the visible area of the pannable area in a column.
1141 (+on_realize_cb): scroll to the initially selected item.
1142 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1143 the pannable area is realized, otherwise delay this until it is.
1144 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1145 selected items of a given column.
1146 (+hildon_touch_selector_center_on_selected): Public method to center
1147 all columns on the nearest selected item.
1148 * src/hildon-touch-selector.h: Add definition for
1149 hildon_touch_selector_center_on_selected().
1151 Implement public API to ensure visibility of all selected items in
1152 a HildonTouchSelector.
1154 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1156 Fixed a problem in the fading when calling the scroll_to API, and
1157 improve scrollbar fading handling.
1159 * src/hildon-pannable-area.c,
1160 (hildon_pannable_area_grab_notify): avoid the timeout when the
1162 (hildon_pannable_area_button_press_cb),
1163 (hildon_pannable_area_motion_notify_cb): Code style changes.
1164 (hildon_pannable_area_button_release_cb): Review the conditions
1165 when releasing the mouse button to avoid unrequired fading
1167 (hildon_pannable_area_scroll_to): Do not calculate and set the
1168 velocity if the scroll is not required.
1170 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1173 Don't check whether the new selector is NULL: it cannot be.
1174 Hold a reference to the selector while doing the replacement.
1176 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1178 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1179 unnecessary size_request in a removed widget.
1181 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1184 an unnecessary reference tracking that was leaking.
1186 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1188 Added delayed motion notify event handling, this way we can
1189 discard redrawing if more than 25 events arrive per second.
1191 * src/hildon-pannable-area.c,
1192 (hildon_pannable_area_init): Initialized the new private atributes
1193 controlling this timeout
1194 (hildon_pannable_area_dispose): Remove the timeout that controls
1195 the motion notify events.
1196 (hildon_pannable_area_scroll): Added a condition to control the
1197 use of the acceleration.
1198 (hildon_pannable_area_motion_event_scroll_timeout),
1199 (hildon_pannable_area_motion_event_scroll): Added this two
1200 functions, they handle the motion notify events inside the
1202 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1203 to the scroll method with the new function.
1204 (hildon_pannable_area_button_release_cb): We have to remove the
1205 timeout handler and move to the last position if the last motion
1206 events were not handled.
1208 Fixes: NB#97028 (Pannable area updates on every motion event)
1210 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1212 * src/hildon-pannable-area.c,
1213 (hildon_pannable_area_get_topmost): Added a new parameter to
1214 filter the the windows that do not include those events. Added
1215 also a condition when finding the window to filter windows that do
1216 not ask for those events.
1217 (hildon_pannable_area_button_press_cb),
1218 (hildon_pannable_area_button_release_cb),
1219 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1220 topmost function, we have added the new parameter.
1222 Fixes: NB#97458 (Pannable area prevents propagation of button
1225 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1227 * src/hildon-pannable-area.c,
1228 (hildon_pannable_area_initial_effect): Added controls before
1229 launching the timeout and the idle functions.
1230 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1231 of the method, in some situations it can return with TRUE and 0 in
1233 (hildon_pannable_area_button_press_cb): We do not need to set
1234 DELAY for fading out here.
1236 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1238 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1240 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1241 post-cleaning if the selection is not NULL.
1243 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1245 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1246 all items before restoring the selection.
1248 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1250 * src/hildon-touch-selector.c:
1251 (+hildon_touch_selector_unselect_all):
1252 * src/hildon-touch-selector.h: New API to unselect all items in a
1253 column of the touch selector.
1255 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1257 * src/hildon-pannable-area.c,
1258 (hildon_pannable_area_redraw): Added a call to the refresh
1259 function inside the redraw because apparently in some cases the
1260 change in the adjustment does not imply a size allocate.
1262 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1263 despite the view not being scrollable)
1265 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1267 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1268 leak. Check for NULL before attempting to set the window title.
1270 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1272 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1273 whether to show or not the 'Done' button each time the dialog is
1274 shown, as it depends on the HildonTouchSelector selection mode.
1276 Fixes: NB#96226 (In multiple selection mode Done button is shown
1277 sometimes in listpicker)
1279 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1282 for the number of columns in the HildonTouchSelector more than once.
1284 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1286 * src/hildon-touch-selector.c: Minor documentation fixes.
1288 * src/hildon-picker-dialog.c (+_dialog_update_title)
1289 (_select_on_selector_changed_cb)
1290 (_update_title_on_selector_changed_cb)
1291 (on_selector_columns_changed): Update dialog title when there's no
1292 'Done' button and also when the number of columns in the selector
1296 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1297 (+_selection_changed, hildon_picker_button_on_dialog_response)
1298 (hildon_picker_button_selector_selection_changed)
1299 (+hildon_picker_button_selector_columns_changed)
1300 (hildon_picker_button_set_selector): Update button value and emit
1301 'value-changed' when the number of columns in the selector
1305 Fixes: NB#96225 (Dialog titles are not shown according to the
1306 values selected in the list picker)
1308 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1311 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1312 New "arrow-width" and "arrow-height" style properties to set the
1313 size of the arrow button.
1314 Set name of arrow button ("hildon-edit-toolbar-arrow").
1316 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1317 graphics from theme)
1319 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1321 * src/hildon-picker-button.c:
1322 (hildon_picker_button_selector_selection_changed): Use
1323 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1324 the dialog is present.
1326 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1327 the selection is accepted in the dialog)
1329 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-color-chooser.h
1332 * src/hildon-color-chooser-dialog.h:
1333 Added G_BEGIN_DECLS and G_END_DECLS
1335 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1337 (_clean_current_selection): plug a leak in the list.
1339 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1341 * src/hildon-picker-dialog.c:
1342 (+free_path_list): Method to free a GList of GtkTreePaths.
1343 (_clean_current_selection), (_save_current_selection),
1344 (_restore_current_selection): Save the current selection in
1345 as a list of lists, to support multiple selection properly.
1347 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1349 patch by Claudio Saavedra (csaavedra@igalia.com)
1351 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1352 Store the press position.
1353 (+hildon_text_view_button_release_event): If the release position is
1354 close enough to the press position, move the cursor here. Otherwise,
1356 (hildon_text_view_class_init): Override GtkTextView press, release, and
1357 motion event handlers, disabling this way text selection through
1358 pointer interaction, and allowing the container widget to handle the
1361 Fixes: NB#95828 (HildonTextView functionality)
1363 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1365 Based on a patch by Iván Gómez (igomez@igalia.com)
1367 * src/hildon-button.[ch]
1368 * src/hildon-calendar.c
1369 * src/hildon-check-button.c
1370 * src/hildon-date-editor.c
1371 * src/hildon-date-selector.c
1372 * src/hildon-picker-button.c
1373 * src/hildon-time-editor.c
1374 * src/hildon-time-selector.c
1375 * src/hildon-touch-selector.[ch]:
1376 Documentation updates
1378 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1380 * src/hildon-pannable-area.c,
1381 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1382 threshold, it was required due to X events handling.
1384 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1386 * src/hildon-pannable-area.c,
1387 (hildon_pannable_area_grab_notify),
1388 (hildon_pannable_area_initial_effect),
1389 (hildon_pannable_area_button_press_cb),
1390 (hildon_pannable_area_button_release_cb),
1391 (hildon_pannable_area_scroll_cb),
1392 (hildon_pannable_area_scroll_to): Review the timeout management of
1393 the scrollbar, the frecuency was incorrectly set.
1395 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1397 * src/hildon-picker-button.c:
1398 (+hildon_picker_button_on_dialog_response),
1399 (hildon_picker_button_clicked): Present the dialog instead of
1400 running it with gtk_dialog_run().
1402 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1405 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1407 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1408 (hildon_app_menu_finalize): When a window is hidden it doesn't
1409 emit notify::is-topmost, so make sure than the menu also
1410 disappears in that case.
1411 (parent_window_topmost_notify): Renamed from parent_window_hidden
1413 Fixes: NB#94460 (stackable window's menu is not closed when its
1416 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1418 * src/hildon-touch-selector-entry.c:
1419 (+hildon_touch_selector_entry_set_input_mode),
1420 (+hildon_touch_selector_entry_get_input_mode):
1421 * src/hildon-touch-selector-entry.h: New methods to access the input
1422 mode in the selector's entry.
1424 Fixes: NB#93410 (API required for setting IM mode in
1425 HildonTouchSelectorEntry)
1427 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1429 * configure.ac: post release version bump.
1430 * debian/changelog: version bump
1432 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1437 * configure.ac: Bump version.
1438 * debian/changelog: Updates.
1440 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1442 * src/hildon-touch-selector.c:
1443 (_hildon_touch_selector_has_multiple_selection): No need
1444 to initialize the variables here.
1446 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1448 * src/hildon-note-private.h
1449 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1450 (hildon_note_finalize, hildon_note_rebuild): Close information
1451 notes when they receive a button press.
1453 Fixes: NB#89890 (Information notes does not get disappeared after
1456 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1459 mark from the wizard title, as it's not really necessary. Also,
1460 do not display the page title if not set.
1462 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1464 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1465 (parent_window_hidden): Use the window's "is-topmost" property to
1466 detect when to hide the menu.
1468 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1470 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1471 (hildon_app_menu_finalize): If the parent window of the menu is
1472 hidden, hide the menu too.
1474 Fixes: NB#94460 (stackable window's menu is not closed when its
1477 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1480 * debian/libhildon1-examples.install
1482 * examples/Makefile.am:
1483 Use dh_install to install all examples.
1484 Use DEB_SRCDIR instead of defining SOURCE_DIR
1486 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1488 * configure.ac: post release version bump.
1489 * debian/changelog: version bump
1491 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1496 * configure.ac: bump version
1497 * debian/changelog: updates
1498 * debian/control: bump gtk+ dependency
1500 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1502 patch by Christian Dywan (christian@imendio.com)
1504 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1505 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1507 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1509 * src/hildon-check-button.c (hildon_check_button_init)
1510 (hildon_check_button_class_init, hildon_check_button_style_set)
1511 (hildon_check_button_apply_style):
1512 New "checkbox-size" style property.
1514 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1515 larger / configurable size)
1517 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1519 * configure.ac: post release version bump.
1520 * debian/changelog: version bump
1522 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1527 * configure.ac: bump version
1528 * debian/changelog: updates
1530 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1532 * doc/hildon-sections.txt
1533 * src/hildon-pannable-area.c
1534 * src/hildon-program.c
1535 * src/hildon-time-editor.c
1536 * src/hildon-touch-selector-entry.c:
1538 More documentation updates.
1540 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1542 * doc/hildon-sections.txt
1543 * src/hildon-caption.c
1544 * src/hildon-code-dialog.c
1545 * src/hildon-color-button.c
1546 * src/hildon-controlbar.c
1547 * src/hildon-date-editor.c
1548 * src/hildon-date-selector.c
1549 * src/hildon-edit-toolbar.c
1550 * src/hildon-find-toolbar.c
1551 * src/hildon-font-selection-dialog.c
1553 * src/hildon-program.c
1554 * src/hildon-range-editor.c
1555 * src/hildon-seekbar.c
1556 * src/hildon-time-editor.c
1557 * src/hildon-time-selector.c
1558 * src/hildon-volumebar-range.c
1559 * src/hildon-volumebar.c
1560 * src/hildon-vvolumebar.c
1561 * src/hildon-weekday-picker.c
1562 * src/hildon-window.c
1563 * src/hildon-wizard-dialog.c:
1565 Lots of documentation fixes.
1567 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1569 Patch contributed by Iván Gómez (igomez@igalia.com)
1571 * src/hildon-check-button.c:
1572 * src/hildon-date-button.c:
1573 * src/hildon-date-selector.c:
1574 * src/hildon-dialog.c:
1575 * src/hildon-edit-toolbar.c:
1576 * src/hildon-entry.c:
1577 * src/hildon-picker-button.c:
1578 * src/hildon-program.c:
1579 * src/hildon-text-view.c:
1580 * src/hildon-time-button.c:
1581 * src/hildon-touch-selector-entry.c:
1582 * src/hildon-window-stack.c:
1584 Add more "since" tags to the new API.
1586 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1588 * doc/hildon-sections.txt: Add below method.
1589 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1590 version for the hildonized scale.
1591 * src/hildon-gtk.h: Add the definition.
1593 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1595 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1597 * doc/hildon-sections.txt: Add missing entries for new methods.
1599 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1601 Added API to pannable are in order to get its adjustments. We
1602 added two properties to manage the values we had in the private
1605 * src/hildon-pannable-area.c:
1606 (hildon_pannable_area_class_init): Added hadjustment and
1607 vadjustment properties in order to expose horizontal and vertical
1609 (hildon_pannable_area_get_property),
1610 (hildon_pannable_area_set_property): Added code to handle the new
1612 (hildon_pannable_area_get_hadjustment),
1613 (hildon_pannable_area_get_vadjustment): API functions to get the
1615 * src/hildon-pannable-area.h:
1616 (hildon_pannable_area_get_hadjustment),
1617 (hildon_pannable_area_get_vadjustment): API functions to get the
1620 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1622 Fixed some leaks, after valgrinding.
1624 * src/hildon-touch-selector.c:
1625 (_default_print_func): Fixed a leak.
1626 (hildon_touch_selector_append_column): Fixed a leak.
1627 * src/hildon-date-button.c:
1628 (hildon_date_button_init): Fixed a leak.
1629 * src/hildon-date-selector.c
1630 (hildon_date_selector_finalize): Fixed a leak.
1632 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1634 Based on a patch by Christian Dywan (christian@imendio.com)
1636 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1638 * src/hildon-gtk.h: Add definition.
1640 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1642 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-picker-button.c: (hildon_picker_button_init),
1645 (hildon_picker_button_new): Set the HildonButton::style property
1646 in the init method, to propagate the value to the derived classes.
1648 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-button.c: (hildon_button_class_init): Do not make
1651 the "style" property a construct property.
1653 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1655 * src/hildon-wizard-dialog.h
1656 * src/hildon-wizard-dialog.c
1657 (hildon_wizard_dialog_set_forward_page_func)
1658 * src/hildon-pannable-area.h
1659 * src/hildon-pannable-area.c
1660 (hildon_pannable_area_set_size_request_policy):
1661 Documentation fixes.
1663 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1665 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1667 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1669 * doc/hildon-sections.txt: Added sections file.
1671 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/*.[ch]: Updates.
1676 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1678 * examples/hildon-progress-indicator-example.c: new file
1679 * examples/Makefile.am: include the new example program
1681 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1685 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1687 * configure.ac: post release version bump
1688 * debian/changelog: version bump
1690 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1695 * configure.ac: bump version
1696 * debian/changelog: updates
1697 * debian/control: bump gtk+ dependency
1699 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1701 * src/hildon-dialog.c: Mark as deprecated.
1702 * src/hildon-dialog.h: Mark as deprecated.
1703 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1704 from HildonDialog and still work, even if
1705 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1706 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1708 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1709 maemo changes) instead)
1711 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1713 * src/hildon-pannable_area.h:
1714 * src/hildon-pannable_area.c:
1715 (hildon_pannable_area_class_init),
1716 (hildon_pannable_area_set_property),
1717 (hildon_pannable_area_get_property),
1718 (hildon_pannable_area_size_request),
1719 (hildon_pannable_area_get_size_request_policy),
1720 (hildon_pannable_area_set_size_request_policy): Added new API
1721 allowing applications to control the request policy. Now they can
1722 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1723 children allocation (HILDON_MOVEMENT_CHILDREN).
1725 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1729 (hildon_gtk_tree_view_set_ui_mode)
1730 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1731 mode of treeviews and iconviews.
1733 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1735 * src/hildon-touch-selector-entry.c:
1736 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1737 of a GtkEntry to get proper theming.
1739 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1740 widget, not GtkEntry)
1742 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1744 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1745 no HildonWizardDialogPageFunc.
1747 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1749 Patch contributed by Iván Gómez (igomez@igalia.com)
1751 * src/hildon-app-menu.c:
1752 * src/hildon-button.c:
1753 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1754 * src/hildon-stackable-window.c:
1755 * src/hildon-time-selector.c:
1756 * src/hildon-touch-selector.c:
1757 * src/hildon-window.c:
1759 Add more "since" tags to the new API in hildon 2.2.
1761 2008-12-05 Tim Janik <timj@imendio.com>
1763 Patch contributed by Christian Dywan (christian@imendio.com)
1765 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1766 HildonSizeType, which are supplied by Gtk+ now.
1768 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1770 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1771 (with maemo changes) instead)
1773 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1775 Patch contributed by Iván Gómez (igomez@igalia.com)
1777 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1780 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1782 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1783 (some_page_func), (main): Update the example to use a
1784 HildonWizardDialogPageFunc function.
1786 * src/hildon-wizard-dialog-private.h: Add private data for
1787 the HildonWizardDialogPageFunc function usage.
1789 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1790 (destroy), (hildon_wizard_dialog_init), (response),
1791 (hildon_wizard_dialog_set_forward_page_func):
1792 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1793 that applications can use to stop a HildonWizardDialog to jump to
1796 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1799 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1801 * src/hildon-program.h
1802 * src/hildon-program-private.h
1803 * src/hildon-program.c (hildon_program_init)
1804 (hildon_program_set_common_app_menu)
1805 (hildon_program_get_common_app_menu):
1806 New API for setting a common HildonAppMenu for all
1807 HildonStackableWindows registered with the HildonProgram.
1809 * src/hildon-stackable-window.c
1810 (hildon_stackable_window_toggle_menu):
1811 Use the common HildonAppMenu if a window doesn't have a specific
1814 * src/hildon-app-menu-private.h
1815 * src/hildon-app-menu.c
1816 (hildon_app_menu_get_parent_window):
1817 Function to obtain the window a HildonAppMenu is attached to.
1818 (hildon_app_menu_set_parent_window):
1819 Hide the menu if the parent window is set to NULL.
1821 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1823 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1824 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1825 search widget to popup.
1827 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1829 * configure.ac: post release version bump
1830 * debian/changelog: version bump
1832 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1837 * configure.ac: bump version
1838 * debian/changelog: updates
1840 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1842 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1844 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1845 (hildon_window_stack_window_realized)
1846 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1847 Set the leader GdkWindow when a window is stacked and realized,
1848 unset it when it's unstacked.
1849 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1851 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1853 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1855 * src/hildon-stackable-window.h
1856 * src/hildon-window-stack.h:
1857 Protect definition of HildonWindowStack using the preprocessor.
1859 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1862 Fix warning if all menu items are hidden.
1864 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1866 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1868 * src/hildon-controlbar.c:
1869 * src/hildon-hvolumebar.c:
1870 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1871 Multiple scale size defines updates.
1873 Fixes: NB#94322 (Scale Updates)
1875 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1877 * examples/hildon-app-menu-example.c (create_menu)
1878 Show items after adding them to the menu, as in the future the
1879 menu will no longer call gtk_widget_show() on the added items.
1881 * src/hildon-app-menu.c:
1882 Update example as explained above.
1884 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-app-menu.c
1887 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1888 Make sure that all menu items have finger height.
1890 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1892 * src/hildon-picker-dialog.c:
1893 (_on_dialog_response), (_save_current_selection),
1894 (_restore_current_selection), (_clean_current_selection),
1895 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1896 Defined new functions in order to save the current internal selector
1897 selection previous open the dialog, in case that the use cancel the
1898 interaction, so the widget restores the previous selection.
1900 Fixes: NB#92032 (In calendar application, date values in 'new event'
1903 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1905 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1907 * src/hildon-button.c: Add a reference to the button examples in
1908 hildon-button-example.c
1910 * examples/hildon-button-example.c: Added examples of the most
1911 common button layouts.
1913 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1915 * src/hildon-app-menu.c (hildon_app_menu_show)
1916 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1918 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1920 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1922 * src/hildon-picker-dialog.c:
1923 (hildon_picker_dialog_init): Initialize the signal id for
1924 HildonTouchSelector::columns-changed.
1925 (+on_selector_columns_changed): Set up the interaction mode everytime a
1926 column is added or removed from the HildonTouchSelector.
1927 (_hildon_picker_dialog_set_selector): Connect to
1928 HildonTouchSelector::columns-changed and keep track of it.
1930 Make sure to update the interaction mode of the dialog everytime a
1931 column is added or removed in the HildonTouchSelector.
1933 Fixes: NB#93228 (Done button is not shown always in listpicker)
1935 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1937 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1938 a new ::columns-changed signal.
1939 (hildon_touch_selector_append_column): Emit ::columns-changed.
1940 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1942 Add a ::columns-changed signal, emitted when the number of columns in a
1943 HildonTouchSelector changes.
1945 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1947 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1948 (_hildon_picker_dialog_set_selector): Factor out the code
1949 to set up the dialog interaction mode.
1951 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1954 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1955 to signal_changed_id.
1957 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1959 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1962 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1964 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1965 Updated the logical ids related to ampm format, as now it is required to
1966 show it correctly localized even on languages with no default
1967 abbreviations for am or pm
1968 (_check_am_pm_format): check correctly the 24h format gconf property
1970 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1972 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-button.c: Documentation updates.
1976 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1978 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1979 * src/hildon-caption.c: (hildon_caption_class_init):
1980 * src/hildon-color-button.c: (hildon_color_button_class_init):
1981 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1982 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1983 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1984 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1986 Remove deprecated GTK+ marshalers and replace them with the ones
1987 provided by GLib, for those available, add a marshaler for
1988 BOOLEAN:VOID, which is not available in GLib, and use it.
1990 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1992 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1993 the text from the previous column if there is no
1994 HildonTouchSelectorColumn::text-property set.
1996 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1998 * src/hildon-button.h
1999 * src/hildon-button.c (hildon_button_set_property)
2000 (hildon_button_get_property, hildon_button_class_init)
2001 (hildon_button_set_style, hildon_button_get_style):
2002 New "style" property to change the visual appearance of the
2005 * src/hildon-picker-button.c (hildon_picker_button_new):
2006 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2008 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2009 HildonButton look like PickerButton)
2011 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2013 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2014 column while building the default string.
2016 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2018 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2019 scroll indicator by default.
2021 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2023 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2025 * src/hildon-main.c: Fix the documentation for hildon_init()
2027 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2029 * doc/hildon-docs.sgml
2033 * src/hildon-window-stack-private.h
2034 * src/hildon-window-stack.h
2035 * src/hildon-window-stack.c:
2036 New HildonWindowStack object, that adds support for multiple
2037 stacks of windows per process.
2039 * src/hildon-stackable-window-private.h
2040 * src/hildon-stackable-window.h
2041 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2042 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2043 (hildon_stackable_window_show, hildon_stackable_window_hide)
2044 (hildon_stackable_window_class_init)
2045 (hildon_stackable_window_init):
2046 Use HildonWindowStack for stack management.
2048 * src/hildon-program.c (hildon_program_pop_window_stack)
2049 (hildon_program_peek_window_stack)
2050 (hildon_program_go_to_root_window):
2051 Add a fallback implementation to the deprecated functions using
2054 * examples/hildon-stackable-window-example.c:
2055 Use the new HildonWindowStack API.
2057 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2059 * src/hildon-stackable-window-private.h
2060 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2061 (hildon_stackable_window_hide, hildon_stackable_window_init):
2062 Remove all window stack management.
2064 * src/hildon-program-private.h
2065 * src/hildon-program.h
2066 * src/hildon-program.c (hildon_program_init)
2067 (hildon_program_pop_window_stack)
2068 (hildon_program_peek_window_stack)
2069 (hildon_program_go_to_root_window):
2070 Remove all window stack management and mark functions as
2073 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-app-menu.c (hildon_app_menu_realize):
2076 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2078 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2080 * configure.ac: post release version bump
2081 * debian/changelog: version bump
2083 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2088 * configure.ac: bump version
2089 * debian/changelog: updates
2091 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2093 Based on initial code by Christian Dywan (christian@imendio.com)
2095 * doc/hildon-docs.sgml: Add section for hildon-main.
2096 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2097 * src/Makefile.am: Add new hildon-main.[ch]
2098 * src/hildon-defines.h: Update the icon sizes.
2099 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2100 new library initialization files and register icon sizes.
2101 * src/hildon-main.h: New declarations.
2102 * src/hildon.h: Include hildon-main.h
2104 Add new initialization functions to the library. These methods
2105 will register the hildon specific icon sizes and can be used in the
2106 future for other hildon specific bits.
2108 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2110 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-window.c: (hildon_window_realize),
2113 (hildon_window_notify), (-hildon_window_update_title): Do not set
2114 the application name in the window title.
2116 Fixes: NB#89754 (Applications shouldn't display their names in the
2119 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2121 * src/hildon-note-private.h:
2122 * src/hildon-note.c: (hildon_note_set_property),
2123 (hildon_note_get_property), (hildon_note_class_init),
2124 (hildon_note_init), (hildon_note_finalize),
2125 (hildon_note_new_confirmation_with_icon_name),
2126 (hildon_note_new_information_with_icon_name):
2128 No need to mark as deprecated the actual code. Revert
2129 to avoid missing symbols in widgets using deprecated API.
2131 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2133 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2135 * src/hildon-volumebar.h
2136 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2137 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2139 * src/hildon-helper.h
2140 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2141 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2143 * examples/Makefile.am:
2144 Deprecate hildon-insensitive-example
2146 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2148 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2150 * examples/hildon-pannable-area-buttons-scroll-example.c:
2151 Make all buttons finger height
2153 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2155 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2157 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2158 update the day model only if it is really required, and to avoid the
2159 full-reconstruction aproach. Now it only add or remove the required days.
2161 The purpose of this is avoid superfluous HildonTouchSelector::changed
2164 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2165 with strange parameters)
2167 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2169 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2171 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2172 the WINDOW_TYPE property.
2174 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2176 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2179 Fix dependency to allow parallel compilation with make -jX
2181 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2183 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2184 color frame and some minor tweaks to make it more consistent with
2187 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2188 highlighted but not visible)
2190 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2192 * examples/Makefile.am: Fixed typo in the Makefile.am.
2194 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2196 Reviewed the use of MAEMO_GTK define, now we add the define in the
2197 compilation line, and we also add it to the pc file.
2199 * configure.ac: Added MAEMO_GTK define to the compilation command
2200 and removed it from the config.h.
2202 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2203 do not have to take care about this define if the library was
2207 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2209 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2211 * examples/Makefile.am,
2212 * examples/hildon-pannable-area-buttons-scroll-example.c,
2213 * examples/hildon-pannable-area-gesture-signals-example.c,
2214 * examples/hildon-pannable-area-scroll-jump-example.c,
2215 * examples/hildon-pannable-area-tree-view-example.c:
2216 Renamed the pannable area examples, now they have more meaningful
2219 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2221 * src/hildon-touch-selector.c:
2222 (hildon_touch_selector_set_column_selection_mode): Used of
2223 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2224 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2225 to avoid re-seting the same selection mode.
2227 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2228 breaks HildonPickerDialog)
2230 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2232 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2233 conditional in the Makefile.am
2235 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2237 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2238 Remove unused methods.
2240 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2242 * src/hildon-button.c (hildon_button_init):
2243 Make button images center-aligned by default
2245 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2248 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2249 activated, we have to think about how to deal with both defines
2250 MAEMO_GTK and MAEMO_CHANGES.
2252 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2254 * examples/hildon-app-menu-example.c (create_menu): Make all
2255 buttons finger size.
2257 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2259 Fixed the compilation without maemo gtk adding ifdefs with
2260 MAEMO_GTK define to the code, we have to check this version more
2263 * examples/Makefile.am: Added control to avoid some examples that
2264 just make sense with maemo gtk.
2267 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2268 hildon modes with the define.
2270 * examples/hildon-edit-toolbar-example.c,
2271 (create_icon_view): Create the icon view without hildon-gtk
2272 helpers if we are not using maemo gtk.
2274 * src/hildon-touch-selector.c,
2275 (_create_new_column): Create the treeview without hildon-gtk
2276 helpers if we are not using maemo gtk.
2278 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2280 * src/hildon-pnnable-area.c,
2281 (hildon_pannable_area_dispose),
2282 (hildon_pannable_area_button_press_cb),
2283 (hildon_pannable_area_child_mapped),
2284 (hildon_pannable_area_add),
2285 (hildon_pannable_area_remove): Added code to control the position
2286 of the event_window when adding and removing children from the
2287 pannable. We have to raise the event window when the child is
2290 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2291 selection mode using custom widget inside pannable)
2293 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2295 * configure.ac: post release version bump
2296 * debian/changelog: version bump
2298 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2303 * configure.ac: bump version
2304 * debian/changelog: updates
2306 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2308 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2309 search mode, in order to avoid lose the focus on the treeview when
2310 a hw key (like enter) is pressed.
2312 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2313 in HildonDateSelector dialog)
2315 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2317 * debian/rules: Added --enable-maintainer-mode
2318 * Makefile.am: Added ACLOCAL_AMFLAGS
2320 This allows to properly regenerate the Makefiles if you modify the
2321 configure.ac or any Makefile.am.
2323 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2325 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2326 properties, not needed at all.
2328 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2332 * src/hildon-note.c: (hildon_note_set_property),
2333 (hildon_note_get_property), (hildon_note_class_init),
2334 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2335 (hildon_note_new_confirmation_add_buttons): Remove icons.
2336 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2337 (hildon_note_new_information_with_icon_name): Deprecate.
2338 (hildon_note_new_confirmation): Act directly, without calling
2339 the deprecated constructor.
2340 (hildon_note_new_information): Act directly, without calling
2341 the deprecated constructor.
2342 * src/hildon-note.h: Mark deprecate methods as such.
2343 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2344 not run tests on the deprecated methods if built with deprecation
2347 Fixes: NB#91688 (Never show icons in information notes/confirmation
2350 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2352 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2353 (hildon_app_menu_key_press): Remove leftover usage of the
2354 private structure in HildonAppMenu struct.
2355 * src/hildon-app-menu.h: Remove leftover private structure
2356 from the HildonAppMenu struct.
2358 Fixes a crasher when using the HildonAppMenu.
2360 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2362 * src/hildon-picker-dialog.c: Use appropriate logical id
2363 for the default "Done" text.
2365 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2367 * configure.ac: post release version bump
2368 * debian/changelog: version bump
2370 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2372 Modified the way to scroll to the current selection just when the touch
2373 selector is shown on the screen, avoiding a g_idle. Added too a property
2374 to configure this behaviour. See hildon_pannable_area_jump_to_child
2375 documentation for more information.
2377 * src/hildon-touch-selector.c
2378 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2379 Added 'initial-scroll' property
2380 (hildon_touch_selector_set_property): Added
2381 (hildon_touch_selector_map): Removed as not required anymore
2382 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2383 only a concrete column, instead of iterate along all the columns
2385 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2390 * configure.ac: bump version
2391 * debian/changelog: updates
2393 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2396 compilation time warnings.
2398 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2400 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2401 the default value for HildonPannableArea::mov-mode to
2402 HILDON_PANNABLE_AREA_MODE_VERT.
2404 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2406 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2408 Reverting following commit:
2410 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-app-menu-private.h
2413 * src/hildon-app-menu.[ch]
2414 * src/hildon-button.[ch]
2415 * src/hildon-check-button.[ch]
2416 * src/hildon-entry.[ch]
2417 * src/hildon-pannable-area.[ch]
2418 * src/hildon-text-view.[ch]:
2419 Added private field to the object's structure.
2421 because it causes an ABI breakage. We will need to introduce these
2422 changes later at some point. See NB#91636 for an extensive
2423 explanation and status.
2425 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2427 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2429 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2430 remove special cases that are no longer necessary.
2432 Fixes: NB#91016 (Change toolbar sizes, simplification)
2434 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2437 is shown in the cancel note.
2439 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2441 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2442 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2443 (hildon_seekbar_init): Remove steppers, remove expose event.
2444 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2446 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2448 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2450 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2451 label font to "SmallSystemFont" for vertically arranged buttons.
2453 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2456 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-check-button.c
2459 (hildon_check_button_set_active, hildon_check_button_clicked):
2460 Don't access private parts directly, use getters instead.
2462 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2464 * src/hildon-check-button.c (hildon_check_button_new):
2465 Align the contents of the check button to the left.
2467 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2469 * src/hildon-pannable-area.c,
2470 (hildon_pannable_area_scroll_to),
2471 (hildon_pannable_area_jump_to),
2472 (hildon_pannable_area_scroll_to_child),
2473 (hildon_pannable_area_jump_to_child): Replace the mapped
2474 precondition of these functions with the realized, it is the
2475 correct state of the widget in this case. Changed the
2476 documentation according to this modification.
2478 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2480 Added a new EXTRA_CFLAGS option to add the deprecated define to
2481 the compilation command. This way we can avoid using the define in
2482 the documentation compilation.
2484 * configure.ac: Defined EXTRA_CFLAGS.
2486 * examples/Makefile.am:
2488 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2490 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2492 * src/hildon-picker-dialog.c:
2493 Defined a utility macro with the desired touch selector height
2494 Removed currently unused separator, and title_label variables from
2496 (hildon_picker_dialog_init): Removed code related to the creation
2497 of unused private variables title_label and separator.
2498 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2499 to ensure correct visualization of the touch selector inside the dialog.
2500 * src/hildon-touch-selector.c
2501 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2502 ensure a concrete height of the widget.
2504 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2507 * tests/Makefile.am:
2509 Remove spurious whitespaces.
2511 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2513 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2514 compilation warning after the cancel button removal.
2516 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2518 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2520 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2521 Makefile.am, that way we can choose not to compile some examples
2522 and tests of the deprecated widgets.
2524 * examples/Makefile.am: Divided the sources in deprecated and
2527 * src/Makefile.am: Added undef statement of the deprecated
2528 symbol to the enums file generation process.
2530 * src/hildon-color-chooser-dialog.c
2531 * src/hildon-color-chooser-dialog.h
2532 * src/hildon-color-button.c
2533 * src/hildon-color-button.h
2534 * src/hildon-color-chooser.c
2535 * src/hildon-color-chooser.h
2536 * src/hildon-controlbar.c
2537 * src/hildon-controlbar.h
2538 * src/hildon-date-editor.c
2539 * src/hildon-date-editor.h
2540 * src/hildon-hvolumebar.c
2541 * src/hildon-hvolumebar.h
2542 * src/hildon-private.c
2543 * src/hildon-private.h
2544 * src/hildon-range-editor.c
2545 * src/hildon-range-editor.h
2546 * src/hildon-seekbar.c
2547 * src/hildon-seekbar.h
2548 * src/hildon-time-editor.c
2549 * src/hildon-time-editor.h
2550 * src/hildon-time-picker.c
2551 * src/hildon-time-picker.h
2552 * src/hildon-volumebar.c
2553 * src/hildon-volumebar.h
2554 * src/hildon-vvolumebar.c
2555 * src/hildon-vvolumebar.h
2556 * src/hildon-bread-crumb-trail.h
2557 * src/hildon-bread-crumb-trail.c
2558 * src/hildon-calendar-popup.c
2559 * src/hildon-calendar-popup.h
2560 * src/hildon-weekday-picker.c:
2561 * src/hildon-weekday-picker.h:
2562 * src/hildon-bread-crumb-widget.c:
2563 * src/hildon-bread-crumb-widget.h:
2564 * src/hildon-bread-crumb.c:
2565 * src/hildon-bread-crumb.h:
2566 * src/hildon-calendar.c:
2567 * src/hildon-calendar.h:
2568 * src/hildon-caption.c:
2569 * src/hildon-code-dialog.c:
2570 * src/hildon-code-dialog.h:
2571 * src/hildon-font-selection-dialog.c:
2572 * src/hildon-font-selection-dialog.h:
2573 * src/hildon-get-password-dialog.c:
2574 * src/hildon-get-password-dialog.h:
2575 * src/hildon-login-dialog.c:
2576 * src/hildon-login-dialog.h:
2577 * src/hildon-number-editor.c:
2578 * src/hildon-number-editor.h:
2579 * src/hildon-set-password-dialog.c:
2580 * src/hildon-set-password-dialog.h:
2581 * src/hildon-sort-dialog.c:
2582 * src/hildon-sort-dialog.h: This is the list of deprecated
2585 * src/hildon-touch-selector.c:
2586 * src/hildon-window.c: Added undef statement to avoid compilation
2589 * tests/Makefile.am: Divided the sources in deprecated and
2592 * tests/check_test.c,
2593 (configure_tests): Marked the deprecated code that was adding
2594 suites with deprecated tests.
2596 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2598 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2600 * src/hildon-touch-selector.c: (_default_print_func): Do not
2601 duplicate a string returned by gtk_tree_model_get(), it is already
2604 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2607 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2609 * src/hildon-pannable-area.c
2610 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2611 method, it had problems when adding a widget with viewport the
2612 second time. Now checks if it already has a viewport and uses it.
2614 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2617 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2619 * src/hildon-pannable-area.c,
2620 (hildon_pannable_area_scroll_to),
2621 (hildon_pannable_area_jump_to),
2622 (hildon_pannable_area_scroll_to_child),
2623 (hildon_pannable_area_jump_to_child): Added a precondition to the
2624 scroll and jump to functions: the widget must be mapped before we
2625 can safely call these functions. We have also added documentation
2626 to the functions to explain how to use them in this situation.
2629 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2631 Reviewed the threading handling of the pannable widget, we have
2632 used the gdk_threads_add_timeout function instead of the usual
2633 glib handlers. This avoids some problems with the threads.
2635 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2636 (hildon_pannable_area_initial_effect),
2637 (hildon_pannable_area_scroll_indicator_fade),
2638 (hildon_pannable_area_button_press_cb),
2639 (hildon_pannable_area_timeout),
2640 (hildon_pannable_area_motion_notify_cb),
2641 (hildon_pannable_area_button_release_cb),
2642 (hildon_pannable_area_scroll_cb),
2643 (hildon_pannable_area_scroll_to): Removed the
2644 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2645 gdk_threads_add_timeout.
2647 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2649 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2654 * configure.ac: bump version
2655 * debian/changelog: updates
2657 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2660 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2661 * src/hildon-color-chooser-dialog.c:
2662 (hildon_color_chooser_dialog_init):
2663 * src/hildon-font-selection-dialog.c:
2664 (hildon_font_selection_dialog_init):
2665 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2667 Remove all cancel/close-like dialogs, as these are not going to be
2670 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-note.c: (hildon_note_rebuild),
2673 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2676 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2678 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2680 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2681 sure all buttons are shown, even the Cancel/Close-like ones.
2683 Fixes: NB#90861 (Custom Confirmation dialogs should be
2684 protected from cancel button removal)
2686 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2688 * debian/control: Change libhildon1-examples dependency from libhildon1
2690 * debian/libhildon1-examples.install
2692 * Makefile.am: Modified the final install directory for the examples on
2693 package libhildon1-examples
2694 * Makefile.static: Update clean target in order to remove all the binary
2697 Changes suggested by Claudio after review new libhildon1-examples package
2699 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2701 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2702 * src/hildon-touch-selector.c: Ditto.
2704 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2706 * debian/control: Added new package libhildon1-examples, in order to pack
2707 the current hildon examples as documentation
2708 * debian/rules: Not to compress .c files, modify some includes on the
2709 examples (as normally are compiled locally, but when installed it will
2710 require to include the installed libhildon1 library), and rename
2712 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2713 install all the example files on the new example package
2714 * examples/Makefile.static: Added static makefile that can be used to
2715 compile the examples, once installed the new example package
2716 * examples: Most of the examples were modified in order to grant that
2717 all use only '#include "hildon.h"', in order to be easy to prepare
2718 it on the example package
2720 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2723 * debian/libhildon1-dev.install
2724 * debian/libhildon1-doc.install:
2725 Move all gtk-doc files to a separate libhildon1-doc package.
2727 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2729 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2733 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2735 * debian/rules: Fixed a error in order to avoid unnecessary calls
2736 to autogen.sh on package building
2738 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2740 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2742 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2744 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2747 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2749 * src/hildon-picker-button.c
2750 (hildon_picker_button_finalize):
2751 Free priv->done_button_text
2753 * src/hildon-time-button.c
2754 (hildon_time_button_set_time)
2755 * src/hildon-picker-button.c
2756 (hildon_picker_button_clicked)
2757 (hildon_picker_button_selector_selection_changed)
2758 (hildon_picker_button_set_selector)
2759 * src/hildon-date-button.c
2760 (hildon_date_button_set_date):
2761 Free strings returned by hildon_touch_selector_get_current_text()
2763 * src/hildon-button.c (hildon_button_construct_child):
2764 Fix leaks in priv->image and priv->label_box
2766 Fixes: NB#90535 (Memory leak in picker button)
2768 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2770 * src/hildon-button.c: (hildon_button_get_property): Do not access
2771 private elements directly, use getters instead.
2773 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2775 * src/hildon-app-menu-private.h
2776 * src/hildon-app-menu.c
2777 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2778 Store the menu's parent window.
2780 * src/hildon-stackable-window.c
2781 (hildon_stackable_window_toggle_menu)
2782 (hildon_stackable_window_finalize):
2783 Set the menu's parent window when the menu is shown, unset it when
2786 * src/hildon-app-menu.c
2787 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2788 (hildon_app_menu_class_init):
2789 Send unhandled keyboard accelerators to the parent window.
2791 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2793 * src/hildon-stackable-window.c
2794 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2796 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2798 * configure.ac: post release version bump
2800 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2803 * configure.ac: Bump version
2804 * debian/changelog: Updates
2805 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2808 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2810 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2813 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2814 GtkMenu with Hildon style.
2816 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/hildon-picker-button.c:
2819 (hildon_picker_button_set_done_button_text): Set the dialog's
2820 done button text here as well.
2822 Fixes: NB#90232 (Picker button does not set the label on done button
2823 for the second time)
2825 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2830 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2832 * src/hildon-app-menu.c (hildon_app_menu_insert)
2833 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2834 the HildonAppMenu to be activatable using keyboard accelerators
2835 when the menu is not being shown.
2837 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2839 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2841 * src/hildon-stackable-window.c
2842 (hildon_stackable_window_show):
2843 Don't hide old windows automatically when new windows are shown:
2844 this is now a task for the window manager.
2845 (hildon_stackable_window_class_init)
2846 (hildon_stackable_window_hide):
2847 Remove windows from the stack everytime they're hidden.
2848 (hildon_stackable_window_realize):
2849 Don't change the _NET_WM_WINDOW_TYPE property. Use
2850 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2851 it as a stackable window.
2853 * src/hildon-program.c
2854 (hildon_program_pop_window_stack):
2855 Just hide the window to remove it from the stack.
2856 (hildon_program_go_to_root_window):
2857 Don't call gtk_widget_show(), this is now a task for the window
2860 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2862 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-button.c
2865 (hildon_button_construct_child):
2866 Don't pack anything in the button until text or image are
2867 set. This allows adding a custom child after creating the button
2868 with hildon_button_new().
2869 (hildon_button_finalize, hildon_button_class_init)
2870 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2871 alignment and the label box even when they're not packed in the
2874 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2876 * src/hildon-touch-selector.h:
2877 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2878 currently the type definition was using GTK_TYPE_VBOX
2879 * src/hildon-touch-selector.c:
2880 Added some implementation notes in order to clarify that any other widget
2881 added without the column related API will not be included on the
2882 selection logic, and how the widget is freed, as some people ask about
2884 (hildon_touch_selector_remove): Reimplemented in order to free properly
2885 the column related data when you remove the private hbox.
2886 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2887 to get a proper HildonTouchSelectorColumn documentation
2889 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2891 * src/hildon-touch-selector-entry.c:
2892 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2893 text in the GtkEntry and there is no item selected. Fixes a
2896 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2898 * src/hildon-app-menu-private.h
2899 * src/hildon-app-menu.[ch]
2900 * src/hildon-button.[ch]
2901 * src/hildon-check-button.[ch]
2902 * src/hildon-entry.[ch]
2903 * src/hildon-pannable-area.[ch]
2904 * src/hildon-text-view.[ch]:
2905 Added private field to the object's structure.
2907 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2909 * configure.ac: post-release version bump
2911 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2915 * configure.ac: pre-release version bump
2917 * debian/changelog: updates.
2919 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2922 Disconnect the handler for HildonTouchSelector::changed.
2924 (hildon_picker_button_selector_selection_changed): Update the button
2925 value if the selection change was not triggered by the
2928 (hildon_picker_button_set_selector): connect to
2929 HildonTouchSelector::changed.
2931 Fixes: NB#89650 (Picker button is not updated, when selection in
2932 selector has changed)
2934 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2936 * src/hildon-picker-dialog.c
2937 (hildon_picker_dialog_realize): Removed as not required
2938 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2939 * src/hildon-picker-button.c
2940 (_current_selector_empty): New function, checks if the selector is empty
2941 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2942 if the current selector is empty, in order to avoid to show the dialog
2943 close the dialog in this case (and shows a g_warning).
2945 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2947 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2949 * src/hildon-pannable-area.c,
2950 (hildon_pannable_area_scroll): Added clause to stop movement when
2951 the child of pannable is smaller than one page.
2952 (hildon_pannable_area_scroll_to): Added conditions to avoid
2953 starting the scrolling movement if the child is smaller than one
2954 page, the complete child is in the screen, we do not have to move.
2956 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2958 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2960 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2961 this is managed automatically by the widget when the size of the
2964 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2966 * src/hildon-picker-button.c
2967 (hildon_picker_button_set_done_button_text): Make a copy of the
2968 text, and free the previous value.
2970 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-touch-selector-entry.c:
2973 (hildon_touch_selector_entry_print_func): Return the selected row's
2974 text if the entry is empty.
2976 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2979 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2981 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2983 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2986 * src/hildon-check-button.h
2987 * src/hildon-check-button.c
2988 * examples/hildon-check-button-example.c:
2989 HildonCheckButton is now a new widget. 'toggled' signal added.
2991 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2993 * src/hildon-program-private.h
2994 * src/hildon-program.c (hildon_program_init)
2995 (hildon_program_finalize): Removed unused variables group_leader
2996 and name from HildonProgramPrivate.
2998 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3000 * src/hildon-check-button.c (hildon_check_button_set_active)
3001 (hildon_check_button_get_active, hildon_check_button_new): Use
3002 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3004 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3006 * src/hildon-touch-selector.h
3007 (hildon_touch_selector_set_column_attributes): added deprecation
3008 guard HILDON_DISABLE_DEPRECATED
3009 * src/hildon-time-selector.c
3010 (hildon_time_selector_set_time)
3011 (hildon_time_selector_get_time): Fixed a typo on documentation
3012 * src/hildon-touch-selector.c: update HildonTouchSelector and
3013 HildonTouchSelectorColumn documentation
3014 * src/hildon-touch-selector-entry.c: update "text-column" property
3016 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3017 to be added to the general documentation.
3019 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3021 * examples/hildon-pannable-area-example-4.c,
3023 * examples/hildon-pannable-area-example.c,
3024 (main): Modified the code in order to use the container add, with
3025 viewport treeviews could have problems if they are really big.
3027 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3029 * src/hildon-weekday-picker.c,
3030 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3031 the agreement regarding deprecation in the library.
3033 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3035 * examples/hildon-picker-button-multicolumn-example.c:
3036 (main): Use custom "done" button text.
3038 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3039 (hildon_picker_button_set_property),
3040 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3041 (hildon_picker_button_init),
3042 (+hildon_picker_button_get_done_button_text),
3043 (+hildon_picker_button_set_done_button_text): New methods to customize
3044 the "done" button label in the launched HildonPickerDialog. Also,
3047 * src/hildon-picker-button.h: add the public API.
3049 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-date-selector.h:
3052 * src/hildon-picker-dialog.h:
3053 * src/hildon-time-selector.h:
3054 * src/hildon-touch-selector-column.h:
3055 * src/hildon-touch-selector.h:
3057 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3058 declarations. Fixes gtk-doc warnings.
3060 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3062 * src/hildon-picker-dialog.h
3063 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3064 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3066 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3067 long text is set as label for done button)
3069 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-dialog.c (hildon_dialog_add_button):
3072 Set fixed width to all buttons in the HildonDialog.
3074 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3076 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3078 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3079 Set widget name using class name plus "-finger" or "-thumb".
3081 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3084 'clicked' when the state of the button is manually changed.
3086 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3088 * src/hildon-app-menu.c (hildon_app_menu_realize)
3089 (hildon_app_menu_unrealize, hildon_app_menu_init)
3090 (hildon_app_menu_class_init, item_visibility_changed):
3091 Change the menu layout when the size of the screen changes.
3092 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3093 Show warning only when changing the number of colums using the
3096 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3098 * debian/compat: Set to 5
3099 * debian/control: Update dependencies.
3100 * debian/libhildon1-dbg.install: Remove.
3101 * debian/libhildon1-dev.install: Update according to cdbs paths.
3102 * debian/libhildon1.install: Update according to cdbs paths.
3103 * debian/rules: Switch to cdbs.
3105 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3108 'item' variable renamed to 'filter'
3110 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-app-menu.c (hildon_app_menu_insert)
3113 (hildon_app_menu_add_filter, remove_item_from_list)
3114 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3115 Don't leak hidden items when the menu is destroyed.
3117 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-app-menu.c (hildon_app_menu_insert)
3120 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3121 (hildon_app_menu_set_columns, item_visibility_changed)
3122 (filter_visibility_changed, hildon_app_menu_repack_filters)
3123 (hildon_app_menu_repack_items):
3124 Repack items and filters separately.
3126 Don't repack all items, change only the ones that are needed to
3129 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3131 * src/Makefile.am: added hildon-touch-selector-column.h
3133 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3135 * src/hildon-touch-selector.c: added the property "text-column" to the
3136 class HildonTouchSelectorColumn, and related get/set functions
3137 (_default_printf_func): updated to use "text-column" property
3138 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3139 "text-column" in his documentation, as this is now included on
3140 HildonTouchSelectorColumn. The get/set_property can still be used,
3141 working as a wrapper to the concrete column "text-column" property
3142 (_text_column_modified): callback added in order to handle the signal
3143 "notify::text-column" of the concrete HildonTouchSelectorColumn
3144 (hildon_touch_selector_entry_get_text_column)
3145 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3146 modified in order to use the HildonTouchSelectorColumn "text-column"
3148 * src/hildon-time-selector.c:
3149 * src/hildon-date-selector.c:
3150 * examples/hildon-touch-selector-example.c
3151 * examples/hildon-touch-selector-multi-cells-example.c
3152 * examples/hildon-picker-button-multicolumn-example.c
3153 Set the right value to "text-column" property on the creation of a new
3154 column using hildon_touch_selector_append_column()
3156 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3158 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-app-menu.c
3161 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3162 updating the layout of the menu, don't create all widgets again,
3163 just repack the items in their new places.
3165 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3167 * src/hildon-time-selector.c
3168 (hildon_time_selector_get_time)
3169 (hildon_time_selector_set_time)
3170 Added documentation of these public methods
3172 * src/hildon-date-button.h
3173 * src/hildon-touch-selector-column.h
3174 * src/hildon-time-button.h
3175 * src/hildon-picker-dialog.h
3176 * src/hildon-time-selector.h
3177 * src/hildon-picker-button.h
3178 * src/hildon-touch-selector.h
3179 * src/hildon-time-picker.h
3180 * src/hildon-date-selector.h
3181 * src/hildon-touch-selector-entry.h
3182 Modified in order to use hildon-widgets code style
3184 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3186 Added deprecated support to the compilation process using
3187 HILDON_DISABLE_DEPRECATED
3189 * configure.ac: Added the --disable-deprecated to the configure
3192 * src/hildon-weekday-picker.c:
3193 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3194 to use the deprecated support. We will update the other deprecated
3195 widgets status in a new patch.
3197 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3199 * configure.ac: Fixed typo with fatal warnings support, the
3200 variable name was not correct
3202 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3204 * src/hildon-app-menu.c
3205 * src/hildon-program.c: Update documentation.
3207 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3209 * configure.ac: Post-release version bump.
3211 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3216 * configure.ac: Pre-release version bump.
3217 * debian/changelog: Updates.
3219 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3221 * NEWS: Update news for previous releases.
3223 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3225 * examples/hildon-touch-selector-multi-cells-example.c:
3226 (create_selector): Update the example to use
3227 hildon_touch_selector_append_column() with a NULL renderer and set
3228 the renderers later.
3229 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3230 passed a NULL renderer. This is documented behavior now.
3232 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3233 This must be used if the developer wants full control on the layout of
3234 the renderers to be added to the column.
3236 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3238 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3240 * src/hildon-touch-selector.c: Documentation fixes.
3242 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3244 * src/hildon-wizard-dialog-private.h: Remove image and box.
3245 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3246 (hildon_wizard_dialog_set_property), (response): Completely remove
3247 image/icon support, and the containers required for the layout.
3249 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3251 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-app-menu.c: Updated documentation.
3255 * src/hildon-stackable-window.c
3256 (hildon_stackable_window_set_main_menu): Unref the old menu after
3257 ref'ing the new one.
3259 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3261 * src/hildon-stackable-window.c
3262 (hildon_stackable_window_set_main_menu): Unref the previous menu
3263 instead of destroying it.
3265 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3266 floating reference and set has_user_ref_count to FALSE to make
3267 HildonAppMenu act like a normal ref-counted widget and not a
3270 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3273 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3275 * src/hildon-touch-selector-column.h: new file
3276 * src/hildon-touch-selector.h
3277 * src/hildon-touch-selector.c
3278 Implemented GtkCellLayout interface, in order to allow to configure
3279 the cell layout on each individual selector column
3280 (hildon_touch_selector_set_column_attributes): marked as deprecated
3281 * examples/hildon-touch-selector-multi-cells-example.c
3282 Example of how to use the GtkCellLayout interface on the selector
3284 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3286 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3288 * src/hildon-app-menu.h
3289 * src/hildon-app-menu.c
3290 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3291 (hildon_app_menu_append, hildon_app_menu_prepend):
3292 New methods to prepend, insert and move items in the menu.
3294 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3296 * src/hildon-wizard-dialog.c:
3298 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3300 (create_title): Update logical IDs and related code.
3301 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3303 * src/hildon-wizard-dialog.h: Note that
3304 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3305 point, as it is not used anymore.
3307 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3309 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3311 * src/hildon-note.c:
3312 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3313 shown. Do not display an icon in confirmation notes nor information
3315 (hildon_note_set_button_text): Update logical ID for cancel button.
3317 Fixes: NB#88850 (Update HildonNote button strings + signals)
3319 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-stackable-window.c
3322 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3324 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-app-menu-private.h
3327 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3328 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3329 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3330 temporary property 'columns' to change the number of columns.
3332 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3334 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3336 * examples/hildon-note-example.c: (on_information_clicked),
3337 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3338 debugging information.
3339 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3341 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3342 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3343 in order to close: this will be handled by the WM from now on.
3345 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3347 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3349 * src/hildon-app-menu-private.h
3350 * src/hildon-app-menu.c
3351 (hildon_app_menu_append, hildon_app_menu_add_filter)
3352 (button_visibility_changed, hildon_app_menu_apply_style)
3353 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3354 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3355 layout everytime a button (item or filter) is shown or hidden.
3357 * src/hildon-stackable-window.c
3358 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3361 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3363 * src/hildon-touch-selector.c:
3364 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3365 that the treeview inside the touch selector is in fremantle hildon mode
3366 * examples/hildon-date-button-example.c
3367 * examples/hildon-picker-button-multicolumn-example.c
3368 * examples/hildon-touch-selector-entry-example.c
3369 * examples/hildon-touch-selector-example.c
3370 * examples/hildon-time-button-example.c
3371 * examples/hildon-picker-button-example.c:
3372 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3374 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3376 * examples/hildon-text-view-example.c: (main): Remove the
3377 gtkrc bits, now handled by the theme.
3379 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3381 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3384 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3386 * po/Makefile.am: Install properly the mo files.
3387 * po/en_GB.po: Update translation, to ease testing purposes.
3389 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3391 * examples/hildon-picker-button-example.c: (main): Select an item
3392 in the selector before setting it to the button.
3394 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3397 Update button's value if the selector has an item active.
3399 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3400 'value' with the selector)
3402 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3404 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3405 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3406 (hildon_picker_button_class_init): Plug the finalize method.
3407 (hildon_picker_button_set_selector): If there's a previously set
3408 selector, unref'it before setting a new one.
3410 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3411 HildonTouchSelector)
3413 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3415 * src/hildon-touch-selector-entry.c:
3416 (hildon_touch_selector_entry_changed): Check if there is no text
3417 selected before setting the entry text.
3420 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-touch-selector.h
3423 * src/hildon-touch-selector.c
3424 (hildon_touch_selector_get_active)
3425 (hildon_touch_selector_set_active): New methods to set/get the
3426 index of the selected item.
3428 * src/hildon-picker-button.h
3429 * src/hildon-picker-button.c
3430 (hildon_picker_button_get_active)
3431 (hildon_picker_button_set_active): New methods to set/get the
3432 index of the selected item.
3434 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3436 * configure.ac: post-release version bump.
3438 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3442 * configure.ac: Pre-release version bump.
3443 * debian/changelog: Updates.
3444 * debian/control: Add myself as maintainer and depend on l10n
3447 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3449 * src/hildon-window.c
3450 (hildon_window_set_main_menu)
3451 * src/hildon-stackable-window.c
3452 (hildon_stackable_window_set_main_menu):
3453 Updated documentation.
3455 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3457 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3458 Don't free selector->priv manually.
3461 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3464 (hildon_gtk_window_set_progress_indicator):
3465 * src/hildon-gtk.h: Added the new API
3466 hildon_gtk_window_set_progress_indicator, it changes the state of
3467 the window progress hint.
3469 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-button.c
3472 * src/hildon-stackable-window.c: Minor documentation updates.
3474 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-stackable-window.c: Updated documentation.
3478 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3480 * src/hildon-defines.h: Update margins definitions
3481 to the Fremantle sizes.
3484 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3486 * src/hildon-touch-selector.c,
3487 (_hildon_touch_selector_set_model): Cleaning the code after
3488 review, removed g_print and #if 0 from the code.
3490 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-edit-toolbar.c: Update documentation.
3494 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-check-button.h
3497 * src/hildon-check-button.c
3498 (hildon_check_button_set_label, hildon_check_button_get_label)
3499 * examples/hildon-check-button-example.c
3500 (button_clicked_cb):
3501 Removed deprecated methods.
3503 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-text-view.c:
3506 Add sample code to the documentation.
3508 * src/hildon-entry.h
3509 * src/hildon-text-view.h:
3510 Minor cosmetic changes.
3512 * src/hildon-entry.c:
3513 Add sample code to the documentation.
3514 (hildon_entry_init, hildon_entry_refresh_contents):
3515 Don't allow NULL values in the placeholder.
3517 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3519 * doc/hildon-docs.sgml
3521 * examples/Makefile.am
3522 * examples/hildon-text-view-example.c
3524 * src/hildon-text-view.c
3525 * src/hildon-text-view.h
3527 New HildonTextView widget, with example.
3529 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3531 * po/POTFILES.in: Add missing files with translatable strings.
3532 Partially fixes NB#88287.
3534 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3536 * examples/hildon-pannable-area-example-2.c: (main): No need to
3537 set the cellrenderer height inside hildon touch lists, the theme does
3540 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3542 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3543 they are integrated in the theme.
3545 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3547 * examples/hildon-entry-example.c: Update the example adding
3548 widgets to modify the text and the placeholder of the HildonEntry.
3550 * src/hildon-entry.c: Show the placeholder everytime the widget
3551 is empty and loses the focus.
3553 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3555 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3557 * src/hildon-pannable-area.c,
3558 (hildon_pannable_area_size_request): Fixed bug in height
3559 requisition, avoid increasing size and add border twice.
3561 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3563 * configure.ac: postrelease version bump.
3565 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3569 * configure.ac: Prerelease version bump.
3570 * debian/changelog: update.
3571 * debian/rules: make -dbg package contain useful debugging symbols.
3573 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3575 * src/hildon-dialog.h
3576 * src/hildon-dialog.c
3577 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3578 New methods to add buttons with finger size.
3579 (hildon_dialog_new_with_buttons):
3580 Create buttons with finger size.
3582 * examples/hildon-dialog-example.c (main): Use HildonDialog
3583 methods to add buttons.
3585 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3587 * src/hildon-entry.c: Updated HildonButton documentation.
3589 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3591 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3592 button value label with (FALSE, FALSE) to prevent NB#88126 from
3595 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3597 * examples/hildon-pannable-area-example.c,
3598 (main): Removed examples panning a vbox inside a pannable
3599 area. Check bug NB#87965
3601 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3603 Patch contributed by Kris Rietveld (kris@imendio.com)
3605 * src/hildon-pannable-area.c,
3606 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3607 get_size and get_position, this saves an X server roundtrip.
3609 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3611 * doc/hildon-docs.sgml
3613 * examples/Makefile.am
3614 * examples/hildon-entry-example.c
3616 * src/hildon-entry.c
3617 * src/hildon-entry.h
3619 New HildonEntry widget, with example.
3621 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3623 * src/hildon-button.c (hildon_button_construct_child): Pack the
3624 image with expand == fill == FALSE. This is a workaround for a bug
3627 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3629 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3630 labels for the text column, to make it more look more dynamic.
3632 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3634 * src/hildon-time-selector.c
3635 Define gettext auxiliar macro N_
3636 (_create_minutes_model)
3637 (_create_hours_model)
3638 (_create_ampm_model): use of strftime in order to fill the model
3639 * src/hildon-date-selector.c
3640 (hildon_date_selector_finalize):
3641 (_locales_init): remove the logic related to get the name of the months
3642 using nl_langinfo, as it is not required anymore
3644 (_create_year_model)
3645 (_create_month_model)
3646 (_update_day_model): use of strftime in order to fill the model properly
3649 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-button.h
3652 * src/hildon-button.c (hildon_button_get_image): New method to
3655 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3657 * src/hildon-touch-selector.c:
3658 (hildon_touch_selector_remove_column): Remove from the correct parent
3659 and also remove the list element and free it.
3662 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3664 * src/hildon-time-selector.c
3665 (_create_hours_model): change the range on 12h ampm format in order to use
3666 a 12-11 range instead of previous 01-12 range
3667 (hildon_time_selector_set_time): change the way to select the current time
3668 on 12h ampm format, due the change on the range
3669 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3672 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3674 * src/hildon-touch-selector.c
3675 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3676 in order to allow use this function on multiple row selection mode if
3677 the column is different that the first one
3680 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3682 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3683 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3685 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3687 * src/hildon-date-selector.h: clean some comments, now on the .c
3688 * src/hildon-date-selector.c
3689 (hildon_date_selector_select_month): first implementation
3690 (hildon_date_selector_select_day): added documentation, reimplemented
3691 using hildon_date_selector_select_current_date to avoid repeat code
3694 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3696 Reviewed interaction logic based on device experiences, refactored
3699 * src/hildon-pannable-area.c,
3700 (hildon_pannable_area_class_init): Updated default vmax speed.
3701 (hildon_pannable_area_calculate_velocity): Added this function, it
3702 avoids duplicate valocity calculation. Adjusted calculation to
3703 avoid problems with zero dist events.
3705 (hildon_pannable_area_motion_notify_cb): Now we use the
3706 calculate_velocity function.
3708 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3710 * src/hildon-date-selector.c
3711 (hildon_date_selector_select_current_date): fix the day range check
3712 as it failed using the last day of the current month
3715 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3717 * src/hildon-touch-selector.c
3718 (hildon_touch_selector_get_num_columns): added a parameter validation
3721 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3723 * examples/Makefile.am
3724 * examples/hildon-edit-toolbar-example.c: Example of the
3725 HildonEditToolbar widget.
3727 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3729 * configure.ac: postrelease version bump.
3731 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3735 * configure.ac: prerelease version bump.
3736 * debian/changelog: update.
3738 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3740 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3741 renderer to display stock icons in the touch list. Also, set the sizes
3742 to the recommended in the style guide.
3744 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3745 * src/hildon-touch-selector.h
3746 (hildon_touch_selector_set_active_iter): renamed, now is
3747 hildon_touch_selector_select_iter
3748 (hildon_touch_selector_get_active_iter): renamed, now is
3749 hildon_touch_selector_get_selected
3750 (hildon_touch_selector_unselect_iter): added
3751 * src/hildon-touch-selector.c
3752 Update after API modification (methods renamed)
3753 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3754 order to avoid problems selecting multiple elements on the column
3755 (hildon_touch_selector_unselect_iter): added the implementation
3756 * src/hildon-time-selector.c
3757 * src/hildon-date-selector.c
3758 * src/hildon-touch-selector-entry.c
3759 Update methods calls after hildon-touch-selector.h API modification (methods
3762 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-stackable-window.c
3765 (hildon_stackable_window_finalize): Call the parent class's finalize.
3767 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3769 * examples/hildon-touch-selector-example.c: (create_selector): Use
3770 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3773 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3775 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3776 set a cell background color, to respect theming.
3778 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3780 * doc/hildon-docs.sgml
3783 * src/hildon-edit-toolbar.c
3784 * src/hildon-edit-toolbar.h
3785 * src/hildon.h: New HildonEditToolbar widget.
3787 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3789 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3792 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3793 * src/hildon-touch-selector.c
3794 (_create_new_column): use g_object_set instead of two g_object_set_property
3796 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3797 * src/hildon-touch-selector.c
3798 (_create_new_column): use of hildon_gtk_tree_view_new to create
3799 the treeview, instead of use directly g_object_new
3800 (_create_new_column): update the property name "vindicator-mode" for the
3801 new one "vscrollbar-policy"
3802 * examples/hildon-date-button-example.c
3803 * examples/hildon-picker-button-multicolumn-example.c
3804 * examples/hildon-touch-selector-entry-example.c
3805 * examples/hildon-touch-selector-example.c
3806 * examples/hildon-time-button-example.c
3807 * examples/hildon-picker-button-example.c
3808 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3809 to all the treeviews inside a pannable area.
3811 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3813 * src/hildon-button.h
3814 * src/hildon-button.c (hildon_button_init)
3815 (hildon_button_set_arrangement, hildon_button_set_alignment)
3816 (hildon_button_set_title_alignment)
3817 (hildon_button_set_value_alignment)
3818 (hildon_button_set_image_alignment)
3819 (hildon_button_construct_child): New methods to set the alignment
3820 of the individual components of the button (title, value,
3821 image). Also, new method to alter the xscale and yscale properties
3822 of the GtkAlignment inside the button, so more complex layouts can
3825 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3827 * src/hildon-button.c (hildon_button_style_set)
3828 (hildon_button_class_init, hildon_button_set_arrangement)
3829 (hildon_button_construct_child): Apply style properties
3830 correctly. Use the 'image-spacing' style property too.
3832 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3834 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3835 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3838 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3840 * src/hildon-pannable-area.c,
3841 (hildon_pannable_area_size_request): Fixed problem with
3842 pannable-area size_request.
3844 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3846 Added management for the grab-focus to a child widget, like a
3847 range, we need to fade out the scrollbar when releasing.
3849 * src/hildon-pannable-area.c,
3850 (hildon_pannable_area_init): Connected the grab-focus signal to
3852 (hildon_pannable_area_grab_notify): Added this function in order
3853 to manage the situation when the grab-focus ends. We have to
3854 fade-out the scrollbar.
3856 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3858 * src/hildon-app-menu.c: Minor documentation update.
3860 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3862 * src/hildon-app-menu.c
3863 * examples/hildon-app-menu-example.c (create_menu): Update
3864 examples and documentation to explain how to connect callbacks.
3866 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3868 * examples/hildon-button-example.c
3869 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3870 hildon_stackable_window_new instead of gtk_window_new
3872 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3874 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3875 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3876 (hildon_pannable_area_set_property),
3877 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3878 (hildon_pannable_area_unrealize),
3879 (hildon_pannable_area_size_request),
3880 (hildon_pannable_area_size_allocate),
3881 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3882 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3883 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3884 (hildon_pannable_area_initial_effect),
3885 (hildon_pannable_area_redraw),
3886 (hildon_pannable_area_scroll_indicator_fade),
3887 (hildon_pannable_area_expose_event),
3888 (hildon_pannable_area_get_topmost), (synth_crossing),
3889 (hildon_pannable_area_button_press_cb),
3890 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3891 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3892 (hildon_pannable_area_motion_notify_cb),
3893 (hildon_pannable_area_button_release_cb),
3894 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3895 (hildon_pannable_area_remove),
3896 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3897 chage the code layout to a more GtkWidget like. Review the use of
3900 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3902 * examples/hildon-pannable-area-example-4.c,
3903 (main): Modified the name of the hindicator_mode to
3906 * src/hildon-pannable-area.c,
3907 (hildon_pannable_area_class_init),
3908 (hildon_pannable_area_motion_notify_cb),
3909 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3910 we have reduced the amount of signals and managed reviewed its
3911 rationale. Changed the default decelerate value.
3913 (hildon_pannable_area_add),
3914 (hildon_pannable_area_redraw): Refactored functions.
3916 (hildon_pannable_area_init),
3917 (hildon_pannable_area_get_property),
3918 (hildon_pannable_area_set_property):
3919 (hildon_pannable_draw_vscroll),
3920 (hildon_pannable_draw_hscroll),
3921 (hildon_pannable_area_initial_effect),
3922 (hildon_pannable_area_expose_event),
3923 (hildon_pannable_area_scroll),
3924 (hildon_pannable_area_button_press_cb),
3925 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3926 and vindicator_mode with hscrollbar_policy and
3927 vscrollbar_policy. Replaced hscroll and vscroll with
3928 hscroll_visible and vscroll_visible.
3930 (hildon_pannable_area_refresh): Refactor the function, remove
3931 variables and check the calls to this function, added resize
3932 conditions in case the children change their layout.
3934 (hildon_pannable_area_size_request): Added more detailed
3935 size_request calculation.
3938 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3940 * src/hildon-color-chooser.c
3941 (init_borders): use the correct gtk_border_free instead of g_free, to
3942 avoid a crash when this widget is used (ie: the three color selection
3945 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3947 * src/hildon-check-button.c,
3948 (hildon_check_button_set_active): Fixed problem when setting the
3949 active value, the widget was not redrawn.
3951 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3953 * src/hildon-pannable-area.c,
3954 (hildon_pannable_area_refresh),
3955 (hildon_pannable_area_scroll),
3956 (hildon_pannable_area_motion_notify_cb): Small code style change.
3958 (hildon_pannable_area_class_init): Default initial_hint set to
3959 FALSE, it is not in the specs.
3961 (hildon_pannable_area_initial_effect),
3962 (hildon_pannable_area_expose_event),
3963 (hildon_pannable_area_map),
3964 (hildon_pannable_area_init): Moved the launching point of the
3965 initial effect, it was in map but the sizes where not correct in
3966 that method so we do not know if we have the reproduce it. Now it
3967 is placed in the expose_event method and uses a variable to
3968 reproduce it just once.
3970 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3972 * src/hildon-pannable-area.c,
3973 (hildon_pannable_draw_vscroll),
3974 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3975 position allowed for the scrollbars.
3977 (hildon_pannable_area_size_allocate): Small style change.
3979 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3981 * src/hildon-pannable-area.c,
3982 (hildon_pannable_area_scroll_indicator_fade),
3983 (hildon_pannable_area_button_press_cb),
3984 (hildon_pannable_area_button_release_cb),
3985 (hildon_pannable_area_scroll_cb),
3986 (hildon_pannable_area_expose_event),
3987 (hildon_pannable_area_init): Added the define parameter
3988 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3989 and refactor the fade variable.
3991 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3993 * src/hildon-pannable-area.c,
3994 (hildon_pannable_area_redraw),
3995 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3996 lines, we were reimplemeting the redraw code.
3998 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4000 * src/hildon-pannable-area.c,
4001 (hildon_pannable_area_scroll_cb),
4002 (hildon_pannable_area_realize),
4003 (hildon_pannable_area_class_init): Added scroll_event management
4004 for pannable area, now we can scroll the usual desktop method.
4006 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4007 initialization of the parameters should depend on idle_id.
4009 (hildon_pannable_area_init),
4010 (hildon_pannable_area_map): Small code style modifications
4012 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4014 * src/hildon-pannable-area.c
4015 (hildon_pannable_area_button_press_cb),
4016 (hildon_pannable_area_motion_notify_cb),
4017 (hildon_pannable_area_button_release_cb),
4018 (hildon_pannable_area_size_allocate),
4019 (hildon_pannable_area_scroll_to): Improved the timeouts
4020 management, we avoid creating them each time.
4022 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4024 * src/hildon-pannable-area.c:
4025 (hildon_pannable_area_refresh),
4026 (hildon_pannable_area_motion_notify_cb),
4027 (hildon_pannable_area_class_init):
4028 * src/hildon-pannable-area.h:
4029 * src/hildon-touch-selector.c
4030 (_create_new_column):
4031 * examples/hildon-pannable-area-example-4.c:
4032 (horizontal_movement),
4033 (vertical_movement),
4035 Replaced the names of enums in the HildonPannableArea:
4036 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4037 HILDON_MOVEMENT_MODE_*
4038 - HILDON_PANNABLE_AREA_MOV_* ->
4040 - Removed HildonPannableAreaIndicatorMode, now we
4043 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4045 * examples/hildon-pannable-area-touch-grid-example.c
4046 * examples/hildon-pannable-area-touch-list-example.c: Fix
4047 compilation warnings.
4049 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4051 * src/hildon-gtk.c (hildon_gtk_button_new)
4052 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4053 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4054 images overriding the value of the "gtk-button-images" setting.
4056 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4058 * src/hildon-check-button.c (hildon_check_button_new):
4059 Instead of using a custom container, display the label and the
4060 checkbox using the standard GtkButton API.
4062 * examples/hildon-check-button-example.c (main): Don't use
4063 hildon_check_button_set_label() anymore
4065 * src/hildon-check-button.h
4066 * src/hildon-check-button.c
4067 (hildon_check_button_set_label, hildon_check_button_get_label):
4068 Set as deprecated, now we're using gtk_button_{get,set}_label()
4070 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4072 * src/hildon-pannable-area.c,
4073 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4074 GtkTreeview first line we detected it after the inclusion of the
4075 GtkWindowImpl in gtk+. We now check if the window is visible, not
4076 just if the pointer is over the window.
4077 (hildon_pannable_axis_scroll),
4078 (hildon_pannable_area_expose_event): Small style changes.
4080 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4082 * src/hildon-button.c: Update documentation.
4084 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4086 * examples/hildon-button-example.c: Add a switch to show images in
4089 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4091 * doc/hildon-docs.sgml: Some docs reorganization.
4093 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4095 * examples/hildon-pannable-area-touch-list-example.c
4097 * examples/hildon-pannable-area-touch-grid-example.c
4098 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4099 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4100 Fix memory leak when setting the tree model.
4102 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4106 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4108 * doc/hildon.types: Remove duplicated hildon_window_get_type
4109 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4110 documentation comment.
4112 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4114 * doc/Makefile.am: Complete list of private headers.
4116 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4118 * doc/hildon-docs.sgml
4119 * src/hildon-app-menu.c
4120 * src/hildon-bread-crumb.c
4121 * src/hildon-button.c
4123 * src/hildon-program.c
4124 * src/hildon-stackable-window.c
4125 * src/hildon-window.c: Lots of documentation updates.
4127 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4129 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4131 * configure.ac: Require Gtk+ 2.12.9 at least
4133 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4135 * src/hildon-pannable-area.c
4136 (hildon_pannable_area_scroll_indicator_fade),
4137 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4138 to protect the return of this timeout callbacks, avoiding deadlocks.
4140 2008-08-12 Christian Dywan <christian@imendio.com>
4143 * src/hildon-*.h: Ensure a consistent include order,
4144 include <gtk/gtk.h> instead of particular files and
4145 only include the topmost header in the gtk stack. See NB #39857
4147 2008-08-12 Christian Dywan <christian@imendio.com>
4149 * src/hildon-picker-dialog.c
4150 * src/hildon-touch-selector.c: Fix warnings about unused and
4151 uninitialized variables.
4153 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4155 * examples/Makefile.am
4156 * examples/hildon-check-button-example.c: Example of the hildon
4159 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4161 * src/hildon-window.h
4162 * src/hildon-window.c (hildon_window_class_init)
4163 (hildon_window_unset_program): Don't make
4164 hildon_window_unset_program a virtual function anymore.
4166 * src/hildon-stackable-window.c: Update documentation
4168 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4171 * doc/hildon-docs.sgml
4172 * doc/visual_index.xml
4173 * src/hildon-defines.c
4175 * src/hildon-helper.c
4176 * src/hildon-range-editor.c: Lots of documentation fixes.
4178 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4180 * examples/hildon-picker-button-multicolumn-example.c
4181 (create_touch_selector): Fix compilation warning.
4183 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4185 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4186 (hildon_pannable_area_button_release_cb)
4187 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4189 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4191 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4194 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4196 * src/hildon-bread-crumb-trail.h
4197 * src/hildon-date-editor.c
4198 * src/hildon-date-selector.c
4199 * src/hildon-pannable-area.c
4200 * src/hildon-picker-dialog.c
4201 * src/hildon-time-selector.c
4202 * src/hildon-touch-selector-entry.c
4203 * src/hildon-touch-selector.c
4204 * src/hildon-touch-selector.h: Misc documentation fixes
4206 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4208 * examples/hildon-date-editor-example.c (main): Updated date
4211 * examples/hildon-note-example.c (on_confirmation_clicked):
4212 Updated confirmation note example.
4214 * src/hildon-date-editor.c
4215 * src/hildon-note.c: Updated sample programs in documentation.
4218 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4220 * src/hildon-date-button.h:
4221 * src/hildon-picker-button.h:
4222 * src/hildon-time-button.c:
4223 * src/hildon-time-button.h:
4225 Some declarations changes to allow gtk-doc to document the widgets
4228 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/hildon-date-button.c: Document the widget.
4231 * src/hildon-time-button.c: Document the widget.
4233 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4235 * src/hildon-picker-button.c: Document the widget.
4236 * src/hildon-touch-selector-entry.c: Document the widget.
4238 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4240 * doc/hildon-docs.sgml
4243 * src/hildon-check-button.h
4244 * src/hildon-check-button.c: New functions to create the Hildon
4248 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4250 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4252 * src/hildon-button.h
4253 * src/hildon-button.c
4254 (hildon_button_add_title_size_group)
4255 (hildon_button_add_value_size_group)
4256 (hildon_button_add_image_size_group)
4257 (hildon_button_add_size_groups): New functions to set size groups
4258 for the button labels and image.
4259 (hildon_button_new_full): Removed
4261 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4263 * src/hildon-time-selector.c
4264 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4265 in order to avoid a crash if gconf is not available
4267 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4269 * src/hildon-button.c (hildon_button_set_arrangement)
4270 (hildon_button_construct_child): Don't construct the button child
4271 before setting the arrangement.
4273 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4275 * src/hildon-program-private.h
4276 * src/hildon-program.c
4277 * src/hildon-program.h
4278 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4279 (hildon_program_peek_window_stack)
4280 (hildon_program_pop_window_stack)
4281 (hildon_program_go_to_root_window): HildonProgram now has a
4282 separate list for stackable windows. Functions are provided to
4283 manage that list with a stack-like API.
4285 * src/hildon-stackable-window.c: Stackable window management is
4286 now much simpler with the new HildonProgram API. Windows no
4287 longer need to be manually added to the program, they're
4288 automatically pushed to the top of the stack when shown.
4290 * examples/hildon-stackable-window-example.c: Updated example to
4291 reflect the API changes.
4293 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-touch-selector.c: Comment out unimplemented
4296 hildon_touch_selector_insert_column() to avoid a compile warning.
4298 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4300 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4301 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4302 (hildon_touch_selector_set_column_selection_mode),
4303 (_hildon_touch_selector_set_model),
4304 (hildon_touch_selector_set_model):
4306 Complete review of HildonTouchSelector documentation.
4308 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4310 * doc/hildon-docs.sgml
4314 * src/hildon-gtk.c: Convenience functions for standard Gtk
4315 widgets, used to easily perform frequent operations.
4317 * src/hildon-button-helpers.h
4318 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4320 * src/hildon-helper.h
4321 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4322 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4324 * src/hildon-button.h
4325 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4327 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4329 * src/hildon-button.c (hildon_button_init)
4330 (hildon_button_set_arrangement, hildon_button_construct_child):
4331 Pack the image and the labels inside the same GtkAlignment so
4332 gtk_button_set_alignment() can be used
4334 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4336 * src/hildon-button.h
4337 * src/hildon-button.c
4338 (hildon_button_init, hildon_button_set_image)
4339 (hildon_button_set_image_position)
4340 (hildon_button_construct_child): New functions to add an image to
4343 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4345 * src/hildon-date-button.c
4346 * src/hildon-picker-button.c
4347 * src/hildon-time-button.c
4348 * src/hildon-button.c:
4349 (hildon_button_class_init): "size-flags" renamed to "size"
4350 (hildon_button_set_title): Hide the title label if set to NULL.
4352 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4354 HildonButtonFlags split into HildonButtonArrangement (to set the
4355 button layout) and HildonSizeType (which can be used for any
4358 * src/hildon-button.h
4359 * src/hildon-button.c
4360 (hildon_button_class_init)
4361 (hildon_button_set_arrangement)
4362 (hildon_button_set_property): New "size-flags"
4363 property. "arrangement-flags" renamed to "arrangement".
4364 (hildon_button_new, hildon_button_new_with_text)
4365 (hildon_button_new_full): Constructors updated to reflect type changes.
4367 * src/hildon-helper.h
4368 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4369 to set the size of a widget.
4373 * src/hildon-button-helpers.c
4374 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4376 * src/hildon-date-button.c
4377 * src/hildon-date-button.h
4378 * src/hildon-picker-button.c
4379 * src/hildon-picker-button.h
4380 * src/hildon-time-button.c
4381 * src/hildon-time-button.h: Updated widgets to reflect
4382 HildonButton API changes.
4384 * examples/hildon-button-example.c
4385 * examples/hildon-date-button-example.c
4386 * examples/hildon-picker-button-example.c
4387 * examples/hildon-picker-button-multicolumn-example.c
4388 * examples/hildon-time-button-example.c
4389 * examples/hildon-touch-selector-entry-example.c
4390 * examples/hildon-touch-selector-example.c: Updated examples to
4391 reflect HildonButton API changes.
4393 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4395 * doc/hildon-docs.sgml:
4397 * examples/Makefile.am:
4398 * examples/hildon-touch-selector-entry-example.c:
4400 * src/hildon-touch-selector-entry.c:
4401 * src/hildon-touch-selector-entry.h:
4404 Moved HildonTouchSelectorEntry from sandbox. Added its
4405 documentation and examples.
4407 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4409 * src/hildon-touch-selector.h:
4410 * examples/hildon-picker-button-multicolumn-example.c:
4411 (hildon_touch_selector_append_text_column): Add a gboolean
4412 parameter to determine if text must be centered in the column.
4414 * src/hildon-date-selector.c: (hildon_date_selector_init):
4415 * src/hildon-time-selector.c: (hildon_time_selector_init):
4416 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4417 (create_touch_selector): Update widgets and example to reflect
4420 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4422 * src/hildon-touch-selector.c:
4423 (hildon_touch_selector_set_active_iter): Set also the cursor in
4426 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4428 * doc/hildon-docs.sgml
4431 * src/hildon-toggle-button.c
4432 * src/hildon-toggle-button.h
4433 * src/hildon.h: Removed HildonToggleButton widget, a derived
4434 class is not necessary for this.
4436 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4438 * src/hildon-pannable-area.c,
4439 (hildon_pannable_area_realize),
4440 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4443 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4445 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4446 "done" button the default widget for the dialog.
4448 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4450 * src/hildon-touch-selector.c:
4451 (hildon_touch_selector_class_init),
4452 (hildon_touch_selector_get_property),
4453 (_hildon_touch_selector_set_model),
4454 (_hildon_touch_selector_has_multiple_selection),
4455 (hildon_touch_selector_has_multiple_selection):
4456 Add a "has-multiple-selection" property with a virtual
4457 has_multiple_selection() method to allow derived classes to
4458 override the default value for it. See the method and property
4459 documentation for details.
4461 * src/hildon-touch-selector.h: Add the new API.
4463 * src/hildon-picker-dialog.c: (requires_done_button): Call
4464 hildon_touch_selector_has_multiple_selection() instead of
4465 determining the need for a button itself.
4467 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4469 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4470 (_hildon_touch_selector_set_model),
4471 (hildon_touch_selector_set_model): Move working code to
4472 _hildon_touch_selector_set_mode(). Call the class method instead.
4474 * src/hildon-touch-selector.h: Add (*set_model) to
4475 HildonTouchSelectorClass.
4477 Make hildon_touch_selector_set_model() a virtual method, so that
4478 derived classes can extend it and do fancy stuff with the model.
4480 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4482 * configure.ac: Set back the tarname in AC_INIT to hildon.
4484 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4488 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4489 instead of libesd (NB#86876). Volume handling is still an open issue.
4491 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4494 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4496 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4497 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4498 derived class to ease placement of an entry widget in
4499 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4500 end, where the selector columns are packed now.
4502 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4504 * src/hildon-picker-button.c: Removed the simple _text() API.
4505 * src/hildon-picker-button.h: Likewise.
4507 * src/hildon-touch-selector.h:
4508 * src/hildon-touch-selector.c:
4509 (hildon_touch_selector_new_text),
4510 (hildon_touch_selector_append_text),
4511 (hildon_touch_selector_prepend_text),
4512 (hildon_touch_selector_insert_text):
4514 Moved the simple _text() API from HildonPickerButton to
4515 HildonTouchPicker, to provide better escalability and not to tie
4516 that API to HildonPickerButton.
4518 * examples/hildon-picker-button-example.c: (main): Example updated.
4520 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-button.c: Updated documentation.
4524 * examples/hildon-button-example.c: Add the posibility to create
4525 the buttons using horizontal layout for title and value.
4527 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4529 * src/hildon-app-menu-private.h
4530 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4531 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4532 GtkSizeGroup for the filters, use the 'homogeneous' property of
4535 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4537 * examples/hildon-button-example.c: Updated example.
4539 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4541 * doc/hildon-docs.sgml:
4544 Update documentation.
4546 * examples/Makefile.am: Update renamed examples.
4548 * examples/hildon-picker-button-multicolumn-example.c:
4549 (create_touch_selector), (main): Update after the rename.
4551 * examples/hildon-touch-picker-example.c: Removed.
4552 * examples/hildon-touch-selector-example.c: (value_changed),
4553 (create_selector), (get_visible_content), (main): Renamed from
4554 hildon-touch-picker-example.c
4556 * src/Makefile.am: Updated renamed files.
4558 * src/hildon-date-button.c: (hildon_date_button_init),
4559 (hildon_date_button_get_date), (hildon_date_button_set_date):
4560 * src/hildon-date-selector.c: (hildon_date_selector_init),
4561 (_custom_print_func), (_update_day_model),
4562 (_manage_selector_change_cb),
4563 (hildon_date_selector_select_current_date),
4564 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4565 * src/hildon-date-selector.h:
4566 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4567 (hildon_picker_button_set_property),
4568 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4569 (hildon_picker_button_init), (hildon_picker_button_new_text),
4570 (hildon_picker_button_append_text),
4571 (hildon_picker_button_prepend_text),
4572 (hildon_picker_button_insert_text),
4573 (hildon_picker_button_set_selector),
4574 (hildon_picker_button_get_selector):
4575 * src/hildon-picker-button.h:
4576 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4577 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4578 (_update_title_on_selector_changed_cb), (requires_done_button),
4579 (_hildon_picker_dialog_set_selector),
4580 (hildon_picker_dialog_set_selector),
4581 (hildon_picker_dialog_get_selector):
4582 * src/hildon-picker-dialog.h:
4583 * src/hildon-time-button.c: (hildon_time_button_init),
4584 (hildon_time_button_get_time), (hildon_time_button_set_time):
4585 * src/hildon-time-selector.c: (hildon_time_selector_init),
4586 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4587 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4588 * src/hildon-time-selector.h:
4591 Massive code updates after the rename.
4593 * src/hildon-touch-picker.c: Removed.
4594 * src/hildon-touch-picker.h: Removed.
4596 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4597 (hildon_touch_selector_init), (hildon_touch_selector_map),
4598 (hildon_touch_selector_remove), (_default_print_func),
4599 (_selection_changed_cb), (_create_new_column),
4600 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4601 (hildon_touch_selector_append_text_column),
4602 (hildon_touch_selector_remove_column),
4603 (hildon_touch_selector_set_column_attributes),
4604 (hildon_touch_selector_insert_column),
4605 (hildon_touch_selector_get_num_columns),
4606 (hildon_touch_selector_get_column_selection_mode),
4607 (hildon_touch_selector_set_column_selection_mode),
4608 (hildon_touch_selector_set_print_func),
4609 (hildon_touch_selector_get_print_func),
4610 (hildon_touch_selector_get_active_iter),
4611 (hildon_touch_selector_set_active_iter),
4612 (hildon_touch_selector_get_selected_rows),
4613 (hildon_touch_selector_get_model),
4614 (hildon_touch_selector_set_model),
4615 (hildon_touch_selector_get_current_text),
4616 (_hildon_touch_selector_center_on_selected_items):
4617 * src/hildon-touch-selector.h: Renamed from
4618 hildon-touch-picker.[ch]
4620 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4621 references, code examples, and related documentation.
4623 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4625 * doc/hildon-docs.sgml
4628 * src/hildon-toggle-button.c
4629 * src/hildon-toggle-button.h
4630 * src/hildon.h: New HildonToggleButton widget.
4632 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4634 * src/hildon-button.c: Add API documentation.
4635 (hildon_button_set_size_groups): Check input parameters
4637 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4639 * src/hildon-pannable-area.c
4640 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4641 effect after reaching the movement thredshold. This way we start
4642 using the distance after passing the thredshold.
4644 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4646 * src/hildon-button.c: (hildon_button_set_property): Use the
4647 appropriate g_value_get_flags() method.
4649 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4651 * doc/hildon-docs.sgml:
4654 Add the touch pickers, picker dialogs, and picker button widgets
4655 to the documentation.
4657 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4659 * src/hildon-button.c: (hildon_button_set_property),
4660 (hildon_button_class_init): Make "arrangement-flags" a proper
4661 G_TYPE_FLAGS derived property.
4663 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4665 * examples/Makefile.am: Add below examples.
4666 * examples/hildon-date-button-example.c:
4667 * examples/hildon-picker-button-example.c:
4668 * examples/hildon-picker-button-multicolumn-example.c:
4669 * examples/hildon-time-button-example.c:
4670 * examples/hildon-touch-picker-example.c:
4672 Add examples for the recently added touch pickers,
4673 picker dialogs, and picker button widgets.
4675 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4677 * src/hildon-button.c: Add some API documentation
4679 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4681 * src/hildon-button.h
4682 * src/hildon-button.c
4684 (hildon_button_new_with_text): New constructor to create a button
4685 with no text at all.
4686 (hildon_button_init, hildon_button_set_arrangement)
4687 (hildon_button_set_title, hildon_button_set_value)
4688 (hildon_button_set_text)
4689 (hildon_button_construct_child): Hide the value when it's not used
4690 so the rest of the text is properly aligned.
4691 Allow creating buttons with arbitrary widgets inside (not just
4692 title/value labels).
4694 * examples/hildon-button-example.c (vertical_buttons_window)
4695 (horizontal_buttons_window): Update example to use new API.
4697 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4699 * src/Makefile.am: Added HildonTimeButton.
4700 * src/hildon-time-button.c: Added missing LGPL header.
4701 * src/hildon-time-button.h: Added missing LGPL header.
4702 * src/hildon.h: Add hildon-time-button.h
4704 Copied HildonTimeButton from sandbox to trunk. Future work on this
4705 widget must take place in trunk.
4707 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4709 * src/Makefile.am: Added HildonDateButton.
4710 * src/hildon-date-button.c: Update includes.
4711 * src/hildon.h: Add hildon-date-button.h
4713 Copied HildonDateButton from sandbox to trunk. Future work on this
4714 widget must take place in trunk.
4716 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4718 * src/Makefile.am: Added HildonPickerButton.
4719 * src/hildon-picker-button.h: Update includes.
4720 * src/hildon.h: Add hildon-picker-button.h
4722 Copied HildonPickerButton from sandbox to trunk. Future work on
4723 this widget must take place in trunk.
4725 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4727 * src/Makefile.am: Added HildonPickerDialog.
4728 * src/hildon-picker-dialog.c: Update includes.
4729 * src/hildon.h: Add hildon-picker-dialog.h
4731 Copied HildonPickerDialog from sandbox to trunk. Future work
4732 on this widget must take place in trunk.
4734 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/Makefile.am: Added HildonTimeSelector.
4737 * src/hildon.h: Add hildon-time-selector.h
4739 Copied HildonTimeSelector widget from sandbox to trunk. Future
4740 work on this widget must happen in trunk.
4742 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4744 * src/Makefile.am: Added HildonDateSelector.
4745 * src/hildon.h: Add hildon-date-selector.h
4747 Copied HildonDateSelector widget from sandbox to trunk. Future
4748 work on this widget must happen in trunk.
4750 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4752 * src/Makefile.am: Added HildonTouchPicker.
4753 * src/hildon-touch-picker.c: Update includes.
4754 * src/hildon.h: Add hildon-touch-picker.h
4756 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4757 on this widget must happen in trunk.
4759 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4761 * src/hildon-pannable-area.c:
4762 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4764 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4766 * examples/hildon-app-menu-example.c (main): Let the window
4769 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4771 * src/hildon-pannable-area.c
4772 (hildon_pannable_area_class_init): Set the min value of the
4773 overshoot properties to zero, which points out that not
4774 overshooting allowed.
4776 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4778 Modified the procedure to get the widget at a point inside the
4779 pannable area when using the movement type signals. Now the user
4780 has to call a function to get the child, that way we just
4781 calculate the child in case the user really want to use it and not
4784 * src/hildon-marshalers.list: Modified the marshallers, now we do
4785 not have the widget as a parameter.
4787 * src/hildon-pannable-area.c
4788 (hildon_pannable_area_motion_notify_cb),
4789 (hildon_pannable_area_class_init),
4790 (hildon_pannable_get_child_widget_at): Removed the widget
4791 parameter from the signal callback. We have also refactored the
4792 emission of the signals.
4794 * src/hildon-pannable-area.h: Added a new method to the API to
4795 calculate a widget at a point inside the pannable area,
4796 hildon_pannable_get_child_widget_at.
4798 * examples/hildon-pannable-area-example-4.c
4799 (horizontal_movement): Modified the example to use the new API,
4800 added condition to control which widget is under the event. This
4801 way we can avoid scrolling laterally over other widgets.
4803 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4805 * src/hildon-pannable-area.c
4806 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4807 modes, we stop getting the pointer events due to returning the
4808 callback without properly calling the get pointer again. Fixed
4809 also an error using the hscroll and vscroll.
4811 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4813 * src/hildon-app-menu-private.h
4814 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4815 (hildon_app_menu_button_release, hildon_app_menu_init)
4816 (hildon_app_menu_class_init): Don't hide the menu on button
4817 release if the user didn't press outside first.
4819 * src/hildon-window.h
4820 * src/hildon-window.c (hildon_window_toggle_menu)
4821 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4822 hildon_window_toggle_menu a virtual function for the stackable
4823 window to override it.
4825 * src/hildon-stackable-window.h
4826 * src/hildon-stackable-window-private.h
4827 * src/hildon-stackable-window.c
4828 (hildon_stackable_window_realize)
4829 (hildon_stackable_window_finalize)
4830 (hildon_stackable_window_class_init)
4831 (hildon_stackable_window_init)
4832 (hildon_stackable_window_set_main_menu): New function to set the
4833 app menu of a HildonStackableWindow.
4835 * examples/hildon-app-menu-example.c: Remove the button to show
4836 the app menu, now it'll be shown when clicking on the title bar
4839 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4841 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4842 set the widget name if the arrangement flags do not specify
4845 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-button.c: (hildon_button_set_property),
4848 (hildon_button_class_init), (hildon_button_new_full),
4849 (hildon_button_set_arrangement): Added "arrangement-flags"
4852 Make the HildonButtonFlags a construction-only property, to allow
4853 subclasses to set them properly.
4855 2008-07-21 Tim Janik <timj@imendio.com>
4857 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4858 insertion position after backspace, so additional digits are appended,
4861 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4863 * src/hildon-pannable-area.c,
4864 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4865 TODO list, it was complete and removed the g_debug and g_print
4868 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4870 Added the movement modes to the hildon-pannable-area, with this
4871 modes the developers can control in which directions the widget
4872 can scroll. They can also connect to signals in order to do
4873 something when that happens, allowing applications scroll. There
4874 is an example uploaded showing how to use it.
4876 * examples/Makefile.am:
4877 * examples/hildon-pannable-area-example-4.c: Added this example of
4878 an application using the modes.
4880 * src/hildon-marshalers.list: Added a new marshaller for the new
4883 * src/hildon-pannable-area.h: Added new enumerations and flags in
4884 order to control the movement modes and the new signals to warn
4885 about the movements in the area.
4887 * src/hildon-pannable-area.c:
4888 (hildon_pannable_axis_scroll),
4889 (hildon_pannable_area_scroll),
4890 (hildon_pannable_area_motion_notify_cb),
4891 (hildon_pannable_area_get_property),
4892 (hildon_pannable_area_set_property),
4893 (hildon_pannable_area_map),
4894 (hildon_pannable_area_class_init),
4895 (hildon_pannable_area_init),
4896 (hildon_pannable_area_jump_to): Added the modes to control the
4897 movement in the widget. We have added properties to control it,
4898 signals to warn about the movements and refactored some code.
4900 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4902 Changes required in order to allow vfast_factor set to zero to
4905 * src/hildon-pannable-area.c:
4906 (hildon_pannable_area_button_press_cb): Changed the condition, it
4907 is required for not allowing click when vfast_factor is zero.
4908 (hildon_pannable_area_timeout): Initialized velocity variables
4909 when we stop moving, it was less than 1 but not zero and we need
4910 to check zero in some situations.
4911 (hildon_pannable_area_class_init): Changed the default value of
4912 the speed factor, now the button_press is just sent in case the
4913 speed is 2 per cent of the max speed.
4914 (hildon_pannable_area_init): Initialization with 0.
4916 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4918 * src/hildon-pannable-area.c,
4919 (hildon_pannable_area_get_topmost): replaced
4920 gdk_window_get_children with gdk_window_peek_children, this way we
4921 do not have to free the list because it is not a copy.
4923 (hildon_pannable_axis_scroll),
4924 (hildon_pannable_area_scroll),
4925 (hildon_pannable_area_timeout),
4926 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4927 two parameters that were only used inside the
4928 hildon_pannable_area_scroll function.
4930 * examples/hildon-pannable-area-example.c,
4931 (get_sawtooth_label): Fixed small memory leak.
4933 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4935 More checks for the case where the overshoot is bigger than the
4938 * src/hildon-pannable-area.c:
4939 (hildon_pannable_draw_vscroll),
4940 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4941 to draw the slider of the scrollbar under the other scrollbar.
4942 (hildon_pannable_area_expose_event): added new checks to control
4943 the drawing of the overshooting area rectangle, in case it is too
4944 big for the area of the widget.
4945 (hildon_pannable_area_size_allocate): add more checks to avoid
4946 setting a position to the child widget outside the area.
4948 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4950 * src/hildon-pannable-area.c
4951 (hildon_pannable_area_size_allocate): Added conditions to control
4952 when overshooting is bigger than the allocated space for the
4953 children, this avoids negative allocations.
4955 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4957 * doc/hildon-docs.sgml
4959 * examples/Makefile.am
4960 * examples/hildon-button-example.c
4962 * src/hildon-button.c
4963 * src/hildon-button.h
4964 * src/hildon.h: Initial version of the new HildonButton widget,
4967 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4969 * src/hildon-pannable-area.c:
4970 (hildon_pannable_area_button_press_cb),
4971 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4972 (hildon_pannable_area_motion_notify_cb),
4973 (hildon_pannable_area_button_release_cb),
4974 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4975 (hildon_pannable_area_jump_to_child):
4977 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4979 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4981 * examples/Makefile.am
4982 * examples/hildon-pannable-area-touch-grid-example.c
4983 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4984 the Hildon Touch List and Hildon Touch Grid using the
4985 HildonPannableArea widget.
4987 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4989 * src/hildon-pannable-area.c,
4990 (hildon_pannable_area_button_press_cb),
4991 (hildon_pannable_area_refresh),
4992 (hildon_pannable_area_scroll),
4993 (hildon_pannable_area_motion_notify_cb),
4994 (hildon_pannable_area_button_release_cb),
4995 (hildon_pannable_area_expose_event),
4996 (hildon_pannable_area_add),
4997 (hildon_pannable_area_remove),
4998 (hildon_pannable_area_realize),
4999 (hildon_pannable_area_size_allocate),
5000 (hildon_pannable_area_class_init),
5001 (hildon_pannable_area_init),
5002 (hildon_pannable_area_scroll_to_child),
5003 (hildon_pannable_area_jump_to_child): Fixed the problem of
5004 removing the child from the GtkBin, we have rearranged the widget
5005 hierarchy, now there is no GtkAlignment which was not doing
5006 anything interesting but breaking some of the assumptions of
5007 GtkContainer. Now developers if they want to add a GtkAlignment
5008 they could, but it is not inside the area.
5010 We had to review the whole allocation/expose process, now it is
5011 improved and we save at least three signals which would be saving
5012 some time when rendering the widget. The allocation of the
5013 scrollbars is now made in the allocate method as usual.
5015 We have also added some conditions in order to control when there
5016 is no child of the pannable area. Maybe we will need more work
5019 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5021 * src/hildon-pannable-area.c,
5022 (hildon_pannable_area_dispose): Released the fade-out timeout when
5023 disposing the widget.
5025 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5027 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5028 zero, we are going to use that property in order to deactivate the
5030 (hildon_pannable_axis_scroll),
5031 (hildon_pannable_area_size_allocate): Added conditions to control
5032 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5033 call, now it is called in all situations and we can remove calls
5034 in the allocate method.
5035 (hildon_pannable_area_map): Control the situation when
5036 overshoot_max is zero, we do not need the timeout.
5037 (hildon_pannable_area_class_init): Added documentation in order to
5038 point out that setting zero to overshoot_max means deactivate
5041 NOTE: removed trailing whitespaces from my previous comments of
5044 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-pannable-area.c
5047 (hildon_pannable_area_get_property),
5048 (hildon_pannable_area_set_property),
5049 (hildon_pannable_area_map),
5050 (hildon_pannable_area_class_init),
5051 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5052 to cause the widget give a hint about its panning abilities upon
5055 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-pannable-area.c: Several documentation improvements.
5059 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5061 * src/hildon-program.c
5062 * src/hildon-stackable-window.c: Update documentation.
5064 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-stackable-window.c (get_previous_window_if_last):
5067 Renamed get_last_window()
5068 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5069 (hildon_stackable_window_unset_program):
5071 (get_previous_window_if_last):
5072 Detect if the window hasn't been added to a HildonProgram.
5074 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5076 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5078 * src/hildon-pannable-area.c
5079 (hildon_pannable_area_button_press_cb),
5080 (hildon_pannable_axis_scroll),
5081 (hildon_pannable_area_scroll),
5082 (hildon_pannable_area_timeout),
5083 (hildon_pannable_calculate_vel_factor),
5084 (hildon_pannable_area_get_property),
5085 (hildon_pannable_area_set_property),
5086 (hildon_pannable_area_class_init),
5087 (hildon_pannable_area_init),
5088 (hildon_pannable_area_scroll_to),
5089 (hildon_pannable_area_jump_to),
5090 (hildon_pannable_area_scroll_to_child),
5091 (hildon_pannable_area_jump_to_child):
5092 * src/hildon-pannable-area.h: Added the new API functions:
5093 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5094 hildon_pannable_area_scroll_to_child,
5095 hildon_pannable_area_jump_to_child
5098 * examples/Makefile.am
5099 * examples/hildon-pannable-area-example-2.c
5100 * examples/hildon-pannable-area-example-3.c: Added these two new
5101 examples in order to test and show how the new APIs work.
5103 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5105 * examples/hildon-stackable-window-example.c (new_window):
5106 * src/Makefile.am (noinst_HEADERS):
5107 * src/hildon-program.c (hildon_program_go_to_root_window):
5108 * src/hildon-program.h:
5109 * src/hildon-stackable-window-private.h:
5110 * src/hildon-stackable-window.c:
5111 * src/hildon-stackable-window.h:
5112 Create hildon-stackable-window-private.h
5113 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5115 * examples/hildon-app-menu-example.c (create_menu):
5116 * examples/hildon-hvolumebar-insensitive-example.c (main):
5117 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5118 * examples/hildon-toolbar-seekbar-example.c (main):
5119 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5120 * src/hildon-banner.c (hildon_banner_set_property):
5121 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5122 Fix compilation warnings
5124 * src/hildon-window.c:
5127 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5129 * src/hildon-stackable-window.c
5130 (hildon_stackable_window_unset_program):
5131 Calculate correctly whether to show the previous window if the
5132 last one is removed from the stack.
5133 (hildon_stackable_window_go_to_root_window):
5134 Send delete events starting from the topmost window.
5135 Stop if one of the windows is not destroyed.
5137 (hildon_stackable_window_delete_event)
5138 (hildon_stackable_window_class_init):
5139 Ignore the delete event if the window is not the topmost one.
5141 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5143 * src/hildon-pannable-area.c
5144 (hildon_pannable_area_expose_event): Fixed a problem when
5145 selecting the background color of the scrollbars.
5147 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5149 * examples/hildon-stackable-window-example.c
5150 * src/hildon-stackable-window.c
5151 * src/hildon-stackable-window.h
5152 hildon_stackable_window_go_home() renamed to
5153 hildon_stackable_window_go_to_root_window()
5154 Send delete events to windows rather than closing them with
5155 gtk_widget_destroy()
5157 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5159 * src/hildon-pannable-area.c
5160 (hildon_pannable_area_button_release_cb): Fix overshooting in
5163 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5165 * src/hildon-pannable-area.c
5166 (hildon_pannable_area_init): Initially show the scroll indicators.
5167 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5169 Add initial effect showing the widget is pannable.
5171 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5173 * src/hildon-pannable-area.c
5174 (hildon_pannable_area_class_init)
5175 (hildon_pannable_area_set_property)
5176 (hildon_pannable_area_get_property)
5177 (hildon_pannable_area_button_press_cb):
5178 New 'velocity_fast_factor' property to decide which velocity is
5181 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5183 * src/hildon-pannable-area.c
5184 (hildon_pannable_draw_hscroll)
5185 (hildon_pannable_draw_vscroll):
5186 Use float variables to calculate the size of the scrollbars to
5187 avoid error propagation and resizing during scrolling.
5189 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5191 * src/hildon-pannable-area.c
5192 (hildon_pannable_draw_vscroll)
5193 (hildon_pannable_draw_hscroll):
5194 Define a minimum size for the scroll bars
5196 * src/hildon-stackable-window.c
5197 (hildon_stackable_window_go_home): Fix compilation warning
5198 (get_last_window): Minor optimizations
5199 (hildon_stackable_window_class_init): Fix initialization of
5202 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5204 * src/hildon-stackable-window.c: Fixed typos in doc
5206 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5208 * src/hildon-pannable-area.c
5209 (hildon_pannable_area_scroll):
5210 Calculate here whether we need to scroll instead of using the booleans
5211 that tell us whether to /draw/ the scrolling bars.
5213 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5215 * src/hildon-app-menu.h
5217 * src/hildon-app-menu.c
5218 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5219 multiple filter groups related code and API. Now we support only
5221 * examples/hildon-app-menu-example.c:
5223 Update to reflect API changes.
5225 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5227 * src/hildon-stackable-window.c
5228 (hildon_stackable_window_class_init):
5229 Add hildon_stackable_window_realize.
5230 (hildon_stackable_window_realize):
5231 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5232 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5233 to apply theming and behavior specific to HildonStackableWindow
5236 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5238 * src/hildon-note.c (hildon_note_button_release):
5239 Close information notes also when tapping on them
5241 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5243 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5244 ELASTICITY, refactor and review, fix some issues with drawing
5247 * src/hildon-pannable-area.c:
5248 (hildon_pannable_area_button_press_cb): removed the conditions to
5249 avoid clicks when overshooting. It is not required
5251 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5252 define. Refatored and reviewed the code, now we do not need to
5253 manage velocity in motion_notify.
5255 (hildon_pannable_area_motion_notify_cb): We have moved the code
5256 that controls the area_scroll to the axis_scroll function and get
5257 rid of duplicated code.
5259 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5261 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5263 (hildon_pannable_draw_vscroll),
5264 (hildon_pannable_draw_hscroll): Fixed the problems with the
5265 scrollbar drawing, now we do not use two surfaces, it is easier
5266 and saves resources.
5268 (hildon_pannable_area_get_property): Style modification.
5270 (hildon_pannable_area_class_init): Changed some default values.
5272 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5274 * src/hildon-stackable-window.c: Fix some typos in the
5277 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5279 * src/hildon-dialog.c:
5280 Change indentation style
5283 (hildon_note_button_release):
5284 Use root coordinates to check if the release event happened
5287 * src/hildon-app-menu.c
5288 (hildon_app_menu_button_release):
5289 Remove unnecessary check
5291 * examples/hildon-app-menu-example.c
5293 Add cast to fix warning
5295 * src/hildon-app-menu.c
5296 (hildon_app_menu_class_init):
5297 New inner-border style property.
5298 Set all default spacings to 16
5299 (hildon_app_menu_init):
5300 Use vertical-spacing to set the space between filter buttons and
5301 regular menu buttons.
5302 Set the default container border using the inner-border value.
5304 * examples/hildon-app-menu-example.c
5306 Don't set the menu border explicitly, now we have the inner-border
5307 style property for that.
5309 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5311 * src/hildon-app-menu.c (hildon_app_menu_init):
5312 Make the window modal
5314 * src/hildon-note.c (hildon_note_map)
5315 * src/hildon-app-menu.c (hildon_app_menu_map):
5316 Destroy the grab window if we're unable to grab the pointer
5318 * src/hildon-app-menu-private.h
5319 * src/hildon-app-menu.c
5320 (hildon_app_menu_init, hildon_app_menu_finalize)
5321 (hildon_app_menu_map, hildon_app_menu_unmap)
5322 (hildon_app_menu_button_release)
5323 (grab_transfer_window_get):
5324 Bring back the grab window
5325 (hildon_app_menu_realize):
5326 Decorate the window, set WM hint for Matchbox
5328 * src/hildon-note.c (hildon_note_realize):
5329 * src/hildon-banner.c (hildon_banner_realize):
5330 Add WM hints for Matchbox
5332 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5334 * src/hildon-app-menu-private.h
5335 * src/hildon-app-menu.c
5336 (hildon_app_menu_init, hildon_app_menu_finalize)
5337 (hildon_app_menu_map, hildon_app_menu_unmap)
5338 (hildon_app_menu_button_release):
5339 Remove the grab window, it's not needed anymore
5341 * src/hildon-program.c
5342 Fixed typo in documentation
5344 * src/hildon-app-menu.h
5345 * src/hildon-app-menu.c
5346 * examples/hildon-app-menu-example.c
5347 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5349 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5352 Added new transfer_window and close_if_pressed_outside private
5354 (hildon_note_rebuild):
5355 Don't add a cancel button to the information note. It will be
5356 closed when tapping outside
5357 Remove the comment about the OK button in the documentation
5358 (hildon_note_realize):
5359 Set the notification type hint
5360 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5361 Grab/ungrab pointer and keyboard if the note has to be closed when
5363 (hildon_note_button_release):
5364 Close the note when tapping outside (if applicable)
5366 * src/hildon-app-menu.c
5367 Grab/ungrab pointer and keyboard on map/unmap
5368 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5369 Close the menu on button release, not button press
5371 * src/hildon-banner.c
5372 (hildon_banner_set_property)
5373 (hildon_banner_check_position):
5374 Make the banner use the full width of the screen
5375 (hildon_banner_show_information)
5376 (hildon_banner_show_information_with_markup):
5377 Don't display an icon by default
5379 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5381 Added fading scrollbars and adapted all the overshooting code to
5382 horizontal scrolling. We have also fixed bugs with overshooting
5383 and current fading implementation.
5385 * src/hildon-pannable-area.c
5386 (hildon_pannable_area_scroll_indicator_fade): Time out function
5387 used to change the transparency of the scrollbars.
5389 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5390 control and fixed a problem with fading, we now remove the fade
5391 timeout before adding a new one.
5393 (hildon_pannable_axis_scroll):
5394 (hildon_pannable_area_scroll):
5395 (hildon_pannable_area_timeout): Added this functions so we can use
5396 the scroll code both for vertical and horizontal.
5398 (hildon_pannable_area_motion_notify_cb):
5399 (hildon_pannable_area_button_release_cb): Added the horizontal
5400 scrolling control, fixed a problem with the overshooting timeout.
5402 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5403 painting of the scrolls.
5405 (hildon_pannable_draw_vscroll):
5406 (hildon_pannable_draw_hscroll):
5407 (hildon_pannable_area_expose_event):
5408 Draw both scrollbars and rectangles in the overshooting area.
5410 (hildon_pannable_area_get_property):
5411 (hildon_pannable_area_set_property):
5412 Modified the overshoot property to overshoot_max
5414 (hildon_pannable_area_map):
5415 Replaced the comments symbols.
5417 (hildon_pannable_area_size_allocate):
5418 (hildon_pannable_area_class_init):
5419 (hildon_pannable_area_init): Added horizontal scroll, fading
5420 effect properties, fixed a problem when overshooting in the bottom
5423 * examples/hildon-pannable-area-example.c:
5424 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5425 looks better in the example.
5427 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5429 * src/hildon-window.c
5430 * src/hildon-window.h
5431 (hildon_window_class_init)
5432 (hildon_window_unset_program)
5433 (hildon_window_unset_program_real):
5434 Make unset_program a virtual function
5436 * src/hildon-stackable-window.c
5437 * src/hildon-stackable-window.h
5438 Added hildon_stackable_window_go_home()
5440 * examples/Makefile.am
5441 * examples/hildon-stackable-window-example.c
5442 HildonStackableWindow example
5444 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5446 * hildon-pannable-area.c: Added the overshoot property and removed
5447 the OVERSHOOT define. Fixed an indent style error.
5448 (hildon_pannable_area_motion_notify_cb):
5449 (hildon_pannable_area_get_property):
5450 (hildon_pannable_area_set_property): Add overshoot property.
5452 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5455 (hildon_pannable_area_class_init): Installed the new property.
5457 * hildon-pannable-area-example.c: Added a sawtooth function, this
5458 way it is easier to check the movement in the pannable.
5459 (get_sawtooth_label): Added this function.
5460 (main): Now we get the labels from the new get_sawtooth_label
5463 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-app-menu.h
5466 * src/hildon-app-menu.c
5467 Renamed API variables for consistency
5469 (hildon_app_menu_popup): Use also the default window size to
5470 decide where to place the menu
5472 (hildon_app_menu_init, hildon_app_menu_class_init): New
5473 external-border style property
5475 2008-05-26 Michael Natterer <mitch@imendio.com>
5477 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5478 widget_class->tap_and_hold_setup signal slot doesn't exist any
5479 longer, stop overriding it.
5481 (hildon_time_editor_init): g_signal_connect() to the
5482 tap-and-hold-setup signal instead.
5484 (hildon_time_editor_entry_keypress): add cast to fix warning.
5486 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5488 * doc/hildon-docs.sgml
5490 * examples/Makefile.am
5491 * examples/hildon-app-menu-example.c
5493 * src/hildon-app-menu-private.h
5494 * src/hildon-app-menu.c
5495 * src/hildon-app-menu.h
5497 New HildonAppMenu widget
5499 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5501 Rearranged the inheritance of the pannable area, now it inherits
5502 from GtkBin. This will allow us to control the event_window and
5503 the allocation process of the widget, required for some effects.
5505 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5506 GtkBin structures. * src/hildon-pannable-area.c: Added the
5507 event_window variable.
5508 (hildon_pannable_area_button_press_cb):
5509 (hildon_pannable_area_button_release_cb):
5510 (hildon_pannable_area_motion_notify_cb):
5511 Changed the signature of the method, now we override the event
5512 callback instead of connecting to the signal.
5514 (hildon_pannable_area_realize):
5515 (hildon_pannable_area_unrealize):
5516 (hildon_pannable_area_map):
5517 (hildon_pannable_area_unmap):
5518 (hildon_pannable_area_size_allocate):
5519 Added functions to control the widget construction. We add a
5520 INPUT_ONLY window and we put it over the widgets inside the
5521 container, this event_window handles the events.
5523 (hildon_pannable_area_class_init):
5524 Replaced the signal connections with overrides of the event
5527 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5529 Bouncing effect added when touching the borders, you can change
5530 the elasticity of the border changing the ELASTICITY define.
5532 * src/hildon-pannable-area.c: Added ELASTICITY define.
5533 (hildon_pannable_area_timeout): Added inverse velocity when
5534 touching the border of the child widget, that causes a bounce.
5536 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5538 Improved performance, we now do not go to the X server in order to
5539 get the list of window children. Apparently the effect is the
5540 same, we have to be careful and check if this breaks something in
5543 * src/hildon-pannable-area.c:
5544 (get_ordered_children): Removed this function.
5545 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5546 the children windows function with gdk_window_get_children.
5548 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5550 * src/hildon-pannable-area.c:
5551 (hildon_pannable_area_dispose): Fixed a crash when closing the
5552 window and kinetics is activated.
5554 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5556 * src/hildon-pannable-area.h
5557 * src/hildon-pannable-area.c
5558 Changed indentation style to meet the one used in Hildon
5560 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5562 Reviewed the interaction of the AUTO mode, now we use the time
5563 attribute of the events and calculate the velocity in the motion,
5564 doing a gimp like calculation. The velocity is calculated in each
5565 motion event using the last velocity and the current one, the
5566 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5568 * src/hildon-pannable-area.c: Replaced the time based algorithm
5570 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5571 timeout for the AUTO mode when we are still moving the cursor. We
5572 added also the velocity calculation in this function.
5573 (hildon_pannable_area_button_release_cb): launch the timeout in
5574 case we are in AUTO mode. There are still some constants here that
5575 come from the old implementation that should be reviewed and
5578 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5580 * doc/hildon-docs.sgml
5583 * src/hildon-stackable-window.c
5584 * src/hildon-stackable-window.h
5586 New HildonStackableWindow widget
5588 * examples/hildon-dialog-example.c
5589 * examples/hildon-pannable-area-example.c
5592 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5594 * src/hildon-dialog.c
5595 (hildon_dialog_new_with_buttons): New constructor.
5597 * examples/hildon-dialog-example.c
5598 (main): Update the example to use the new
5599 hildon_dialog_new_with_buttons().
5601 * examples/hildon-pannable-area-example.c
5602 (main): Update example.
5604 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5606 * doc/hildon-docs.sgml
5608 Added HildonPannableArea to the documentation.
5610 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5612 * doc/visual_index.xml
5613 Fix reference to HildonLoginDialog in documentation
5615 * doc/hildon-docs.sgml
5617 * examples/Makefile.am
5618 * examples/hildon-dialog-example.c
5620 * src/hildon-dialog.c
5621 * src/hildon-dialog.h
5623 New HildonDialog widget.
5625 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5627 * src/hildon-pannable-area.c
5628 Merge latest changes (r4318, r4342) from libmokoui trunk
5630 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5632 * examples/Makefile.am
5633 * examples/hildon-pannable-area-example.c
5635 * src/hildon-pannable-area.c
5636 * src/hildon-pannable-area.h
5638 New HildonPannableArea widget.
5640 2008-04-15 18:05:19 <timj@imendio.com>
5642 * src/hildon-banner.c: revert the recent change, that introduced
5643 gtk_window_present() calls. this reopens:
5644 Bug 78481 - [freetest] information banners are hidden under browser menu
5645 But resolves another variant of:
5646 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5648 2008-04-15 13:21:13 <timj@imendio.com>
5650 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5651 recreated its layout, spotted by Kris. this fixes all remaining
5652 artefacts and stability issues with the banner code. in particular:
5653 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5655 2008-04-14 16:52:59 <timj@imendio.com>
5657 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5658 operating on unrealized widgets, fixes:
5659 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5661 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5663 2008-04-09 Kristian Rietveld <kris@imendio.com>
5665 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5666 makes banner disappear.
5667 Fixes: NB#79182: info banner flickering with certain message lengts.
5669 * src/hildon-banner.c (hildon_banner_constructor),
5670 (hildon_banner_init), (hildon_banner_set_text),
5671 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5672 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5673 FALSE, reset size requests of label and banner,
5674 (force_to_wrap_truncated): when the text is too wide, always enforce
5675 the maximum possible width instead of recalculating it from the
5676 layout; enforce the maximum banner height of 3 lines,
5677 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5678 nicer wrapping and no truncated chars if space gets tight.
5680 * src/hildon-banner-private.h: add has_been_wrapped and
5681 has_been_truncated fields.
5683 2008-04-07 Sven Herzberg <sven@imendio.com>
5685 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5686 local values in hildon_date_editor_size_allocate
5688 * src/hildon-date-editor.c: moved the real allocation code into the
5691 2008-04-07 Sven Herzberg <sven@imendio.com>
5693 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5694 local values in hildon_date_editor_size_allocate
5696 * src/hildon-date-editor.c: merged the two if() branches together
5698 2008-04-07 Sven Herzberg <sven@imendio.com>
5700 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5701 local values in hildon_date_editor_size_allocate
5703 * src/hildon-date-editor.c: changed the arguments of the if()
5706 2008-04-07 Sven Herzberg <sven@imendio.com>
5708 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5709 local values in hildon_date_editor_size_allocate
5711 * src/hildon-date-editor.c: split the calculation of the allocation
5712 from the real allocation
5714 2008-03-27 Michael Natterer <mitch@imendio.com>
5716 Fixes: NB#81696: The passcode is not overwritten even after
5719 * src/hildon-code-dialog.c
5720 (hildon_code_dialog_button_clicked)
5721 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5722 because that doesn't overwrite selected text. Instead, emit the
5723 "commit" signal on the entry's im_context so the entry's normal
5724 insert logic is triggered. Set the cursor to the end of the entry
5725 after each insert operation so that we *only* insert in the middle
5726 of the text if something was selected.
5728 2008-03-27 Michael Natterer <mitch@imendio.com>
5730 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5731 selector cannot be opened
5733 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5734 when the popup color selector is created. Please connect to this
5735 signal in order to set the dialog's help ID.
5737 2008-03-25 Sven Herzberg <sven@imendio.com>
5739 Fixes: MB#1212: Hide info banners (infoprints) on click
5741 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5742 extracted the close event simulation into an extra function
5743 (hildon_banner_button_press_event): simulate a close event and destroy
5744 the widget if the event wasn't handled
5745 (hildon_banner_class_init): added the button_press_event handler
5746 (hildon_banner_init): added button-press events to the widget
5748 2008-03-25 Sven Herzberg <sven@imendio.com>
5750 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5751 Patch from: Mohammad Anwari <mdamt@maemo.org>
5753 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5754 instead of the right in RTL mode
5755 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5756 breadcrumb button list in RTL mode
5757 * src/hildon-caption.c: mirror the appearance of the caption widget in
5759 * src/hildon-date-editor.c: mirror appearance of the date editor in
5761 * src/hildon-time-editor.c: mirror appearance of the time editor in
5763 * src/hildon-window.c: fix the position of the popup in RTL mode
5765 2008-03-25 Sven Herzberg <sven@imendio.com>
5767 Amendment to the fix of NB#22072. Fix compilation.
5769 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5771 2008-03-19 Sven Herzberg <sven@imendio.com>
5773 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5776 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5777 timeout id properly when the timeout will disappear this leaves no
5778 artifacts around in the destroy(); there will only be the timeout
5779 created by hildon_banner_ensure_timeout() and adding a new timeout
5780 will also work if the timeout gets removed because the timeout_handler
5783 2008-03-19 Michael Natterer <mitch@imendio.com>
5785 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5787 * src/hildon-volumebar.c
5788 * src/hildon-vvolumebar.c
5789 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5790 the widget becomes focussable at all.
5792 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5793 set the focus to wither the mute button or the volumebar.
5795 Remove own "can-focus" property and instead listen to
5796 notify::can-focus in order to update the widget's state.
5798 Implement GtkWidget::focus() and make sure we can also *leave* the
5799 widget, not only enter it, depending on volumebar orientation and
5800 requested focus direction.
5802 Clean up set_mute() to cooperate nicely with all the above.
5804 2008-03-04 Michael Natterer <mitch@imendio.com>
5806 Fixes: NB#78481: information banners are hidden under browser menu
5808 * src/hildon-banner.c: call gtk_window_present() on the banners so
5809 they are risen if they are already visible.
5811 2008-03-03 Sven Herzberg <sven@imendio.com>
5813 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5815 * examples/hildon-window-menu-example.c: (main): extended the window
5816 menu example to serve as a testcase for automatically added
5817 accelerator groups, too
5818 * src/hildon-window.c: (hildon_window_add_accel_group),
5819 (hildon_window_set_menu): added patch by Tommi Komulainen
5821 2008-03-03 Sven Herzberg <sven@imendio.com>
5823 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5825 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5826 knowledge about the border allocators used within GTK+
5828 2008-02-26 Sven Herzberg <sven@imendio.com>
5830 Fixes: MB#2981: Build with asserts broken
5832 * src/hildon-date-editor.c,
5833 * src/hildon-number-editor.c,
5834 * src/hildon-time-editor.c,
5835 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5836 the proper GType instance check
5838 2008-02-25 Sven Herzberg <sven@imendio.com>
5840 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5842 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5843 * examples/hildon-window-menu-example.c: (main): explicitly show
5845 * src/hildon-window.c:
5846 (hildon_window_set_main_menu): moved most of the code from set_menu()
5847 to this place; skipped the call to gtk_widget_show_all(); also didn't
5848 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5849 (hildon_window_set_menu): removed most of the code, just keep the
5850 questionable gtk_widget_show_all()
5851 * src/hildon-window.h: added the new function and deprecate the old
5854 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5860 * debian/changelog: Updating.
5862 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5865 * pkgconfig/Makefile.am:
5866 * pkgconfig/hildon.pc.in:
5869 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5870 use newly created API_MAJOR_VERSION.
5872 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5878 * debian/changelog: Updating.
5880 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5882 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5884 Add outer_border style property, we use it but don't define it (!).
5888 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5890 * examples/hildon-bread-crumb-trail-example.c (main):
5894 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5896 Fix logic for the bread crumb trail node removal.
5900 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5906 * debian/changelog: Updating.
5908 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5910 Patch by Alejandro to get/set passwords dialogs accesibility.
5912 * hildon-1/src/hildon-get-password-dialog.c:
5913 * hildon-1/src/hildon-set-password-dialog.c:
5914 Set atk_set_name to the passwd entries in order to allow
5915 accessibility by name on this entries.
5917 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5922 * debian/control: Updating gtk dep.
5924 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5926 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5927 USE_MAEMO_GTK is enabled.
5929 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5931 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5932 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5934 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5940 * debian/changelog: Updating.
5942 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5944 * examples/Makefile.am:
5945 * examples/hildon-logical-color-example.c:
5946 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5947 applied + adding a test case. Fixes: NB#71660.
5949 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5951 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5952 to be visible, fixes warning on map for windows without toolbars.
5954 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5956 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5957 2.11.0, add a check for that besides the MAEMO_GTK check.
5959 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5965 * debian/changelog: Updating.
5967 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5969 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5970 visibility. Fixes: NB#70842 and MB#615.
5972 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5974 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5975 set the separator as no-show-all so it doesn't unintentionally appear when
5976 someone does a show_all.
5978 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5980 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5981 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5982 toplevel item. Fixes: NB#62031
5984 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5986 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5987 fix the name of the function in the docs.
5989 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5995 * debian/changelog: Updating.
5997 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5999 * examples/hildon-banner-long-example.c: Adding a test-case for long
6002 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6004 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6006 * src/hildon-color-chooser-dialog.c:
6007 * src/hildon-color-chooser.c:
6008 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6009 memory leaks in font selector and color selector. Fixes: NB#70499 and
6012 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6014 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6016 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6018 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6019 little bit bigger. Fixes: #NB63694.
6021 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6027 * debian/changelog: Updating.
6029 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6032 * doc/hildon-docs.sgml:
6033 * doc/images/bread-crumb-trail.png:
6034 * doc/images/calendar-popup.png:
6035 * doc/images/caption.png:
6036 * doc/images/code-dialog.png:
6037 * doc/images/color-button.png:
6038 * doc/images/color-chooser-dialog.png:
6039 * doc/images/color-chooser.png:
6040 * doc/images/controlbar.png:
6041 * doc/images/date-editor.png:
6042 * doc/images/font-selection-dialog.png:
6043 * doc/images/get-password-dialog.png:
6044 * doc/images/hvolumebar.png:
6045 * doc/images/login-dialog.png:
6046 * doc/images/note.png:
6047 * doc/images/number-editor.png:
6048 * doc/images/range-editor.png:
6049 * doc/images/seekbar.png:
6050 * doc/images/set-password-dialog.png:
6051 * doc/images/sort-dialog.png:
6052 * doc/images/time-editor.png:
6053 * doc/images/time-picker.png:
6054 * doc/images/vvolumebar.png:
6055 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6056 Adding the bread-crumb-trial and helpers to the documentation.
6058 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6060 * examples/hildon-find-toolbar-example.c:
6061 * src/hildon-find-toolbar.c:
6062 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6063 actually continue firing the other handlers if connected. Adding a new
6065 hildon_find_toolbar_get_last_index that gets the index of the most
6066 recently added (last) item. Fixes: NB#52301.
6068 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6070 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6071 behaviour. Fixes: NB#68610.
6073 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6075 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6078 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6080 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6081 when realizing the banner. Should make the infonbanner effect a bit more
6084 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6086 * src/hildon-volumebar.c:
6087 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6088 hildon_volumebar_set_range_insensitive_message and
6089 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6091 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6093 * src/hildon-window.c: Fixing the border freeing on destroy.
6095 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6097 * src/hildon-code-dialog-private.h:
6098 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6099 kw keyboard support in HildonCodeDialog.
6101 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6107 * debian/changelog: Updating.
6109 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6111 * src/hildon-date-editor.c:
6112 * src/hildon-number-editor.c:
6113 * src/hildon-private.c:
6114 * src/hildon-private.h:
6115 * src/hildon-time-editor.c:
6116 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6117 handling in subclassed composite widgets. Fixes: NB#66628.
6119 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6121 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6122 from destroy_ callback as it introduces problems in async dbus signal
6123 handlers. Fixes NB#66673.
6125 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6127 * examples/hildon-hvolumebar-example.c:
6128 * src/hildon-volumebar.c: Improving the focus handling in the
6129 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6130 set_property accessor so that "mute" property can be actually set. I'm
6131 scared that nobody noticed it's totally broken.
6133 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6135 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6138 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6140 * src/hildon-calendar.c:
6141 * src/hildon-number-editor.c:
6142 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6143 matches the spec of 6 chars per second. Fixes: NB#60489.
6145 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6147 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6148 gtk_style_lookup_color sometime returns FALSE even though color was
6149 found and values were filled properly. Weird. Removing the warning for the
6152 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6154 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6155 expand vertically. Adding some extra space to the find toolbar buttons to
6156 make them thumbable. Fixes NB#66060.
6158 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6160 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6161 popup with "Ok" and "Cancel". Fixes NB#59299.
6163 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6165 * src/hildon-calendar.c: Process all window updates before executing next
6166 timeout. Fixes: NB#54146.
6168 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6174 * debian/changelog: Updating.
6176 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6178 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6179 the client event and ignore it, since we use the delete event to close
6182 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6184 * src/hildon-helper.c: Remove the bogus warning about color not being
6185 found. Fixes NB#58352.
6187 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6189 * examples/Makefile.am:
6190 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6191 HildonSeekbar widget inside a toolbar.
6193 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6195 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6196 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6197 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6198 don't want to be closed by non-temporary windows on map.
6200 Also use G_DEFINE_TYPE instead of manually typed code.
6202 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6209 * debian/rules: Updating.
6211 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6213 * examples/Makefile.am:
6214 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6215 bug NB#61128. Strangely it works.
6217 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6219 * src/hildon-date-editor.c: When the date editor entry has been changed
6220 but the numbers of characters < max, turn off the skip validation flag.
6221 Prevents a situation when we enter first a valid year and later re-write
6222 it with an invalid one. Fixes NB#60154.
6224 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6226 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6227 code dialog. Fixes NB#64355.
6229 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6231 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6232 switching the page. Fixes NB#49374.
6234 * examples/Makefile.am:
6235 * examples/hildon-wizard-dialog-example.c: Adding an example for
6236 HildonWizardDialog that shows how to handle manual sensitivity setting on
6239 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6243 * src/hildon-version.h.in:
6244 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6246 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6248 * src/hildon-volumebar.c: Updating the docs.
6250 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6256 * debian/changelog: Updating.
6258 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6260 * src/hildon-find-toolbar.c:
6261 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6262 selected item: hildon_find_toolbar_set_active,
6263 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6264 hildon_find_toolbar_get_active_iter . They correspond to respective
6265 GtkComboBox functions.
6267 * examples/Makefile.am:
6268 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6271 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6273 * examples/Makefile.am:
6274 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6277 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6278 when font size > 32 and we pack a focusable widget inside. Actually using
6279 the default response would work too, but since we don't show default
6280 response state in any way (no theming) it would not be visible to the
6281 user. Fixes NB#63430.
6283 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6285 * src/hildon-date-editor.c: Adding the missing variable setter in the
6286 set_property handler. Fixes NB#54182.
6288 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6290 * src/hildon-window.h: Changing the long key press time from 1500ms to
6291 800ms as requested in NB#63700. I have a bad feeling about this, let's
6292 see... Fixes NB#63700.
6294 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6296 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6297 hildon_time_picker_map, hildon_time_picker_realize,
6298 hildon_time_picker_style_set): Split the contents of map to more
6299 appropriate functions; set window decorations on realize and update
6300 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6302 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6307 * debian/changelog: Updating.
6309 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6311 * src/Makefile.am: fixed installation of the header files
6313 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6319 * debian/changelog: Updating.
6321 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6323 * configure.ac: Removing some remaining of --enable-xan.
6325 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6327 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6328 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6330 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6331 2.10.12-osso6 because the move-focus signal needs to be available in
6334 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6336 * examples/Makefile.am:
6337 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6338 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6339 fine. Prolly NB#61128 is fixed now.
6341 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6343 * src/hildon-volumebar.c:
6344 * src/hildon-volumebar.h: Adding the
6345 hildon_volumebar_set_range_insensitive_message and
6346 hildon_volumebar_set_range_insensitive_messagef functions to set
6347 insensitive message on the slider of the volumebar. Fixes NB#61129.
6349 * examples/Makefile.am:
6350 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6351 test the new insensitive messsage functionality on HildonVolumebar.
6353 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6355 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6358 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6360 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6361 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6362 button on after clearing the trail.
6364 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6366 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6368 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6370 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6371 by splitting the installed headers in generated and non-generated groups. Use
6372 only the non-generated headers to create the hildon-enum-types.h file.
6374 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6376 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6378 * src/hildon-window.c: Hide the window before performing the destroy.
6379 Should make the app closing a little tiny bit more snappy.
6381 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6383 * src/hildon-seekbar.c: add gtkrange.h header
6384 * src/hildon-caption.c: remove unused variable
6386 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6388 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6391 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6397 * debian/changelog: Updating.
6399 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6401 * src/hildon-window.c (hildon_window_window_state_event,
6402 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6403 escape timeout on focus-out-event rather than notify::is-topmost; the
6404 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6406 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6408 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6409 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6411 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6413 * src/hildon-window: actually, you need to use the macro always, there's
6414 no private pointer in the instance structure. We should have cleaned this up
6415 when we had the chance...
6417 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6419 * src/hildon-window.c: do not get the private date from HildonWindow before
6420 it passes the g_return_if_fail check. Once it's passed the test, there's no
6421 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6422 if you are only going to access the data once. Whitespace cleanups.
6424 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6426 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6427 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6429 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6435 * debian/changelog: Updating.
6437 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6439 * src/hildon-window.c: When destroying the window, remove (if exists) the
6440 escape timeout handler. Fixes #NB59276.
6442 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6444 * src/hildon-banner.c: When realizing the widget, set the window
6445 transiency. Setting the transiency in the gobject constructor is not
6446 good, as the widget is not realized at that point. Fixes: #NB56624.
6448 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6450 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6451 Add padding for future expansions.
6453 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6455 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6456 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6457 will fake an activation on the previous to the last item of the trail, so
6458 the effect can be overrided by the developer as usual.
6459 Also change the callback for the back button to do the same thing, so its
6460 effect can be overrided too. Fixes: NB#58982
6462 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6464 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6465 HildonCaption. Fixes NB#52379.
6467 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6469 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6470 the internal state of the trail after the user has had the chance of executing
6471 his handler for the signal. Specifically, it may happen that the activated button
6472 is removed and the user still lets the default handler run. This would segfault
6475 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6477 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6478 scrollbar to the preview dialog. Fixes NB#54147.
6480 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6482 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6483 max/min year properties can be altered, so the client can modify it
6484 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6486 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6488 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6489 hildonlike by default. Fixing a problem with disappearing arrows when
6490 scrolling through months and years. Fixes NB#54127.
6492 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6494 * examples/hildon-date-editor-example.c: Adding error callback to the date
6497 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6503 * configure.ac: Updating.
6505 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6507 * configure.ac: Adding a special '--enable-xan' configure option that
6508 turns off the -Werror compilation setting. Usefull for development.
6510 * src/hildon-calendar.c:
6511 * src/hildon-number-editor.c:
6512 * src/hildon-time-picker.c: Adding the 5* multiplier to
6515 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6517 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6518 instead of g_object_ref + gtk_object_sink.
6520 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6526 * debian/changelog: Updating.
6528 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6530 * src/hildon-color-chooser-dialog.c:
6531 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6532 straight from Tommi labs.
6534 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6536 * examples/hildon-finger-example.c: Correcting the header file path.
6538 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6539 the changed signal. Fixes a small memory leak.
6541 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6545 * src/hildon-banner.c: Importing several usefull fixes from the
6546 ubuntu-mobile branch.
6548 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6550 * examples/Makefile.am:
6551 * examples/hildon-finger-example.c: Adding a finger-checking code
6554 * src/hildon-font-selection-dialog.c: Do not allocate the color
6555 structure using the g_new. Fixes NB#54061.
6557 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6559 * src/hildon-helper.c: Correcting tabs in file.
6561 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6563 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6564 control the visibility of the children.
6566 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6568 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6574 * debian/changelog: Updating.
6576 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6578 * src/hildon-bread-crumb-trail.c:
6579 (hildon_bread_crumb_trail_size_allocate):
6581 Make the back button always a square.
6583 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6585 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6586 from the .c file as it's a private file.
6588 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6590 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6591 uses slightly bigger height.
6593 * src/hildon-font-selection-dialog.c: Adding some checks before
6594 freeing memory in the font selection dialog.
6596 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6598 * src/hildon-font-selection-dialog.c: Adding a small check when
6601 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6602 buttons sensitivity on page switching.
6604 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6606 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6607 internal details of adding a bread crumb to the trail.
6609 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6615 * debian/changelog: Updating.
6617 * src/hildon-bread-crumb-trail.h:
6618 * src/hildon-bread-crumb.h: Changing the API guard to
6619 HILDON_ENABLE_UNSTABLE_API.
6621 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6629 * src/hildon-helper.h: Updating.
6631 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6639 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6643 * src/hildon-helper.h: Small fix to make the package actually compile.
6645 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6647 * src/hildon-bread-crumb-trail.h:
6648 * src/hildon-bread-crumb.h:
6650 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6651 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6653 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6655 * examples/hildon-bread-crumb-trail-example.c:
6657 * src/hildon-bread-crumb-trail.c:
6658 * src/hildon-bread-crumb-trail.h:
6659 * src/hildon-bread-crumb.c:
6660 * src/hildon-bread-crumb.h:
6661 * src/hildon-marshalers.list:
6662 * src/hildon-bread-crumb-widget.c:
6663 * src/hildon-bread-crumb-widget.h:
6665 Slight change in the widget design. The bread crumb trail API is
6666 unchanged, but HildonBreadCrumb is now an interface. A *private*
6667 implementation, hildon-bread-crumb-widget, is provided and used
6668 internally by the trail for the push_text/push_icon functions.
6670 The generic push API is still available, so anyone can implement
6671 and use its own bread crumb widget.
6673 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6675 * debian/rules: Fixing the shlibs.
6677 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6679 * src/hildon-banner.c: Fixing a problem with timed banners having
6680 their parrent destroyed before they are.
6682 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6684 * src/hildon-bread-crumb.c:
6685 * src/hildon-bread-crumb.h:
6687 Make the get_natural_size function a vfunc.
6689 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6691 * src/hildon-bread-crumb.c:
6692 * src/hildon-bread-crumb-trail.c:
6696 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6703 * debian/changelog: Updating for release.
6705 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6707 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6708 don't leak the pango layout.
6710 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6713 * examples/hildon-bread-crumb-trail-example.c:
6717 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6719 * debian/changelog: Removing the bug-fixed entries that were actually
6720 resolved as WONTFIX.
6722 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6725 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6727 * src/hildon-bread-crumb-trail.c:
6728 * src/hildon-bread-crumb-trail.h:
6729 * src/hildon-bread-crumb.c:
6730 * src/hildon-bread-crumb.h:
6734 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6736 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6737 until it's passed the type check.
6739 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6741 * examples/hildon-bread-crumb-trail-example.c
6745 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6747 * examples/Makefile.am
6748 * examples/hildon-bread-crumb-trail-example.c
6750 * src/hildon-bread-crumb-trail.c
6751 * src/hildon-bread-crumb-trail.h
6752 * src/hildon-bread-crumb.c
6753 * src/hildon-bread-crumb.h
6755 New HildonBreadCrumbTrail widget.
6757 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6759 * src/hildon-range-editor.c (hildon_range_editor_init),
6760 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6761 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6762 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6763 hildon_time_editor_class_init, hildon_time_editor_init),
6764 src/hildon-get-password-dialog.c (invalid_input,
6765 hildon_get_password_set_property, hildon_get_password_get_property,
6766 create_contents, hildon_get_password_dialog_set_max_characters),
6767 src/hildon-set-password-dialog.c (create_contents),
6768 src/hildon-date-editor.c (hildon_date_editor_init),
6769 src/hildon-login-dialog.c (hildon_login_dialog_init),
6770 src/hildon-number-editor.c (hildon_number_editor_init),
6771 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6772 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6773 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6774 configure option and adding the respective checks in the code.
6775 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6776 hildon_calendar_drag_data_received): fixed some build warnings.
6778 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6780 * debian/changelog: A 1.0.0 release notes.