1 2009-03-04 Alberto Garcia <agarcia@igalia.com>
3 * doc/hildon-sections.txt
5 * src/hildon-stackable-window.c
9 2009-03-04 Alberto Garcia <agarcia@igalia.com>
11 * src/hildon-window-stack.c (hildon_window_stack_get_default)
12 (hildon_window_stack_new, +hildon_window_stack_set_property)
13 (+hildon_window_stack_get_property)
14 (hildon_window_stack_class_init)
15 (+hildon_window_stack_set_window_group)
16 (+hildon_window_stack_get_window_group):
17 Make the window group a construction property.
19 2009-03-04 Alberto Garcia <agarcia@igalia.com>
21 * doc/hildon-sections.txt
22 * src/hildon-stackable-window-private.h
23 * src/hildon-stackable-window.h
24 * src/hildon-stackable-window.c
25 (-hildon_stackable_window_set_app_menu)
26 (-hildon_stackable_window_get_app_menu)
27 (-hildon_stackable_window_toggle_menu)
28 (-hildon_stackable_window_finalize)
29 (hildon_stackable_window_class_init)
30 (hildon_stackable_window_init)
31 * src/hildon-window-private.h
33 * src/hildon-window.c (hildon_window_init)
34 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
35 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
36 (hildon_window_get_main_menu, hildon_window_set_main_menu)
37 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
38 Moved all HildonAppMenu code to HildonWindow. The menu does not
39 require a HildonStackableWindow anymore.
41 * src/hildon-app-menu.c
42 * src/hildon-program.c
43 * examples/hildon-app-menu-example.c (main):
44 Update examples and documentation to reflect HildonAppMenu
47 2009-03-04 Alberto Garcia <agarcia@igalia.com>
49 * src/hildon-remote-texture.c
50 * src/hildon-animation-actor.c:
51 Don't include unused private headers.
53 2009-03-04 Alberto Garcia <agarcia@igalia.com>
55 * src/hildon-program-private.h
56 * src/hildon-program.c
57 (hildon_program_set_common_menu)
58 (hildon_program_get_common_menu)
59 (hildon_program_set_common_app_menu)
60 (hildon_program_get_common_app_menu):
61 Change common menu pointers from GtkWidget* to GtkMenu* and
62 HildonAppMenu* to avoid unnecessary casts.
64 2009-03-03 Alberto Garcia <agarcia@igalia.com>
66 * src/hildon-window.c (hildon_window_set_main_menu):
67 Removed incorrect 'Since:' tag
69 2009-03-03 Alejandro G. Castro <alex@igalia.com>
71 * src/hildon-pannable-area.c,
72 (hildon_pannable_area_calculate_velocity): We use now the
73 RATIO_TOLERANCE here to check the distance, fixed typo in the
75 (hildon_pannable_area_motion_notify_cb): We have to set the type
76 and time even if we are not sending the motion.
78 2009-03-02 Alberto Garcia <agarcia@igalia.com>
80 * doc/hildon-sections.txt
81 * src/hildon-app-menu.h
82 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
83 (+hildon_app_menu_get_filters): New methods to get the contents of
86 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
89 2009-03-02 Alberto Garcia <agarcia@igalia.com>
91 * src/hildon-app-menu.c (hildon_app_menu_popup):
94 2009-03-02 Alberto Garcia <agarcia@igalia.com>
97 * src/hildon-window.c (+hildon_window_get_main_menu)
98 (hildon_window_get_menu): Created hildon_window_get_main_menu()
99 and deprecated hildon_window_get_menu().
101 * src/hildon-stackable-window.h
102 * src/hildon-stackable-window.c
103 (+hildon_stackable_window_set_app_menu)
104 (+hildon_stackable_window_get_app_menu)
105 (hildon_stackable_window_set_main_menu): Created
106 hildon_stackable_window_{get,set}_app_menu() and deprecated
107 hildon_stackable_window_set_main_menu().
109 * doc/hildon-sections.txt
110 * examples/hildon-app-menu-example.c (main)
111 * src/hildon-app-menu.c
112 * src/hildon-program.c:
113 Updated examples and documentation.
115 Fixes: NB#103758 (No way to obtain a menu from a
116 HildonStackableWindow)
118 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
123 * configure.ac: Bump version.
124 * debian/changelog: Updates.
126 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
128 * examples/hildon-remote-texture-example.c: Include
129 hildon-remote-texture.h explicitely.
130 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
131 applications not defining _XOPEN_SOURCE which don't require this header.
133 2009-02-27 Alberto Garcia <agarcia@igalia.com>
135 * doc/hildon-sections.txt
136 * src/hildon-app-menu.h
137 * src/hildon-app-menu.c (+hildon_app_menu_popup):
138 New function to pop up a HildonAppMenu
140 * src/hildon-stackable-window.c
141 (hildon_stackable_window_toggle_menu):
142 Use hildon_app_menu_popup() to show the menu.
144 2009-02-27 Alberto Garcia <agarcia@igalia.com>
146 * src/hildon-app-menu.c (hildon_app_menu_show)
147 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
148 menu if there's another window between it and its parent window.
150 Fixes: NB#100468 (Application menu window is launched even when a
151 new secondary-window/dialog is pending to be shown/realized)
153 2009-02-27 Alberto Garcia <agarcia@igalia.com>
155 * src/hildon-window-stack.c (hildon_window_stack_push)
156 (hildon_window_stack_pop_and_push):
157 Don't forget to push/pop the first window.
158 Reverse the window list before calling _push_list()
160 2009-02-27 Alberto Garcia <agarcia@igalia.com>
162 * src/hildon-picker-button.h
163 * src/hildon-picker-button.c (hildon_picker_button_class_init):
164 Remove "value_changed" slot to avoid ABI breakage
166 2009-02-26 Alejandro G. Castro <alex@igalia.com>
168 * src/hildon-pannable-area.c,
169 (hildon_pannable_area_realize),
170 (hildon_pannable_area_unrealize),
171 (hildon_pannable_draw_vscroll),
172 (hildon_pannable_draw_hscroll): Changed the method to handle the
173 GC used to draw the transparent scrollbar, this way we avoid
174 creating the GC all the time when drawing the scrollbars.
176 2009-02-26 Alejandro G. Castro <alex@igalia.com>
178 * src/hildon-pannable-area.c,
179 (hildon_pannable_area_init),
180 (hildon_pannable_area_remove): Removed some unnecessary casts.
181 (hildon_pannable_area_dispose): Disconnected some signals before
182 releasing the adjustments.
184 2009-02-26 Alberto Garcia <agarcia@igalia.com>
186 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
187 Make sure that all widgets contained in the toolbar are shown.
189 2009-02-25 Alberto Garcia <agarcia@igalia.com>
191 * doc/hildon-sections.txt
192 * src/hildon-picker-button.h
193 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
194 (_selection_changed, hildon_picker_button_on_dialog_response)
195 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
196 New hildon_picker_button_value_changed() method.
199 * src/hildon-picker-button-private.h
200 * src/hildon-picker-button.c (hildon_picker_button_init)
201 (+hildon_picker_button_disable_value_changed): Add protected
202 function for disabling the "value-changed" signal.
204 * src/hildon-date-button.c (hildon_date_button_set_date):
205 Don't emit "value-changed" for each one of the three columns.
207 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
208 before actual change of values)
210 2009-02-24 Alejandro G. Castro <alex@igalia.com>
212 * src/hildon-pannable-area.c,
213 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
214 for the treeview overshooting.
216 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
218 * src/hildon-banner.c (+hildon_banner_bind_style):
219 Renamed from hildon_banner_bind_label_style(), now naming the
220 banner itself as well.
221 (hildon_banner_show_information),
222 (hildon_banner_show_information_with_markup),
223 (hildon_banner_show_animation), (hildon_banner_show_progress):
224 Name the widgets and labels, based on their type.
226 See NB#98597 (Hildon Note and Hildon Banner should use themeable
229 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
231 * src/hildon-note.c (hildon_note_set_property): call
232 hildon_note_rename() on HildonNote:note-type set.
233 (hildon_note_rename): Name the note and its label, based on the
234 HildonNote:note-type property.
236 See NB#98597 (Hildon Note and Hildon Banner should use themeable
239 2009-02-24 Alejandro G. Castro <alex@igalia.com>
241 * src/hildon-pannable-area.c,
242 (hildon_pannable_area_class_init),
243 (hildon_pannable_area_motion_notify_cb): Reviewed the default
244 panning parameters, increased SPS and deceleration factor. Added
245 also a margin to control fake directions.
247 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
249 Patch by Sven Herzberg (sven@imendio.com)
251 * configure.ac: Add missing AM_PROG_CC_C_0
252 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
254 See NB#101420 (Update unit tests and fix make check)
256 2009-02-23 Alejandro G. Castro <alex@igalia.com>
258 This patch was applied before but reverted because it caused
259 problems, we have changed the main condition and tested the
260 regressions we detected before and they work ok. We have done a
261 complete review of the topmost algorithm in order to get a more
264 * src/hildon-pannable-area.c,
265 (hildon_pannable_area_get_topmost): Added a new parameter to
266 filter the the windows that do not include those events.
267 (hildon_pannable_area_button_press_cb),
268 (hildon_pannable_area_button_release_cb),
269 (hildon_pannable_get_child_widget_at): Reviewed the call the the
270 topmost function, we have added the new parameter.
272 Fixes: NB#97458 (Pannable area prevents propagation of button
275 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
277 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
278 if all columns in the selector have an item selected.
279 (_on_dialog_response): Stop "response" signal emission if there is
280 any selector column without selected items.
282 Fixes: NB#101889 (Picker dialog should not close when nothing is
283 selected in multiple selection list)
285 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
287 * src/hildon-font-selection-dialog.c
288 (hildon_font_selection_dialog_class_init),
289 (hildon_font_selection_dialog_init): Remove the preview
290 button and dialog, since previewing with default theming is likely
291 to be overcomplicated. The :preview property has now no effect.
292 Update documentation blurbs to inform about this.
294 Fixes: NB#92297 (Preview content is not clearly visible for
297 2009-02-20 Alejandro G. Castro <alex@igalia.com>
299 Reviewed the geometry that handles the children size and
300 scrollbar, now it tries a size and reviews the results depending
301 on the scrollbars visibility.
303 * src/hildon-pannable-area.c,
304 (hildon_pannable_area_realize): Fixed a typo.
305 (hildon_pannable_area_child_allocate_calculate): Added this
306 function to calculate the child allocation.
307 (hildon_pannable_area_size_allocate): Reviewed the allocation
309 (hildon_pannable_area_check_scrollbars),
310 (hildon_pannable_area_refresh): Refactored refresh function, this
311 way we can call the code handling the scrollbars without causing a
312 size_request, it is interesting in the allocate.
313 (hildon_pannable_area_init): Replace the callbacks of the
314 value_changed and changed signals to propertly deal with the
316 (hildon_pannable_area_grab_notify),
317 (hildon_pannable_area_initial_effect),
318 (hildon_pannable_area_launch_fade_timeout),
319 (hildon_pannable_area_adjust_changed),
320 (hildon_pannable_area_adjust_value_changed),
321 (hildon_pannable_area_redraw),
322 (hildon_pannable_area_button_press_cb),
323 (hildon_pannable_area_button_release_cb),
324 (hildon_pannable_area_scroll_cb),
325 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
326 code and use the new functions adjust_changed and
327 adjust_value_changed.
329 Fixes: NB#101603 (Focus is not even for the text entry boxes in
330 Contact editor dialog)
332 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
337 * configure.ac: Bump version.
338 * debian/changelog: Updates.
340 2009-02-20 Alejandro G. Castro <alex@igalia.com>
342 * src/hildon-pannable-area.c,
343 (hildon_pannable_area_get_topmost),
344 (hildon_pannable_area_button_press_cb),
345 (hildon_pannable_area_button_release_cb),
346 (hildon_pannable_get_child_widget_at): Reverted the patch for the
347 topmost function adding the event mask. We have to try a
348 differente approach because it is still causing problems (NB#9745,
351 2009-02-19 Alberto Garcia <agarcia@igalia.com>
353 * src/hildon-banner.c:
354 Update the maximum width of timed banners.
355 (force_to_wrap_truncated): Enforce the maximum text width if the
358 Fixes: NB#102413 (The text margins (wrapping) in information
359 banner should be HILDON_MARGIN_TRIPLE)
361 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
363 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
365 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
366 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
367 bound when calculating the scroll indicator position.
369 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
370 treat ->lower correctly)
372 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
374 * src/hildon-caption.c (hildon_caption_class_init): Remove the
375 expose event handling, since it is not necessary to draw the focus
378 Fixes: NB#102467 (Do not show highlight on the text in
381 2009-02-18 Alberto Garcia <agarcia@igalia.com>
383 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
384 full height of the toolbar for the button and the label.
386 2009-02-18 Alberto Garcia <agarcia@igalia.com>
388 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
389 padding before the label and after the button.
391 2009-02-18 Alberto Garcia <agarcia@igalia.com>
393 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
395 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
396 Add a GtkVSeparator between the button and the back arrow.
397 Let the button have automatic size.
398 Set a name to the widget for theming handling.
400 Fixes: NB#101793 (Make edit toolbar the same height as window
401 title bar (use title area theming))
403 2009-02-18 Alberto Garcia <agarcia@igalia.com>
405 * src/hildon-helper.c (attach_new_color_element): Fix memory
408 Fixes: NB#102262 (memory leak in hildon_button_set_style())
410 2009-02-18 Alberto Garcia <agarcia@igalia.com>
412 * examples/hildon-button-example.c (common_buttons_window): Don't
415 2009-02-18 Alberto Garcia <agarcia@igalia.com>
417 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
418 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
420 2009-02-18 Alberto Garcia <agarcia@igalia.com>
422 * src/hildon-gtk.c: Check that the window is realized.
424 Fixes: NB#102225 (Crash setting the progress indicator to a non
427 2009-02-17 Alberto Garcia <agarcia@igalia.com>
429 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
430 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
431 instead of modifying the one in the widget style.
433 Fixes: NB#101043 (Second row of all the command button are
434 displayed in transparent mode.)
436 2009-02-17 Alberto Garcia <agarcia@igalia.com>
438 * src/hildon-date-button.c
439 * src/hildon-time-button.c: Add gettext macros
441 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
443 * src/hildon-date-button.c (hildon_date_button_new):
444 * src/hildon-time-button.c (hildon_time_button_new_step):
445 Use new logical strings to set the button default title.
447 Fixes: NB#99915 (Date and Time options are not localised in Date
450 2009-02-16 Alejandro G. Castro <alex@igalia.com>
452 * src/hildon-pannable-area.c
453 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
454 the PANNING_THRESHOLD.
456 2009-02-16 Alejandro G. Castro <alex@igalia.com>
458 * src/hildon-pannable-area.c,
459 (hildon_pannable_area_class_init): Increased the maximum speed.
460 (hildon_pannable_area_get_property),
461 (hildon_pannable_area_set_property),
462 (hildon_pannable_area_timeout): Added a new low friction mode, it
463 allows the user avoid friction when launching the widget fast
464 enough. It is interesting to traverse long lists.
466 2009-02-16 Alberto Garcia <agarcia@igalia.com>
468 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
469 (+hildon_stackable_window_delete_event): Ignore delete events if
470 the window is not the topmost one.
472 Fixes: NB#101698 (Back button long press and delete-event handling)
474 2009-02-16 Alejandro G. Castro <alex@igalia.com>
476 * src/hildon-pannable-area.c,
477 (hildon_pannable_area_motion_notify_cb): Removed the use of the
478 gtk-dnd-drag-threshold, it was too big. We have defined our own
479 dnd define and set a smaller value: PANNIG_THRESHOLD.
481 2009-02-16 Alberto Garcia <agarcia@igalia.com>
483 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
484 user-defined icons, use always the default one.
486 Fixes: NB#101916 (Do not allow custom icons on animation banner)
488 2009-02-13 Alejandro G. Castro <alex@igalia.com>
490 This patch was applied before but reverted because it caused
491 problems, we have changed the main condition and tested the
492 regressions we detected before and they work ok.
494 * src/hildon-pannable-area.c,
495 (hildon_pannable_area_get_topmost): Added a new parameter to
496 filter the the windows that do not include those events. Added
497 also a condition when finding the window to filter windows that do
498 not ask for those events.
499 (hildon_pannable_area_button_press_cb),
500 (hildon_pannable_area_button_release_cb),
501 (hildon_pannable_get_child_widget_at): Reviewed the call the the
502 topmost function, we have added the new parameter.
504 Fixes: NB#97458 (Pannable area prevents propagation of button
507 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
509 * tests/check-hildon-color-button.c (START_TEST): do not leak
512 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
514 * src/hildon-font-selection-dialog.c
515 (hildon_font_selection_dialog_get_preview_text): Return NULL
516 instead of FALSE on the g_return_val_if_fail().
518 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
520 * src/hildon-time-selector.c (hildon_time_selector_set_time):
521 * src/hildon-date-selector.c
522 (hildon_date_selector_select_current_date):
523 Do not compare unsigned integers to be greater than or equal 0,
524 because it's always TRUE.
526 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
528 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
529 (hildon_date_selector_constructor): Do not select the current
530 date until we are handle the "changed" signal, to avoid having bogus
531 elements in the days model.
533 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
535 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
536 for num_days, since _month_days() can return a negative value.
538 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
540 * src/hildon-caption.c (hildon_caption_size_allocate):
541 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
542 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
544 Initialize allocation variables to 0, to avoid eventually using
545 unitialized variables.
547 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
549 * src/hildon-bread-crumb-trail.c
550 (hildon_bread_crumb_trail_size_allocate):
551 * src/hildon-calendar.c (hildon_calendar_set_background):
552 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
553 * src/hildon-range-editor.c (hildon_range_editor_get_range):
554 * src/hildon-seekbar.c (hildon_seekbar_init):
555 * src/hildon-time-editor.c (hildon_time_editor_get_time):
556 * src/hildon-time-selector.c (hildon_time_selector_finalize):
557 * src/hildon-touch-selector-entry.c
558 (hildon_touch_selector_get_text_from_model):
559 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
560 * src/hildon-window.c (hildon_window_finalize):
562 Remove many unused variables.
564 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-seekbar.c: (hildon_seekbar_init),
567 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
569 Remove unnecessary g_assert() calls.
571 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
573 * src/hildon-caption.c: (hildon_caption_expose),
574 (hildon_caption_set_property), (hildon_caption_init),
575 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
576 (hildon_caption_size_request), (hildon_caption_size_allocate),
577 (hildon_caption_forall), (hildon_caption_set_separator),
578 (hildon_caption_activate), (hildon_caption_set_child_expand),
579 (hildon_caption_set_label_text),
580 (hildon_caption_get_label_alignment):
582 Remove unnecessary g_assert() calls.
584 2009-02-12 Alberto Garcia <agarcia@igalia.com>
586 * src/hildon-banner.c
587 (hildon_banner_map, hildon_banner_init): Make banner temporary
588 before mapping it to avoid closing other temporary windows, but
589 make it non-temporary afterwards to avoid being closed by other
590 non-temporary windows.
591 (-hildon_banner_client_event, hildon_banner_init):
592 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
594 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
597 2009-02-11 Alberto Garcia <agarcia@igalia.com>
599 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
602 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
604 * src/hildon-remote-texture.c
605 * src/hildon-remote-texture.h
606 * src/hildon-remote-texture-private.h
607 * examples/hildon-remote-texture-example.c:
608 Updates/fixes to remote-texture and its example.
610 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
612 Patch by Mox Soini (ext-mox.soini@nokia.com)
614 * src/hildon-code-dialog.c: Update logical id.
615 * src/hildon-set-password-dialog.c: Update logical id.
617 Fixes: NB#100646 (Logical strings is shown for ok in set
618 password,Password needed dialogs)
620 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
623 * src/hildon-remote-texture.c
624 * src/hildon-remote-texture.h
625 * src/hildon-remote-texture-private.h
627 Added remote texture widget (for Clutter shared memory textures)
629 * examples/hildon-remote-texture-example.c
630 * examples/Makefile.am
631 Added example file for remote texture usage
633 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
635 * configure.ac: post release version bump.
636 * debian/changelog: version bump.
638 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
643 * configure.ac: Bump version.
644 * debian/changelog: Updates.
646 2009-02-06 Alberto Garcia <agarcia@igalia.com>
648 * src/hildon-date-selector.c (hildon_date_selector_init)
649 (hildon_date_selector_constructor): Don't connect to the "changed"
650 signal until the selector is completely constructed.
652 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
654 * src/hildon-touch-selector.c: (_create_new_column),
655 (hildon_touch_selector_append_column),
656 (hildon_touch_selector_set_column_selection_mode),
657 (hildon_touch_selector_set_active),
658 (hildon_touch_selector_select_iter):
659 Emit the HildonTouchSelector::changed signal every time selection
660 is changed in any of the methods above. This behavior was already
661 documented but not fully functional.
663 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
664 selection is programmatically changed)
666 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
668 * doc/hildon-sections.txt: Remove obsolete icon
669 sizes from here as well.
671 2009-02-05 Alberto Garcia <agarcia@igalia.com>
673 * examples/hildon-stackable-window-example.c (add_window): Remove
676 2009-02-05 Alberto Garcia <agarcia@igalia.com>
678 * src/hildon-app-menu.c
679 (hildon_app_menu_show): Check whether the parent window of a menu
680 is topmost before popping it up.
682 Fixes: NB#100468 (Application menu window is launched even when a
683 new secondary-window/dialog is pending to be shown/realized.)
685 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
687 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
690 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
692 Patch by Mox Soini (ext-mox.soini@nokia.com)
694 * src/hildon-banner.c: (hildon_banner_show_animation):
695 use stylus size instead of obsolete note size.
696 * src/hildon-defines.h: Update icon sizes.
698 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
700 * src/hildon-touch-selector-entry.c:
701 (hildon_touch_selector_entry_init): Disable unsupported
703 (hildon_touch_selector_entry_get_text_column): Emit a warning
704 if an unsupported input modes is used and explicitile state
705 these modes in the documentation.
707 Fixes: NB#99802 (Hildon touch selector entry not working properly
708 for some of the input modes)
710 2009-02-05 Alejandro G. Castro <alex@igalia.com>
712 * src/hildon-pannable-area.c,
713 (hildon_pannable_area_init): Added the changed signal handlers of
716 Fixes: NB#100320 (HildonPannableArea does not listen to
717 GtkAdjustment "change" signals)
719 2009-02-04 Alberto Garcia <agarcia@igalia.com>
721 * doc/hildon-sections.txt
722 * src/hildon-window-private.h
723 * src/hildon-window.h
724 * src/hildon-window.c (hildon_window_init)
725 (hildon_window_realize, hildon_window_unrealize)
726 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
727 (hildon_window_size_request, hildon_window_size_allocate)
728 (hildon_window_forall, hildon_window_show_all)
729 (hildon_window_destroy, +paint_edit_toolbar)
730 (+hildon_window_set_edit_toolbar):
731 New hildon_window_set_edit_toolbar() method, to add a
732 HildonEditToolbar to a window without having to pack it manually.
734 Reorganize hildon_window_size_allocate()
736 * src/hildon-edit-toolbar.c: Update documentation.
738 * examples/hildon-edit-toolbar-example.c (edit_window): Update
739 example to use the new API.
741 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
743 2009-02-04 Alberto Garcia <agarcia@igalia.com>
745 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
746 Remove from stack before calling parent's hide.
748 2009-02-04 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
751 window is removed from the middle of the stack, update the
752 transiency of the previous one.
754 Fixes: NB#100487 (HildonStackableWindow transiency becomes
757 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
759 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
760 block/unblock the signal handler if it's not actually being used.
761 Fixes some critical warnings.
763 2009-02-02 Alberto Garcia <agarcia@igalia.com>
765 Based on a patch by Iván Gómez (igomez@igalia.com)
767 * src/hildon-banner.c
771 * src/hildon-pannable-area.c
772 * src/hildon-picker-dialog.c
773 * src/hildon-wizard-dialog.h
774 * src/hildon-wizard-dialog.c: Documentation updates.
776 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
777 gtk_dialog_add_button() instead of hildon_dialog_add_button().
779 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
781 * configure.ac: post release version bump.
782 * debian/changelog: version bump.
784 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
789 * configure.ac: Bump version.
790 * debian/changelog: Updates.
792 2009-01-29 Alberto Garcia <agarcia@igalia.com>
794 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
795 a stock icon nor change the relief of the back arrow.
797 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
800 2009-01-29 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-button.c (hildon_button_set_alignment): Use
803 priv->alignment if the button has no child yet.
805 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
807 * src/hildon-button.c: (hildon_button_init): Set the
808 button style during initialization to give it the proper
811 Fixes: NB#99713 (HildonButton value label color is wrong)
813 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
815 * src/hildon-touch-selector.c: Document
816 hildon_touch_selector_center_on_selected()
818 2009-01-28 Alberto Garcia <agarcia@igalia.com>
820 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
821 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
822 all menu items, but not the menu itself.
823 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
824 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
825 items after adding them to the menu so keyboard accelerators work.
826 (hildon_app_menu_show): Don't show the menu if it contains items
827 but none of them are visible.
829 * examples/hildon-app-menu-example.c (create_menu): Use
830 gtk_widget_show_all() to show all menu items.
832 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
834 * src/hildon-picker-dialog.c:
835 (-_update_title_on_selector_changed_cb),
836 (-_dialog_update_title): Removed.
837 (_select_on_selector_changed_cb), (_on_dialog_response),
838 (on_selector_columns_changed): Do not update the dialog title.
839 (setup_interaction_mode): Do not connect to
840 HildonTouchSelector::changed signal if there's a "done" button, as
841 the dialog title doesn't need to be updated.
843 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
846 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
848 Patch by Kristian Rietveld (kris@imendio.com)
850 * src/hildon-touch-selector.c: (_create_new_column): Use new
851 GtkTreeView::hildon-row-tapped signal to react to user interactions
852 instead of ::changed.
854 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
855 with some dynamic tree model)
857 2009-01-27 Alberto Garcia <agarcia@igalia.com>
859 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
860 (+screen_size_changed, +label_size_request)
861 (hildon_note_class_init): Make the Hildon information note have a
862 minimum height, and make its text hvae a maximum width.
864 Fixes: NB#98614 (Hildon information note (background) should have
865 minimum height and maximum text width)
867 2009-01-26 Alberto Garcia <agarcia@igalia.com>
869 * src/hildon-banner.h
870 * src/hildon-banner.c (hildon_banner_show_information)
871 (hildon_banner_show_informationf)
872 (hildon_banner_show_information_with_markup): Update documentation
873 to reflect that the icon_name parameter is not used anymore.
874 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
875 Remove all code from these functions and mark them as deprecated.
876 (hildon_banner_show_progress): Mark as deprecated.
878 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
880 2009-01-26 Alejandro G. Castro <alex@igalia.com>
882 * src/hildon-pannable-area.c,
883 (hildon_pannable_area_class_init),
885 (hildon_pannable_draw_vscroll),
886 (hildon_pannable_draw_hscroll),
887 (hildon_pannable_area_expose_event): Added a new way to render the
888 scrollbars of the pannable area avoiding using cairo at all. This
889 way we improve the performance of the pannable area rendering. The
890 cairo rendering procedure is still in the code, we can control
891 which one to use changing the value of the define
892 USE_CAIRO_SCROLLBARS.
894 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
896 * configure.ac: post release version bump.
897 * debian/changelog: version bump.
899 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
904 * configure.ac: Bump version.
905 * debian/changelog: Updates.
907 2009-01-23 Alberto Garcia <agarcia@igalia.com>
909 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
910 banners instead of destroying them when they receive a button
913 2009-01-23 Alejandro G. Castro <alex@igalia.com>
915 Reverted commit 34028, it was causing regressions, probably the
916 topmost condition is not correct, we have to check it in more
917 detail. We have reponed the bug: NB#97458 (Pannable area prevents
918 propagation of button press events)
920 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
922 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
923 that the selection is not empty before attempting to retrieve the
924 current ampm selection.
926 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
928 * src/hildon-picker-button.c:
929 (hildon_picker_button_on_dialog_response): Directly update the
930 button contents when required instead of calling _selection_changed.
932 2009-01-23 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-program.c (hildon_program_update_top_most): Update
935 'is-topmost' property also when wm_hints is not set.
937 Fixes: NB#98383 (is-topmost signal is not emitted when task
938 switcher is clicked.)
940 2009-01-23 Alejandro G. Castro <alex@igalia.com>
942 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
946 * src/hildon-animation-actor.c,
947 * src/hildon-animation-actor.h: Added the animation actor class,
948 this widget represents an animation actor for WM-assisted
949 animation effects in the Hildon framework.
951 2009-01-23 Alberto Garcia <agarcia@igalia.com>
953 * src/hildon-window-stack-private.h
954 * src/hildon-window-stack.c
955 * src/hildon-stackable-window.c (hildon_stackable_window_show):
956 Avoid calling gtk_widget_show() again indirectly from
957 hildon_stackable_window_show()
959 2009-01-23 Alberto Garcia <agarcia@igalia.com>
961 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
964 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
967 (hildon_time_selector_init): Move the construction of the hours and
968 ampm columns to the constructor to preserve the order the columns
971 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
973 * src/hildon-picker-dialog.c:
974 (hildon_picker_dialog_class_init): Connect a realize method.
975 (+hildon_picker_dialog_realize): Setup the interaction mode here
977 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
978 yet, do it during the realize instead.
979 (_on_dialog_response):
980 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
981 if the widget is not realized, to avoid the dialog response before it
984 Avoid premature responses in the HildonPickerDialog that can cause it
985 to be hidden before it's even shown.
987 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
989 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
990 (on_selector_columns_changed), (requires_done_button),
991 (+prepare_action_area), (setup_interaction_mode),
992 (_hildon_picker_dialog_set_selector):
994 Split the interaction mode setup into preparation of the
995 action area (prepare_action_area()) and the connection of
996 the signals in setup_interaction_mode() and update the code to
999 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1001 * src/hildon-pannable-area.c,
1002 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1003 per second to 15, we will check if this is ok regarding
1006 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1008 * src/hildon-pannable-area.c,
1009 (hildon_pannable_axis_scroll): Avoid resize if we already have
1010 reached overshoot_max.
1012 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1014 * src/hildon-pannable-area.c,
1015 (hildon_pannable_area_init),
1016 (hildon_pannable_area_realize),
1017 (hildon_pannable_area_size_allocate),
1018 (hildon_pannable_area_map),
1019 (hildon_pannable_area_unmap),
1020 (hildon_pannable_draw_vscroll),
1021 (hildon_pannable_draw_hscroll),
1022 (hildon_pannable_area_expose_event),
1023 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1024 pannable are to avoid the expose events go to the window and
1025 redraw the window. We save this way that part of the stack and the
1026 paint_boxes. We had to change the positions of the elements when
1029 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1031 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1032 * src/hildon-color-chooser-dialog.c:
1033 (hildon_color_chooser_dialog_init):
1034 * src/hildon-font-selection-dialog.c:
1035 (hildon_font_selection_dialog_init),
1036 (hildon_font_selection_dialog_show_preview):
1037 * src/hildon-get-password-dialog.c:
1038 * src/hildon-login-dialog.c:
1039 * src/hildon-set-password-dialog.c:
1040 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1041 * src/hildon-time-picker.c: (hildon_time_picker_init):
1043 Remove obsolete logical string IDs and update to the appropriate ones.
1045 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1047 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1049 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1050 that happens if the window hasn't been realized yet.
1052 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1053 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1055 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1058 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1061 Fixes: NB#98537 (Device hangs in account settings dialog)
1063 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1065 * configure.ac: post release version bump.
1066 * debian/changelog: version bump
1068 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1073 * configure.ac: Bump version.
1074 * debian/changelog: Updates.
1076 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1078 Added a new function to the HildonTimeButton widget that allows to
1079 change the step of the minutes in the selector associated with the
1080 button: hildon_time_button_new_step
1082 * src/hildon-time-button.c,
1083 (hildon_time_button_init),
1084 (hildon_time_button_new),
1085 (hildon_time_button_new_step):
1086 * src/hildon-time-button.h: Added the new function and refactored
1088 * examples/hildon-time-button-example.c,
1089 (main): We have replaced the function without parameters with the
1090 function with the steps set to 5
1092 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1094 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1096 * src/hildon-time-selector.c,
1097 (hildon_time_selector_class_init),
1098 (hildon_time_selector_constructor),
1099 (hildon_time_selector_get_property),
1100 (hildon_time_selector_set_property),
1101 (_create_minutes_model),
1102 (hildon_time_selector_new_step),
1103 (hildon_time_selector_set_time),
1104 * src/hildon-time-selector.h: Added a new property to the
1105 HildonTimeSelector (minutes-step), we use that property to control
1106 the steps between the minutes in the list of the selector. We have
1107 added a new function to the API to create a widget changing the
1108 step: hildon_time_selector_new_step.
1110 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1112 * src/hildon-time-selector.c,
1113 (hildon_time_selector_class_init),
1114 (hildon_time_selector_constructor),
1115 (hildon_time_selector_init): Overrided the construct function when
1116 creating the time selector object. We have moved the minutes model
1117 handling code from the init to the new construction function:
1118 hildon_time_selector_constructor.
1120 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1122 * examples/hildon-date-button-example.c: (main): Use the new
1123 hildon_date_button_new_with_year_range() method in the example.
1124 * src/hildon-date-button.c:
1125 (+hildon_date_button_new_with_year_range): New public method
1126 to conveniently create a HildonDateButton with a custom year range
1127 in its HildonDateSelector.
1128 * src/hildon-date-button.h: Add the new public method definition.
1130 Fixes: NB#97908 (Not possible to change the year range in
1131 HildonDateSelector/HildonDateButton)
1133 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1135 * src/hildon-date-selector.c:
1136 (+hildon_date_selector_set_property),
1137 (+hildon_date_selector_get_property),
1138 (hildon_date_selector_class_init): Install new properties "min-year"
1139 and "max-year" to define boundaries for the year column.
1140 (_create_year_model): Use the boundary properties to populate the model.
1141 (+hildon_date_selector_new_with_year_range): New public method to
1142 create a HildonDateSelector with a user defined year range.
1143 (hildon_date_selector_select_current_date): Use the new boundaries to
1144 calculate the iterator of current year.
1145 * src/hildon-date-selector.h: Add the new public method definition.
1147 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1150 Install a constructor method.
1151 (+hildon_date_selector_construct_ui): construct the widget.
1152 (+hildon_date_selector_constructor): new constructor.
1153 (+hildon_date_selector_init): move out widget construction code to
1154 the new constructor.
1156 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1158 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1159 that there's actually a month or year selected before obtaining them.
1160 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1161 of the HildonTouchSelector::changed signal, as it was emitted on every
1162 single item selection.
1164 Fix some warnings and possible crashers due to the selection restoring.
1166 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1168 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1169 the signal handlers only after creating the dialog instead of on every
1172 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1174 * src/hildon-button.c (hildon_button_init)
1175 * src/hildon-check-button.c (hildon_check_button_init)
1176 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1177 focus when clicked by default.
1179 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1181 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1184 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1186 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1187 Alejandro G. Castro (alex@igalia.com)
1189 * src/hildon-picker-dialog.c:
1190 (hildon_picker_dialog_class_init): install new "center-on-show"
1192 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1193 (hildon_picker_dialog_set_property): add setter code for the new
1195 (hildon_picker_dialog_get_property): add getter code for the new
1197 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1198 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1201 Fixes: NB#92849 (Selected item is not always visible when
1202 HildonTouchSelector is shown)
1204 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1206 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1207 Alejandro G. Castro (alex@igalia.com)
1209 * src/hildon-touch-selector.c:
1210 (_create_new_column): Do not connect to the "realize" signal of the
1212 (hildon_touch_selector_append_column): center on the selected items
1213 when a new column is appended.
1214 (hildon_touch_selector_select_iter): Factor out the code to select a
1215 column to hildon_touch_selector_scroll_to().
1216 (+search_nearest_element): Method to retrieve the nearest selected
1217 element to the visible area of the pannable area in a column.
1218 (+on_realize_cb): scroll to the initially selected item.
1219 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1220 the pannable area is realized, otherwise delay this until it is.
1221 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1222 selected items of a given column.
1223 (+hildon_touch_selector_center_on_selected): Public method to center
1224 all columns on the nearest selected item.
1225 * src/hildon-touch-selector.h: Add definition for
1226 hildon_touch_selector_center_on_selected().
1228 Implement public API to ensure visibility of all selected items in
1229 a HildonTouchSelector.
1231 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1233 Fixed a problem in the fading when calling the scroll_to API, and
1234 improve scrollbar fading handling.
1236 * src/hildon-pannable-area.c,
1237 (hildon_pannable_area_grab_notify): avoid the timeout when the
1239 (hildon_pannable_area_button_press_cb),
1240 (hildon_pannable_area_motion_notify_cb): Code style changes.
1241 (hildon_pannable_area_button_release_cb): Review the conditions
1242 when releasing the mouse button to avoid unrequired fading
1244 (hildon_pannable_area_scroll_to): Do not calculate and set the
1245 velocity if the scroll is not required.
1247 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1250 Don't check whether the new selector is NULL: it cannot be.
1251 Hold a reference to the selector while doing the replacement.
1253 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1255 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1256 unnecessary size_request in a removed widget.
1258 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1260 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1261 an unnecessary reference tracking that was leaking.
1263 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1265 Added delayed motion notify event handling, this way we can
1266 discard redrawing if more than 25 events arrive per second.
1268 * src/hildon-pannable-area.c,
1269 (hildon_pannable_area_init): Initialized the new private atributes
1270 controlling this timeout
1271 (hildon_pannable_area_dispose): Remove the timeout that controls
1272 the motion notify events.
1273 (hildon_pannable_area_scroll): Added a condition to control the
1274 use of the acceleration.
1275 (hildon_pannable_area_motion_event_scroll_timeout),
1276 (hildon_pannable_area_motion_event_scroll): Added this two
1277 functions, they handle the motion notify events inside the
1279 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1280 to the scroll method with the new function.
1281 (hildon_pannable_area_button_release_cb): We have to remove the
1282 timeout handler and move to the last position if the last motion
1283 events were not handled.
1285 Fixes: NB#97028 (Pannable area updates on every motion event)
1287 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1289 * src/hildon-pannable-area.c,
1290 (hildon_pannable_area_get_topmost): Added a new parameter to
1291 filter the the windows that do not include those events. Added
1292 also a condition when finding the window to filter windows that do
1293 not ask for those events.
1294 (hildon_pannable_area_button_press_cb),
1295 (hildon_pannable_area_button_release_cb),
1296 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1297 topmost function, we have added the new parameter.
1299 Fixes: NB#97458 (Pannable area prevents propagation of button
1302 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1304 * src/hildon-pannable-area.c,
1305 (hildon_pannable_area_initial_effect): Added controls before
1306 launching the timeout and the idle functions.
1307 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1308 of the method, in some situations it can return with TRUE and 0 in
1310 (hildon_pannable_area_button_press_cb): We do not need to set
1311 DELAY for fading out here.
1313 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1315 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1317 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1318 post-cleaning if the selection is not NULL.
1320 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1322 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1323 all items before restoring the selection.
1325 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-touch-selector.c:
1328 (+hildon_touch_selector_unselect_all):
1329 * src/hildon-touch-selector.h: New API to unselect all items in a
1330 column of the touch selector.
1332 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1334 * src/hildon-pannable-area.c,
1335 (hildon_pannable_area_redraw): Added a call to the refresh
1336 function inside the redraw because apparently in some cases the
1337 change in the adjustment does not imply a size allocate.
1339 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1340 despite the view not being scrollable)
1342 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1344 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1345 leak. Check for NULL before attempting to set the window title.
1347 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1350 whether to show or not the 'Done' button each time the dialog is
1351 shown, as it depends on the HildonTouchSelector selection mode.
1353 Fixes: NB#96226 (In multiple selection mode Done button is shown
1354 sometimes in listpicker)
1356 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1358 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1359 for the number of columns in the HildonTouchSelector more than once.
1361 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1363 * src/hildon-touch-selector.c: Minor documentation fixes.
1365 * src/hildon-picker-dialog.c (+_dialog_update_title)
1366 (_select_on_selector_changed_cb)
1367 (_update_title_on_selector_changed_cb)
1368 (on_selector_columns_changed): Update dialog title when there's no
1369 'Done' button and also when the number of columns in the selector
1373 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1374 (+_selection_changed, hildon_picker_button_on_dialog_response)
1375 (hildon_picker_button_selector_selection_changed)
1376 (+hildon_picker_button_selector_columns_changed)
1377 (hildon_picker_button_set_selector): Update button value and emit
1378 'value-changed' when the number of columns in the selector
1382 Fixes: NB#96225 (Dialog titles are not shown according to the
1383 values selected in the list picker)
1385 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1387 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1388 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1389 New "arrow-width" and "arrow-height" style properties to set the
1390 size of the arrow button.
1391 Set name of arrow button ("hildon-edit-toolbar-arrow").
1393 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1394 graphics from theme)
1396 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1398 * src/hildon-picker-button.c:
1399 (hildon_picker_button_selector_selection_changed): Use
1400 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1401 the dialog is present.
1403 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1404 the selection is accepted in the dialog)
1406 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1408 * src/hildon-color-chooser.h
1409 * src/hildon-color-chooser-dialog.h:
1410 Added G_BEGIN_DECLS and G_END_DECLS
1412 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1414 (_clean_current_selection): plug a leak in the list.
1416 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1418 * src/hildon-picker-dialog.c:
1419 (+free_path_list): Method to free a GList of GtkTreePaths.
1420 (_clean_current_selection), (_save_current_selection),
1421 (_restore_current_selection): Save the current selection in
1422 as a list of lists, to support multiple selection properly.
1424 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1426 patch by Claudio Saavedra (csaavedra@igalia.com)
1428 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1429 Store the press position.
1430 (+hildon_text_view_button_release_event): If the release position is
1431 close enough to the press position, move the cursor here. Otherwise,
1433 (hildon_text_view_class_init): Override GtkTextView press, release, and
1434 motion event handlers, disabling this way text selection through
1435 pointer interaction, and allowing the container widget to handle the
1438 Fixes: NB#95828 (HildonTextView functionality)
1440 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1442 Based on a patch by Iván Gómez (igomez@igalia.com)
1444 * src/hildon-button.[ch]
1445 * src/hildon-calendar.c
1446 * src/hildon-check-button.c
1447 * src/hildon-date-editor.c
1448 * src/hildon-date-selector.c
1449 * src/hildon-picker-button.c
1450 * src/hildon-time-editor.c
1451 * src/hildon-time-selector.c
1452 * src/hildon-touch-selector.[ch]:
1453 Documentation updates
1455 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1457 * src/hildon-pannable-area.c,
1458 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1459 threshold, it was required due to X events handling.
1461 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1463 * src/hildon-pannable-area.c,
1464 (hildon_pannable_area_grab_notify),
1465 (hildon_pannable_area_initial_effect),
1466 (hildon_pannable_area_button_press_cb),
1467 (hildon_pannable_area_button_release_cb),
1468 (hildon_pannable_area_scroll_cb),
1469 (hildon_pannable_area_scroll_to): Review the timeout management of
1470 the scrollbar, the frecuency was incorrectly set.
1472 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1474 * src/hildon-picker-button.c:
1475 (+hildon_picker_button_on_dialog_response),
1476 (hildon_picker_button_clicked): Present the dialog instead of
1477 running it with gtk_dialog_run().
1479 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1482 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1484 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1485 (hildon_app_menu_finalize): When a window is hidden it doesn't
1486 emit notify::is-topmost, so make sure than the menu also
1487 disappears in that case.
1488 (parent_window_topmost_notify): Renamed from parent_window_hidden
1490 Fixes: NB#94460 (stackable window's menu is not closed when its
1493 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-touch-selector-entry.c:
1496 (+hildon_touch_selector_entry_set_input_mode),
1497 (+hildon_touch_selector_entry_get_input_mode):
1498 * src/hildon-touch-selector-entry.h: New methods to access the input
1499 mode in the selector's entry.
1501 Fixes: NB#93410 (API required for setting IM mode in
1502 HildonTouchSelectorEntry)
1504 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1506 * configure.ac: post release version bump.
1507 * debian/changelog: version bump
1509 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1514 * configure.ac: Bump version.
1515 * debian/changelog: Updates.
1517 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-touch-selector.c:
1520 (_hildon_touch_selector_has_multiple_selection): No need
1521 to initialize the variables here.
1523 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-note-private.h
1526 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1527 (hildon_note_finalize, hildon_note_rebuild): Close information
1528 notes when they receive a button press.
1530 Fixes: NB#89890 (Information notes does not get disappeared after
1533 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1535 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1536 mark from the wizard title, as it's not really necessary. Also,
1537 do not display the page title if not set.
1539 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1541 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1542 (parent_window_hidden): Use the window's "is-topmost" property to
1543 detect when to hide the menu.
1545 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1547 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1548 (hildon_app_menu_finalize): If the parent window of the menu is
1549 hidden, hide the menu too.
1551 Fixes: NB#94460 (stackable window's menu is not closed when its
1554 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1557 * debian/libhildon1-examples.install
1559 * examples/Makefile.am:
1560 Use dh_install to install all examples.
1561 Use DEB_SRCDIR instead of defining SOURCE_DIR
1563 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1565 * configure.ac: post release version bump.
1566 * debian/changelog: version bump
1568 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1573 * configure.ac: bump version
1574 * debian/changelog: updates
1575 * debian/control: bump gtk+ dependency
1577 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1579 patch by Christian Dywan (christian@imendio.com)
1581 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1582 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1584 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-check-button.c (hildon_check_button_init)
1587 (hildon_check_button_class_init, hildon_check_button_style_set)
1588 (hildon_check_button_apply_style):
1589 New "checkbox-size" style property.
1591 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1592 larger / configurable size)
1594 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1596 * configure.ac: post release version bump.
1597 * debian/changelog: version bump
1599 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1604 * configure.ac: bump version
1605 * debian/changelog: updates
1607 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1609 * doc/hildon-sections.txt
1610 * src/hildon-pannable-area.c
1611 * src/hildon-program.c
1612 * src/hildon-time-editor.c
1613 * src/hildon-touch-selector-entry.c:
1615 More documentation updates.
1617 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1619 * doc/hildon-sections.txt
1620 * src/hildon-caption.c
1621 * src/hildon-code-dialog.c
1622 * src/hildon-color-button.c
1623 * src/hildon-controlbar.c
1624 * src/hildon-date-editor.c
1625 * src/hildon-date-selector.c
1626 * src/hildon-edit-toolbar.c
1627 * src/hildon-find-toolbar.c
1628 * src/hildon-font-selection-dialog.c
1630 * src/hildon-program.c
1631 * src/hildon-range-editor.c
1632 * src/hildon-seekbar.c
1633 * src/hildon-time-editor.c
1634 * src/hildon-time-selector.c
1635 * src/hildon-volumebar-range.c
1636 * src/hildon-volumebar.c
1637 * src/hildon-vvolumebar.c
1638 * src/hildon-weekday-picker.c
1639 * src/hildon-window.c
1640 * src/hildon-wizard-dialog.c:
1642 Lots of documentation fixes.
1644 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1646 Patch contributed by Iván Gómez (igomez@igalia.com)
1648 * src/hildon-check-button.c:
1649 * src/hildon-date-button.c:
1650 * src/hildon-date-selector.c:
1651 * src/hildon-dialog.c:
1652 * src/hildon-edit-toolbar.c:
1653 * src/hildon-entry.c:
1654 * src/hildon-picker-button.c:
1655 * src/hildon-program.c:
1656 * src/hildon-text-view.c:
1657 * src/hildon-time-button.c:
1658 * src/hildon-touch-selector-entry.c:
1659 * src/hildon-window-stack.c:
1661 Add more "since" tags to the new API.
1663 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1665 * doc/hildon-sections.txt: Add below method.
1666 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1667 version for the hildonized scale.
1668 * src/hildon-gtk.h: Add the definition.
1670 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1672 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1674 * doc/hildon-sections.txt: Add missing entries for new methods.
1676 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1678 Added API to pannable are in order to get its adjustments. We
1679 added two properties to manage the values we had in the private
1682 * src/hildon-pannable-area.c:
1683 (hildon_pannable_area_class_init): Added hadjustment and
1684 vadjustment properties in order to expose horizontal and vertical
1686 (hildon_pannable_area_get_property),
1687 (hildon_pannable_area_set_property): Added code to handle the new
1689 (hildon_pannable_area_get_hadjustment),
1690 (hildon_pannable_area_get_vadjustment): API functions to get the
1692 * src/hildon-pannable-area.h:
1693 (hildon_pannable_area_get_hadjustment),
1694 (hildon_pannable_area_get_vadjustment): API functions to get the
1697 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1699 Fixed some leaks, after valgrinding.
1701 * src/hildon-touch-selector.c:
1702 (_default_print_func): Fixed a leak.
1703 (hildon_touch_selector_append_column): Fixed a leak.
1704 * src/hildon-date-button.c:
1705 (hildon_date_button_init): Fixed a leak.
1706 * src/hildon-date-selector.c
1707 (hildon_date_selector_finalize): Fixed a leak.
1709 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1711 Based on a patch by Christian Dywan (christian@imendio.com)
1713 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1715 * src/hildon-gtk.h: Add definition.
1717 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1719 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1721 * src/hildon-picker-button.c: (hildon_picker_button_init),
1722 (hildon_picker_button_new): Set the HildonButton::style property
1723 in the init method, to propagate the value to the derived classes.
1725 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1727 * src/hildon-button.c: (hildon_button_class_init): Do not make
1728 the "style" property a construct property.
1730 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-wizard-dialog.h
1733 * src/hildon-wizard-dialog.c
1734 (hildon_wizard_dialog_set_forward_page_func)
1735 * src/hildon-pannable-area.h
1736 * src/hildon-pannable-area.c
1737 (hildon_pannable_area_set_size_request_policy):
1738 Documentation fixes.
1740 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1742 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1744 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1746 * doc/hildon-sections.txt: Added sections file.
1748 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/*.[ch]: Updates.
1753 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1755 * examples/hildon-progress-indicator-example.c: new file
1756 * examples/Makefile.am: include the new example program
1758 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1762 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1764 * configure.ac: post release version bump
1765 * debian/changelog: version bump
1767 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1772 * configure.ac: bump version
1773 * debian/changelog: updates
1774 * debian/control: bump gtk+ dependency
1776 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1778 * src/hildon-dialog.c: Mark as deprecated.
1779 * src/hildon-dialog.h: Mark as deprecated.
1780 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1781 from HildonDialog and still work, even if
1782 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1783 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1785 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1786 maemo changes) instead)
1788 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1790 * src/hildon-pannable_area.h:
1791 * src/hildon-pannable_area.c:
1792 (hildon_pannable_area_class_init),
1793 (hildon_pannable_area_set_property),
1794 (hildon_pannable_area_get_property),
1795 (hildon_pannable_area_size_request),
1796 (hildon_pannable_area_get_size_request_policy),
1797 (hildon_pannable_area_set_size_request_policy): Added new API
1798 allowing applications to control the request policy. Now they can
1799 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1800 children allocation (HILDON_MOVEMENT_CHILDREN).
1802 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1806 (hildon_gtk_tree_view_set_ui_mode)
1807 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1808 mode of treeviews and iconviews.
1810 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1812 * src/hildon-touch-selector-entry.c:
1813 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1814 of a GtkEntry to get proper theming.
1816 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1817 widget, not GtkEntry)
1819 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1821 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1822 no HildonWizardDialogPageFunc.
1824 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1826 Patch contributed by Iván Gómez (igomez@igalia.com)
1828 * src/hildon-app-menu.c:
1829 * src/hildon-button.c:
1830 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1831 * src/hildon-stackable-window.c:
1832 * src/hildon-time-selector.c:
1833 * src/hildon-touch-selector.c:
1834 * src/hildon-window.c:
1836 Add more "since" tags to the new API in hildon 2.2.
1838 2008-12-05 Tim Janik <timj@imendio.com>
1840 Patch contributed by Christian Dywan (christian@imendio.com)
1842 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1843 HildonSizeType, which are supplied by Gtk+ now.
1845 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1847 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1848 (with maemo changes) instead)
1850 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1852 Patch contributed by Iván Gómez (igomez@igalia.com)
1854 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1857 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1859 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1860 (some_page_func), (main): Update the example to use a
1861 HildonWizardDialogPageFunc function.
1863 * src/hildon-wizard-dialog-private.h: Add private data for
1864 the HildonWizardDialogPageFunc function usage.
1866 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1867 (destroy), (hildon_wizard_dialog_init), (response),
1868 (hildon_wizard_dialog_set_forward_page_func):
1869 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1870 that applications can use to stop a HildonWizardDialog to jump to
1873 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1876 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-program.h
1879 * src/hildon-program-private.h
1880 * src/hildon-program.c (hildon_program_init)
1881 (hildon_program_set_common_app_menu)
1882 (hildon_program_get_common_app_menu):
1883 New API for setting a common HildonAppMenu for all
1884 HildonStackableWindows registered with the HildonProgram.
1886 * src/hildon-stackable-window.c
1887 (hildon_stackable_window_toggle_menu):
1888 Use the common HildonAppMenu if a window doesn't have a specific
1891 * src/hildon-app-menu-private.h
1892 * src/hildon-app-menu.c
1893 (hildon_app_menu_get_parent_window):
1894 Function to obtain the window a HildonAppMenu is attached to.
1895 (hildon_app_menu_set_parent_window):
1896 Hide the menu if the parent window is set to NULL.
1898 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1901 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1902 search widget to popup.
1904 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1906 * configure.ac: post release version bump
1907 * debian/changelog: version bump
1909 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1914 * configure.ac: bump version
1915 * debian/changelog: updates
1917 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1919 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1921 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1922 (hildon_window_stack_window_realized)
1923 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1924 Set the leader GdkWindow when a window is stacked and realized,
1925 unset it when it's unstacked.
1926 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1928 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1930 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1932 * src/hildon-stackable-window.h
1933 * src/hildon-window-stack.h:
1934 Protect definition of HildonWindowStack using the preprocessor.
1936 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1939 Fix warning if all menu items are hidden.
1941 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1943 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1945 * src/hildon-controlbar.c:
1946 * src/hildon-hvolumebar.c:
1947 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1948 Multiple scale size defines updates.
1950 Fixes: NB#94322 (Scale Updates)
1952 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1954 * examples/hildon-app-menu-example.c (create_menu)
1955 Show items after adding them to the menu, as in the future the
1956 menu will no longer call gtk_widget_show() on the added items.
1958 * src/hildon-app-menu.c:
1959 Update example as explained above.
1961 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1963 * src/hildon-app-menu.c
1964 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1965 Make sure that all menu items have finger height.
1967 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1969 * src/hildon-picker-dialog.c:
1970 (_on_dialog_response), (_save_current_selection),
1971 (_restore_current_selection), (_clean_current_selection),
1972 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1973 Defined new functions in order to save the current internal selector
1974 selection previous open the dialog, in case that the use cancel the
1975 interaction, so the widget restores the previous selection.
1977 Fixes: NB#92032 (In calendar application, date values in 'new event'
1980 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1982 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1984 * src/hildon-button.c: Add a reference to the button examples in
1985 hildon-button-example.c
1987 * examples/hildon-button-example.c: Added examples of the most
1988 common button layouts.
1990 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1992 * src/hildon-app-menu.c (hildon_app_menu_show)
1993 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1995 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1997 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1999 * src/hildon-picker-dialog.c:
2000 (hildon_picker_dialog_init): Initialize the signal id for
2001 HildonTouchSelector::columns-changed.
2002 (+on_selector_columns_changed): Set up the interaction mode everytime a
2003 column is added or removed from the HildonTouchSelector.
2004 (_hildon_picker_dialog_set_selector): Connect to
2005 HildonTouchSelector::columns-changed and keep track of it.
2007 Make sure to update the interaction mode of the dialog everytime a
2008 column is added or removed in the HildonTouchSelector.
2010 Fixes: NB#93228 (Done button is not shown always in listpicker)
2012 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2014 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2015 a new ::columns-changed signal.
2016 (hildon_touch_selector_append_column): Emit ::columns-changed.
2017 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2019 Add a ::columns-changed signal, emitted when the number of columns in a
2020 HildonTouchSelector changes.
2022 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2024 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2025 (_hildon_picker_dialog_set_selector): Factor out the code
2026 to set up the dialog interaction mode.
2028 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2030 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2031 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2032 to signal_changed_id.
2034 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2036 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2039 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2041 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2042 Updated the logical ids related to ampm format, as now it is required to
2043 show it correctly localized even on languages with no default
2044 abbreviations for am or pm
2045 (_check_am_pm_format): check correctly the 24h format gconf property
2047 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2049 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2051 * src/hildon-button.c: Documentation updates.
2053 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2055 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2056 * src/hildon-caption.c: (hildon_caption_class_init):
2057 * src/hildon-color-button.c: (hildon_color_button_class_init):
2058 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2059 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2060 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2061 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2063 Remove deprecated GTK+ marshalers and replace them with the ones
2064 provided by GLib, for those available, add a marshaler for
2065 BOOLEAN:VOID, which is not available in GLib, and use it.
2067 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2069 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2070 the text from the previous column if there is no
2071 HildonTouchSelectorColumn::text-property set.
2073 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-button.h
2076 * src/hildon-button.c (hildon_button_set_property)
2077 (hildon_button_get_property, hildon_button_class_init)
2078 (hildon_button_set_style, hildon_button_get_style):
2079 New "style" property to change the visual appearance of the
2082 * src/hildon-picker-button.c (hildon_picker_button_new):
2083 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2085 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2086 HildonButton look like PickerButton)
2088 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2091 column while building the default string.
2093 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2096 scroll indicator by default.
2098 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2100 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2102 * src/hildon-main.c: Fix the documentation for hildon_init()
2104 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2106 * doc/hildon-docs.sgml
2110 * src/hildon-window-stack-private.h
2111 * src/hildon-window-stack.h
2112 * src/hildon-window-stack.c:
2113 New HildonWindowStack object, that adds support for multiple
2114 stacks of windows per process.
2116 * src/hildon-stackable-window-private.h
2117 * src/hildon-stackable-window.h
2118 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2119 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2120 (hildon_stackable_window_show, hildon_stackable_window_hide)
2121 (hildon_stackable_window_class_init)
2122 (hildon_stackable_window_init):
2123 Use HildonWindowStack for stack management.
2125 * src/hildon-program.c (hildon_program_pop_window_stack)
2126 (hildon_program_peek_window_stack)
2127 (hildon_program_go_to_root_window):
2128 Add a fallback implementation to the deprecated functions using
2131 * examples/hildon-stackable-window-example.c:
2132 Use the new HildonWindowStack API.
2134 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2136 * src/hildon-stackable-window-private.h
2137 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2138 (hildon_stackable_window_hide, hildon_stackable_window_init):
2139 Remove all window stack management.
2141 * src/hildon-program-private.h
2142 * src/hildon-program.h
2143 * src/hildon-program.c (hildon_program_init)
2144 (hildon_program_pop_window_stack)
2145 (hildon_program_peek_window_stack)
2146 (hildon_program_go_to_root_window):
2147 Remove all window stack management and mark functions as
2150 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2152 * src/hildon-app-menu.c (hildon_app_menu_realize):
2153 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2155 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2157 * configure.ac: post release version bump
2158 * debian/changelog: version bump
2160 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2165 * configure.ac: bump version
2166 * debian/changelog: updates
2168 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2170 Based on initial code by Christian Dywan (christian@imendio.com)
2172 * doc/hildon-docs.sgml: Add section for hildon-main.
2173 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2174 * src/Makefile.am: Add new hildon-main.[ch]
2175 * src/hildon-defines.h: Update the icon sizes.
2176 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2177 new library initialization files and register icon sizes.
2178 * src/hildon-main.h: New declarations.
2179 * src/hildon.h: Include hildon-main.h
2181 Add new initialization functions to the library. These methods
2182 will register the hildon specific icon sizes and can be used in the
2183 future for other hildon specific bits.
2185 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2187 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2189 * src/hildon-window.c: (hildon_window_realize),
2190 (hildon_window_notify), (-hildon_window_update_title): Do not set
2191 the application name in the window title.
2193 Fixes: NB#89754 (Applications shouldn't display their names in the
2196 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2198 * src/hildon-note-private.h:
2199 * src/hildon-note.c: (hildon_note_set_property),
2200 (hildon_note_get_property), (hildon_note_class_init),
2201 (hildon_note_init), (hildon_note_finalize),
2202 (hildon_note_new_confirmation_with_icon_name),
2203 (hildon_note_new_information_with_icon_name):
2205 No need to mark as deprecated the actual code. Revert
2206 to avoid missing symbols in widgets using deprecated API.
2208 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2210 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2212 * src/hildon-volumebar.h
2213 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2214 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2216 * src/hildon-helper.h
2217 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2218 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2220 * examples/Makefile.am:
2221 Deprecate hildon-insensitive-example
2223 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2225 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2227 * examples/hildon-pannable-area-buttons-scroll-example.c:
2228 Make all buttons finger height
2230 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2232 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2234 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2235 update the day model only if it is really required, and to avoid the
2236 full-reconstruction aproach. Now it only add or remove the required days.
2238 The purpose of this is avoid superfluous HildonTouchSelector::changed
2241 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2242 with strange parameters)
2244 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2246 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2248 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2249 the WINDOW_TYPE property.
2251 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2253 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2256 Fix dependency to allow parallel compilation with make -jX
2258 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2260 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2261 color frame and some minor tweaks to make it more consistent with
2264 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2265 highlighted but not visible)
2267 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2269 * examples/Makefile.am: Fixed typo in the Makefile.am.
2271 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2273 Reviewed the use of MAEMO_GTK define, now we add the define in the
2274 compilation line, and we also add it to the pc file.
2276 * configure.ac: Added MAEMO_GTK define to the compilation command
2277 and removed it from the config.h.
2279 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2280 do not have to take care about this define if the library was
2284 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2286 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2288 * examples/Makefile.am,
2289 * examples/hildon-pannable-area-buttons-scroll-example.c,
2290 * examples/hildon-pannable-area-gesture-signals-example.c,
2291 * examples/hildon-pannable-area-scroll-jump-example.c,
2292 * examples/hildon-pannable-area-tree-view-example.c:
2293 Renamed the pannable area examples, now they have more meaningful
2296 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2298 * src/hildon-touch-selector.c:
2299 (hildon_touch_selector_set_column_selection_mode): Used of
2300 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2301 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2302 to avoid re-seting the same selection mode.
2304 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2305 breaks HildonPickerDialog)
2307 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2309 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2310 conditional in the Makefile.am
2312 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2314 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2315 Remove unused methods.
2317 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2319 * src/hildon-button.c (hildon_button_init):
2320 Make button images center-aligned by default
2322 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2325 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2326 activated, we have to think about how to deal with both defines
2327 MAEMO_GTK and MAEMO_CHANGES.
2329 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2331 * examples/hildon-app-menu-example.c (create_menu): Make all
2332 buttons finger size.
2334 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2336 Fixed the compilation without maemo gtk adding ifdefs with
2337 MAEMO_GTK define to the code, we have to check this version more
2340 * examples/Makefile.am: Added control to avoid some examples that
2341 just make sense with maemo gtk.
2344 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2345 hildon modes with the define.
2347 * examples/hildon-edit-toolbar-example.c,
2348 (create_icon_view): Create the icon view without hildon-gtk
2349 helpers if we are not using maemo gtk.
2351 * src/hildon-touch-selector.c,
2352 (_create_new_column): Create the treeview without hildon-gtk
2353 helpers if we are not using maemo gtk.
2355 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2357 * src/hildon-pnnable-area.c,
2358 (hildon_pannable_area_dispose),
2359 (hildon_pannable_area_button_press_cb),
2360 (hildon_pannable_area_child_mapped),
2361 (hildon_pannable_area_add),
2362 (hildon_pannable_area_remove): Added code to control the position
2363 of the event_window when adding and removing children from the
2364 pannable. We have to raise the event window when the child is
2367 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2368 selection mode using custom widget inside pannable)
2370 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2372 * configure.ac: post release version bump
2373 * debian/changelog: version bump
2375 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2380 * configure.ac: bump version
2381 * debian/changelog: updates
2383 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2385 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2386 search mode, in order to avoid lose the focus on the treeview when
2387 a hw key (like enter) is pressed.
2389 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2390 in HildonDateSelector dialog)
2392 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2394 * debian/rules: Added --enable-maintainer-mode
2395 * Makefile.am: Added ACLOCAL_AMFLAGS
2397 This allows to properly regenerate the Makefiles if you modify the
2398 configure.ac or any Makefile.am.
2400 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2402 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2403 properties, not needed at all.
2405 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2409 * src/hildon-note.c: (hildon_note_set_property),
2410 (hildon_note_get_property), (hildon_note_class_init),
2411 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2412 (hildon_note_new_confirmation_add_buttons): Remove icons.
2413 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2414 (hildon_note_new_information_with_icon_name): Deprecate.
2415 (hildon_note_new_confirmation): Act directly, without calling
2416 the deprecated constructor.
2417 (hildon_note_new_information): Act directly, without calling
2418 the deprecated constructor.
2419 * src/hildon-note.h: Mark deprecate methods as such.
2420 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2421 not run tests on the deprecated methods if built with deprecation
2424 Fixes: NB#91688 (Never show icons in information notes/confirmation
2427 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2429 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2430 (hildon_app_menu_key_press): Remove leftover usage of the
2431 private structure in HildonAppMenu struct.
2432 * src/hildon-app-menu.h: Remove leftover private structure
2433 from the HildonAppMenu struct.
2435 Fixes a crasher when using the HildonAppMenu.
2437 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-picker-dialog.c: Use appropriate logical id
2440 for the default "Done" text.
2442 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2444 * configure.ac: post release version bump
2445 * debian/changelog: version bump
2447 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2449 Modified the way to scroll to the current selection just when the touch
2450 selector is shown on the screen, avoiding a g_idle. Added too a property
2451 to configure this behaviour. See hildon_pannable_area_jump_to_child
2452 documentation for more information.
2454 * src/hildon-touch-selector.c
2455 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2456 Added 'initial-scroll' property
2457 (hildon_touch_selector_set_property): Added
2458 (hildon_touch_selector_map): Removed as not required anymore
2459 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2460 only a concrete column, instead of iterate along all the columns
2462 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2467 * configure.ac: bump version
2468 * debian/changelog: updates
2470 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2472 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2473 compilation time warnings.
2475 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2478 the default value for HildonPannableArea::mov-mode to
2479 HILDON_PANNABLE_AREA_MODE_VERT.
2481 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2483 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2485 Reverting following commit:
2487 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2489 * src/hildon-app-menu-private.h
2490 * src/hildon-app-menu.[ch]
2491 * src/hildon-button.[ch]
2492 * src/hildon-check-button.[ch]
2493 * src/hildon-entry.[ch]
2494 * src/hildon-pannable-area.[ch]
2495 * src/hildon-text-view.[ch]:
2496 Added private field to the object's structure.
2498 because it causes an ABI breakage. We will need to introduce these
2499 changes later at some point. See NB#91636 for an extensive
2500 explanation and status.
2502 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2504 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2506 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2507 remove special cases that are no longer necessary.
2509 Fixes: NB#91016 (Change toolbar sizes, simplification)
2511 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2513 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2514 is shown in the cancel note.
2516 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2518 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2519 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2520 (hildon_seekbar_init): Remove steppers, remove expose event.
2521 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2523 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2525 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2527 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2528 label font to "SmallSystemFont" for vertically arranged buttons.
2530 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2533 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2535 * src/hildon-check-button.c
2536 (hildon_check_button_set_active, hildon_check_button_clicked):
2537 Don't access private parts directly, use getters instead.
2539 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2541 * src/hildon-check-button.c (hildon_check_button_new):
2542 Align the contents of the check button to the left.
2544 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2546 * src/hildon-pannable-area.c,
2547 (hildon_pannable_area_scroll_to),
2548 (hildon_pannable_area_jump_to),
2549 (hildon_pannable_area_scroll_to_child),
2550 (hildon_pannable_area_jump_to_child): Replace the mapped
2551 precondition of these functions with the realized, it is the
2552 correct state of the widget in this case. Changed the
2553 documentation according to this modification.
2555 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2557 Added a new EXTRA_CFLAGS option to add the deprecated define to
2558 the compilation command. This way we can avoid using the define in
2559 the documentation compilation.
2561 * configure.ac: Defined EXTRA_CFLAGS.
2563 * examples/Makefile.am:
2565 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2567 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2569 * src/hildon-picker-dialog.c:
2570 Defined a utility macro with the desired touch selector height
2571 Removed currently unused separator, and title_label variables from
2573 (hildon_picker_dialog_init): Removed code related to the creation
2574 of unused private variables title_label and separator.
2575 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2576 to ensure correct visualization of the touch selector inside the dialog.
2577 * src/hildon-touch-selector.c
2578 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2579 ensure a concrete height of the widget.
2581 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2584 * tests/Makefile.am:
2586 Remove spurious whitespaces.
2588 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2591 compilation warning after the cancel button removal.
2593 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2595 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2597 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2598 Makefile.am, that way we can choose not to compile some examples
2599 and tests of the deprecated widgets.
2601 * examples/Makefile.am: Divided the sources in deprecated and
2604 * src/Makefile.am: Added undef statement of the deprecated
2605 symbol to the enums file generation process.
2607 * src/hildon-color-chooser-dialog.c
2608 * src/hildon-color-chooser-dialog.h
2609 * src/hildon-color-button.c
2610 * src/hildon-color-button.h
2611 * src/hildon-color-chooser.c
2612 * src/hildon-color-chooser.h
2613 * src/hildon-controlbar.c
2614 * src/hildon-controlbar.h
2615 * src/hildon-date-editor.c
2616 * src/hildon-date-editor.h
2617 * src/hildon-hvolumebar.c
2618 * src/hildon-hvolumebar.h
2619 * src/hildon-private.c
2620 * src/hildon-private.h
2621 * src/hildon-range-editor.c
2622 * src/hildon-range-editor.h
2623 * src/hildon-seekbar.c
2624 * src/hildon-seekbar.h
2625 * src/hildon-time-editor.c
2626 * src/hildon-time-editor.h
2627 * src/hildon-time-picker.c
2628 * src/hildon-time-picker.h
2629 * src/hildon-volumebar.c
2630 * src/hildon-volumebar.h
2631 * src/hildon-vvolumebar.c
2632 * src/hildon-vvolumebar.h
2633 * src/hildon-bread-crumb-trail.h
2634 * src/hildon-bread-crumb-trail.c
2635 * src/hildon-calendar-popup.c
2636 * src/hildon-calendar-popup.h
2637 * src/hildon-weekday-picker.c:
2638 * src/hildon-weekday-picker.h:
2639 * src/hildon-bread-crumb-widget.c:
2640 * src/hildon-bread-crumb-widget.h:
2641 * src/hildon-bread-crumb.c:
2642 * src/hildon-bread-crumb.h:
2643 * src/hildon-calendar.c:
2644 * src/hildon-calendar.h:
2645 * src/hildon-caption.c:
2646 * src/hildon-code-dialog.c:
2647 * src/hildon-code-dialog.h:
2648 * src/hildon-font-selection-dialog.c:
2649 * src/hildon-font-selection-dialog.h:
2650 * src/hildon-get-password-dialog.c:
2651 * src/hildon-get-password-dialog.h:
2652 * src/hildon-login-dialog.c:
2653 * src/hildon-login-dialog.h:
2654 * src/hildon-number-editor.c:
2655 * src/hildon-number-editor.h:
2656 * src/hildon-set-password-dialog.c:
2657 * src/hildon-set-password-dialog.h:
2658 * src/hildon-sort-dialog.c:
2659 * src/hildon-sort-dialog.h: This is the list of deprecated
2662 * src/hildon-touch-selector.c:
2663 * src/hildon-window.c: Added undef statement to avoid compilation
2666 * tests/Makefile.am: Divided the sources in deprecated and
2669 * tests/check_test.c,
2670 (configure_tests): Marked the deprecated code that was adding
2671 suites with deprecated tests.
2673 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2675 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2677 * src/hildon-touch-selector.c: (_default_print_func): Do not
2678 duplicate a string returned by gtk_tree_model_get(), it is already
2681 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2684 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2686 * src/hildon-pannable-area.c
2687 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2688 method, it had problems when adding a widget with viewport the
2689 second time. Now checks if it already has a viewport and uses it.
2691 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2694 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2696 * src/hildon-pannable-area.c,
2697 (hildon_pannable_area_scroll_to),
2698 (hildon_pannable_area_jump_to),
2699 (hildon_pannable_area_scroll_to_child),
2700 (hildon_pannable_area_jump_to_child): Added a precondition to the
2701 scroll and jump to functions: the widget must be mapped before we
2702 can safely call these functions. We have also added documentation
2703 to the functions to explain how to use them in this situation.
2706 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2708 Reviewed the threading handling of the pannable widget, we have
2709 used the gdk_threads_add_timeout function instead of the usual
2710 glib handlers. This avoids some problems with the threads.
2712 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2713 (hildon_pannable_area_initial_effect),
2714 (hildon_pannable_area_scroll_indicator_fade),
2715 (hildon_pannable_area_button_press_cb),
2716 (hildon_pannable_area_timeout),
2717 (hildon_pannable_area_motion_notify_cb),
2718 (hildon_pannable_area_button_release_cb),
2719 (hildon_pannable_area_scroll_cb),
2720 (hildon_pannable_area_scroll_to): Removed the
2721 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2722 gdk_threads_add_timeout.
2724 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2726 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2731 * configure.ac: bump version
2732 * debian/changelog: updates
2734 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2736 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2737 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2738 * src/hildon-color-chooser-dialog.c:
2739 (hildon_color_chooser_dialog_init):
2740 * src/hildon-font-selection-dialog.c:
2741 (hildon_font_selection_dialog_init):
2742 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2744 Remove all cancel/close-like dialogs, as these are not going to be
2747 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2749 * src/hildon-note.c: (hildon_note_rebuild),
2750 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2753 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2755 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2757 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2758 sure all buttons are shown, even the Cancel/Close-like ones.
2760 Fixes: NB#90861 (Custom Confirmation dialogs should be
2761 protected from cancel button removal)
2763 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2765 * debian/control: Change libhildon1-examples dependency from libhildon1
2767 * debian/libhildon1-examples.install
2769 * Makefile.am: Modified the final install directory for the examples on
2770 package libhildon1-examples
2771 * Makefile.static: Update clean target in order to remove all the binary
2774 Changes suggested by Claudio after review new libhildon1-examples package
2776 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2779 * src/hildon-touch-selector.c: Ditto.
2781 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2783 * debian/control: Added new package libhildon1-examples, in order to pack
2784 the current hildon examples as documentation
2785 * debian/rules: Not to compress .c files, modify some includes on the
2786 examples (as normally are compiled locally, but when installed it will
2787 require to include the installed libhildon1 library), and rename
2789 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2790 install all the example files on the new example package
2791 * examples/Makefile.static: Added static makefile that can be used to
2792 compile the examples, once installed the new example package
2793 * examples: Most of the examples were modified in order to grant that
2794 all use only '#include "hildon.h"', in order to be easy to prepare
2795 it on the example package
2797 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2800 * debian/libhildon1-dev.install
2801 * debian/libhildon1-doc.install:
2802 Move all gtk-doc files to a separate libhildon1-doc package.
2804 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2806 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2808 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2810 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2812 * debian/rules: Fixed a error in order to avoid unnecessary calls
2813 to autogen.sh on package building
2815 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2817 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2819 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2821 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2824 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-picker-button.c
2827 (hildon_picker_button_finalize):
2828 Free priv->done_button_text
2830 * src/hildon-time-button.c
2831 (hildon_time_button_set_time)
2832 * src/hildon-picker-button.c
2833 (hildon_picker_button_clicked)
2834 (hildon_picker_button_selector_selection_changed)
2835 (hildon_picker_button_set_selector)
2836 * src/hildon-date-button.c
2837 (hildon_date_button_set_date):
2838 Free strings returned by hildon_touch_selector_get_current_text()
2840 * src/hildon-button.c (hildon_button_construct_child):
2841 Fix leaks in priv->image and priv->label_box
2843 Fixes: NB#90535 (Memory leak in picker button)
2845 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2847 * src/hildon-button.c: (hildon_button_get_property): Do not access
2848 private elements directly, use getters instead.
2850 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-app-menu-private.h
2853 * src/hildon-app-menu.c
2854 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2855 Store the menu's parent window.
2857 * src/hildon-stackable-window.c
2858 (hildon_stackable_window_toggle_menu)
2859 (hildon_stackable_window_finalize):
2860 Set the menu's parent window when the menu is shown, unset it when
2863 * src/hildon-app-menu.c
2864 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2865 (hildon_app_menu_class_init):
2866 Send unhandled keyboard accelerators to the parent window.
2868 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-stackable-window.c
2871 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2873 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: post release version bump
2877 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2880 * configure.ac: Bump version
2881 * debian/changelog: Updates
2882 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2885 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2887 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2890 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2891 GtkMenu with Hildon style.
2893 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2895 * src/hildon-picker-button.c:
2896 (hildon_picker_button_set_done_button_text): Set the dialog's
2897 done button text here as well.
2899 Fixes: NB#90232 (Picker button does not set the label on done button
2900 for the second time)
2902 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2904 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2907 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2909 * src/hildon-app-menu.c (hildon_app_menu_insert)
2910 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2911 the HildonAppMenu to be activatable using keyboard accelerators
2912 when the menu is not being shown.
2914 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2916 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2918 * src/hildon-stackable-window.c
2919 (hildon_stackable_window_show):
2920 Don't hide old windows automatically when new windows are shown:
2921 this is now a task for the window manager.
2922 (hildon_stackable_window_class_init)
2923 (hildon_stackable_window_hide):
2924 Remove windows from the stack everytime they're hidden.
2925 (hildon_stackable_window_realize):
2926 Don't change the _NET_WM_WINDOW_TYPE property. Use
2927 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2928 it as a stackable window.
2930 * src/hildon-program.c
2931 (hildon_program_pop_window_stack):
2932 Just hide the window to remove it from the stack.
2933 (hildon_program_go_to_root_window):
2934 Don't call gtk_widget_show(), this is now a task for the window
2937 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2939 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-button.c
2942 (hildon_button_construct_child):
2943 Don't pack anything in the button until text or image are
2944 set. This allows adding a custom child after creating the button
2945 with hildon_button_new().
2946 (hildon_button_finalize, hildon_button_class_init)
2947 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2948 alignment and the label box even when they're not packed in the
2951 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2953 * src/hildon-touch-selector.h:
2954 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2955 currently the type definition was using GTK_TYPE_VBOX
2956 * src/hildon-touch-selector.c:
2957 Added some implementation notes in order to clarify that any other widget
2958 added without the column related API will not be included on the
2959 selection logic, and how the widget is freed, as some people ask about
2961 (hildon_touch_selector_remove): Reimplemented in order to free properly
2962 the column related data when you remove the private hbox.
2963 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2964 to get a proper HildonTouchSelectorColumn documentation
2966 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-touch-selector-entry.c:
2969 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2970 text in the GtkEntry and there is no item selected. Fixes a
2973 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2975 * src/hildon-app-menu-private.h
2976 * src/hildon-app-menu.[ch]
2977 * src/hildon-button.[ch]
2978 * src/hildon-check-button.[ch]
2979 * src/hildon-entry.[ch]
2980 * src/hildon-pannable-area.[ch]
2981 * src/hildon-text-view.[ch]:
2982 Added private field to the object's structure.
2984 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2986 * configure.ac: post-release version bump
2988 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2992 * configure.ac: pre-release version bump
2994 * debian/changelog: updates.
2996 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2998 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2999 Disconnect the handler for HildonTouchSelector::changed.
3001 (hildon_picker_button_selector_selection_changed): Update the button
3002 value if the selection change was not triggered by the
3005 (hildon_picker_button_set_selector): connect to
3006 HildonTouchSelector::changed.
3008 Fixes: NB#89650 (Picker button is not updated, when selection in
3009 selector has changed)
3011 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3013 * src/hildon-picker-dialog.c
3014 (hildon_picker_dialog_realize): Removed as not required
3015 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3016 * src/hildon-picker-button.c
3017 (_current_selector_empty): New function, checks if the selector is empty
3018 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3019 if the current selector is empty, in order to avoid to show the dialog
3020 close the dialog in this case (and shows a g_warning).
3022 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3024 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3026 * src/hildon-pannable-area.c,
3027 (hildon_pannable_area_scroll): Added clause to stop movement when
3028 the child of pannable is smaller than one page.
3029 (hildon_pannable_area_scroll_to): Added conditions to avoid
3030 starting the scrolling movement if the child is smaller than one
3031 page, the complete child is in the screen, we do not have to move.
3033 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3035 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3037 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3038 this is managed automatically by the widget when the size of the
3041 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-picker-button.c
3044 (hildon_picker_button_set_done_button_text): Make a copy of the
3045 text, and free the previous value.
3047 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3049 * src/hildon-touch-selector-entry.c:
3050 (hildon_touch_selector_entry_print_func): Return the selected row's
3051 text if the entry is empty.
3053 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3056 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3058 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3060 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3063 * src/hildon-check-button.h
3064 * src/hildon-check-button.c
3065 * examples/hildon-check-button-example.c:
3066 HildonCheckButton is now a new widget. 'toggled' signal added.
3068 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3070 * src/hildon-program-private.h
3071 * src/hildon-program.c (hildon_program_init)
3072 (hildon_program_finalize): Removed unused variables group_leader
3073 and name from HildonProgramPrivate.
3075 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-check-button.c (hildon_check_button_set_active)
3078 (hildon_check_button_get_active, hildon_check_button_new): Use
3079 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3081 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3083 * src/hildon-touch-selector.h
3084 (hildon_touch_selector_set_column_attributes): added deprecation
3085 guard HILDON_DISABLE_DEPRECATED
3086 * src/hildon-time-selector.c
3087 (hildon_time_selector_set_time)
3088 (hildon_time_selector_get_time): Fixed a typo on documentation
3089 * src/hildon-touch-selector.c: update HildonTouchSelector and
3090 HildonTouchSelectorColumn documentation
3091 * src/hildon-touch-selector-entry.c: update "text-column" property
3093 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3094 to be added to the general documentation.
3096 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3098 * examples/hildon-pannable-area-example-4.c,
3100 * examples/hildon-pannable-area-example.c,
3101 (main): Modified the code in order to use the container add, with
3102 viewport treeviews could have problems if they are really big.
3104 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3106 * src/hildon-weekday-picker.c,
3107 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3108 the agreement regarding deprecation in the library.
3110 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3112 * examples/hildon-picker-button-multicolumn-example.c:
3113 (main): Use custom "done" button text.
3115 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3116 (hildon_picker_button_set_property),
3117 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3118 (hildon_picker_button_init),
3119 (+hildon_picker_button_get_done_button_text),
3120 (+hildon_picker_button_set_done_button_text): New methods to customize
3121 the "done" button label in the launched HildonPickerDialog. Also,
3124 * src/hildon-picker-button.h: add the public API.
3126 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3128 * src/hildon-date-selector.h:
3129 * src/hildon-picker-dialog.h:
3130 * src/hildon-time-selector.h:
3131 * src/hildon-touch-selector-column.h:
3132 * src/hildon-touch-selector.h:
3134 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3135 declarations. Fixes gtk-doc warnings.
3137 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3139 * src/hildon-picker-dialog.h
3140 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3141 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3143 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3144 long text is set as label for done button)
3146 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-dialog.c (hildon_dialog_add_button):
3149 Set fixed width to all buttons in the HildonDialog.
3151 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3153 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3155 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3156 Set widget name using class name plus "-finger" or "-thumb".
3158 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3161 'clicked' when the state of the button is manually changed.
3163 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-app-menu.c (hildon_app_menu_realize)
3166 (hildon_app_menu_unrealize, hildon_app_menu_init)
3167 (hildon_app_menu_class_init, item_visibility_changed):
3168 Change the menu layout when the size of the screen changes.
3169 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3170 Show warning only when changing the number of colums using the
3173 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3175 * debian/compat: Set to 5
3176 * debian/control: Update dependencies.
3177 * debian/libhildon1-dbg.install: Remove.
3178 * debian/libhildon1-dev.install: Update according to cdbs paths.
3179 * debian/libhildon1.install: Update according to cdbs paths.
3180 * debian/rules: Switch to cdbs.
3182 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3185 'item' variable renamed to 'filter'
3187 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-app-menu.c (hildon_app_menu_insert)
3190 (hildon_app_menu_add_filter, remove_item_from_list)
3191 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3192 Don't leak hidden items when the menu is destroyed.
3194 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3196 * src/hildon-app-menu.c (hildon_app_menu_insert)
3197 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3198 (hildon_app_menu_set_columns, item_visibility_changed)
3199 (filter_visibility_changed, hildon_app_menu_repack_filters)
3200 (hildon_app_menu_repack_items):
3201 Repack items and filters separately.
3203 Don't repack all items, change only the ones that are needed to
3206 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3208 * src/Makefile.am: added hildon-touch-selector-column.h
3210 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3212 * src/hildon-touch-selector.c: added the property "text-column" to the
3213 class HildonTouchSelectorColumn, and related get/set functions
3214 (_default_printf_func): updated to use "text-column" property
3215 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3216 "text-column" in his documentation, as this is now included on
3217 HildonTouchSelectorColumn. The get/set_property can still be used,
3218 working as a wrapper to the concrete column "text-column" property
3219 (_text_column_modified): callback added in order to handle the signal
3220 "notify::text-column" of the concrete HildonTouchSelectorColumn
3221 (hildon_touch_selector_entry_get_text_column)
3222 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3223 modified in order to use the HildonTouchSelectorColumn "text-column"
3225 * src/hildon-time-selector.c:
3226 * src/hildon-date-selector.c:
3227 * examples/hildon-touch-selector-example.c
3228 * examples/hildon-touch-selector-multi-cells-example.c
3229 * examples/hildon-picker-button-multicolumn-example.c
3230 Set the right value to "text-column" property on the creation of a new
3231 column using hildon_touch_selector_append_column()
3233 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3235 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3237 * src/hildon-app-menu.c
3238 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3239 updating the layout of the menu, don't create all widgets again,
3240 just repack the items in their new places.
3242 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3244 * src/hildon-time-selector.c
3245 (hildon_time_selector_get_time)
3246 (hildon_time_selector_set_time)
3247 Added documentation of these public methods
3249 * src/hildon-date-button.h
3250 * src/hildon-touch-selector-column.h
3251 * src/hildon-time-button.h
3252 * src/hildon-picker-dialog.h
3253 * src/hildon-time-selector.h
3254 * src/hildon-picker-button.h
3255 * src/hildon-touch-selector.h
3256 * src/hildon-time-picker.h
3257 * src/hildon-date-selector.h
3258 * src/hildon-touch-selector-entry.h
3259 Modified in order to use hildon-widgets code style
3261 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3263 Added deprecated support to the compilation process using
3264 HILDON_DISABLE_DEPRECATED
3266 * configure.ac: Added the --disable-deprecated to the configure
3269 * src/hildon-weekday-picker.c:
3270 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3271 to use the deprecated support. We will update the other deprecated
3272 widgets status in a new patch.
3274 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3276 * configure.ac: Fixed typo with fatal warnings support, the
3277 variable name was not correct
3279 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3281 * src/hildon-app-menu.c
3282 * src/hildon-program.c: Update documentation.
3284 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3286 * configure.ac: Post-release version bump.
3288 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3293 * configure.ac: Pre-release version bump.
3294 * debian/changelog: Updates.
3296 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3298 * NEWS: Update news for previous releases.
3300 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3302 * examples/hildon-touch-selector-multi-cells-example.c:
3303 (create_selector): Update the example to use
3304 hildon_touch_selector_append_column() with a NULL renderer and set
3305 the renderers later.
3306 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3307 passed a NULL renderer. This is documented behavior now.
3309 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3310 This must be used if the developer wants full control on the layout of
3311 the renderers to be added to the column.
3313 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3315 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3317 * src/hildon-touch-selector.c: Documentation fixes.
3319 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-wizard-dialog-private.h: Remove image and box.
3322 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3323 (hildon_wizard_dialog_set_property), (response): Completely remove
3324 image/icon support, and the containers required for the layout.
3326 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3328 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3330 * src/hildon-app-menu.c: Updated documentation.
3332 * src/hildon-stackable-window.c
3333 (hildon_stackable_window_set_main_menu): Unref the old menu after
3334 ref'ing the new one.
3336 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-stackable-window.c
3339 (hildon_stackable_window_set_main_menu): Unref the previous menu
3340 instead of destroying it.
3342 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3343 floating reference and set has_user_ref_count to FALSE to make
3344 HildonAppMenu act like a normal ref-counted widget and not a
3347 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3350 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3352 * src/hildon-touch-selector-column.h: new file
3353 * src/hildon-touch-selector.h
3354 * src/hildon-touch-selector.c
3355 Implemented GtkCellLayout interface, in order to allow to configure
3356 the cell layout on each individual selector column
3357 (hildon_touch_selector_set_column_attributes): marked as deprecated
3358 * examples/hildon-touch-selector-multi-cells-example.c
3359 Example of how to use the GtkCellLayout interface on the selector
3361 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3363 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-app-menu.h
3366 * src/hildon-app-menu.c
3367 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3368 (hildon_app_menu_append, hildon_app_menu_prepend):
3369 New methods to prepend, insert and move items in the menu.
3371 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3373 * src/hildon-wizard-dialog.c:
3375 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3377 (create_title): Update logical IDs and related code.
3378 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3380 * src/hildon-wizard-dialog.h: Note that
3381 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3382 point, as it is not used anymore.
3384 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3386 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-note.c:
3389 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3390 shown. Do not display an icon in confirmation notes nor information
3392 (hildon_note_set_button_text): Update logical ID for cancel button.
3394 Fixes: NB#88850 (Update HildonNote button strings + signals)
3396 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3398 * src/hildon-stackable-window.c
3399 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3401 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-app-menu-private.h
3404 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3405 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3406 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3407 temporary property 'columns' to change the number of columns.
3409 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3411 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3413 * examples/hildon-note-example.c: (on_information_clicked),
3414 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3415 debugging information.
3416 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3418 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3419 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3420 in order to close: this will be handled by the WM from now on.
3422 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3424 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3426 * src/hildon-app-menu-private.h
3427 * src/hildon-app-menu.c
3428 (hildon_app_menu_append, hildon_app_menu_add_filter)
3429 (button_visibility_changed, hildon_app_menu_apply_style)
3430 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3431 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3432 layout everytime a button (item or filter) is shown or hidden.
3434 * src/hildon-stackable-window.c
3435 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3438 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3440 * src/hildon-touch-selector.c:
3441 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3442 that the treeview inside the touch selector is in fremantle hildon mode
3443 * examples/hildon-date-button-example.c
3444 * examples/hildon-picker-button-multicolumn-example.c
3445 * examples/hildon-touch-selector-entry-example.c
3446 * examples/hildon-touch-selector-example.c
3447 * examples/hildon-time-button-example.c
3448 * examples/hildon-picker-button-example.c:
3449 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3451 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3453 * examples/hildon-text-view-example.c: (main): Remove the
3454 gtkrc bits, now handled by the theme.
3456 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3458 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3461 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3463 * po/Makefile.am: Install properly the mo files.
3464 * po/en_GB.po: Update translation, to ease testing purposes.
3466 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3468 * examples/hildon-picker-button-example.c: (main): Select an item
3469 in the selector before setting it to the button.
3471 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3473 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3474 Update button's value if the selector has an item active.
3476 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3477 'value' with the selector)
3479 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3481 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3482 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3483 (hildon_picker_button_class_init): Plug the finalize method.
3484 (hildon_picker_button_set_selector): If there's a previously set
3485 selector, unref'it before setting a new one.
3487 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3488 HildonTouchSelector)
3490 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3492 * src/hildon-touch-selector-entry.c:
3493 (hildon_touch_selector_entry_changed): Check if there is no text
3494 selected before setting the entry text.
3497 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3499 * src/hildon-touch-selector.h
3500 * src/hildon-touch-selector.c
3501 (hildon_touch_selector_get_active)
3502 (hildon_touch_selector_set_active): New methods to set/get the
3503 index of the selected item.
3505 * src/hildon-picker-button.h
3506 * src/hildon-picker-button.c
3507 (hildon_picker_button_get_active)
3508 (hildon_picker_button_set_active): New methods to set/get the
3509 index of the selected item.
3511 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3513 * configure.ac: post-release version bump.
3515 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3519 * configure.ac: Pre-release version bump.
3520 * debian/changelog: Updates.
3521 * debian/control: Add myself as maintainer and depend on l10n
3524 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-window.c
3527 (hildon_window_set_main_menu)
3528 * src/hildon-stackable-window.c
3529 (hildon_stackable_window_set_main_menu):
3530 Updated documentation.
3532 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3534 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3535 Don't free selector->priv manually.
3538 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3541 (hildon_gtk_window_set_progress_indicator):
3542 * src/hildon-gtk.h: Added the new API
3543 hildon_gtk_window_set_progress_indicator, it changes the state of
3544 the window progress hint.
3546 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-button.c
3549 * src/hildon-stackable-window.c: Minor documentation updates.
3551 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3553 * src/hildon-stackable-window.c: Updated documentation.
3555 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3557 * src/hildon-defines.h: Update margins definitions
3558 to the Fremantle sizes.
3561 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3563 * src/hildon-touch-selector.c,
3564 (_hildon_touch_selector_set_model): Cleaning the code after
3565 review, removed g_print and #if 0 from the code.
3567 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3569 * src/hildon-edit-toolbar.c: Update documentation.
3571 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-check-button.h
3574 * src/hildon-check-button.c
3575 (hildon_check_button_set_label, hildon_check_button_get_label)
3576 * examples/hildon-check-button-example.c
3577 (button_clicked_cb):
3578 Removed deprecated methods.
3580 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3582 * src/hildon-text-view.c:
3583 Add sample code to the documentation.
3585 * src/hildon-entry.h
3586 * src/hildon-text-view.h:
3587 Minor cosmetic changes.
3589 * src/hildon-entry.c:
3590 Add sample code to the documentation.
3591 (hildon_entry_init, hildon_entry_refresh_contents):
3592 Don't allow NULL values in the placeholder.
3594 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3596 * doc/hildon-docs.sgml
3598 * examples/Makefile.am
3599 * examples/hildon-text-view-example.c
3601 * src/hildon-text-view.c
3602 * src/hildon-text-view.h
3604 New HildonTextView widget, with example.
3606 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3608 * po/POTFILES.in: Add missing files with translatable strings.
3609 Partially fixes NB#88287.
3611 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3613 * examples/hildon-pannable-area-example-2.c: (main): No need to
3614 set the cellrenderer height inside hildon touch lists, the theme does
3617 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3619 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3620 they are integrated in the theme.
3622 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3624 * examples/hildon-entry-example.c: Update the example adding
3625 widgets to modify the text and the placeholder of the HildonEntry.
3627 * src/hildon-entry.c: Show the placeholder everytime the widget
3628 is empty and loses the focus.
3630 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3632 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3634 * src/hildon-pannable-area.c,
3635 (hildon_pannable_area_size_request): Fixed bug in height
3636 requisition, avoid increasing size and add border twice.
3638 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3640 * configure.ac: postrelease version bump.
3642 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3646 * configure.ac: Prerelease version bump.
3647 * debian/changelog: update.
3648 * debian/rules: make -dbg package contain useful debugging symbols.
3650 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-dialog.h
3653 * src/hildon-dialog.c
3654 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3655 New methods to add buttons with finger size.
3656 (hildon_dialog_new_with_buttons):
3657 Create buttons with finger size.
3659 * examples/hildon-dialog-example.c (main): Use HildonDialog
3660 methods to add buttons.
3662 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3664 * src/hildon-entry.c: Updated HildonButton documentation.
3666 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3668 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3669 button value label with (FALSE, FALSE) to prevent NB#88126 from
3672 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3674 * examples/hildon-pannable-area-example.c,
3675 (main): Removed examples panning a vbox inside a pannable
3676 area. Check bug NB#87965
3678 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3680 Patch contributed by Kris Rietveld (kris@imendio.com)
3682 * src/hildon-pannable-area.c,
3683 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3684 get_size and get_position, this saves an X server roundtrip.
3686 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3688 * doc/hildon-docs.sgml
3690 * examples/Makefile.am
3691 * examples/hildon-entry-example.c
3693 * src/hildon-entry.c
3694 * src/hildon-entry.h
3696 New HildonEntry widget, with example.
3698 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3700 * src/hildon-button.c (hildon_button_construct_child): Pack the
3701 image with expand == fill == FALSE. This is a workaround for a bug
3704 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3706 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3707 labels for the text column, to make it more look more dynamic.
3709 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3711 * src/hildon-time-selector.c
3712 Define gettext auxiliar macro N_
3713 (_create_minutes_model)
3714 (_create_hours_model)
3715 (_create_ampm_model): use of strftime in order to fill the model
3716 * src/hildon-date-selector.c
3717 (hildon_date_selector_finalize):
3718 (_locales_init): remove the logic related to get the name of the months
3719 using nl_langinfo, as it is not required anymore
3721 (_create_year_model)
3722 (_create_month_model)
3723 (_update_day_model): use of strftime in order to fill the model properly
3726 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3728 * src/hildon-button.h
3729 * src/hildon-button.c (hildon_button_get_image): New method to
3732 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3734 * src/hildon-touch-selector.c:
3735 (hildon_touch_selector_remove_column): Remove from the correct parent
3736 and also remove the list element and free it.
3739 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3741 * src/hildon-time-selector.c
3742 (_create_hours_model): change the range on 12h ampm format in order to use
3743 a 12-11 range instead of previous 01-12 range
3744 (hildon_time_selector_set_time): change the way to select the current time
3745 on 12h ampm format, due the change on the range
3746 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3749 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3751 * src/hildon-touch-selector.c
3752 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3753 in order to allow use this function on multiple row selection mode if
3754 the column is different that the first one
3757 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3759 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3760 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3762 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3764 * src/hildon-date-selector.h: clean some comments, now on the .c
3765 * src/hildon-date-selector.c
3766 (hildon_date_selector_select_month): first implementation
3767 (hildon_date_selector_select_day): added documentation, reimplemented
3768 using hildon_date_selector_select_current_date to avoid repeat code
3771 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3773 Reviewed interaction logic based on device experiences, refactored
3776 * src/hildon-pannable-area.c,
3777 (hildon_pannable_area_class_init): Updated default vmax speed.
3778 (hildon_pannable_area_calculate_velocity): Added this function, it
3779 avoids duplicate valocity calculation. Adjusted calculation to
3780 avoid problems with zero dist events.
3782 (hildon_pannable_area_motion_notify_cb): Now we use the
3783 calculate_velocity function.
3785 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3787 * src/hildon-date-selector.c
3788 (hildon_date_selector_select_current_date): fix the day range check
3789 as it failed using the last day of the current month
3792 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3794 * src/hildon-touch-selector.c
3795 (hildon_touch_selector_get_num_columns): added a parameter validation
3798 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3800 * examples/Makefile.am
3801 * examples/hildon-edit-toolbar-example.c: Example of the
3802 HildonEditToolbar widget.
3804 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3806 * configure.ac: postrelease version bump.
3808 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3812 * configure.ac: prerelease version bump.
3813 * debian/changelog: update.
3815 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3817 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3818 renderer to display stock icons in the touch list. Also, set the sizes
3819 to the recommended in the style guide.
3821 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3822 * src/hildon-touch-selector.h
3823 (hildon_touch_selector_set_active_iter): renamed, now is
3824 hildon_touch_selector_select_iter
3825 (hildon_touch_selector_get_active_iter): renamed, now is
3826 hildon_touch_selector_get_selected
3827 (hildon_touch_selector_unselect_iter): added
3828 * src/hildon-touch-selector.c
3829 Update after API modification (methods renamed)
3830 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3831 order to avoid problems selecting multiple elements on the column
3832 (hildon_touch_selector_unselect_iter): added the implementation
3833 * src/hildon-time-selector.c
3834 * src/hildon-date-selector.c
3835 * src/hildon-touch-selector-entry.c
3836 Update methods calls after hildon-touch-selector.h API modification (methods
3839 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3841 * src/hildon-stackable-window.c
3842 (hildon_stackable_window_finalize): Call the parent class's finalize.
3844 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3846 * examples/hildon-touch-selector-example.c: (create_selector): Use
3847 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3850 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3852 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3853 set a cell background color, to respect theming.
3855 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3857 * doc/hildon-docs.sgml
3860 * src/hildon-edit-toolbar.c
3861 * src/hildon-edit-toolbar.h
3862 * src/hildon.h: New HildonEditToolbar widget.
3864 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3866 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3869 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3870 * src/hildon-touch-selector.c
3871 (_create_new_column): use g_object_set instead of two g_object_set_property
3873 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3874 * src/hildon-touch-selector.c
3875 (_create_new_column): use of hildon_gtk_tree_view_new to create
3876 the treeview, instead of use directly g_object_new
3877 (_create_new_column): update the property name "vindicator-mode" for the
3878 new one "vscrollbar-policy"
3879 * examples/hildon-date-button-example.c
3880 * examples/hildon-picker-button-multicolumn-example.c
3881 * examples/hildon-touch-selector-entry-example.c
3882 * examples/hildon-touch-selector-example.c
3883 * examples/hildon-time-button-example.c
3884 * examples/hildon-picker-button-example.c
3885 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3886 to all the treeviews inside a pannable area.
3888 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3890 * src/hildon-button.h
3891 * src/hildon-button.c (hildon_button_init)
3892 (hildon_button_set_arrangement, hildon_button_set_alignment)
3893 (hildon_button_set_title_alignment)
3894 (hildon_button_set_value_alignment)
3895 (hildon_button_set_image_alignment)
3896 (hildon_button_construct_child): New methods to set the alignment
3897 of the individual components of the button (title, value,
3898 image). Also, new method to alter the xscale and yscale properties
3899 of the GtkAlignment inside the button, so more complex layouts can
3902 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-button.c (hildon_button_style_set)
3905 (hildon_button_class_init, hildon_button_set_arrangement)
3906 (hildon_button_construct_child): Apply style properties
3907 correctly. Use the 'image-spacing' style property too.
3909 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3911 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3912 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3915 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3917 * src/hildon-pannable-area.c,
3918 (hildon_pannable_area_size_request): Fixed problem with
3919 pannable-area size_request.
3921 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3923 Added management for the grab-focus to a child widget, like a
3924 range, we need to fade out the scrollbar when releasing.
3926 * src/hildon-pannable-area.c,
3927 (hildon_pannable_area_init): Connected the grab-focus signal to
3929 (hildon_pannable_area_grab_notify): Added this function in order
3930 to manage the situation when the grab-focus ends. We have to
3931 fade-out the scrollbar.
3933 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3935 * src/hildon-app-menu.c: Minor documentation update.
3937 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3939 * src/hildon-app-menu.c
3940 * examples/hildon-app-menu-example.c (create_menu): Update
3941 examples and documentation to explain how to connect callbacks.
3943 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3945 * examples/hildon-button-example.c
3946 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3947 hildon_stackable_window_new instead of gtk_window_new
3949 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3951 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3952 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3953 (hildon_pannable_area_set_property),
3954 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3955 (hildon_pannable_area_unrealize),
3956 (hildon_pannable_area_size_request),
3957 (hildon_pannable_area_size_allocate),
3958 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3959 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3960 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3961 (hildon_pannable_area_initial_effect),
3962 (hildon_pannable_area_redraw),
3963 (hildon_pannable_area_scroll_indicator_fade),
3964 (hildon_pannable_area_expose_event),
3965 (hildon_pannable_area_get_topmost), (synth_crossing),
3966 (hildon_pannable_area_button_press_cb),
3967 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3968 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3969 (hildon_pannable_area_motion_notify_cb),
3970 (hildon_pannable_area_button_release_cb),
3971 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3972 (hildon_pannable_area_remove),
3973 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3974 chage the code layout to a more GtkWidget like. Review the use of
3977 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3979 * examples/hildon-pannable-area-example-4.c,
3980 (main): Modified the name of the hindicator_mode to
3983 * src/hildon-pannable-area.c,
3984 (hildon_pannable_area_class_init),
3985 (hildon_pannable_area_motion_notify_cb),
3986 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3987 we have reduced the amount of signals and managed reviewed its
3988 rationale. Changed the default decelerate value.
3990 (hildon_pannable_area_add),
3991 (hildon_pannable_area_redraw): Refactored functions.
3993 (hildon_pannable_area_init),
3994 (hildon_pannable_area_get_property),
3995 (hildon_pannable_area_set_property):
3996 (hildon_pannable_draw_vscroll),
3997 (hildon_pannable_draw_hscroll),
3998 (hildon_pannable_area_initial_effect),
3999 (hildon_pannable_area_expose_event),
4000 (hildon_pannable_area_scroll),
4001 (hildon_pannable_area_button_press_cb),
4002 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4003 and vindicator_mode with hscrollbar_policy and
4004 vscrollbar_policy. Replaced hscroll and vscroll with
4005 hscroll_visible and vscroll_visible.
4007 (hildon_pannable_area_refresh): Refactor the function, remove
4008 variables and check the calls to this function, added resize
4009 conditions in case the children change their layout.
4011 (hildon_pannable_area_size_request): Added more detailed
4012 size_request calculation.
4015 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4017 * src/hildon-color-chooser.c
4018 (init_borders): use the correct gtk_border_free instead of g_free, to
4019 avoid a crash when this widget is used (ie: the three color selection
4022 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4024 * src/hildon-check-button.c,
4025 (hildon_check_button_set_active): Fixed problem when setting the
4026 active value, the widget was not redrawn.
4028 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4030 * src/hildon-pannable-area.c,
4031 (hildon_pannable_area_refresh),
4032 (hildon_pannable_area_scroll),
4033 (hildon_pannable_area_motion_notify_cb): Small code style change.
4035 (hildon_pannable_area_class_init): Default initial_hint set to
4036 FALSE, it is not in the specs.
4038 (hildon_pannable_area_initial_effect),
4039 (hildon_pannable_area_expose_event),
4040 (hildon_pannable_area_map),
4041 (hildon_pannable_area_init): Moved the launching point of the
4042 initial effect, it was in map but the sizes where not correct in
4043 that method so we do not know if we have the reproduce it. Now it
4044 is placed in the expose_event method and uses a variable to
4045 reproduce it just once.
4047 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4049 * src/hildon-pannable-area.c,
4050 (hildon_pannable_draw_vscroll),
4051 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4052 position allowed for the scrollbars.
4054 (hildon_pannable_area_size_allocate): Small style change.
4056 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4058 * src/hildon-pannable-area.c,
4059 (hildon_pannable_area_scroll_indicator_fade),
4060 (hildon_pannable_area_button_press_cb),
4061 (hildon_pannable_area_button_release_cb),
4062 (hildon_pannable_area_scroll_cb),
4063 (hildon_pannable_area_expose_event),
4064 (hildon_pannable_area_init): Added the define parameter
4065 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4066 and refactor the fade variable.
4068 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4070 * src/hildon-pannable-area.c,
4071 (hildon_pannable_area_redraw),
4072 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4073 lines, we were reimplemeting the redraw code.
4075 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4077 * src/hildon-pannable-area.c,
4078 (hildon_pannable_area_scroll_cb),
4079 (hildon_pannable_area_realize),
4080 (hildon_pannable_area_class_init): Added scroll_event management
4081 for pannable area, now we can scroll the usual desktop method.
4083 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4084 initialization of the parameters should depend on idle_id.
4086 (hildon_pannable_area_init),
4087 (hildon_pannable_area_map): Small code style modifications
4089 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4091 * src/hildon-pannable-area.c
4092 (hildon_pannable_area_button_press_cb),
4093 (hildon_pannable_area_motion_notify_cb),
4094 (hildon_pannable_area_button_release_cb),
4095 (hildon_pannable_area_size_allocate),
4096 (hildon_pannable_area_scroll_to): Improved the timeouts
4097 management, we avoid creating them each time.
4099 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4101 * src/hildon-pannable-area.c:
4102 (hildon_pannable_area_refresh),
4103 (hildon_pannable_area_motion_notify_cb),
4104 (hildon_pannable_area_class_init):
4105 * src/hildon-pannable-area.h:
4106 * src/hildon-touch-selector.c
4107 (_create_new_column):
4108 * examples/hildon-pannable-area-example-4.c:
4109 (horizontal_movement),
4110 (vertical_movement),
4112 Replaced the names of enums in the HildonPannableArea:
4113 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4114 HILDON_MOVEMENT_MODE_*
4115 - HILDON_PANNABLE_AREA_MOV_* ->
4117 - Removed HildonPannableAreaIndicatorMode, now we
4120 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4122 * examples/hildon-pannable-area-touch-grid-example.c
4123 * examples/hildon-pannable-area-touch-list-example.c: Fix
4124 compilation warnings.
4126 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4128 * src/hildon-gtk.c (hildon_gtk_button_new)
4129 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4130 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4131 images overriding the value of the "gtk-button-images" setting.
4133 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-check-button.c (hildon_check_button_new):
4136 Instead of using a custom container, display the label and the
4137 checkbox using the standard GtkButton API.
4139 * examples/hildon-check-button-example.c (main): Don't use
4140 hildon_check_button_set_label() anymore
4142 * src/hildon-check-button.h
4143 * src/hildon-check-button.c
4144 (hildon_check_button_set_label, hildon_check_button_get_label):
4145 Set as deprecated, now we're using gtk_button_{get,set}_label()
4147 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4149 * src/hildon-pannable-area.c,
4150 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4151 GtkTreeview first line we detected it after the inclusion of the
4152 GtkWindowImpl in gtk+. We now check if the window is visible, not
4153 just if the pointer is over the window.
4154 (hildon_pannable_axis_scroll),
4155 (hildon_pannable_area_expose_event): Small style changes.
4157 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4159 * src/hildon-button.c: Update documentation.
4161 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4163 * examples/hildon-button-example.c: Add a switch to show images in
4166 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4168 * doc/hildon-docs.sgml: Some docs reorganization.
4170 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4172 * examples/hildon-pannable-area-touch-list-example.c
4174 * examples/hildon-pannable-area-touch-grid-example.c
4175 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4176 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4177 Fix memory leak when setting the tree model.
4179 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4183 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4185 * doc/hildon.types: Remove duplicated hildon_window_get_type
4186 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4187 documentation comment.
4189 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4191 * doc/Makefile.am: Complete list of private headers.
4193 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4195 * doc/hildon-docs.sgml
4196 * src/hildon-app-menu.c
4197 * src/hildon-bread-crumb.c
4198 * src/hildon-button.c
4200 * src/hildon-program.c
4201 * src/hildon-stackable-window.c
4202 * src/hildon-window.c: Lots of documentation updates.
4204 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4206 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4208 * configure.ac: Require Gtk+ 2.12.9 at least
4210 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4212 * src/hildon-pannable-area.c
4213 (hildon_pannable_area_scroll_indicator_fade),
4214 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4215 to protect the return of this timeout callbacks, avoiding deadlocks.
4217 2008-08-12 Christian Dywan <christian@imendio.com>
4220 * src/hildon-*.h: Ensure a consistent include order,
4221 include <gtk/gtk.h> instead of particular files and
4222 only include the topmost header in the gtk stack. See NB #39857
4224 2008-08-12 Christian Dywan <christian@imendio.com>
4226 * src/hildon-picker-dialog.c
4227 * src/hildon-touch-selector.c: Fix warnings about unused and
4228 uninitialized variables.
4230 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4232 * examples/Makefile.am
4233 * examples/hildon-check-button-example.c: Example of the hildon
4236 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4238 * src/hildon-window.h
4239 * src/hildon-window.c (hildon_window_class_init)
4240 (hildon_window_unset_program): Don't make
4241 hildon_window_unset_program a virtual function anymore.
4243 * src/hildon-stackable-window.c: Update documentation
4245 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4248 * doc/hildon-docs.sgml
4249 * doc/visual_index.xml
4250 * src/hildon-defines.c
4252 * src/hildon-helper.c
4253 * src/hildon-range-editor.c: Lots of documentation fixes.
4255 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4257 * examples/hildon-picker-button-multicolumn-example.c
4258 (create_touch_selector): Fix compilation warning.
4260 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4262 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4263 (hildon_pannable_area_button_release_cb)
4264 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4266 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4268 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4271 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4273 * src/hildon-bread-crumb-trail.h
4274 * src/hildon-date-editor.c
4275 * src/hildon-date-selector.c
4276 * src/hildon-pannable-area.c
4277 * src/hildon-picker-dialog.c
4278 * src/hildon-time-selector.c
4279 * src/hildon-touch-selector-entry.c
4280 * src/hildon-touch-selector.c
4281 * src/hildon-touch-selector.h: Misc documentation fixes
4283 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4285 * examples/hildon-date-editor-example.c (main): Updated date
4288 * examples/hildon-note-example.c (on_confirmation_clicked):
4289 Updated confirmation note example.
4291 * src/hildon-date-editor.c
4292 * src/hildon-note.c: Updated sample programs in documentation.
4295 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4297 * src/hildon-date-button.h:
4298 * src/hildon-picker-button.h:
4299 * src/hildon-time-button.c:
4300 * src/hildon-time-button.h:
4302 Some declarations changes to allow gtk-doc to document the widgets
4305 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4307 * src/hildon-date-button.c: Document the widget.
4308 * src/hildon-time-button.c: Document the widget.
4310 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4312 * src/hildon-picker-button.c: Document the widget.
4313 * src/hildon-touch-selector-entry.c: Document the widget.
4315 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4317 * doc/hildon-docs.sgml
4320 * src/hildon-check-button.h
4321 * src/hildon-check-button.c: New functions to create the Hildon
4325 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4327 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4329 * src/hildon-button.h
4330 * src/hildon-button.c
4331 (hildon_button_add_title_size_group)
4332 (hildon_button_add_value_size_group)
4333 (hildon_button_add_image_size_group)
4334 (hildon_button_add_size_groups): New functions to set size groups
4335 for the button labels and image.
4336 (hildon_button_new_full): Removed
4338 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4340 * src/hildon-time-selector.c
4341 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4342 in order to avoid a crash if gconf is not available
4344 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4346 * src/hildon-button.c (hildon_button_set_arrangement)
4347 (hildon_button_construct_child): Don't construct the button child
4348 before setting the arrangement.
4350 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4352 * src/hildon-program-private.h
4353 * src/hildon-program.c
4354 * src/hildon-program.h
4355 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4356 (hildon_program_peek_window_stack)
4357 (hildon_program_pop_window_stack)
4358 (hildon_program_go_to_root_window): HildonProgram now has a
4359 separate list for stackable windows. Functions are provided to
4360 manage that list with a stack-like API.
4362 * src/hildon-stackable-window.c: Stackable window management is
4363 now much simpler with the new HildonProgram API. Windows no
4364 longer need to be manually added to the program, they're
4365 automatically pushed to the top of the stack when shown.
4367 * examples/hildon-stackable-window-example.c: Updated example to
4368 reflect the API changes.
4370 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-touch-selector.c: Comment out unimplemented
4373 hildon_touch_selector_insert_column() to avoid a compile warning.
4375 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4378 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4379 (hildon_touch_selector_set_column_selection_mode),
4380 (_hildon_touch_selector_set_model),
4381 (hildon_touch_selector_set_model):
4383 Complete review of HildonTouchSelector documentation.
4385 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4387 * doc/hildon-docs.sgml
4391 * src/hildon-gtk.c: Convenience functions for standard Gtk
4392 widgets, used to easily perform frequent operations.
4394 * src/hildon-button-helpers.h
4395 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4397 * src/hildon-helper.h
4398 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4399 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4401 * src/hildon-button.h
4402 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4404 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4406 * src/hildon-button.c (hildon_button_init)
4407 (hildon_button_set_arrangement, hildon_button_construct_child):
4408 Pack the image and the labels inside the same GtkAlignment so
4409 gtk_button_set_alignment() can be used
4411 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4413 * src/hildon-button.h
4414 * src/hildon-button.c
4415 (hildon_button_init, hildon_button_set_image)
4416 (hildon_button_set_image_position)
4417 (hildon_button_construct_child): New functions to add an image to
4420 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4422 * src/hildon-date-button.c
4423 * src/hildon-picker-button.c
4424 * src/hildon-time-button.c
4425 * src/hildon-button.c:
4426 (hildon_button_class_init): "size-flags" renamed to "size"
4427 (hildon_button_set_title): Hide the title label if set to NULL.
4429 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4431 HildonButtonFlags split into HildonButtonArrangement (to set the
4432 button layout) and HildonSizeType (which can be used for any
4435 * src/hildon-button.h
4436 * src/hildon-button.c
4437 (hildon_button_class_init)
4438 (hildon_button_set_arrangement)
4439 (hildon_button_set_property): New "size-flags"
4440 property. "arrangement-flags" renamed to "arrangement".
4441 (hildon_button_new, hildon_button_new_with_text)
4442 (hildon_button_new_full): Constructors updated to reflect type changes.
4444 * src/hildon-helper.h
4445 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4446 to set the size of a widget.
4450 * src/hildon-button-helpers.c
4451 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4453 * src/hildon-date-button.c
4454 * src/hildon-date-button.h
4455 * src/hildon-picker-button.c
4456 * src/hildon-picker-button.h
4457 * src/hildon-time-button.c
4458 * src/hildon-time-button.h: Updated widgets to reflect
4459 HildonButton API changes.
4461 * examples/hildon-button-example.c
4462 * examples/hildon-date-button-example.c
4463 * examples/hildon-picker-button-example.c
4464 * examples/hildon-picker-button-multicolumn-example.c
4465 * examples/hildon-time-button-example.c
4466 * examples/hildon-touch-selector-entry-example.c
4467 * examples/hildon-touch-selector-example.c: Updated examples to
4468 reflect HildonButton API changes.
4470 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4472 * doc/hildon-docs.sgml:
4474 * examples/Makefile.am:
4475 * examples/hildon-touch-selector-entry-example.c:
4477 * src/hildon-touch-selector-entry.c:
4478 * src/hildon-touch-selector-entry.h:
4481 Moved HildonTouchSelectorEntry from sandbox. Added its
4482 documentation and examples.
4484 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-touch-selector.h:
4487 * examples/hildon-picker-button-multicolumn-example.c:
4488 (hildon_touch_selector_append_text_column): Add a gboolean
4489 parameter to determine if text must be centered in the column.
4491 * src/hildon-date-selector.c: (hildon_date_selector_init):
4492 * src/hildon-time-selector.c: (hildon_time_selector_init):
4493 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4494 (create_touch_selector): Update widgets and example to reflect
4497 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4499 * src/hildon-touch-selector.c:
4500 (hildon_touch_selector_set_active_iter): Set also the cursor in
4503 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4505 * doc/hildon-docs.sgml
4508 * src/hildon-toggle-button.c
4509 * src/hildon-toggle-button.h
4510 * src/hildon.h: Removed HildonToggleButton widget, a derived
4511 class is not necessary for this.
4513 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4515 * src/hildon-pannable-area.c,
4516 (hildon_pannable_area_realize),
4517 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4520 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4522 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4523 "done" button the default widget for the dialog.
4525 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4527 * src/hildon-touch-selector.c:
4528 (hildon_touch_selector_class_init),
4529 (hildon_touch_selector_get_property),
4530 (_hildon_touch_selector_set_model),
4531 (_hildon_touch_selector_has_multiple_selection),
4532 (hildon_touch_selector_has_multiple_selection):
4533 Add a "has-multiple-selection" property with a virtual
4534 has_multiple_selection() method to allow derived classes to
4535 override the default value for it. See the method and property
4536 documentation for details.
4538 * src/hildon-touch-selector.h: Add the new API.
4540 * src/hildon-picker-dialog.c: (requires_done_button): Call
4541 hildon_touch_selector_has_multiple_selection() instead of
4542 determining the need for a button itself.
4544 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4546 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4547 (_hildon_touch_selector_set_model),
4548 (hildon_touch_selector_set_model): Move working code to
4549 _hildon_touch_selector_set_mode(). Call the class method instead.
4551 * src/hildon-touch-selector.h: Add (*set_model) to
4552 HildonTouchSelectorClass.
4554 Make hildon_touch_selector_set_model() a virtual method, so that
4555 derived classes can extend it and do fancy stuff with the model.
4557 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4559 * configure.ac: Set back the tarname in AC_INIT to hildon.
4561 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4565 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4566 instead of libesd (NB#86876). Volume handling is still an open issue.
4568 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4571 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4573 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4574 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4575 derived class to ease placement of an entry widget in
4576 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4577 end, where the selector columns are packed now.
4579 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4581 * src/hildon-picker-button.c: Removed the simple _text() API.
4582 * src/hildon-picker-button.h: Likewise.
4584 * src/hildon-touch-selector.h:
4585 * src/hildon-touch-selector.c:
4586 (hildon_touch_selector_new_text),
4587 (hildon_touch_selector_append_text),
4588 (hildon_touch_selector_prepend_text),
4589 (hildon_touch_selector_insert_text):
4591 Moved the simple _text() API from HildonPickerButton to
4592 HildonTouchPicker, to provide better escalability and not to tie
4593 that API to HildonPickerButton.
4595 * examples/hildon-picker-button-example.c: (main): Example updated.
4597 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4599 * src/hildon-button.c: Updated documentation.
4601 * examples/hildon-button-example.c: Add the posibility to create
4602 the buttons using horizontal layout for title and value.
4604 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4606 * src/hildon-app-menu-private.h
4607 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4608 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4609 GtkSizeGroup for the filters, use the 'homogeneous' property of
4612 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4614 * examples/hildon-button-example.c: Updated example.
4616 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4618 * doc/hildon-docs.sgml:
4621 Update documentation.
4623 * examples/Makefile.am: Update renamed examples.
4625 * examples/hildon-picker-button-multicolumn-example.c:
4626 (create_touch_selector), (main): Update after the rename.
4628 * examples/hildon-touch-picker-example.c: Removed.
4629 * examples/hildon-touch-selector-example.c: (value_changed),
4630 (create_selector), (get_visible_content), (main): Renamed from
4631 hildon-touch-picker-example.c
4633 * src/Makefile.am: Updated renamed files.
4635 * src/hildon-date-button.c: (hildon_date_button_init),
4636 (hildon_date_button_get_date), (hildon_date_button_set_date):
4637 * src/hildon-date-selector.c: (hildon_date_selector_init),
4638 (_custom_print_func), (_update_day_model),
4639 (_manage_selector_change_cb),
4640 (hildon_date_selector_select_current_date),
4641 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4642 * src/hildon-date-selector.h:
4643 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4644 (hildon_picker_button_set_property),
4645 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4646 (hildon_picker_button_init), (hildon_picker_button_new_text),
4647 (hildon_picker_button_append_text),
4648 (hildon_picker_button_prepend_text),
4649 (hildon_picker_button_insert_text),
4650 (hildon_picker_button_set_selector),
4651 (hildon_picker_button_get_selector):
4652 * src/hildon-picker-button.h:
4653 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4654 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4655 (_update_title_on_selector_changed_cb), (requires_done_button),
4656 (_hildon_picker_dialog_set_selector),
4657 (hildon_picker_dialog_set_selector),
4658 (hildon_picker_dialog_get_selector):
4659 * src/hildon-picker-dialog.h:
4660 * src/hildon-time-button.c: (hildon_time_button_init),
4661 (hildon_time_button_get_time), (hildon_time_button_set_time):
4662 * src/hildon-time-selector.c: (hildon_time_selector_init),
4663 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4664 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4665 * src/hildon-time-selector.h:
4668 Massive code updates after the rename.
4670 * src/hildon-touch-picker.c: Removed.
4671 * src/hildon-touch-picker.h: Removed.
4673 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4674 (hildon_touch_selector_init), (hildon_touch_selector_map),
4675 (hildon_touch_selector_remove), (_default_print_func),
4676 (_selection_changed_cb), (_create_new_column),
4677 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4678 (hildon_touch_selector_append_text_column),
4679 (hildon_touch_selector_remove_column),
4680 (hildon_touch_selector_set_column_attributes),
4681 (hildon_touch_selector_insert_column),
4682 (hildon_touch_selector_get_num_columns),
4683 (hildon_touch_selector_get_column_selection_mode),
4684 (hildon_touch_selector_set_column_selection_mode),
4685 (hildon_touch_selector_set_print_func),
4686 (hildon_touch_selector_get_print_func),
4687 (hildon_touch_selector_get_active_iter),
4688 (hildon_touch_selector_set_active_iter),
4689 (hildon_touch_selector_get_selected_rows),
4690 (hildon_touch_selector_get_model),
4691 (hildon_touch_selector_set_model),
4692 (hildon_touch_selector_get_current_text),
4693 (_hildon_touch_selector_center_on_selected_items):
4694 * src/hildon-touch-selector.h: Renamed from
4695 hildon-touch-picker.[ch]
4697 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4698 references, code examples, and related documentation.
4700 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4702 * doc/hildon-docs.sgml
4705 * src/hildon-toggle-button.c
4706 * src/hildon-toggle-button.h
4707 * src/hildon.h: New HildonToggleButton widget.
4709 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-button.c: Add API documentation.
4712 (hildon_button_set_size_groups): Check input parameters
4714 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4716 * src/hildon-pannable-area.c
4717 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4718 effect after reaching the movement thredshold. This way we start
4719 using the distance after passing the thredshold.
4721 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4723 * src/hildon-button.c: (hildon_button_set_property): Use the
4724 appropriate g_value_get_flags() method.
4726 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4728 * doc/hildon-docs.sgml:
4731 Add the touch pickers, picker dialogs, and picker button widgets
4732 to the documentation.
4734 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-button.c: (hildon_button_set_property),
4737 (hildon_button_class_init): Make "arrangement-flags" a proper
4738 G_TYPE_FLAGS derived property.
4740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4742 * examples/Makefile.am: Add below examples.
4743 * examples/hildon-date-button-example.c:
4744 * examples/hildon-picker-button-example.c:
4745 * examples/hildon-picker-button-multicolumn-example.c:
4746 * examples/hildon-time-button-example.c:
4747 * examples/hildon-touch-picker-example.c:
4749 Add examples for the recently added touch pickers,
4750 picker dialogs, and picker button widgets.
4752 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4754 * src/hildon-button.c: Add some API documentation
4756 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4758 * src/hildon-button.h
4759 * src/hildon-button.c
4761 (hildon_button_new_with_text): New constructor to create a button
4762 with no text at all.
4763 (hildon_button_init, hildon_button_set_arrangement)
4764 (hildon_button_set_title, hildon_button_set_value)
4765 (hildon_button_set_text)
4766 (hildon_button_construct_child): Hide the value when it's not used
4767 so the rest of the text is properly aligned.
4768 Allow creating buttons with arbitrary widgets inside (not just
4769 title/value labels).
4771 * examples/hildon-button-example.c (vertical_buttons_window)
4772 (horizontal_buttons_window): Update example to use new API.
4774 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4776 * src/Makefile.am: Added HildonTimeButton.
4777 * src/hildon-time-button.c: Added missing LGPL header.
4778 * src/hildon-time-button.h: Added missing LGPL header.
4779 * src/hildon.h: Add hildon-time-button.h
4781 Copied HildonTimeButton from sandbox to trunk. Future work on this
4782 widget must take place in trunk.
4784 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4786 * src/Makefile.am: Added HildonDateButton.
4787 * src/hildon-date-button.c: Update includes.
4788 * src/hildon.h: Add hildon-date-button.h
4790 Copied HildonDateButton from sandbox to trunk. Future work on this
4791 widget must take place in trunk.
4793 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4795 * src/Makefile.am: Added HildonPickerButton.
4796 * src/hildon-picker-button.h: Update includes.
4797 * src/hildon.h: Add hildon-picker-button.h
4799 Copied HildonPickerButton from sandbox to trunk. Future work on
4800 this widget must take place in trunk.
4802 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4804 * src/Makefile.am: Added HildonPickerDialog.
4805 * src/hildon-picker-dialog.c: Update includes.
4806 * src/hildon.h: Add hildon-picker-dialog.h
4808 Copied HildonPickerDialog from sandbox to trunk. Future work
4809 on this widget must take place in trunk.
4811 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4813 * src/Makefile.am: Added HildonTimeSelector.
4814 * src/hildon.h: Add hildon-time-selector.h
4816 Copied HildonTimeSelector widget from sandbox to trunk. Future
4817 work on this widget must happen in trunk.
4819 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4821 * src/Makefile.am: Added HildonDateSelector.
4822 * src/hildon.h: Add hildon-date-selector.h
4824 Copied HildonDateSelector widget from sandbox to trunk. Future
4825 work on this widget must happen in trunk.
4827 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/Makefile.am: Added HildonTouchPicker.
4830 * src/hildon-touch-picker.c: Update includes.
4831 * src/hildon.h: Add hildon-touch-picker.h
4833 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4834 on this widget must happen in trunk.
4836 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4838 * src/hildon-pannable-area.c:
4839 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4841 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4843 * examples/hildon-app-menu-example.c (main): Let the window
4846 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4848 * src/hildon-pannable-area.c
4849 (hildon_pannable_area_class_init): Set the min value of the
4850 overshoot properties to zero, which points out that not
4851 overshooting allowed.
4853 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4855 Modified the procedure to get the widget at a point inside the
4856 pannable area when using the movement type signals. Now the user
4857 has to call a function to get the child, that way we just
4858 calculate the child in case the user really want to use it and not
4861 * src/hildon-marshalers.list: Modified the marshallers, now we do
4862 not have the widget as a parameter.
4864 * src/hildon-pannable-area.c
4865 (hildon_pannable_area_motion_notify_cb),
4866 (hildon_pannable_area_class_init),
4867 (hildon_pannable_get_child_widget_at): Removed the widget
4868 parameter from the signal callback. We have also refactored the
4869 emission of the signals.
4871 * src/hildon-pannable-area.h: Added a new method to the API to
4872 calculate a widget at a point inside the pannable area,
4873 hildon_pannable_get_child_widget_at.
4875 * examples/hildon-pannable-area-example-4.c
4876 (horizontal_movement): Modified the example to use the new API,
4877 added condition to control which widget is under the event. This
4878 way we can avoid scrolling laterally over other widgets.
4880 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4882 * src/hildon-pannable-area.c
4883 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4884 modes, we stop getting the pointer events due to returning the
4885 callback without properly calling the get pointer again. Fixed
4886 also an error using the hscroll and vscroll.
4888 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4890 * src/hildon-app-menu-private.h
4891 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4892 (hildon_app_menu_button_release, hildon_app_menu_init)
4893 (hildon_app_menu_class_init): Don't hide the menu on button
4894 release if the user didn't press outside first.
4896 * src/hildon-window.h
4897 * src/hildon-window.c (hildon_window_toggle_menu)
4898 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4899 hildon_window_toggle_menu a virtual function for the stackable
4900 window to override it.
4902 * src/hildon-stackable-window.h
4903 * src/hildon-stackable-window-private.h
4904 * src/hildon-stackable-window.c
4905 (hildon_stackable_window_realize)
4906 (hildon_stackable_window_finalize)
4907 (hildon_stackable_window_class_init)
4908 (hildon_stackable_window_init)
4909 (hildon_stackable_window_set_main_menu): New function to set the
4910 app menu of a HildonStackableWindow.
4912 * examples/hildon-app-menu-example.c: Remove the button to show
4913 the app menu, now it'll be shown when clicking on the title bar
4916 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4918 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4919 set the widget name if the arrangement flags do not specify
4922 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4924 * src/hildon-button.c: (hildon_button_set_property),
4925 (hildon_button_class_init), (hildon_button_new_full),
4926 (hildon_button_set_arrangement): Added "arrangement-flags"
4929 Make the HildonButtonFlags a construction-only property, to allow
4930 subclasses to set them properly.
4932 2008-07-21 Tim Janik <timj@imendio.com>
4934 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4935 insertion position after backspace, so additional digits are appended,
4938 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4940 * src/hildon-pannable-area.c,
4941 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4942 TODO list, it was complete and removed the g_debug and g_print
4945 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4947 Added the movement modes to the hildon-pannable-area, with this
4948 modes the developers can control in which directions the widget
4949 can scroll. They can also connect to signals in order to do
4950 something when that happens, allowing applications scroll. There
4951 is an example uploaded showing how to use it.
4953 * examples/Makefile.am:
4954 * examples/hildon-pannable-area-example-4.c: Added this example of
4955 an application using the modes.
4957 * src/hildon-marshalers.list: Added a new marshaller for the new
4960 * src/hildon-pannable-area.h: Added new enumerations and flags in
4961 order to control the movement modes and the new signals to warn
4962 about the movements in the area.
4964 * src/hildon-pannable-area.c:
4965 (hildon_pannable_axis_scroll),
4966 (hildon_pannable_area_scroll),
4967 (hildon_pannable_area_motion_notify_cb),
4968 (hildon_pannable_area_get_property),
4969 (hildon_pannable_area_set_property),
4970 (hildon_pannable_area_map),
4971 (hildon_pannable_area_class_init),
4972 (hildon_pannable_area_init),
4973 (hildon_pannable_area_jump_to): Added the modes to control the
4974 movement in the widget. We have added properties to control it,
4975 signals to warn about the movements and refactored some code.
4977 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4979 Changes required in order to allow vfast_factor set to zero to
4982 * src/hildon-pannable-area.c:
4983 (hildon_pannable_area_button_press_cb): Changed the condition, it
4984 is required for not allowing click when vfast_factor is zero.
4985 (hildon_pannable_area_timeout): Initialized velocity variables
4986 when we stop moving, it was less than 1 but not zero and we need
4987 to check zero in some situations.
4988 (hildon_pannable_area_class_init): Changed the default value of
4989 the speed factor, now the button_press is just sent in case the
4990 speed is 2 per cent of the max speed.
4991 (hildon_pannable_area_init): Initialization with 0.
4993 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4995 * src/hildon-pannable-area.c,
4996 (hildon_pannable_area_get_topmost): replaced
4997 gdk_window_get_children with gdk_window_peek_children, this way we
4998 do not have to free the list because it is not a copy.
5000 (hildon_pannable_axis_scroll),
5001 (hildon_pannable_area_scroll),
5002 (hildon_pannable_area_timeout),
5003 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5004 two parameters that were only used inside the
5005 hildon_pannable_area_scroll function.
5007 * examples/hildon-pannable-area-example.c,
5008 (get_sawtooth_label): Fixed small memory leak.
5010 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5012 More checks for the case where the overshoot is bigger than the
5015 * src/hildon-pannable-area.c:
5016 (hildon_pannable_draw_vscroll),
5017 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5018 to draw the slider of the scrollbar under the other scrollbar.
5019 (hildon_pannable_area_expose_event): added new checks to control
5020 the drawing of the overshooting area rectangle, in case it is too
5021 big for the area of the widget.
5022 (hildon_pannable_area_size_allocate): add more checks to avoid
5023 setting a position to the child widget outside the area.
5025 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5027 * src/hildon-pannable-area.c
5028 (hildon_pannable_area_size_allocate): Added conditions to control
5029 when overshooting is bigger than the allocated space for the
5030 children, this avoids negative allocations.
5032 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5034 * doc/hildon-docs.sgml
5036 * examples/Makefile.am
5037 * examples/hildon-button-example.c
5039 * src/hildon-button.c
5040 * src/hildon-button.h
5041 * src/hildon.h: Initial version of the new HildonButton widget,
5044 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-pannable-area.c:
5047 (hildon_pannable_area_button_press_cb),
5048 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5049 (hildon_pannable_area_motion_notify_cb),
5050 (hildon_pannable_area_button_release_cb),
5051 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5052 (hildon_pannable_area_jump_to_child):
5054 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5056 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5058 * examples/Makefile.am
5059 * examples/hildon-pannable-area-touch-grid-example.c
5060 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5061 the Hildon Touch List and Hildon Touch Grid using the
5062 HildonPannableArea widget.
5064 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5066 * src/hildon-pannable-area.c,
5067 (hildon_pannable_area_button_press_cb),
5068 (hildon_pannable_area_refresh),
5069 (hildon_pannable_area_scroll),
5070 (hildon_pannable_area_motion_notify_cb),
5071 (hildon_pannable_area_button_release_cb),
5072 (hildon_pannable_area_expose_event),
5073 (hildon_pannable_area_add),
5074 (hildon_pannable_area_remove),
5075 (hildon_pannable_area_realize),
5076 (hildon_pannable_area_size_allocate),
5077 (hildon_pannable_area_class_init),
5078 (hildon_pannable_area_init),
5079 (hildon_pannable_area_scroll_to_child),
5080 (hildon_pannable_area_jump_to_child): Fixed the problem of
5081 removing the child from the GtkBin, we have rearranged the widget
5082 hierarchy, now there is no GtkAlignment which was not doing
5083 anything interesting but breaking some of the assumptions of
5084 GtkContainer. Now developers if they want to add a GtkAlignment
5085 they could, but it is not inside the area.
5087 We had to review the whole allocation/expose process, now it is
5088 improved and we save at least three signals which would be saving
5089 some time when rendering the widget. The allocation of the
5090 scrollbars is now made in the allocate method as usual.
5092 We have also added some conditions in order to control when there
5093 is no child of the pannable area. Maybe we will need more work
5096 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5098 * src/hildon-pannable-area.c,
5099 (hildon_pannable_area_dispose): Released the fade-out timeout when
5100 disposing the widget.
5102 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5104 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5105 zero, we are going to use that property in order to deactivate the
5107 (hildon_pannable_axis_scroll),
5108 (hildon_pannable_area_size_allocate): Added conditions to control
5109 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5110 call, now it is called in all situations and we can remove calls
5111 in the allocate method.
5112 (hildon_pannable_area_map): Control the situation when
5113 overshoot_max is zero, we do not need the timeout.
5114 (hildon_pannable_area_class_init): Added documentation in order to
5115 point out that setting zero to overshoot_max means deactivate
5118 NOTE: removed trailing whitespaces from my previous comments of
5121 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5123 * src/hildon-pannable-area.c
5124 (hildon_pannable_area_get_property),
5125 (hildon_pannable_area_set_property),
5126 (hildon_pannable_area_map),
5127 (hildon_pannable_area_class_init),
5128 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5129 to cause the widget give a hint about its panning abilities upon
5132 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5134 * src/hildon-pannable-area.c: Several documentation improvements.
5136 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5138 * src/hildon-program.c
5139 * src/hildon-stackable-window.c: Update documentation.
5141 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5143 * src/hildon-stackable-window.c (get_previous_window_if_last):
5144 Renamed get_last_window()
5145 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5146 (hildon_stackable_window_unset_program):
5148 (get_previous_window_if_last):
5149 Detect if the window hasn't been added to a HildonProgram.
5151 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5153 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5155 * src/hildon-pannable-area.c
5156 (hildon_pannable_area_button_press_cb),
5157 (hildon_pannable_axis_scroll),
5158 (hildon_pannable_area_scroll),
5159 (hildon_pannable_area_timeout),
5160 (hildon_pannable_calculate_vel_factor),
5161 (hildon_pannable_area_get_property),
5162 (hildon_pannable_area_set_property),
5163 (hildon_pannable_area_class_init),
5164 (hildon_pannable_area_init),
5165 (hildon_pannable_area_scroll_to),
5166 (hildon_pannable_area_jump_to),
5167 (hildon_pannable_area_scroll_to_child),
5168 (hildon_pannable_area_jump_to_child):
5169 * src/hildon-pannable-area.h: Added the new API functions:
5170 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5171 hildon_pannable_area_scroll_to_child,
5172 hildon_pannable_area_jump_to_child
5175 * examples/Makefile.am
5176 * examples/hildon-pannable-area-example-2.c
5177 * examples/hildon-pannable-area-example-3.c: Added these two new
5178 examples in order to test and show how the new APIs work.
5180 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5182 * examples/hildon-stackable-window-example.c (new_window):
5183 * src/Makefile.am (noinst_HEADERS):
5184 * src/hildon-program.c (hildon_program_go_to_root_window):
5185 * src/hildon-program.h:
5186 * src/hildon-stackable-window-private.h:
5187 * src/hildon-stackable-window.c:
5188 * src/hildon-stackable-window.h:
5189 Create hildon-stackable-window-private.h
5190 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5192 * examples/hildon-app-menu-example.c (create_menu):
5193 * examples/hildon-hvolumebar-insensitive-example.c (main):
5194 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5195 * examples/hildon-toolbar-seekbar-example.c (main):
5196 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5197 * src/hildon-banner.c (hildon_banner_set_property):
5198 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5199 Fix compilation warnings
5201 * src/hildon-window.c:
5204 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-stackable-window.c
5207 (hildon_stackable_window_unset_program):
5208 Calculate correctly whether to show the previous window if the
5209 last one is removed from the stack.
5210 (hildon_stackable_window_go_to_root_window):
5211 Send delete events starting from the topmost window.
5212 Stop if one of the windows is not destroyed.
5214 (hildon_stackable_window_delete_event)
5215 (hildon_stackable_window_class_init):
5216 Ignore the delete event if the window is not the topmost one.
5218 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5220 * src/hildon-pannable-area.c
5221 (hildon_pannable_area_expose_event): Fixed a problem when
5222 selecting the background color of the scrollbars.
5224 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5226 * examples/hildon-stackable-window-example.c
5227 * src/hildon-stackable-window.c
5228 * src/hildon-stackable-window.h
5229 hildon_stackable_window_go_home() renamed to
5230 hildon_stackable_window_go_to_root_window()
5231 Send delete events to windows rather than closing them with
5232 gtk_widget_destroy()
5234 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5236 * src/hildon-pannable-area.c
5237 (hildon_pannable_area_button_release_cb): Fix overshooting in
5240 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5242 * src/hildon-pannable-area.c
5243 (hildon_pannable_area_init): Initially show the scroll indicators.
5244 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5246 Add initial effect showing the widget is pannable.
5248 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5250 * src/hildon-pannable-area.c
5251 (hildon_pannable_area_class_init)
5252 (hildon_pannable_area_set_property)
5253 (hildon_pannable_area_get_property)
5254 (hildon_pannable_area_button_press_cb):
5255 New 'velocity_fast_factor' property to decide which velocity is
5258 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5260 * src/hildon-pannable-area.c
5261 (hildon_pannable_draw_hscroll)
5262 (hildon_pannable_draw_vscroll):
5263 Use float variables to calculate the size of the scrollbars to
5264 avoid error propagation and resizing during scrolling.
5266 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-pannable-area.c
5269 (hildon_pannable_draw_vscroll)
5270 (hildon_pannable_draw_hscroll):
5271 Define a minimum size for the scroll bars
5273 * src/hildon-stackable-window.c
5274 (hildon_stackable_window_go_home): Fix compilation warning
5275 (get_last_window): Minor optimizations
5276 (hildon_stackable_window_class_init): Fix initialization of
5279 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5281 * src/hildon-stackable-window.c: Fixed typos in doc
5283 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5285 * src/hildon-pannable-area.c
5286 (hildon_pannable_area_scroll):
5287 Calculate here whether we need to scroll instead of using the booleans
5288 that tell us whether to /draw/ the scrolling bars.
5290 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5292 * src/hildon-app-menu.h
5294 * src/hildon-app-menu.c
5295 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5296 multiple filter groups related code and API. Now we support only
5298 * examples/hildon-app-menu-example.c:
5300 Update to reflect API changes.
5302 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5304 * src/hildon-stackable-window.c
5305 (hildon_stackable_window_class_init):
5306 Add hildon_stackable_window_realize.
5307 (hildon_stackable_window_realize):
5308 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5309 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5310 to apply theming and behavior specific to HildonStackableWindow
5313 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5315 * src/hildon-note.c (hildon_note_button_release):
5316 Close information notes also when tapping on them
5318 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5320 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5321 ELASTICITY, refactor and review, fix some issues with drawing
5324 * src/hildon-pannable-area.c:
5325 (hildon_pannable_area_button_press_cb): removed the conditions to
5326 avoid clicks when overshooting. It is not required
5328 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5329 define. Refatored and reviewed the code, now we do not need to
5330 manage velocity in motion_notify.
5332 (hildon_pannable_area_motion_notify_cb): We have moved the code
5333 that controls the area_scroll to the axis_scroll function and get
5334 rid of duplicated code.
5336 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5338 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5340 (hildon_pannable_draw_vscroll),
5341 (hildon_pannable_draw_hscroll): Fixed the problems with the
5342 scrollbar drawing, now we do not use two surfaces, it is easier
5343 and saves resources.
5345 (hildon_pannable_area_get_property): Style modification.
5347 (hildon_pannable_area_class_init): Changed some default values.
5349 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5351 * src/hildon-stackable-window.c: Fix some typos in the
5354 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5356 * src/hildon-dialog.c:
5357 Change indentation style
5360 (hildon_note_button_release):
5361 Use root coordinates to check if the release event happened
5364 * src/hildon-app-menu.c
5365 (hildon_app_menu_button_release):
5366 Remove unnecessary check
5368 * examples/hildon-app-menu-example.c
5370 Add cast to fix warning
5372 * src/hildon-app-menu.c
5373 (hildon_app_menu_class_init):
5374 New inner-border style property.
5375 Set all default spacings to 16
5376 (hildon_app_menu_init):
5377 Use vertical-spacing to set the space between filter buttons and
5378 regular menu buttons.
5379 Set the default container border using the inner-border value.
5381 * examples/hildon-app-menu-example.c
5383 Don't set the menu border explicitly, now we have the inner-border
5384 style property for that.
5386 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5388 * src/hildon-app-menu.c (hildon_app_menu_init):
5389 Make the window modal
5391 * src/hildon-note.c (hildon_note_map)
5392 * src/hildon-app-menu.c (hildon_app_menu_map):
5393 Destroy the grab window if we're unable to grab the pointer
5395 * src/hildon-app-menu-private.h
5396 * src/hildon-app-menu.c
5397 (hildon_app_menu_init, hildon_app_menu_finalize)
5398 (hildon_app_menu_map, hildon_app_menu_unmap)
5399 (hildon_app_menu_button_release)
5400 (grab_transfer_window_get):
5401 Bring back the grab window
5402 (hildon_app_menu_realize):
5403 Decorate the window, set WM hint for Matchbox
5405 * src/hildon-note.c (hildon_note_realize):
5406 * src/hildon-banner.c (hildon_banner_realize):
5407 Add WM hints for Matchbox
5409 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5411 * src/hildon-app-menu-private.h
5412 * src/hildon-app-menu.c
5413 (hildon_app_menu_init, hildon_app_menu_finalize)
5414 (hildon_app_menu_map, hildon_app_menu_unmap)
5415 (hildon_app_menu_button_release):
5416 Remove the grab window, it's not needed anymore
5418 * src/hildon-program.c
5419 Fixed typo in documentation
5421 * src/hildon-app-menu.h
5422 * src/hildon-app-menu.c
5423 * examples/hildon-app-menu-example.c
5424 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5426 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5429 Added new transfer_window and close_if_pressed_outside private
5431 (hildon_note_rebuild):
5432 Don't add a cancel button to the information note. It will be
5433 closed when tapping outside
5434 Remove the comment about the OK button in the documentation
5435 (hildon_note_realize):
5436 Set the notification type hint
5437 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5438 Grab/ungrab pointer and keyboard if the note has to be closed when
5440 (hildon_note_button_release):
5441 Close the note when tapping outside (if applicable)
5443 * src/hildon-app-menu.c
5444 Grab/ungrab pointer and keyboard on map/unmap
5445 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5446 Close the menu on button release, not button press
5448 * src/hildon-banner.c
5449 (hildon_banner_set_property)
5450 (hildon_banner_check_position):
5451 Make the banner use the full width of the screen
5452 (hildon_banner_show_information)
5453 (hildon_banner_show_information_with_markup):
5454 Don't display an icon by default
5456 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5458 Added fading scrollbars and adapted all the overshooting code to
5459 horizontal scrolling. We have also fixed bugs with overshooting
5460 and current fading implementation.
5462 * src/hildon-pannable-area.c
5463 (hildon_pannable_area_scroll_indicator_fade): Time out function
5464 used to change the transparency of the scrollbars.
5466 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5467 control and fixed a problem with fading, we now remove the fade
5468 timeout before adding a new one.
5470 (hildon_pannable_axis_scroll):
5471 (hildon_pannable_area_scroll):
5472 (hildon_pannable_area_timeout): Added this functions so we can use
5473 the scroll code both for vertical and horizontal.
5475 (hildon_pannable_area_motion_notify_cb):
5476 (hildon_pannable_area_button_release_cb): Added the horizontal
5477 scrolling control, fixed a problem with the overshooting timeout.
5479 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5480 painting of the scrolls.
5482 (hildon_pannable_draw_vscroll):
5483 (hildon_pannable_draw_hscroll):
5484 (hildon_pannable_area_expose_event):
5485 Draw both scrollbars and rectangles in the overshooting area.
5487 (hildon_pannable_area_get_property):
5488 (hildon_pannable_area_set_property):
5489 Modified the overshoot property to overshoot_max
5491 (hildon_pannable_area_map):
5492 Replaced the comments symbols.
5494 (hildon_pannable_area_size_allocate):
5495 (hildon_pannable_area_class_init):
5496 (hildon_pannable_area_init): Added horizontal scroll, fading
5497 effect properties, fixed a problem when overshooting in the bottom
5500 * examples/hildon-pannable-area-example.c:
5501 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5502 looks better in the example.
5504 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5506 * src/hildon-window.c
5507 * src/hildon-window.h
5508 (hildon_window_class_init)
5509 (hildon_window_unset_program)
5510 (hildon_window_unset_program_real):
5511 Make unset_program a virtual function
5513 * src/hildon-stackable-window.c
5514 * src/hildon-stackable-window.h
5515 Added hildon_stackable_window_go_home()
5517 * examples/Makefile.am
5518 * examples/hildon-stackable-window-example.c
5519 HildonStackableWindow example
5521 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5523 * hildon-pannable-area.c: Added the overshoot property and removed
5524 the OVERSHOOT define. Fixed an indent style error.
5525 (hildon_pannable_area_motion_notify_cb):
5526 (hildon_pannable_area_get_property):
5527 (hildon_pannable_area_set_property): Add overshoot property.
5529 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5532 (hildon_pannable_area_class_init): Installed the new property.
5534 * hildon-pannable-area-example.c: Added a sawtooth function, this
5535 way it is easier to check the movement in the pannable.
5536 (get_sawtooth_label): Added this function.
5537 (main): Now we get the labels from the new get_sawtooth_label
5540 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5542 * src/hildon-app-menu.h
5543 * src/hildon-app-menu.c
5544 Renamed API variables for consistency
5546 (hildon_app_menu_popup): Use also the default window size to
5547 decide where to place the menu
5549 (hildon_app_menu_init, hildon_app_menu_class_init): New
5550 external-border style property
5552 2008-05-26 Michael Natterer <mitch@imendio.com>
5554 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5555 widget_class->tap_and_hold_setup signal slot doesn't exist any
5556 longer, stop overriding it.
5558 (hildon_time_editor_init): g_signal_connect() to the
5559 tap-and-hold-setup signal instead.
5561 (hildon_time_editor_entry_keypress): add cast to fix warning.
5563 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5565 * doc/hildon-docs.sgml
5567 * examples/Makefile.am
5568 * examples/hildon-app-menu-example.c
5570 * src/hildon-app-menu-private.h
5571 * src/hildon-app-menu.c
5572 * src/hildon-app-menu.h
5574 New HildonAppMenu widget
5576 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5578 Rearranged the inheritance of the pannable area, now it inherits
5579 from GtkBin. This will allow us to control the event_window and
5580 the allocation process of the widget, required for some effects.
5582 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5583 GtkBin structures. * src/hildon-pannable-area.c: Added the
5584 event_window variable.
5585 (hildon_pannable_area_button_press_cb):
5586 (hildon_pannable_area_button_release_cb):
5587 (hildon_pannable_area_motion_notify_cb):
5588 Changed the signature of the method, now we override the event
5589 callback instead of connecting to the signal.
5591 (hildon_pannable_area_realize):
5592 (hildon_pannable_area_unrealize):
5593 (hildon_pannable_area_map):
5594 (hildon_pannable_area_unmap):
5595 (hildon_pannable_area_size_allocate):
5596 Added functions to control the widget construction. We add a
5597 INPUT_ONLY window and we put it over the widgets inside the
5598 container, this event_window handles the events.
5600 (hildon_pannable_area_class_init):
5601 Replaced the signal connections with overrides of the event
5604 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5606 Bouncing effect added when touching the borders, you can change
5607 the elasticity of the border changing the ELASTICITY define.
5609 * src/hildon-pannable-area.c: Added ELASTICITY define.
5610 (hildon_pannable_area_timeout): Added inverse velocity when
5611 touching the border of the child widget, that causes a bounce.
5613 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5615 Improved performance, we now do not go to the X server in order to
5616 get the list of window children. Apparently the effect is the
5617 same, we have to be careful and check if this breaks something in
5620 * src/hildon-pannable-area.c:
5621 (get_ordered_children): Removed this function.
5622 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5623 the children windows function with gdk_window_get_children.
5625 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5627 * src/hildon-pannable-area.c:
5628 (hildon_pannable_area_dispose): Fixed a crash when closing the
5629 window and kinetics is activated.
5631 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-pannable-area.h
5634 * src/hildon-pannable-area.c
5635 Changed indentation style to meet the one used in Hildon
5637 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5639 Reviewed the interaction of the AUTO mode, now we use the time
5640 attribute of the events and calculate the velocity in the motion,
5641 doing a gimp like calculation. The velocity is calculated in each
5642 motion event using the last velocity and the current one, the
5643 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5645 * src/hildon-pannable-area.c: Replaced the time based algorithm
5647 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5648 timeout for the AUTO mode when we are still moving the cursor. We
5649 added also the velocity calculation in this function.
5650 (hildon_pannable_area_button_release_cb): launch the timeout in
5651 case we are in AUTO mode. There are still some constants here that
5652 come from the old implementation that should be reviewed and
5655 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5657 * doc/hildon-docs.sgml
5660 * src/hildon-stackable-window.c
5661 * src/hildon-stackable-window.h
5663 New HildonStackableWindow widget
5665 * examples/hildon-dialog-example.c
5666 * examples/hildon-pannable-area-example.c
5669 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5671 * src/hildon-dialog.c
5672 (hildon_dialog_new_with_buttons): New constructor.
5674 * examples/hildon-dialog-example.c
5675 (main): Update the example to use the new
5676 hildon_dialog_new_with_buttons().
5678 * examples/hildon-pannable-area-example.c
5679 (main): Update example.
5681 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5683 * doc/hildon-docs.sgml
5685 Added HildonPannableArea to the documentation.
5687 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5689 * doc/visual_index.xml
5690 Fix reference to HildonLoginDialog in documentation
5692 * doc/hildon-docs.sgml
5694 * examples/Makefile.am
5695 * examples/hildon-dialog-example.c
5697 * src/hildon-dialog.c
5698 * src/hildon-dialog.h
5700 New HildonDialog widget.
5702 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-pannable-area.c
5705 Merge latest changes (r4318, r4342) from libmokoui trunk
5707 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5709 * examples/Makefile.am
5710 * examples/hildon-pannable-area-example.c
5712 * src/hildon-pannable-area.c
5713 * src/hildon-pannable-area.h
5715 New HildonPannableArea widget.
5717 2008-04-15 18:05:19 <timj@imendio.com>
5719 * src/hildon-banner.c: revert the recent change, that introduced
5720 gtk_window_present() calls. this reopens:
5721 Bug 78481 - [freetest] information banners are hidden under browser menu
5722 But resolves another variant of:
5723 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5725 2008-04-15 13:21:13 <timj@imendio.com>
5727 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5728 recreated its layout, spotted by Kris. this fixes all remaining
5729 artefacts and stability issues with the banner code. in particular:
5730 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5732 2008-04-14 16:52:59 <timj@imendio.com>
5734 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5735 operating on unrealized widgets, fixes:
5736 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5738 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5740 2008-04-09 Kristian Rietveld <kris@imendio.com>
5742 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5743 makes banner disappear.
5744 Fixes: NB#79182: info banner flickering with certain message lengts.
5746 * src/hildon-banner.c (hildon_banner_constructor),
5747 (hildon_banner_init), (hildon_banner_set_text),
5748 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5749 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5750 FALSE, reset size requests of label and banner,
5751 (force_to_wrap_truncated): when the text is too wide, always enforce
5752 the maximum possible width instead of recalculating it from the
5753 layout; enforce the maximum banner height of 3 lines,
5754 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5755 nicer wrapping and no truncated chars if space gets tight.
5757 * src/hildon-banner-private.h: add has_been_wrapped and
5758 has_been_truncated fields.
5760 2008-04-07 Sven Herzberg <sven@imendio.com>
5762 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5763 local values in hildon_date_editor_size_allocate
5765 * src/hildon-date-editor.c: moved the real allocation code into the
5768 2008-04-07 Sven Herzberg <sven@imendio.com>
5770 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5771 local values in hildon_date_editor_size_allocate
5773 * src/hildon-date-editor.c: merged the two if() branches together
5775 2008-04-07 Sven Herzberg <sven@imendio.com>
5777 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5778 local values in hildon_date_editor_size_allocate
5780 * src/hildon-date-editor.c: changed the arguments of the if()
5783 2008-04-07 Sven Herzberg <sven@imendio.com>
5785 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5786 local values in hildon_date_editor_size_allocate
5788 * src/hildon-date-editor.c: split the calculation of the allocation
5789 from the real allocation
5791 2008-03-27 Michael Natterer <mitch@imendio.com>
5793 Fixes: NB#81696: The passcode is not overwritten even after
5796 * src/hildon-code-dialog.c
5797 (hildon_code_dialog_button_clicked)
5798 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5799 because that doesn't overwrite selected text. Instead, emit the
5800 "commit" signal on the entry's im_context so the entry's normal
5801 insert logic is triggered. Set the cursor to the end of the entry
5802 after each insert operation so that we *only* insert in the middle
5803 of the text if something was selected.
5805 2008-03-27 Michael Natterer <mitch@imendio.com>
5807 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5808 selector cannot be opened
5810 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5811 when the popup color selector is created. Please connect to this
5812 signal in order to set the dialog's help ID.
5814 2008-03-25 Sven Herzberg <sven@imendio.com>
5816 Fixes: MB#1212: Hide info banners (infoprints) on click
5818 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5819 extracted the close event simulation into an extra function
5820 (hildon_banner_button_press_event): simulate a close event and destroy
5821 the widget if the event wasn't handled
5822 (hildon_banner_class_init): added the button_press_event handler
5823 (hildon_banner_init): added button-press events to the widget
5825 2008-03-25 Sven Herzberg <sven@imendio.com>
5827 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5828 Patch from: Mohammad Anwari <mdamt@maemo.org>
5830 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5831 instead of the right in RTL mode
5832 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5833 breadcrumb button list in RTL mode
5834 * src/hildon-caption.c: mirror the appearance of the caption widget in
5836 * src/hildon-date-editor.c: mirror appearance of the date editor in
5838 * src/hildon-time-editor.c: mirror appearance of the time editor in
5840 * src/hildon-window.c: fix the position of the popup in RTL mode
5842 2008-03-25 Sven Herzberg <sven@imendio.com>
5844 Amendment to the fix of NB#22072. Fix compilation.
5846 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5848 2008-03-19 Sven Herzberg <sven@imendio.com>
5850 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5853 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5854 timeout id properly when the timeout will disappear this leaves no
5855 artifacts around in the destroy(); there will only be the timeout
5856 created by hildon_banner_ensure_timeout() and adding a new timeout
5857 will also work if the timeout gets removed because the timeout_handler
5860 2008-03-19 Michael Natterer <mitch@imendio.com>
5862 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5864 * src/hildon-volumebar.c
5865 * src/hildon-vvolumebar.c
5866 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5867 the widget becomes focussable at all.
5869 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5870 set the focus to wither the mute button or the volumebar.
5872 Remove own "can-focus" property and instead listen to
5873 notify::can-focus in order to update the widget's state.
5875 Implement GtkWidget::focus() and make sure we can also *leave* the
5876 widget, not only enter it, depending on volumebar orientation and
5877 requested focus direction.
5879 Clean up set_mute() to cooperate nicely with all the above.
5881 2008-03-04 Michael Natterer <mitch@imendio.com>
5883 Fixes: NB#78481: information banners are hidden under browser menu
5885 * src/hildon-banner.c: call gtk_window_present() on the banners so
5886 they are risen if they are already visible.
5888 2008-03-03 Sven Herzberg <sven@imendio.com>
5890 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5892 * examples/hildon-window-menu-example.c: (main): extended the window
5893 menu example to serve as a testcase for automatically added
5894 accelerator groups, too
5895 * src/hildon-window.c: (hildon_window_add_accel_group),
5896 (hildon_window_set_menu): added patch by Tommi Komulainen
5898 2008-03-03 Sven Herzberg <sven@imendio.com>
5900 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5902 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5903 knowledge about the border allocators used within GTK+
5905 2008-02-26 Sven Herzberg <sven@imendio.com>
5907 Fixes: MB#2981: Build with asserts broken
5909 * src/hildon-date-editor.c,
5910 * src/hildon-number-editor.c,
5911 * src/hildon-time-editor.c,
5912 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5913 the proper GType instance check
5915 2008-02-25 Sven Herzberg <sven@imendio.com>
5917 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5919 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5920 * examples/hildon-window-menu-example.c: (main): explicitly show
5922 * src/hildon-window.c:
5923 (hildon_window_set_main_menu): moved most of the code from set_menu()
5924 to this place; skipped the call to gtk_widget_show_all(); also didn't
5925 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5926 (hildon_window_set_menu): removed most of the code, just keep the
5927 questionable gtk_widget_show_all()
5928 * src/hildon-window.h: added the new function and deprecate the old
5931 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5937 * debian/changelog: Updating.
5939 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5942 * pkgconfig/Makefile.am:
5943 * pkgconfig/hildon.pc.in:
5946 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5947 use newly created API_MAJOR_VERSION.
5949 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5955 * debian/changelog: Updating.
5957 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5959 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5961 Add outer_border style property, we use it but don't define it (!).
5965 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5967 * examples/hildon-bread-crumb-trail-example.c (main):
5971 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5973 Fix logic for the bread crumb trail node removal.
5977 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5983 * debian/changelog: Updating.
5985 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5987 Patch by Alejandro to get/set passwords dialogs accesibility.
5989 * hildon-1/src/hildon-get-password-dialog.c:
5990 * hildon-1/src/hildon-set-password-dialog.c:
5991 Set atk_set_name to the passwd entries in order to allow
5992 accessibility by name on this entries.
5994 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5999 * debian/control: Updating gtk dep.
6001 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6003 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6004 USE_MAEMO_GTK is enabled.
6006 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6008 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6009 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6011 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6017 * debian/changelog: Updating.
6019 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6021 * examples/Makefile.am:
6022 * examples/hildon-logical-color-example.c:
6023 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6024 applied + adding a test case. Fixes: NB#71660.
6026 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6028 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6029 to be visible, fixes warning on map for windows without toolbars.
6031 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6033 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6034 2.11.0, add a check for that besides the MAEMO_GTK check.
6036 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6042 * debian/changelog: Updating.
6044 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6046 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6047 visibility. Fixes: NB#70842 and MB#615.
6049 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6051 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6052 set the separator as no-show-all so it doesn't unintentionally appear when
6053 someone does a show_all.
6055 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6057 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6058 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6059 toplevel item. Fixes: NB#62031
6061 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6063 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6064 fix the name of the function in the docs.
6066 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6072 * debian/changelog: Updating.
6074 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6076 * examples/hildon-banner-long-example.c: Adding a test-case for long
6079 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6081 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6083 * src/hildon-color-chooser-dialog.c:
6084 * src/hildon-color-chooser.c:
6085 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6086 memory leaks in font selector and color selector. Fixes: NB#70499 and
6089 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6091 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6093 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6095 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6096 little bit bigger. Fixes: #NB63694.
6098 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6104 * debian/changelog: Updating.
6106 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6109 * doc/hildon-docs.sgml:
6110 * doc/images/bread-crumb-trail.png:
6111 * doc/images/calendar-popup.png:
6112 * doc/images/caption.png:
6113 * doc/images/code-dialog.png:
6114 * doc/images/color-button.png:
6115 * doc/images/color-chooser-dialog.png:
6116 * doc/images/color-chooser.png:
6117 * doc/images/controlbar.png:
6118 * doc/images/date-editor.png:
6119 * doc/images/font-selection-dialog.png:
6120 * doc/images/get-password-dialog.png:
6121 * doc/images/hvolumebar.png:
6122 * doc/images/login-dialog.png:
6123 * doc/images/note.png:
6124 * doc/images/number-editor.png:
6125 * doc/images/range-editor.png:
6126 * doc/images/seekbar.png:
6127 * doc/images/set-password-dialog.png:
6128 * doc/images/sort-dialog.png:
6129 * doc/images/time-editor.png:
6130 * doc/images/time-picker.png:
6131 * doc/images/vvolumebar.png:
6132 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6133 Adding the bread-crumb-trial and helpers to the documentation.
6135 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6137 * examples/hildon-find-toolbar-example.c:
6138 * src/hildon-find-toolbar.c:
6139 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6140 actually continue firing the other handlers if connected. Adding a new
6142 hildon_find_toolbar_get_last_index that gets the index of the most
6143 recently added (last) item. Fixes: NB#52301.
6145 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6147 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6148 behaviour. Fixes: NB#68610.
6150 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6152 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6155 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6157 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6158 when realizing the banner. Should make the infonbanner effect a bit more
6161 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6163 * src/hildon-volumebar.c:
6164 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6165 hildon_volumebar_set_range_insensitive_message and
6166 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6168 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6170 * src/hildon-window.c: Fixing the border freeing on destroy.
6172 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6174 * src/hildon-code-dialog-private.h:
6175 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6176 kw keyboard support in HildonCodeDialog.
6178 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6184 * debian/changelog: Updating.
6186 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6188 * src/hildon-date-editor.c:
6189 * src/hildon-number-editor.c:
6190 * src/hildon-private.c:
6191 * src/hildon-private.h:
6192 * src/hildon-time-editor.c:
6193 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6194 handling in subclassed composite widgets. Fixes: NB#66628.
6196 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6198 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6199 from destroy_ callback as it introduces problems in async dbus signal
6200 handlers. Fixes NB#66673.
6202 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6204 * examples/hildon-hvolumebar-example.c:
6205 * src/hildon-volumebar.c: Improving the focus handling in the
6206 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6207 set_property accessor so that "mute" property can be actually set. I'm
6208 scared that nobody noticed it's totally broken.
6210 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6212 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6215 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6217 * src/hildon-calendar.c:
6218 * src/hildon-number-editor.c:
6219 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6220 matches the spec of 6 chars per second. Fixes: NB#60489.
6222 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6224 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6225 gtk_style_lookup_color sometime returns FALSE even though color was
6226 found and values were filled properly. Weird. Removing the warning for the
6229 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6231 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6232 expand vertically. Adding some extra space to the find toolbar buttons to
6233 make them thumbable. Fixes NB#66060.
6235 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6237 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6238 popup with "Ok" and "Cancel". Fixes NB#59299.
6240 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6242 * src/hildon-calendar.c: Process all window updates before executing next
6243 timeout. Fixes: NB#54146.
6245 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6251 * debian/changelog: Updating.
6253 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6255 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6256 the client event and ignore it, since we use the delete event to close
6259 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6261 * src/hildon-helper.c: Remove the bogus warning about color not being
6262 found. Fixes NB#58352.
6264 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6266 * examples/Makefile.am:
6267 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6268 HildonSeekbar widget inside a toolbar.
6270 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6272 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6273 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6274 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6275 don't want to be closed by non-temporary windows on map.
6277 Also use G_DEFINE_TYPE instead of manually typed code.
6279 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6286 * debian/rules: Updating.
6288 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6290 * examples/Makefile.am:
6291 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6292 bug NB#61128. Strangely it works.
6294 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6296 * src/hildon-date-editor.c: When the date editor entry has been changed
6297 but the numbers of characters < max, turn off the skip validation flag.
6298 Prevents a situation when we enter first a valid year and later re-write
6299 it with an invalid one. Fixes NB#60154.
6301 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6303 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6304 code dialog. Fixes NB#64355.
6306 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6308 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6309 switching the page. Fixes NB#49374.
6311 * examples/Makefile.am:
6312 * examples/hildon-wizard-dialog-example.c: Adding an example for
6313 HildonWizardDialog that shows how to handle manual sensitivity setting on
6316 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6320 * src/hildon-version.h.in:
6321 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6323 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6325 * src/hildon-volumebar.c: Updating the docs.
6327 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6333 * debian/changelog: Updating.
6335 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6337 * src/hildon-find-toolbar.c:
6338 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6339 selected item: hildon_find_toolbar_set_active,
6340 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6341 hildon_find_toolbar_get_active_iter . They correspond to respective
6342 GtkComboBox functions.
6344 * examples/Makefile.am:
6345 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6348 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6350 * examples/Makefile.am:
6351 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6354 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6355 when font size > 32 and we pack a focusable widget inside. Actually using
6356 the default response would work too, but since we don't show default
6357 response state in any way (no theming) it would not be visible to the
6358 user. Fixes NB#63430.
6360 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6362 * src/hildon-date-editor.c: Adding the missing variable setter in the
6363 set_property handler. Fixes NB#54182.
6365 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6367 * src/hildon-window.h: Changing the long key press time from 1500ms to
6368 800ms as requested in NB#63700. I have a bad feeling about this, let's
6369 see... Fixes NB#63700.
6371 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6373 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6374 hildon_time_picker_map, hildon_time_picker_realize,
6375 hildon_time_picker_style_set): Split the contents of map to more
6376 appropriate functions; set window decorations on realize and update
6377 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6379 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6384 * debian/changelog: Updating.
6386 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6388 * src/Makefile.am: fixed installation of the header files
6390 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6396 * debian/changelog: Updating.
6398 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6400 * configure.ac: Removing some remaining of --enable-xan.
6402 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6404 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6405 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6407 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6408 2.10.12-osso6 because the move-focus signal needs to be available in
6411 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6413 * examples/Makefile.am:
6414 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6415 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6416 fine. Prolly NB#61128 is fixed now.
6418 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6420 * src/hildon-volumebar.c:
6421 * src/hildon-volumebar.h: Adding the
6422 hildon_volumebar_set_range_insensitive_message and
6423 hildon_volumebar_set_range_insensitive_messagef functions to set
6424 insensitive message on the slider of the volumebar. Fixes NB#61129.
6426 * examples/Makefile.am:
6427 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6428 test the new insensitive messsage functionality on HildonVolumebar.
6430 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6432 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6435 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6437 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6438 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6439 button on after clearing the trail.
6441 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6443 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6445 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6447 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6448 by splitting the installed headers in generated and non-generated groups. Use
6449 only the non-generated headers to create the hildon-enum-types.h file.
6451 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6453 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6455 * src/hildon-window.c: Hide the window before performing the destroy.
6456 Should make the app closing a little tiny bit more snappy.
6458 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6460 * src/hildon-seekbar.c: add gtkrange.h header
6461 * src/hildon-caption.c: remove unused variable
6463 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6465 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6468 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6474 * debian/changelog: Updating.
6476 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6478 * src/hildon-window.c (hildon_window_window_state_event,
6479 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6480 escape timeout on focus-out-event rather than notify::is-topmost; the
6481 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6483 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6485 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6486 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6488 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6490 * src/hildon-window: actually, you need to use the macro always, there's
6491 no private pointer in the instance structure. We should have cleaned this up
6492 when we had the chance...
6494 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6496 * src/hildon-window.c: do not get the private date from HildonWindow before
6497 it passes the g_return_if_fail check. Once it's passed the test, there's no
6498 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6499 if you are only going to access the data once. Whitespace cleanups.
6501 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6503 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6504 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6506 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6512 * debian/changelog: Updating.
6514 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6516 * src/hildon-window.c: When destroying the window, remove (if exists) the
6517 escape timeout handler. Fixes #NB59276.
6519 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6521 * src/hildon-banner.c: When realizing the widget, set the window
6522 transiency. Setting the transiency in the gobject constructor is not
6523 good, as the widget is not realized at that point. Fixes: #NB56624.
6525 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6527 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6528 Add padding for future expansions.
6530 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6532 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6533 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6534 will fake an activation on the previous to the last item of the trail, so
6535 the effect can be overrided by the developer as usual.
6536 Also change the callback for the back button to do the same thing, so its
6537 effect can be overrided too. Fixes: NB#58982
6539 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6541 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6542 HildonCaption. Fixes NB#52379.
6544 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6546 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6547 the internal state of the trail after the user has had the chance of executing
6548 his handler for the signal. Specifically, it may happen that the activated button
6549 is removed and the user still lets the default handler run. This would segfault
6552 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6554 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6555 scrollbar to the preview dialog. Fixes NB#54147.
6557 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6559 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6560 max/min year properties can be altered, so the client can modify it
6561 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6563 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6565 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6566 hildonlike by default. Fixing a problem with disappearing arrows when
6567 scrolling through months and years. Fixes NB#54127.
6569 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6571 * examples/hildon-date-editor-example.c: Adding error callback to the date
6574 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6580 * configure.ac: Updating.
6582 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6584 * configure.ac: Adding a special '--enable-xan' configure option that
6585 turns off the -Werror compilation setting. Usefull for development.
6587 * src/hildon-calendar.c:
6588 * src/hildon-number-editor.c:
6589 * src/hildon-time-picker.c: Adding the 5* multiplier to
6592 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6594 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6595 instead of g_object_ref + gtk_object_sink.
6597 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6603 * debian/changelog: Updating.
6605 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6607 * src/hildon-color-chooser-dialog.c:
6608 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6609 straight from Tommi labs.
6611 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6613 * examples/hildon-finger-example.c: Correcting the header file path.
6615 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6616 the changed signal. Fixes a small memory leak.
6618 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6622 * src/hildon-banner.c: Importing several usefull fixes from the
6623 ubuntu-mobile branch.
6625 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6627 * examples/Makefile.am:
6628 * examples/hildon-finger-example.c: Adding a finger-checking code
6631 * src/hildon-font-selection-dialog.c: Do not allocate the color
6632 structure using the g_new. Fixes NB#54061.
6634 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6636 * src/hildon-helper.c: Correcting tabs in file.
6638 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6640 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6641 control the visibility of the children.
6643 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6645 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6651 * debian/changelog: Updating.
6653 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6655 * src/hildon-bread-crumb-trail.c:
6656 (hildon_bread_crumb_trail_size_allocate):
6658 Make the back button always a square.
6660 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6662 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6663 from the .c file as it's a private file.
6665 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6667 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6668 uses slightly bigger height.
6670 * src/hildon-font-selection-dialog.c: Adding some checks before
6671 freeing memory in the font selection dialog.
6673 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6675 * src/hildon-font-selection-dialog.c: Adding a small check when
6678 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6679 buttons sensitivity on page switching.
6681 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6683 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6684 internal details of adding a bread crumb to the trail.
6686 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6692 * debian/changelog: Updating.
6694 * src/hildon-bread-crumb-trail.h:
6695 * src/hildon-bread-crumb.h: Changing the API guard to
6696 HILDON_ENABLE_UNSTABLE_API.
6698 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6706 * src/hildon-helper.h: Updating.
6708 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6716 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6720 * src/hildon-helper.h: Small fix to make the package actually compile.
6722 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6724 * src/hildon-bread-crumb-trail.h:
6725 * src/hildon-bread-crumb.h:
6727 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6728 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6730 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6732 * examples/hildon-bread-crumb-trail-example.c:
6734 * src/hildon-bread-crumb-trail.c:
6735 * src/hildon-bread-crumb-trail.h:
6736 * src/hildon-bread-crumb.c:
6737 * src/hildon-bread-crumb.h:
6738 * src/hildon-marshalers.list:
6739 * src/hildon-bread-crumb-widget.c:
6740 * src/hildon-bread-crumb-widget.h:
6742 Slight change in the widget design. The bread crumb trail API is
6743 unchanged, but HildonBreadCrumb is now an interface. A *private*
6744 implementation, hildon-bread-crumb-widget, is provided and used
6745 internally by the trail for the push_text/push_icon functions.
6747 The generic push API is still available, so anyone can implement
6748 and use its own bread crumb widget.
6750 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6752 * debian/rules: Fixing the shlibs.
6754 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6756 * src/hildon-banner.c: Fixing a problem with timed banners having
6757 their parrent destroyed before they are.
6759 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6761 * src/hildon-bread-crumb.c:
6762 * src/hildon-bread-crumb.h:
6764 Make the get_natural_size function a vfunc.
6766 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6768 * src/hildon-bread-crumb.c:
6769 * src/hildon-bread-crumb-trail.c:
6773 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6780 * debian/changelog: Updating for release.
6782 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6784 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6785 don't leak the pango layout.
6787 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6790 * examples/hildon-bread-crumb-trail-example.c:
6794 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6796 * debian/changelog: Removing the bug-fixed entries that were actually
6797 resolved as WONTFIX.
6799 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6802 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6804 * src/hildon-bread-crumb-trail.c:
6805 * src/hildon-bread-crumb-trail.h:
6806 * src/hildon-bread-crumb.c:
6807 * src/hildon-bread-crumb.h:
6811 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6813 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6814 until it's passed the type check.
6816 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6818 * examples/hildon-bread-crumb-trail-example.c
6822 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6824 * examples/Makefile.am
6825 * examples/hildon-bread-crumb-trail-example.c
6827 * src/hildon-bread-crumb-trail.c
6828 * src/hildon-bread-crumb-trail.h
6829 * src/hildon-bread-crumb.c
6830 * src/hildon-bread-crumb.h
6832 New HildonBreadCrumbTrail widget.
6834 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6836 * src/hildon-range-editor.c (hildon_range_editor_init),
6837 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6838 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6839 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6840 hildon_time_editor_class_init, hildon_time_editor_init),
6841 src/hildon-get-password-dialog.c (invalid_input,
6842 hildon_get_password_set_property, hildon_get_password_get_property,
6843 create_contents, hildon_get_password_dialog_set_max_characters),
6844 src/hildon-set-password-dialog.c (create_contents),
6845 src/hildon-date-editor.c (hildon_date_editor_init),
6846 src/hildon-login-dialog.c (hildon_login_dialog_init),
6847 src/hildon-number-editor.c (hildon_number_editor_init),
6848 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6849 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6850 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6851 configure option and adding the respective checks in the code.
6852 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6853 hildon_calendar_drag_data_received): fixed some build warnings.
6855 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6857 * debian/changelog: A 1.0.0 release notes.