1 2009-03-02 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-app-menu.c (hildon_app_menu_popup):
6 2009-03-02 Alberto Garcia <agarcia@igalia.com>
9 * src/hildon-window.c (+hildon_window_get_main_menu)
10 (hildon_window_get_menu): Created hildon_window_get_main_menu()
11 and deprecated hildon_window_get_menu().
13 * src/hildon-stackable-window.h
14 * src/hildon-stackable-window.c
15 (+hildon_stackable_window_set_app_menu)
16 (+hildon_stackable_window_get_app_menu)
17 (hildon_stackable_window_set_main_menu): Created
18 hildon_stackable_window_{get,set}_app_menu() and deprecated
19 hildon_stackable_window_set_main_menu().
21 * doc/hildon-sections.txt
22 * examples/hildon-app-menu-example.c (main)
23 * src/hildon-app-menu.c
24 * src/hildon-program.c:
25 Updated examples and documentation.
27 Fixes: NB#103758 (No way to obtain a menu from a
28 HildonStackableWindow)
30 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
35 * configure.ac: Bump version.
36 * debian/changelog: Updates.
38 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
40 * examples/hildon-remote-texture-example.c: Include
41 hildon-remote-texture.h explicitely.
42 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
43 applications not defining _XOPEN_SOURCE which don't require this header.
45 2009-02-27 Alberto Garcia <agarcia@igalia.com>
47 * doc/hildon-sections.txt
48 * src/hildon-app-menu.h
49 * src/hildon-app-menu.c (+hildon_app_menu_popup):
50 New function to pop up a HildonAppMenu
52 * src/hildon-stackable-window.c
53 (hildon_stackable_window_toggle_menu):
54 Use hildon_app_menu_popup() to show the menu.
56 2009-02-27 Alberto Garcia <agarcia@igalia.com>
58 * src/hildon-app-menu.c (hildon_app_menu_show)
59 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
60 menu if there's another window between it and its parent window.
62 Fixes: NB#100468 (Application menu window is launched even when a
63 new secondary-window/dialog is pending to be shown/realized)
65 2009-02-27 Alberto Garcia <agarcia@igalia.com>
67 * src/hildon-window-stack.c (hildon_window_stack_push)
68 (hildon_window_stack_pop_and_push):
69 Don't forget to push/pop the first window.
70 Reverse the window list before calling _push_list()
72 2009-02-27 Alberto Garcia <agarcia@igalia.com>
74 * src/hildon-picker-button.h
75 * src/hildon-picker-button.c (hildon_picker_button_class_init):
76 Remove "value_changed" slot to avoid ABI breakage
78 2009-02-26 Alejandro G. Castro <alex@igalia.com>
80 * src/hildon-pannable-area.c,
81 (hildon_pannable_area_realize),
82 (hildon_pannable_area_unrealize),
83 (hildon_pannable_draw_vscroll),
84 (hildon_pannable_draw_hscroll): Changed the method to handle the
85 GC used to draw the transparent scrollbar, this way we avoid
86 creating the GC all the time when drawing the scrollbars.
88 2009-02-26 Alejandro G. Castro <alex@igalia.com>
90 * src/hildon-pannable-area.c,
91 (hildon_pannable_area_init),
92 (hildon_pannable_area_remove): Removed some unnecessary casts.
93 (hildon_pannable_area_dispose): Disconnected some signals before
94 releasing the adjustments.
96 2009-02-26 Alberto Garcia <agarcia@igalia.com>
98 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
99 Make sure that all widgets contained in the toolbar are shown.
101 2009-02-25 Alberto Garcia <agarcia@igalia.com>
103 * doc/hildon-sections.txt
104 * src/hildon-picker-button.h
105 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
106 (_selection_changed, hildon_picker_button_on_dialog_response)
107 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
108 New hildon_picker_button_value_changed() method.
111 * src/hildon-picker-button-private.h
112 * src/hildon-picker-button.c (hildon_picker_button_init)
113 (+hildon_picker_button_disable_value_changed): Add protected
114 function for disabling the "value-changed" signal.
116 * src/hildon-date-button.c (hildon_date_button_set_date):
117 Don't emit "value-changed" for each one of the three columns.
119 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
120 before actual change of values)
122 2009-02-24 Alejandro G. Castro <alex@igalia.com>
124 * src/hildon-pannable-area.c,
125 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
126 for the treeview overshooting.
128 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
130 * src/hildon-banner.c (+hildon_banner_bind_style):
131 Renamed from hildon_banner_bind_label_style(), now naming the
132 banner itself as well.
133 (hildon_banner_show_information),
134 (hildon_banner_show_information_with_markup),
135 (hildon_banner_show_animation), (hildon_banner_show_progress):
136 Name the widgets and labels, based on their type.
138 See NB#98597 (Hildon Note and Hildon Banner should use themeable
141 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
143 * src/hildon-note.c (hildon_note_set_property): call
144 hildon_note_rename() on HildonNote:note-type set.
145 (hildon_note_rename): Name the note and its label, based on the
146 HildonNote:note-type property.
148 See NB#98597 (Hildon Note and Hildon Banner should use themeable
151 2009-02-24 Alejandro G. Castro <alex@igalia.com>
153 * src/hildon-pannable-area.c,
154 (hildon_pannable_area_class_init),
155 (hildon_pannable_area_motion_notify_cb): Reviewed the default
156 panning parameters, increased SPS and deceleration factor. Added
157 also a margin to control fake directions.
159 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
161 Patch by Sven Herzberg (sven@imendio.com)
163 * configure.ac: Add missing AM_PROG_CC_C_0
164 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
166 See NB#101420 (Update unit tests and fix make check)
168 2009-02-23 Alejandro G. Castro <alex@igalia.com>
170 This patch was applied before but reverted because it caused
171 problems, we have changed the main condition and tested the
172 regressions we detected before and they work ok. We have done a
173 complete review of the topmost algorithm in order to get a more
176 * src/hildon-pannable-area.c,
177 (hildon_pannable_area_get_topmost): Added a new parameter to
178 filter the the windows that do not include those events.
179 (hildon_pannable_area_button_press_cb),
180 (hildon_pannable_area_button_release_cb),
181 (hildon_pannable_get_child_widget_at): Reviewed the call the the
182 topmost function, we have added the new parameter.
184 Fixes: NB#97458 (Pannable area prevents propagation of button
187 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
189 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
190 if all columns in the selector have an item selected.
191 (_on_dialog_response): Stop "response" signal emission if there is
192 any selector column without selected items.
194 Fixes: NB#101889 (Picker dialog should not close when nothing is
195 selected in multiple selection list)
197 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
199 * src/hildon-font-selection-dialog.c
200 (hildon_font_selection_dialog_class_init),
201 (hildon_font_selection_dialog_init): Remove the preview
202 button and dialog, since previewing with default theming is likely
203 to be overcomplicated. The :preview property has now no effect.
204 Update documentation blurbs to inform about this.
206 Fixes: NB#92297 (Preview content is not clearly visible for
209 2009-02-20 Alejandro G. Castro <alex@igalia.com>
211 Reviewed the geometry that handles the children size and
212 scrollbar, now it tries a size and reviews the results depending
213 on the scrollbars visibility.
215 * src/hildon-pannable-area.c,
216 (hildon_pannable_area_realize): Fixed a typo.
217 (hildon_pannable_area_child_allocate_calculate): Added this
218 function to calculate the child allocation.
219 (hildon_pannable_area_size_allocate): Reviewed the allocation
221 (hildon_pannable_area_check_scrollbars),
222 (hildon_pannable_area_refresh): Refactored refresh function, this
223 way we can call the code handling the scrollbars without causing a
224 size_request, it is interesting in the allocate.
225 (hildon_pannable_area_init): Replace the callbacks of the
226 value_changed and changed signals to propertly deal with the
228 (hildon_pannable_area_grab_notify),
229 (hildon_pannable_area_initial_effect),
230 (hildon_pannable_area_launch_fade_timeout),
231 (hildon_pannable_area_adjust_changed),
232 (hildon_pannable_area_adjust_value_changed),
233 (hildon_pannable_area_redraw),
234 (hildon_pannable_area_button_press_cb),
235 (hildon_pannable_area_button_release_cb),
236 (hildon_pannable_area_scroll_cb),
237 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
238 code and use the new functions adjust_changed and
239 adjust_value_changed.
241 Fixes: NB#101603 (Focus is not even for the text entry boxes in
242 Contact editor dialog)
244 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: Bump version.
250 * debian/changelog: Updates.
252 2009-02-20 Alejandro G. Castro <alex@igalia.com>
254 * src/hildon-pannable-area.c,
255 (hildon_pannable_area_get_topmost),
256 (hildon_pannable_area_button_press_cb),
257 (hildon_pannable_area_button_release_cb),
258 (hildon_pannable_get_child_widget_at): Reverted the patch for the
259 topmost function adding the event mask. We have to try a
260 differente approach because it is still causing problems (NB#9745,
263 2009-02-19 Alberto Garcia <agarcia@igalia.com>
265 * src/hildon-banner.c:
266 Update the maximum width of timed banners.
267 (force_to_wrap_truncated): Enforce the maximum text width if the
270 Fixes: NB#102413 (The text margins (wrapping) in information
271 banner should be HILDON_MARGIN_TRIPLE)
273 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
275 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
277 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
278 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
279 bound when calculating the scroll indicator position.
281 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
282 treat ->lower correctly)
284 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
286 * src/hildon-caption.c (hildon_caption_class_init): Remove the
287 expose event handling, since it is not necessary to draw the focus
290 Fixes: NB#102467 (Do not show highlight on the text in
293 2009-02-18 Alberto Garcia <agarcia@igalia.com>
295 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
296 full height of the toolbar for the button and the label.
298 2009-02-18 Alberto Garcia <agarcia@igalia.com>
300 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
301 padding before the label and after the button.
303 2009-02-18 Alberto Garcia <agarcia@igalia.com>
305 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
307 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
308 Add a GtkVSeparator between the button and the back arrow.
309 Let the button have automatic size.
310 Set a name to the widget for theming handling.
312 Fixes: NB#101793 (Make edit toolbar the same height as window
313 title bar (use title area theming))
315 2009-02-18 Alberto Garcia <agarcia@igalia.com>
317 * src/hildon-helper.c (attach_new_color_element): Fix memory
320 Fixes: NB#102262 (memory leak in hildon_button_set_style())
322 2009-02-18 Alberto Garcia <agarcia@igalia.com>
324 * examples/hildon-button-example.c (common_buttons_window): Don't
327 2009-02-18 Alberto Garcia <agarcia@igalia.com>
329 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
330 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
332 2009-02-18 Alberto Garcia <agarcia@igalia.com>
334 * src/hildon-gtk.c: Check that the window is realized.
336 Fixes: NB#102225 (Crash setting the progress indicator to a non
339 2009-02-17 Alberto Garcia <agarcia@igalia.com>
341 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
342 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
343 instead of modifying the one in the widget style.
345 Fixes: NB#101043 (Second row of all the command button are
346 displayed in transparent mode.)
348 2009-02-17 Alberto Garcia <agarcia@igalia.com>
350 * src/hildon-date-button.c
351 * src/hildon-time-button.c: Add gettext macros
353 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
355 * src/hildon-date-button.c (hildon_date_button_new):
356 * src/hildon-time-button.c (hildon_time_button_new_step):
357 Use new logical strings to set the button default title.
359 Fixes: NB#99915 (Date and Time options are not localised in Date
362 2009-02-16 Alejandro G. Castro <alex@igalia.com>
364 * src/hildon-pannable-area.c
365 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
366 the PANNING_THRESHOLD.
368 2009-02-16 Alejandro G. Castro <alex@igalia.com>
370 * src/hildon-pannable-area.c,
371 (hildon_pannable_area_class_init): Increased the maximum speed.
372 (hildon_pannable_area_get_property),
373 (hildon_pannable_area_set_property),
374 (hildon_pannable_area_timeout): Added a new low friction mode, it
375 allows the user avoid friction when launching the widget fast
376 enough. It is interesting to traverse long lists.
378 2009-02-16 Alberto Garcia <agarcia@igalia.com>
380 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
381 (+hildon_stackable_window_delete_event): Ignore delete events if
382 the window is not the topmost one.
384 Fixes: NB#101698 (Back button long press and delete-event handling)
386 2009-02-16 Alejandro G. Castro <alex@igalia.com>
388 * src/hildon-pannable-area.c,
389 (hildon_pannable_area_motion_notify_cb): Removed the use of the
390 gtk-dnd-drag-threshold, it was too big. We have defined our own
391 dnd define and set a smaller value: PANNIG_THRESHOLD.
393 2009-02-16 Alberto Garcia <agarcia@igalia.com>
395 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
396 user-defined icons, use always the default one.
398 Fixes: NB#101916 (Do not allow custom icons on animation banner)
400 2009-02-13 Alejandro G. Castro <alex@igalia.com>
402 This patch was applied before but reverted because it caused
403 problems, we have changed the main condition and tested the
404 regressions we detected before and they work ok.
406 * src/hildon-pannable-area.c,
407 (hildon_pannable_area_get_topmost): Added a new parameter to
408 filter the the windows that do not include those events. Added
409 also a condition when finding the window to filter windows that do
410 not ask for those events.
411 (hildon_pannable_area_button_press_cb),
412 (hildon_pannable_area_button_release_cb),
413 (hildon_pannable_get_child_widget_at): Reviewed the call the the
414 topmost function, we have added the new parameter.
416 Fixes: NB#97458 (Pannable area prevents propagation of button
419 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
421 * tests/check-hildon-color-button.c (START_TEST): do not leak
424 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
426 * src/hildon-font-selection-dialog.c
427 (hildon_font_selection_dialog_get_preview_text): Return NULL
428 instead of FALSE on the g_return_val_if_fail().
430 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
432 * src/hildon-time-selector.c (hildon_time_selector_set_time):
433 * src/hildon-date-selector.c
434 (hildon_date_selector_select_current_date):
435 Do not compare unsigned integers to be greater than or equal 0,
436 because it's always TRUE.
438 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
440 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
441 (hildon_date_selector_constructor): Do not select the current
442 date until we are handle the "changed" signal, to avoid having bogus
443 elements in the days model.
445 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
447 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
448 for num_days, since _month_days() can return a negative value.
450 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
452 * src/hildon-caption.c (hildon_caption_size_allocate):
453 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
454 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
456 Initialize allocation variables to 0, to avoid eventually using
457 unitialized variables.
459 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
461 * src/hildon-bread-crumb-trail.c
462 (hildon_bread_crumb_trail_size_allocate):
463 * src/hildon-calendar.c (hildon_calendar_set_background):
464 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
465 * src/hildon-range-editor.c (hildon_range_editor_get_range):
466 * src/hildon-seekbar.c (hildon_seekbar_init):
467 * src/hildon-time-editor.c (hildon_time_editor_get_time):
468 * src/hildon-time-selector.c (hildon_time_selector_finalize):
469 * src/hildon-touch-selector-entry.c
470 (hildon_touch_selector_get_text_from_model):
471 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
472 * src/hildon-window.c (hildon_window_finalize):
474 Remove many unused variables.
476 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
478 * src/hildon-seekbar.c: (hildon_seekbar_init),
479 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
481 Remove unnecessary g_assert() calls.
483 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
485 * src/hildon-caption.c: (hildon_caption_expose),
486 (hildon_caption_set_property), (hildon_caption_init),
487 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
488 (hildon_caption_size_request), (hildon_caption_size_allocate),
489 (hildon_caption_forall), (hildon_caption_set_separator),
490 (hildon_caption_activate), (hildon_caption_set_child_expand),
491 (hildon_caption_set_label_text),
492 (hildon_caption_get_label_alignment):
494 Remove unnecessary g_assert() calls.
496 2009-02-12 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-banner.c
499 (hildon_banner_map, hildon_banner_init): Make banner temporary
500 before mapping it to avoid closing other temporary windows, but
501 make it non-temporary afterwards to avoid being closed by other
502 non-temporary windows.
503 (-hildon_banner_client_event, hildon_banner_init):
504 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
506 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
509 2009-02-11 Alberto Garcia <agarcia@igalia.com>
511 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
514 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
516 * src/hildon-remote-texture.c
517 * src/hildon-remote-texture.h
518 * src/hildon-remote-texture-private.h
519 * examples/hildon-remote-texture-example.c:
520 Updates/fixes to remote-texture and its example.
522 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
524 Patch by Mox Soini (ext-mox.soini@nokia.com)
526 * src/hildon-code-dialog.c: Update logical id.
527 * src/hildon-set-password-dialog.c: Update logical id.
529 Fixes: NB#100646 (Logical strings is shown for ok in set
530 password,Password needed dialogs)
532 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
535 * src/hildon-remote-texture.c
536 * src/hildon-remote-texture.h
537 * src/hildon-remote-texture-private.h
539 Added remote texture widget (for Clutter shared memory textures)
541 * examples/hildon-remote-texture-example.c
542 * examples/Makefile.am
543 Added example file for remote texture usage
545 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
547 * configure.ac: post release version bump.
548 * debian/changelog: version bump.
550 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
555 * configure.ac: Bump version.
556 * debian/changelog: Updates.
558 2009-02-06 Alberto Garcia <agarcia@igalia.com>
560 * src/hildon-date-selector.c (hildon_date_selector_init)
561 (hildon_date_selector_constructor): Don't connect to the "changed"
562 signal until the selector is completely constructed.
564 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-touch-selector.c: (_create_new_column),
567 (hildon_touch_selector_append_column),
568 (hildon_touch_selector_set_column_selection_mode),
569 (hildon_touch_selector_set_active),
570 (hildon_touch_selector_select_iter):
571 Emit the HildonTouchSelector::changed signal every time selection
572 is changed in any of the methods above. This behavior was already
573 documented but not fully functional.
575 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
576 selection is programmatically changed)
578 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
580 * doc/hildon-sections.txt: Remove obsolete icon
581 sizes from here as well.
583 2009-02-05 Alberto Garcia <agarcia@igalia.com>
585 * examples/hildon-stackable-window-example.c (add_window): Remove
588 2009-02-05 Alberto Garcia <agarcia@igalia.com>
590 * src/hildon-app-menu.c
591 (hildon_app_menu_show): Check whether the parent window of a menu
592 is topmost before popping it up.
594 Fixes: NB#100468 (Application menu window is launched even when a
595 new secondary-window/dialog is pending to be shown/realized.)
597 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
599 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
602 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
604 Patch by Mox Soini (ext-mox.soini@nokia.com)
606 * src/hildon-banner.c: (hildon_banner_show_animation):
607 use stylus size instead of obsolete note size.
608 * src/hildon-defines.h: Update icon sizes.
610 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
612 * src/hildon-touch-selector-entry.c:
613 (hildon_touch_selector_entry_init): Disable unsupported
615 (hildon_touch_selector_entry_get_text_column): Emit a warning
616 if an unsupported input modes is used and explicitile state
617 these modes in the documentation.
619 Fixes: NB#99802 (Hildon touch selector entry not working properly
620 for some of the input modes)
622 2009-02-05 Alejandro G. Castro <alex@igalia.com>
624 * src/hildon-pannable-area.c,
625 (hildon_pannable_area_init): Added the changed signal handlers of
628 Fixes: NB#100320 (HildonPannableArea does not listen to
629 GtkAdjustment "change" signals)
631 2009-02-04 Alberto Garcia <agarcia@igalia.com>
633 * doc/hildon-sections.txt
634 * src/hildon-window-private.h
635 * src/hildon-window.h
636 * src/hildon-window.c (hildon_window_init)
637 (hildon_window_realize, hildon_window_unrealize)
638 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
639 (hildon_window_size_request, hildon_window_size_allocate)
640 (hildon_window_forall, hildon_window_show_all)
641 (hildon_window_destroy, +paint_edit_toolbar)
642 (+hildon_window_set_edit_toolbar):
643 New hildon_window_set_edit_toolbar() method, to add a
644 HildonEditToolbar to a window without having to pack it manually.
646 Reorganize hildon_window_size_allocate()
648 * src/hildon-edit-toolbar.c: Update documentation.
650 * examples/hildon-edit-toolbar-example.c (edit_window): Update
651 example to use the new API.
653 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
655 2009-02-04 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
658 Remove from stack before calling parent's hide.
660 2009-02-04 Alberto Garcia <agarcia@igalia.com>
662 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
663 window is removed from the middle of the stack, update the
664 transiency of the previous one.
666 Fixes: NB#100487 (HildonStackableWindow transiency becomes
669 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
671 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
672 block/unblock the signal handler if it's not actually being used.
673 Fixes some critical warnings.
675 2009-02-02 Alberto Garcia <agarcia@igalia.com>
677 Based on a patch by Iván Gómez (igomez@igalia.com)
679 * src/hildon-banner.c
683 * src/hildon-pannable-area.c
684 * src/hildon-picker-dialog.c
685 * src/hildon-wizard-dialog.h
686 * src/hildon-wizard-dialog.c: Documentation updates.
688 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
689 gtk_dialog_add_button() instead of hildon_dialog_add_button().
691 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
693 * configure.ac: post release version bump.
694 * debian/changelog: version bump.
696 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
701 * configure.ac: Bump version.
702 * debian/changelog: Updates.
704 2009-01-29 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
707 a stock icon nor change the relief of the back arrow.
709 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
712 2009-01-29 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-button.c (hildon_button_set_alignment): Use
715 priv->alignment if the button has no child yet.
717 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
719 * src/hildon-button.c: (hildon_button_init): Set the
720 button style during initialization to give it the proper
723 Fixes: NB#99713 (HildonButton value label color is wrong)
725 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
727 * src/hildon-touch-selector.c: Document
728 hildon_touch_selector_center_on_selected()
730 2009-01-28 Alberto Garcia <agarcia@igalia.com>
732 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
733 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
734 all menu items, but not the menu itself.
735 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
736 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
737 items after adding them to the menu so keyboard accelerators work.
738 (hildon_app_menu_show): Don't show the menu if it contains items
739 but none of them are visible.
741 * examples/hildon-app-menu-example.c (create_menu): Use
742 gtk_widget_show_all() to show all menu items.
744 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
746 * src/hildon-picker-dialog.c:
747 (-_update_title_on_selector_changed_cb),
748 (-_dialog_update_title): Removed.
749 (_select_on_selector_changed_cb), (_on_dialog_response),
750 (on_selector_columns_changed): Do not update the dialog title.
751 (setup_interaction_mode): Do not connect to
752 HildonTouchSelector::changed signal if there's a "done" button, as
753 the dialog title doesn't need to be updated.
755 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
758 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
760 Patch by Kristian Rietveld (kris@imendio.com)
762 * src/hildon-touch-selector.c: (_create_new_column): Use new
763 GtkTreeView::hildon-row-tapped signal to react to user interactions
764 instead of ::changed.
766 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
767 with some dynamic tree model)
769 2009-01-27 Alberto Garcia <agarcia@igalia.com>
771 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
772 (+screen_size_changed, +label_size_request)
773 (hildon_note_class_init): Make the Hildon information note have a
774 minimum height, and make its text hvae a maximum width.
776 Fixes: NB#98614 (Hildon information note (background) should have
777 minimum height and maximum text width)
779 2009-01-26 Alberto Garcia <agarcia@igalia.com>
781 * src/hildon-banner.h
782 * src/hildon-banner.c (hildon_banner_show_information)
783 (hildon_banner_show_informationf)
784 (hildon_banner_show_information_with_markup): Update documentation
785 to reflect that the icon_name parameter is not used anymore.
786 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
787 Remove all code from these functions and mark them as deprecated.
788 (hildon_banner_show_progress): Mark as deprecated.
790 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
792 2009-01-26 Alejandro G. Castro <alex@igalia.com>
794 * src/hildon-pannable-area.c,
795 (hildon_pannable_area_class_init),
797 (hildon_pannable_draw_vscroll),
798 (hildon_pannable_draw_hscroll),
799 (hildon_pannable_area_expose_event): Added a new way to render the
800 scrollbars of the pannable area avoiding using cairo at all. This
801 way we improve the performance of the pannable area rendering. The
802 cairo rendering procedure is still in the code, we can control
803 which one to use changing the value of the define
804 USE_CAIRO_SCROLLBARS.
806 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
808 * configure.ac: post release version bump.
809 * debian/changelog: version bump.
811 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
816 * configure.ac: Bump version.
817 * debian/changelog: Updates.
819 2009-01-23 Alberto Garcia <agarcia@igalia.com>
821 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
822 banners instead of destroying them when they receive a button
825 2009-01-23 Alejandro G. Castro <alex@igalia.com>
827 Reverted commit 34028, it was causing regressions, probably the
828 topmost condition is not correct, we have to check it in more
829 detail. We have reponed the bug: NB#97458 (Pannable area prevents
830 propagation of button press events)
832 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
834 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
835 that the selection is not empty before attempting to retrieve the
836 current ampm selection.
838 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
840 * src/hildon-picker-button.c:
841 (hildon_picker_button_on_dialog_response): Directly update the
842 button contents when required instead of calling _selection_changed.
844 2009-01-23 Alberto Garcia <agarcia@igalia.com>
846 * src/hildon-program.c (hildon_program_update_top_most): Update
847 'is-topmost' property also when wm_hints is not set.
849 Fixes: NB#98383 (is-topmost signal is not emitted when task
850 switcher is clicked.)
852 2009-01-23 Alejandro G. Castro <alex@igalia.com>
854 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
858 * src/hildon-animation-actor.c,
859 * src/hildon-animation-actor.h: Added the animation actor class,
860 this widget represents an animation actor for WM-assisted
861 animation effects in the Hildon framework.
863 2009-01-23 Alberto Garcia <agarcia@igalia.com>
865 * src/hildon-window-stack-private.h
866 * src/hildon-window-stack.c
867 * src/hildon-stackable-window.c (hildon_stackable_window_show):
868 Avoid calling gtk_widget_show() again indirectly from
869 hildon_stackable_window_show()
871 2009-01-23 Alberto Garcia <agarcia@igalia.com>
873 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
876 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
878 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
879 (hildon_time_selector_init): Move the construction of the hours and
880 ampm columns to the constructor to preserve the order the columns
883 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
885 * src/hildon-picker-dialog.c:
886 (hildon_picker_dialog_class_init): Connect a realize method.
887 (+hildon_picker_dialog_realize): Setup the interaction mode here
889 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
890 yet, do it during the realize instead.
891 (_on_dialog_response):
892 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
893 if the widget is not realized, to avoid the dialog response before it
896 Avoid premature responses in the HildonPickerDialog that can cause it
897 to be hidden before it's even shown.
899 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
901 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
902 (on_selector_columns_changed), (requires_done_button),
903 (+prepare_action_area), (setup_interaction_mode),
904 (_hildon_picker_dialog_set_selector):
906 Split the interaction mode setup into preparation of the
907 action area (prepare_action_area()) and the connection of
908 the signals in setup_interaction_mode() and update the code to
911 2009-01-22 Alejandro G. Castro <alex@igalia.com>
913 * src/hildon-pannable-area.c,
914 (hildon_pannable_area_class_init): Reduced the amount of scrolls
915 per second to 15, we will check if this is ok regarding
918 2009-01-22 Alejandro G. Castro <alex@igalia.com>
920 * src/hildon-pannable-area.c,
921 (hildon_pannable_axis_scroll): Avoid resize if we already have
922 reached overshoot_max.
924 2009-01-22 Alejandro G. Castro <alex@igalia.com>
926 * src/hildon-pannable-area.c,
927 (hildon_pannable_area_init),
928 (hildon_pannable_area_realize),
929 (hildon_pannable_area_size_allocate),
930 (hildon_pannable_area_map),
931 (hildon_pannable_area_unmap),
932 (hildon_pannable_draw_vscroll),
933 (hildon_pannable_draw_hscroll),
934 (hildon_pannable_area_expose_event),
935 (hildon_pannable_area_refresh): Added a new GdkWindow to the
936 pannable are to avoid the expose events go to the window and
937 redraw the window. We save this way that part of the stack and the
938 paint_boxes. We had to change the positions of the elements when
941 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
944 * src/hildon-color-chooser-dialog.c:
945 (hildon_color_chooser_dialog_init):
946 * src/hildon-font-selection-dialog.c:
947 (hildon_font_selection_dialog_init),
948 (hildon_font_selection_dialog_show_preview):
949 * src/hildon-get-password-dialog.c:
950 * src/hildon-login-dialog.c:
951 * src/hildon-set-password-dialog.c:
952 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
953 * src/hildon-time-picker.c: (hildon_time_picker_init):
955 Remove obsolete logical string IDs and update to the appropriate ones.
957 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
959 2009-01-21 Alberto Garcia <agarcia@igalia.com>
961 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
962 that happens if the window hasn't been realized yet.
964 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
965 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
967 2009-01-20 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-app-menu.c (hildon_app_menu_class_init)
970 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
973 Fixes: NB#98537 (Device hangs in account settings dialog)
975 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
977 * configure.ac: post release version bump.
978 * debian/changelog: version bump
980 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
985 * configure.ac: Bump version.
986 * debian/changelog: Updates.
988 2009-01-20 Alejandro G. Castro <alex@igalia.com>
990 Added a new function to the HildonTimeButton widget that allows to
991 change the step of the minutes in the selector associated with the
992 button: hildon_time_button_new_step
994 * src/hildon-time-button.c,
995 (hildon_time_button_init),
996 (hildon_time_button_new),
997 (hildon_time_button_new_step):
998 * src/hildon-time-button.h: Added the new function and refactored
1000 * examples/hildon-time-button-example.c,
1001 (main): We have replaced the function without parameters with the
1002 function with the steps set to 5
1004 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1006 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1008 * src/hildon-time-selector.c,
1009 (hildon_time_selector_class_init),
1010 (hildon_time_selector_constructor),
1011 (hildon_time_selector_get_property),
1012 (hildon_time_selector_set_property),
1013 (_create_minutes_model),
1014 (hildon_time_selector_new_step),
1015 (hildon_time_selector_set_time),
1016 * src/hildon-time-selector.h: Added a new property to the
1017 HildonTimeSelector (minutes-step), we use that property to control
1018 the steps between the minutes in the list of the selector. We have
1019 added a new function to the API to create a widget changing the
1020 step: hildon_time_selector_new_step.
1022 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1024 * src/hildon-time-selector.c,
1025 (hildon_time_selector_class_init),
1026 (hildon_time_selector_constructor),
1027 (hildon_time_selector_init): Overrided the construct function when
1028 creating the time selector object. We have moved the minutes model
1029 handling code from the init to the new construction function:
1030 hildon_time_selector_constructor.
1032 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1034 * examples/hildon-date-button-example.c: (main): Use the new
1035 hildon_date_button_new_with_year_range() method in the example.
1036 * src/hildon-date-button.c:
1037 (+hildon_date_button_new_with_year_range): New public method
1038 to conveniently create a HildonDateButton with a custom year range
1039 in its HildonDateSelector.
1040 * src/hildon-date-button.h: Add the new public method definition.
1042 Fixes: NB#97908 (Not possible to change the year range in
1043 HildonDateSelector/HildonDateButton)
1045 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1047 * src/hildon-date-selector.c:
1048 (+hildon_date_selector_set_property),
1049 (+hildon_date_selector_get_property),
1050 (hildon_date_selector_class_init): Install new properties "min-year"
1051 and "max-year" to define boundaries for the year column.
1052 (_create_year_model): Use the boundary properties to populate the model.
1053 (+hildon_date_selector_new_with_year_range): New public method to
1054 create a HildonDateSelector with a user defined year range.
1055 (hildon_date_selector_select_current_date): Use the new boundaries to
1056 calculate the iterator of current year.
1057 * src/hildon-date-selector.h: Add the new public method definition.
1059 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1062 Install a constructor method.
1063 (+hildon_date_selector_construct_ui): construct the widget.
1064 (+hildon_date_selector_constructor): new constructor.
1065 (+hildon_date_selector_init): move out widget construction code to
1066 the new constructor.
1068 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1070 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1071 that there's actually a month or year selected before obtaining them.
1072 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1073 of the HildonTouchSelector::changed signal, as it was emitted on every
1074 single item selection.
1076 Fix some warnings and possible crashers due to the selection restoring.
1078 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1080 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1081 the signal handlers only after creating the dialog instead of on every
1084 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-button.c (hildon_button_init)
1087 * src/hildon-check-button.c (hildon_check_button_init)
1088 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1089 focus when clicked by default.
1091 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1093 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1096 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1098 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1099 Alejandro G. Castro (alex@igalia.com)
1101 * src/hildon-picker-dialog.c:
1102 (hildon_picker_dialog_class_init): install new "center-on-show"
1104 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1105 (hildon_picker_dialog_set_property): add setter code for the new
1107 (hildon_picker_dialog_get_property): add getter code for the new
1109 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1110 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1113 Fixes: NB#92849 (Selected item is not always visible when
1114 HildonTouchSelector is shown)
1116 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1118 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1119 Alejandro G. Castro (alex@igalia.com)
1121 * src/hildon-touch-selector.c:
1122 (_create_new_column): Do not connect to the "realize" signal of the
1124 (hildon_touch_selector_append_column): center on the selected items
1125 when a new column is appended.
1126 (hildon_touch_selector_select_iter): Factor out the code to select a
1127 column to hildon_touch_selector_scroll_to().
1128 (+search_nearest_element): Method to retrieve the nearest selected
1129 element to the visible area of the pannable area in a column.
1130 (+on_realize_cb): scroll to the initially selected item.
1131 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1132 the pannable area is realized, otherwise delay this until it is.
1133 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1134 selected items of a given column.
1135 (+hildon_touch_selector_center_on_selected): Public method to center
1136 all columns on the nearest selected item.
1137 * src/hildon-touch-selector.h: Add definition for
1138 hildon_touch_selector_center_on_selected().
1140 Implement public API to ensure visibility of all selected items in
1141 a HildonTouchSelector.
1143 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1145 Fixed a problem in the fading when calling the scroll_to API, and
1146 improve scrollbar fading handling.
1148 * src/hildon-pannable-area.c,
1149 (hildon_pannable_area_grab_notify): avoid the timeout when the
1151 (hildon_pannable_area_button_press_cb),
1152 (hildon_pannable_area_motion_notify_cb): Code style changes.
1153 (hildon_pannable_area_button_release_cb): Review the conditions
1154 when releasing the mouse button to avoid unrequired fading
1156 (hildon_pannable_area_scroll_to): Do not calculate and set the
1157 velocity if the scroll is not required.
1159 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1162 Don't check whether the new selector is NULL: it cannot be.
1163 Hold a reference to the selector while doing the replacement.
1165 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1167 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1168 unnecessary size_request in a removed widget.
1170 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1172 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1173 an unnecessary reference tracking that was leaking.
1175 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1177 Added delayed motion notify event handling, this way we can
1178 discard redrawing if more than 25 events arrive per second.
1180 * src/hildon-pannable-area.c,
1181 (hildon_pannable_area_init): Initialized the new private atributes
1182 controlling this timeout
1183 (hildon_pannable_area_dispose): Remove the timeout that controls
1184 the motion notify events.
1185 (hildon_pannable_area_scroll): Added a condition to control the
1186 use of the acceleration.
1187 (hildon_pannable_area_motion_event_scroll_timeout),
1188 (hildon_pannable_area_motion_event_scroll): Added this two
1189 functions, they handle the motion notify events inside the
1191 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1192 to the scroll method with the new function.
1193 (hildon_pannable_area_button_release_cb): We have to remove the
1194 timeout handler and move to the last position if the last motion
1195 events were not handled.
1197 Fixes: NB#97028 (Pannable area updates on every motion event)
1199 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1201 * src/hildon-pannable-area.c,
1202 (hildon_pannable_area_get_topmost): Added a new parameter to
1203 filter the the windows that do not include those events. Added
1204 also a condition when finding the window to filter windows that do
1205 not ask for those events.
1206 (hildon_pannable_area_button_press_cb),
1207 (hildon_pannable_area_button_release_cb),
1208 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1209 topmost function, we have added the new parameter.
1211 Fixes: NB#97458 (Pannable area prevents propagation of button
1214 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1216 * src/hildon-pannable-area.c,
1217 (hildon_pannable_area_initial_effect): Added controls before
1218 launching the timeout and the idle functions.
1219 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1220 of the method, in some situations it can return with TRUE and 0 in
1222 (hildon_pannable_area_button_press_cb): We do not need to set
1223 DELAY for fading out here.
1225 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1227 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1229 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1230 post-cleaning if the selection is not NULL.
1232 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1235 all items before restoring the selection.
1237 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1239 * src/hildon-touch-selector.c:
1240 (+hildon_touch_selector_unselect_all):
1241 * src/hildon-touch-selector.h: New API to unselect all items in a
1242 column of the touch selector.
1244 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1246 * src/hildon-pannable-area.c,
1247 (hildon_pannable_area_redraw): Added a call to the refresh
1248 function inside the redraw because apparently in some cases the
1249 change in the adjustment does not imply a size allocate.
1251 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1252 despite the view not being scrollable)
1254 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1257 leak. Check for NULL before attempting to set the window title.
1259 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1261 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1262 whether to show or not the 'Done' button each time the dialog is
1263 shown, as it depends on the HildonTouchSelector selection mode.
1265 Fixes: NB#96226 (In multiple selection mode Done button is shown
1266 sometimes in listpicker)
1268 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1270 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1271 for the number of columns in the HildonTouchSelector more than once.
1273 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-touch-selector.c: Minor documentation fixes.
1277 * src/hildon-picker-dialog.c (+_dialog_update_title)
1278 (_select_on_selector_changed_cb)
1279 (_update_title_on_selector_changed_cb)
1280 (on_selector_columns_changed): Update dialog title when there's no
1281 'Done' button and also when the number of columns in the selector
1285 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1286 (+_selection_changed, hildon_picker_button_on_dialog_response)
1287 (hildon_picker_button_selector_selection_changed)
1288 (+hildon_picker_button_selector_columns_changed)
1289 (hildon_picker_button_set_selector): Update button value and emit
1290 'value-changed' when the number of columns in the selector
1294 Fixes: NB#96225 (Dialog titles are not shown according to the
1295 values selected in the list picker)
1297 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1299 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1300 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1301 New "arrow-width" and "arrow-height" style properties to set the
1302 size of the arrow button.
1303 Set name of arrow button ("hildon-edit-toolbar-arrow").
1305 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1306 graphics from theme)
1308 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-picker-button.c:
1311 (hildon_picker_button_selector_selection_changed): Use
1312 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1313 the dialog is present.
1315 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1316 the selection is accepted in the dialog)
1318 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1320 * src/hildon-color-chooser.h
1321 * src/hildon-color-chooser-dialog.h:
1322 Added G_BEGIN_DECLS and G_END_DECLS
1324 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1326 (_clean_current_selection): plug a leak in the list.
1328 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-picker-dialog.c:
1331 (+free_path_list): Method to free a GList of GtkTreePaths.
1332 (_clean_current_selection), (_save_current_selection),
1333 (_restore_current_selection): Save the current selection in
1334 as a list of lists, to support multiple selection properly.
1336 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1338 patch by Claudio Saavedra (csaavedra@igalia.com)
1340 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1341 Store the press position.
1342 (+hildon_text_view_button_release_event): If the release position is
1343 close enough to the press position, move the cursor here. Otherwise,
1345 (hildon_text_view_class_init): Override GtkTextView press, release, and
1346 motion event handlers, disabling this way text selection through
1347 pointer interaction, and allowing the container widget to handle the
1350 Fixes: NB#95828 (HildonTextView functionality)
1352 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1354 Based on a patch by Iván Gómez (igomez@igalia.com)
1356 * src/hildon-button.[ch]
1357 * src/hildon-calendar.c
1358 * src/hildon-check-button.c
1359 * src/hildon-date-editor.c
1360 * src/hildon-date-selector.c
1361 * src/hildon-picker-button.c
1362 * src/hildon-time-editor.c
1363 * src/hildon-time-selector.c
1364 * src/hildon-touch-selector.[ch]:
1365 Documentation updates
1367 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1369 * src/hildon-pannable-area.c,
1370 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1371 threshold, it was required due to X events handling.
1373 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1375 * src/hildon-pannable-area.c,
1376 (hildon_pannable_area_grab_notify),
1377 (hildon_pannable_area_initial_effect),
1378 (hildon_pannable_area_button_press_cb),
1379 (hildon_pannable_area_button_release_cb),
1380 (hildon_pannable_area_scroll_cb),
1381 (hildon_pannable_area_scroll_to): Review the timeout management of
1382 the scrollbar, the frecuency was incorrectly set.
1384 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1386 * src/hildon-picker-button.c:
1387 (+hildon_picker_button_on_dialog_response),
1388 (hildon_picker_button_clicked): Present the dialog instead of
1389 running it with gtk_dialog_run().
1391 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1394 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1396 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1397 (hildon_app_menu_finalize): When a window is hidden it doesn't
1398 emit notify::is-topmost, so make sure than the menu also
1399 disappears in that case.
1400 (parent_window_topmost_notify): Renamed from parent_window_hidden
1402 Fixes: NB#94460 (stackable window's menu is not closed when its
1405 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1407 * src/hildon-touch-selector-entry.c:
1408 (+hildon_touch_selector_entry_set_input_mode),
1409 (+hildon_touch_selector_entry_get_input_mode):
1410 * src/hildon-touch-selector-entry.h: New methods to access the input
1411 mode in the selector's entry.
1413 Fixes: NB#93410 (API required for setting IM mode in
1414 HildonTouchSelectorEntry)
1416 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1418 * configure.ac: post release version bump.
1419 * debian/changelog: version bump
1421 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1426 * configure.ac: Bump version.
1427 * debian/changelog: Updates.
1429 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1431 * src/hildon-touch-selector.c:
1432 (_hildon_touch_selector_has_multiple_selection): No need
1433 to initialize the variables here.
1435 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-note-private.h
1438 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1439 (hildon_note_finalize, hildon_note_rebuild): Close information
1440 notes when they receive a button press.
1442 Fixes: NB#89890 (Information notes does not get disappeared after
1445 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1447 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1448 mark from the wizard title, as it's not really necessary. Also,
1449 do not display the page title if not set.
1451 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1454 (parent_window_hidden): Use the window's "is-topmost" property to
1455 detect when to hide the menu.
1457 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1460 (hildon_app_menu_finalize): If the parent window of the menu is
1461 hidden, hide the menu too.
1463 Fixes: NB#94460 (stackable window's menu is not closed when its
1466 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1469 * debian/libhildon1-examples.install
1471 * examples/Makefile.am:
1472 Use dh_install to install all examples.
1473 Use DEB_SRCDIR instead of defining SOURCE_DIR
1475 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1477 * configure.ac: post release version bump.
1478 * debian/changelog: version bump
1480 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1485 * configure.ac: bump version
1486 * debian/changelog: updates
1487 * debian/control: bump gtk+ dependency
1489 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1491 patch by Christian Dywan (christian@imendio.com)
1493 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1494 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1496 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-check-button.c (hildon_check_button_init)
1499 (hildon_check_button_class_init, hildon_check_button_style_set)
1500 (hildon_check_button_apply_style):
1501 New "checkbox-size" style property.
1503 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1504 larger / configurable size)
1506 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1508 * configure.ac: post release version bump.
1509 * debian/changelog: version bump
1511 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1516 * configure.ac: bump version
1517 * debian/changelog: updates
1519 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1521 * doc/hildon-sections.txt
1522 * src/hildon-pannable-area.c
1523 * src/hildon-program.c
1524 * src/hildon-time-editor.c
1525 * src/hildon-touch-selector-entry.c:
1527 More documentation updates.
1529 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1531 * doc/hildon-sections.txt
1532 * src/hildon-caption.c
1533 * src/hildon-code-dialog.c
1534 * src/hildon-color-button.c
1535 * src/hildon-controlbar.c
1536 * src/hildon-date-editor.c
1537 * src/hildon-date-selector.c
1538 * src/hildon-edit-toolbar.c
1539 * src/hildon-find-toolbar.c
1540 * src/hildon-font-selection-dialog.c
1542 * src/hildon-program.c
1543 * src/hildon-range-editor.c
1544 * src/hildon-seekbar.c
1545 * src/hildon-time-editor.c
1546 * src/hildon-time-selector.c
1547 * src/hildon-volumebar-range.c
1548 * src/hildon-volumebar.c
1549 * src/hildon-vvolumebar.c
1550 * src/hildon-weekday-picker.c
1551 * src/hildon-window.c
1552 * src/hildon-wizard-dialog.c:
1554 Lots of documentation fixes.
1556 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1558 Patch contributed by Iván Gómez (igomez@igalia.com)
1560 * src/hildon-check-button.c:
1561 * src/hildon-date-button.c:
1562 * src/hildon-date-selector.c:
1563 * src/hildon-dialog.c:
1564 * src/hildon-edit-toolbar.c:
1565 * src/hildon-entry.c:
1566 * src/hildon-picker-button.c:
1567 * src/hildon-program.c:
1568 * src/hildon-text-view.c:
1569 * src/hildon-time-button.c:
1570 * src/hildon-touch-selector-entry.c:
1571 * src/hildon-window-stack.c:
1573 Add more "since" tags to the new API.
1575 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1577 * doc/hildon-sections.txt: Add below method.
1578 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1579 version for the hildonized scale.
1580 * src/hildon-gtk.h: Add the definition.
1582 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1584 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1586 * doc/hildon-sections.txt: Add missing entries for new methods.
1588 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1590 Added API to pannable are in order to get its adjustments. We
1591 added two properties to manage the values we had in the private
1594 * src/hildon-pannable-area.c:
1595 (hildon_pannable_area_class_init): Added hadjustment and
1596 vadjustment properties in order to expose horizontal and vertical
1598 (hildon_pannable_area_get_property),
1599 (hildon_pannable_area_set_property): Added code to handle the new
1601 (hildon_pannable_area_get_hadjustment),
1602 (hildon_pannable_area_get_vadjustment): API functions to get the
1604 * src/hildon-pannable-area.h:
1605 (hildon_pannable_area_get_hadjustment),
1606 (hildon_pannable_area_get_vadjustment): API functions to get the
1609 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1611 Fixed some leaks, after valgrinding.
1613 * src/hildon-touch-selector.c:
1614 (_default_print_func): Fixed a leak.
1615 (hildon_touch_selector_append_column): Fixed a leak.
1616 * src/hildon-date-button.c:
1617 (hildon_date_button_init): Fixed a leak.
1618 * src/hildon-date-selector.c
1619 (hildon_date_selector_finalize): Fixed a leak.
1621 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1623 Based on a patch by Christian Dywan (christian@imendio.com)
1625 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1627 * src/hildon-gtk.h: Add definition.
1629 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1631 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1633 * src/hildon-picker-button.c: (hildon_picker_button_init),
1634 (hildon_picker_button_new): Set the HildonButton::style property
1635 in the init method, to propagate the value to the derived classes.
1637 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1639 * src/hildon-button.c: (hildon_button_class_init): Do not make
1640 the "style" property a construct property.
1642 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1644 * src/hildon-wizard-dialog.h
1645 * src/hildon-wizard-dialog.c
1646 (hildon_wizard_dialog_set_forward_page_func)
1647 * src/hildon-pannable-area.h
1648 * src/hildon-pannable-area.c
1649 (hildon_pannable_area_set_size_request_policy):
1650 Documentation fixes.
1652 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1654 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1656 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1658 * doc/hildon-sections.txt: Added sections file.
1660 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1663 * src/*.[ch]: Updates.
1665 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1667 * examples/hildon-progress-indicator-example.c: new file
1668 * examples/Makefile.am: include the new example program
1670 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1672 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1674 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1676 * configure.ac: post release version bump
1677 * debian/changelog: version bump
1679 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1684 * configure.ac: bump version
1685 * debian/changelog: updates
1686 * debian/control: bump gtk+ dependency
1688 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1690 * src/hildon-dialog.c: Mark as deprecated.
1691 * src/hildon-dialog.h: Mark as deprecated.
1692 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1693 from HildonDialog and still work, even if
1694 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1695 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1697 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1698 maemo changes) instead)
1700 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1702 * src/hildon-pannable_area.h:
1703 * src/hildon-pannable_area.c:
1704 (hildon_pannable_area_class_init),
1705 (hildon_pannable_area_set_property),
1706 (hildon_pannable_area_get_property),
1707 (hildon_pannable_area_size_request),
1708 (hildon_pannable_area_get_size_request_policy),
1709 (hildon_pannable_area_set_size_request_policy): Added new API
1710 allowing applications to control the request policy. Now they can
1711 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1712 children allocation (HILDON_MOVEMENT_CHILDREN).
1714 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1718 (hildon_gtk_tree_view_set_ui_mode)
1719 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1720 mode of treeviews and iconviews.
1722 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1724 * src/hildon-touch-selector-entry.c:
1725 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1726 of a GtkEntry to get proper theming.
1728 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1729 widget, not GtkEntry)
1731 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1733 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1734 no HildonWizardDialogPageFunc.
1736 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1738 Patch contributed by Iván Gómez (igomez@igalia.com)
1740 * src/hildon-app-menu.c:
1741 * src/hildon-button.c:
1742 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1743 * src/hildon-stackable-window.c:
1744 * src/hildon-time-selector.c:
1745 * src/hildon-touch-selector.c:
1746 * src/hildon-window.c:
1748 Add more "since" tags to the new API in hildon 2.2.
1750 2008-12-05 Tim Janik <timj@imendio.com>
1752 Patch contributed by Christian Dywan (christian@imendio.com)
1754 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1755 HildonSizeType, which are supplied by Gtk+ now.
1757 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1759 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1760 (with maemo changes) instead)
1762 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1764 Patch contributed by Iván Gómez (igomez@igalia.com)
1766 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1769 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1771 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1772 (some_page_func), (main): Update the example to use a
1773 HildonWizardDialogPageFunc function.
1775 * src/hildon-wizard-dialog-private.h: Add private data for
1776 the HildonWizardDialogPageFunc function usage.
1778 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1779 (destroy), (hildon_wizard_dialog_init), (response),
1780 (hildon_wizard_dialog_set_forward_page_func):
1781 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1782 that applications can use to stop a HildonWizardDialog to jump to
1785 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1788 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1790 * src/hildon-program.h
1791 * src/hildon-program-private.h
1792 * src/hildon-program.c (hildon_program_init)
1793 (hildon_program_set_common_app_menu)
1794 (hildon_program_get_common_app_menu):
1795 New API for setting a common HildonAppMenu for all
1796 HildonStackableWindows registered with the HildonProgram.
1798 * src/hildon-stackable-window.c
1799 (hildon_stackable_window_toggle_menu):
1800 Use the common HildonAppMenu if a window doesn't have a specific
1803 * src/hildon-app-menu-private.h
1804 * src/hildon-app-menu.c
1805 (hildon_app_menu_get_parent_window):
1806 Function to obtain the window a HildonAppMenu is attached to.
1807 (hildon_app_menu_set_parent_window):
1808 Hide the menu if the parent window is set to NULL.
1810 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1812 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1813 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1814 search widget to popup.
1816 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1818 * configure.ac: post release version bump
1819 * debian/changelog: version bump
1821 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: bump version
1827 * debian/changelog: updates
1829 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1831 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1833 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1834 (hildon_window_stack_window_realized)
1835 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1836 Set the leader GdkWindow when a window is stacked and realized,
1837 unset it when it's unstacked.
1838 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1840 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1842 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-stackable-window.h
1845 * src/hildon-window-stack.h:
1846 Protect definition of HildonWindowStack using the preprocessor.
1848 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1850 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1851 Fix warning if all menu items are hidden.
1853 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1855 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1857 * src/hildon-controlbar.c:
1858 * src/hildon-hvolumebar.c:
1859 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1860 Multiple scale size defines updates.
1862 Fixes: NB#94322 (Scale Updates)
1864 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1866 * examples/hildon-app-menu-example.c (create_menu)
1867 Show items after adding them to the menu, as in the future the
1868 menu will no longer call gtk_widget_show() on the added items.
1870 * src/hildon-app-menu.c:
1871 Update example as explained above.
1873 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1875 * src/hildon-app-menu.c
1876 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1877 Make sure that all menu items have finger height.
1879 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1881 * src/hildon-picker-dialog.c:
1882 (_on_dialog_response), (_save_current_selection),
1883 (_restore_current_selection), (_clean_current_selection),
1884 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1885 Defined new functions in order to save the current internal selector
1886 selection previous open the dialog, in case that the use cancel the
1887 interaction, so the widget restores the previous selection.
1889 Fixes: NB#92032 (In calendar application, date values in 'new event'
1892 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1894 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1896 * src/hildon-button.c: Add a reference to the button examples in
1897 hildon-button-example.c
1899 * examples/hildon-button-example.c: Added examples of the most
1900 common button layouts.
1902 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1904 * src/hildon-app-menu.c (hildon_app_menu_show)
1905 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1907 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1909 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1911 * src/hildon-picker-dialog.c:
1912 (hildon_picker_dialog_init): Initialize the signal id for
1913 HildonTouchSelector::columns-changed.
1914 (+on_selector_columns_changed): Set up the interaction mode everytime a
1915 column is added or removed from the HildonTouchSelector.
1916 (_hildon_picker_dialog_set_selector): Connect to
1917 HildonTouchSelector::columns-changed and keep track of it.
1919 Make sure to update the interaction mode of the dialog everytime a
1920 column is added or removed in the HildonTouchSelector.
1922 Fixes: NB#93228 (Done button is not shown always in listpicker)
1924 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1926 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1927 a new ::columns-changed signal.
1928 (hildon_touch_selector_append_column): Emit ::columns-changed.
1929 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1931 Add a ::columns-changed signal, emitted when the number of columns in a
1932 HildonTouchSelector changes.
1934 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1936 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1937 (_hildon_picker_dialog_set_selector): Factor out the code
1938 to set up the dialog interaction mode.
1940 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1942 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1943 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1944 to signal_changed_id.
1946 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1948 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1951 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1953 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1954 Updated the logical ids related to ampm format, as now it is required to
1955 show it correctly localized even on languages with no default
1956 abbreviations for am or pm
1957 (_check_am_pm_format): check correctly the 24h format gconf property
1959 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1961 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1963 * src/hildon-button.c: Documentation updates.
1965 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1968 * src/hildon-caption.c: (hildon_caption_class_init):
1969 * src/hildon-color-button.c: (hildon_color_button_class_init):
1970 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1971 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1972 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1973 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1975 Remove deprecated GTK+ marshalers and replace them with the ones
1976 provided by GLib, for those available, add a marshaler for
1977 BOOLEAN:VOID, which is not available in GLib, and use it.
1979 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1982 the text from the previous column if there is no
1983 HildonTouchSelectorColumn::text-property set.
1985 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-button.h
1988 * src/hildon-button.c (hildon_button_set_property)
1989 (hildon_button_get_property, hildon_button_class_init)
1990 (hildon_button_set_style, hildon_button_get_style):
1991 New "style" property to change the visual appearance of the
1994 * src/hildon-picker-button.c (hildon_picker_button_new):
1995 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1997 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1998 HildonButton look like PickerButton)
2000 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2002 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2003 column while building the default string.
2005 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2008 scroll indicator by default.
2010 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2012 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2014 * src/hildon-main.c: Fix the documentation for hildon_init()
2016 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2018 * doc/hildon-docs.sgml
2022 * src/hildon-window-stack-private.h
2023 * src/hildon-window-stack.h
2024 * src/hildon-window-stack.c:
2025 New HildonWindowStack object, that adds support for multiple
2026 stacks of windows per process.
2028 * src/hildon-stackable-window-private.h
2029 * src/hildon-stackable-window.h
2030 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2031 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2032 (hildon_stackable_window_show, hildon_stackable_window_hide)
2033 (hildon_stackable_window_class_init)
2034 (hildon_stackable_window_init):
2035 Use HildonWindowStack for stack management.
2037 * src/hildon-program.c (hildon_program_pop_window_stack)
2038 (hildon_program_peek_window_stack)
2039 (hildon_program_go_to_root_window):
2040 Add a fallback implementation to the deprecated functions using
2043 * examples/hildon-stackable-window-example.c:
2044 Use the new HildonWindowStack API.
2046 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-stackable-window-private.h
2049 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2050 (hildon_stackable_window_hide, hildon_stackable_window_init):
2051 Remove all window stack management.
2053 * src/hildon-program-private.h
2054 * src/hildon-program.h
2055 * src/hildon-program.c (hildon_program_init)
2056 (hildon_program_pop_window_stack)
2057 (hildon_program_peek_window_stack)
2058 (hildon_program_go_to_root_window):
2059 Remove all window stack management and mark functions as
2062 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-app-menu.c (hildon_app_menu_realize):
2065 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2067 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2069 * configure.ac: post release version bump
2070 * debian/changelog: version bump
2072 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2077 * configure.ac: bump version
2078 * debian/changelog: updates
2080 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2082 Based on initial code by Christian Dywan (christian@imendio.com)
2084 * doc/hildon-docs.sgml: Add section for hildon-main.
2085 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2086 * src/Makefile.am: Add new hildon-main.[ch]
2087 * src/hildon-defines.h: Update the icon sizes.
2088 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2089 new library initialization files and register icon sizes.
2090 * src/hildon-main.h: New declarations.
2091 * src/hildon.h: Include hildon-main.h
2093 Add new initialization functions to the library. These methods
2094 will register the hildon specific icon sizes and can be used in the
2095 future for other hildon specific bits.
2097 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2099 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2101 * src/hildon-window.c: (hildon_window_realize),
2102 (hildon_window_notify), (-hildon_window_update_title): Do not set
2103 the application name in the window title.
2105 Fixes: NB#89754 (Applications shouldn't display their names in the
2108 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-note-private.h:
2111 * src/hildon-note.c: (hildon_note_set_property),
2112 (hildon_note_get_property), (hildon_note_class_init),
2113 (hildon_note_init), (hildon_note_finalize),
2114 (hildon_note_new_confirmation_with_icon_name),
2115 (hildon_note_new_information_with_icon_name):
2117 No need to mark as deprecated the actual code. Revert
2118 to avoid missing symbols in widgets using deprecated API.
2120 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2122 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2124 * src/hildon-volumebar.h
2125 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2126 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2128 * src/hildon-helper.h
2129 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2130 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2132 * examples/Makefile.am:
2133 Deprecate hildon-insensitive-example
2135 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2137 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2139 * examples/hildon-pannable-area-buttons-scroll-example.c:
2140 Make all buttons finger height
2142 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2144 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2146 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2147 update the day model only if it is really required, and to avoid the
2148 full-reconstruction aproach. Now it only add or remove the required days.
2150 The purpose of this is avoid superfluous HildonTouchSelector::changed
2153 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2154 with strange parameters)
2156 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2158 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2160 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2161 the WINDOW_TYPE property.
2163 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2165 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2168 Fix dependency to allow parallel compilation with make -jX
2170 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2172 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2173 color frame and some minor tweaks to make it more consistent with
2176 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2177 highlighted but not visible)
2179 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2181 * examples/Makefile.am: Fixed typo in the Makefile.am.
2183 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2185 Reviewed the use of MAEMO_GTK define, now we add the define in the
2186 compilation line, and we also add it to the pc file.
2188 * configure.ac: Added MAEMO_GTK define to the compilation command
2189 and removed it from the config.h.
2191 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2192 do not have to take care about this define if the library was
2196 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2198 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2200 * examples/Makefile.am,
2201 * examples/hildon-pannable-area-buttons-scroll-example.c,
2202 * examples/hildon-pannable-area-gesture-signals-example.c,
2203 * examples/hildon-pannable-area-scroll-jump-example.c,
2204 * examples/hildon-pannable-area-tree-view-example.c:
2205 Renamed the pannable area examples, now they have more meaningful
2208 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2210 * src/hildon-touch-selector.c:
2211 (hildon_touch_selector_set_column_selection_mode): Used of
2212 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2213 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2214 to avoid re-seting the same selection mode.
2216 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2217 breaks HildonPickerDialog)
2219 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2221 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2222 conditional in the Makefile.am
2224 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2226 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2227 Remove unused methods.
2229 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2231 * src/hildon-button.c (hildon_button_init):
2232 Make button images center-aligned by default
2234 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2237 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2238 activated, we have to think about how to deal with both defines
2239 MAEMO_GTK and MAEMO_CHANGES.
2241 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2243 * examples/hildon-app-menu-example.c (create_menu): Make all
2244 buttons finger size.
2246 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2248 Fixed the compilation without maemo gtk adding ifdefs with
2249 MAEMO_GTK define to the code, we have to check this version more
2252 * examples/Makefile.am: Added control to avoid some examples that
2253 just make sense with maemo gtk.
2256 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2257 hildon modes with the define.
2259 * examples/hildon-edit-toolbar-example.c,
2260 (create_icon_view): Create the icon view without hildon-gtk
2261 helpers if we are not using maemo gtk.
2263 * src/hildon-touch-selector.c,
2264 (_create_new_column): Create the treeview without hildon-gtk
2265 helpers if we are not using maemo gtk.
2267 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2269 * src/hildon-pnnable-area.c,
2270 (hildon_pannable_area_dispose),
2271 (hildon_pannable_area_button_press_cb),
2272 (hildon_pannable_area_child_mapped),
2273 (hildon_pannable_area_add),
2274 (hildon_pannable_area_remove): Added code to control the position
2275 of the event_window when adding and removing children from the
2276 pannable. We have to raise the event window when the child is
2279 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2280 selection mode using custom widget inside pannable)
2282 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2284 * configure.ac: post release version bump
2285 * debian/changelog: version bump
2287 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2292 * configure.ac: bump version
2293 * debian/changelog: updates
2295 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2297 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2298 search mode, in order to avoid lose the focus on the treeview when
2299 a hw key (like enter) is pressed.
2301 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2302 in HildonDateSelector dialog)
2304 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2306 * debian/rules: Added --enable-maintainer-mode
2307 * Makefile.am: Added ACLOCAL_AMFLAGS
2309 This allows to properly regenerate the Makefiles if you modify the
2310 configure.ac or any Makefile.am.
2312 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2314 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2315 properties, not needed at all.
2317 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2319 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2321 * src/hildon-note.c: (hildon_note_set_property),
2322 (hildon_note_get_property), (hildon_note_class_init),
2323 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2324 (hildon_note_new_confirmation_add_buttons): Remove icons.
2325 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2326 (hildon_note_new_information_with_icon_name): Deprecate.
2327 (hildon_note_new_confirmation): Act directly, without calling
2328 the deprecated constructor.
2329 (hildon_note_new_information): Act directly, without calling
2330 the deprecated constructor.
2331 * src/hildon-note.h: Mark deprecate methods as such.
2332 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2333 not run tests on the deprecated methods if built with deprecation
2336 Fixes: NB#91688 (Never show icons in information notes/confirmation
2339 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2341 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2342 (hildon_app_menu_key_press): Remove leftover usage of the
2343 private structure in HildonAppMenu struct.
2344 * src/hildon-app-menu.h: Remove leftover private structure
2345 from the HildonAppMenu struct.
2347 Fixes a crasher when using the HildonAppMenu.
2349 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2351 * src/hildon-picker-dialog.c: Use appropriate logical id
2352 for the default "Done" text.
2354 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2356 * configure.ac: post release version bump
2357 * debian/changelog: version bump
2359 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2361 Modified the way to scroll to the current selection just when the touch
2362 selector is shown on the screen, avoiding a g_idle. Added too a property
2363 to configure this behaviour. See hildon_pannable_area_jump_to_child
2364 documentation for more information.
2366 * src/hildon-touch-selector.c
2367 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2368 Added 'initial-scroll' property
2369 (hildon_touch_selector_set_property): Added
2370 (hildon_touch_selector_map): Removed as not required anymore
2371 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2372 only a concrete column, instead of iterate along all the columns
2374 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2379 * configure.ac: bump version
2380 * debian/changelog: updates
2382 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2384 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2385 compilation time warnings.
2387 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2390 the default value for HildonPannableArea::mov-mode to
2391 HILDON_PANNABLE_AREA_MODE_VERT.
2393 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2395 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2397 Reverting following commit:
2399 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2401 * src/hildon-app-menu-private.h
2402 * src/hildon-app-menu.[ch]
2403 * src/hildon-button.[ch]
2404 * src/hildon-check-button.[ch]
2405 * src/hildon-entry.[ch]
2406 * src/hildon-pannable-area.[ch]
2407 * src/hildon-text-view.[ch]:
2408 Added private field to the object's structure.
2410 because it causes an ABI breakage. We will need to introduce these
2411 changes later at some point. See NB#91636 for an extensive
2412 explanation and status.
2414 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2416 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2418 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2419 remove special cases that are no longer necessary.
2421 Fixes: NB#91016 (Change toolbar sizes, simplification)
2423 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2426 is shown in the cancel note.
2428 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2431 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2432 (hildon_seekbar_init): Remove steppers, remove expose event.
2433 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2435 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2437 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2440 label font to "SmallSystemFont" for vertically arranged buttons.
2442 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2445 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2447 * src/hildon-check-button.c
2448 (hildon_check_button_set_active, hildon_check_button_clicked):
2449 Don't access private parts directly, use getters instead.
2451 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2453 * src/hildon-check-button.c (hildon_check_button_new):
2454 Align the contents of the check button to the left.
2456 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2458 * src/hildon-pannable-area.c,
2459 (hildon_pannable_area_scroll_to),
2460 (hildon_pannable_area_jump_to),
2461 (hildon_pannable_area_scroll_to_child),
2462 (hildon_pannable_area_jump_to_child): Replace the mapped
2463 precondition of these functions with the realized, it is the
2464 correct state of the widget in this case. Changed the
2465 documentation according to this modification.
2467 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2469 Added a new EXTRA_CFLAGS option to add the deprecated define to
2470 the compilation command. This way we can avoid using the define in
2471 the documentation compilation.
2473 * configure.ac: Defined EXTRA_CFLAGS.
2475 * examples/Makefile.am:
2477 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2479 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2481 * src/hildon-picker-dialog.c:
2482 Defined a utility macro with the desired touch selector height
2483 Removed currently unused separator, and title_label variables from
2485 (hildon_picker_dialog_init): Removed code related to the creation
2486 of unused private variables title_label and separator.
2487 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2488 to ensure correct visualization of the touch selector inside the dialog.
2489 * src/hildon-touch-selector.c
2490 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2491 ensure a concrete height of the widget.
2493 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2496 * tests/Makefile.am:
2498 Remove spurious whitespaces.
2500 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2502 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2503 compilation warning after the cancel button removal.
2505 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2507 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2509 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2510 Makefile.am, that way we can choose not to compile some examples
2511 and tests of the deprecated widgets.
2513 * examples/Makefile.am: Divided the sources in deprecated and
2516 * src/Makefile.am: Added undef statement of the deprecated
2517 symbol to the enums file generation process.
2519 * src/hildon-color-chooser-dialog.c
2520 * src/hildon-color-chooser-dialog.h
2521 * src/hildon-color-button.c
2522 * src/hildon-color-button.h
2523 * src/hildon-color-chooser.c
2524 * src/hildon-color-chooser.h
2525 * src/hildon-controlbar.c
2526 * src/hildon-controlbar.h
2527 * src/hildon-date-editor.c
2528 * src/hildon-date-editor.h
2529 * src/hildon-hvolumebar.c
2530 * src/hildon-hvolumebar.h
2531 * src/hildon-private.c
2532 * src/hildon-private.h
2533 * src/hildon-range-editor.c
2534 * src/hildon-range-editor.h
2535 * src/hildon-seekbar.c
2536 * src/hildon-seekbar.h
2537 * src/hildon-time-editor.c
2538 * src/hildon-time-editor.h
2539 * src/hildon-time-picker.c
2540 * src/hildon-time-picker.h
2541 * src/hildon-volumebar.c
2542 * src/hildon-volumebar.h
2543 * src/hildon-vvolumebar.c
2544 * src/hildon-vvolumebar.h
2545 * src/hildon-bread-crumb-trail.h
2546 * src/hildon-bread-crumb-trail.c
2547 * src/hildon-calendar-popup.c
2548 * src/hildon-calendar-popup.h
2549 * src/hildon-weekday-picker.c:
2550 * src/hildon-weekday-picker.h:
2551 * src/hildon-bread-crumb-widget.c:
2552 * src/hildon-bread-crumb-widget.h:
2553 * src/hildon-bread-crumb.c:
2554 * src/hildon-bread-crumb.h:
2555 * src/hildon-calendar.c:
2556 * src/hildon-calendar.h:
2557 * src/hildon-caption.c:
2558 * src/hildon-code-dialog.c:
2559 * src/hildon-code-dialog.h:
2560 * src/hildon-font-selection-dialog.c:
2561 * src/hildon-font-selection-dialog.h:
2562 * src/hildon-get-password-dialog.c:
2563 * src/hildon-get-password-dialog.h:
2564 * src/hildon-login-dialog.c:
2565 * src/hildon-login-dialog.h:
2566 * src/hildon-number-editor.c:
2567 * src/hildon-number-editor.h:
2568 * src/hildon-set-password-dialog.c:
2569 * src/hildon-set-password-dialog.h:
2570 * src/hildon-sort-dialog.c:
2571 * src/hildon-sort-dialog.h: This is the list of deprecated
2574 * src/hildon-touch-selector.c:
2575 * src/hildon-window.c: Added undef statement to avoid compilation
2578 * tests/Makefile.am: Divided the sources in deprecated and
2581 * tests/check_test.c,
2582 (configure_tests): Marked the deprecated code that was adding
2583 suites with deprecated tests.
2585 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2587 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2589 * src/hildon-touch-selector.c: (_default_print_func): Do not
2590 duplicate a string returned by gtk_tree_model_get(), it is already
2593 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2596 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2598 * src/hildon-pannable-area.c
2599 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2600 method, it had problems when adding a widget with viewport the
2601 second time. Now checks if it already has a viewport and uses it.
2603 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2606 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2608 * src/hildon-pannable-area.c,
2609 (hildon_pannable_area_scroll_to),
2610 (hildon_pannable_area_jump_to),
2611 (hildon_pannable_area_scroll_to_child),
2612 (hildon_pannable_area_jump_to_child): Added a precondition to the
2613 scroll and jump to functions: the widget must be mapped before we
2614 can safely call these functions. We have also added documentation
2615 to the functions to explain how to use them in this situation.
2618 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2620 Reviewed the threading handling of the pannable widget, we have
2621 used the gdk_threads_add_timeout function instead of the usual
2622 glib handlers. This avoids some problems with the threads.
2624 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2625 (hildon_pannable_area_initial_effect),
2626 (hildon_pannable_area_scroll_indicator_fade),
2627 (hildon_pannable_area_button_press_cb),
2628 (hildon_pannable_area_timeout),
2629 (hildon_pannable_area_motion_notify_cb),
2630 (hildon_pannable_area_button_release_cb),
2631 (hildon_pannable_area_scroll_cb),
2632 (hildon_pannable_area_scroll_to): Removed the
2633 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2634 gdk_threads_add_timeout.
2636 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2638 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2643 * configure.ac: bump version
2644 * debian/changelog: updates
2646 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2648 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2649 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2650 * src/hildon-color-chooser-dialog.c:
2651 (hildon_color_chooser_dialog_init):
2652 * src/hildon-font-selection-dialog.c:
2653 (hildon_font_selection_dialog_init):
2654 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2656 Remove all cancel/close-like dialogs, as these are not going to be
2659 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2661 * src/hildon-note.c: (hildon_note_rebuild),
2662 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2665 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2667 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2669 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2670 sure all buttons are shown, even the Cancel/Close-like ones.
2672 Fixes: NB#90861 (Custom Confirmation dialogs should be
2673 protected from cancel button removal)
2675 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2677 * debian/control: Change libhildon1-examples dependency from libhildon1
2679 * debian/libhildon1-examples.install
2681 * Makefile.am: Modified the final install directory for the examples on
2682 package libhildon1-examples
2683 * Makefile.static: Update clean target in order to remove all the binary
2686 Changes suggested by Claudio after review new libhildon1-examples package
2688 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2690 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2691 * src/hildon-touch-selector.c: Ditto.
2693 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2695 * debian/control: Added new package libhildon1-examples, in order to pack
2696 the current hildon examples as documentation
2697 * debian/rules: Not to compress .c files, modify some includes on the
2698 examples (as normally are compiled locally, but when installed it will
2699 require to include the installed libhildon1 library), and rename
2701 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2702 install all the example files on the new example package
2703 * examples/Makefile.static: Added static makefile that can be used to
2704 compile the examples, once installed the new example package
2705 * examples: Most of the examples were modified in order to grant that
2706 all use only '#include "hildon.h"', in order to be easy to prepare
2707 it on the example package
2709 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2712 * debian/libhildon1-dev.install
2713 * debian/libhildon1-doc.install:
2714 Move all gtk-doc files to a separate libhildon1-doc package.
2716 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2718 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2720 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2722 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2724 * debian/rules: Fixed a error in order to avoid unnecessary calls
2725 to autogen.sh on package building
2727 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2729 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2731 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2736 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-picker-button.c
2739 (hildon_picker_button_finalize):
2740 Free priv->done_button_text
2742 * src/hildon-time-button.c
2743 (hildon_time_button_set_time)
2744 * src/hildon-picker-button.c
2745 (hildon_picker_button_clicked)
2746 (hildon_picker_button_selector_selection_changed)
2747 (hildon_picker_button_set_selector)
2748 * src/hildon-date-button.c
2749 (hildon_date_button_set_date):
2750 Free strings returned by hildon_touch_selector_get_current_text()
2752 * src/hildon-button.c (hildon_button_construct_child):
2753 Fix leaks in priv->image and priv->label_box
2755 Fixes: NB#90535 (Memory leak in picker button)
2757 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-button.c: (hildon_button_get_property): Do not access
2760 private elements directly, use getters instead.
2762 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-app-menu-private.h
2765 * src/hildon-app-menu.c
2766 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2767 Store the menu's parent window.
2769 * src/hildon-stackable-window.c
2770 (hildon_stackable_window_toggle_menu)
2771 (hildon_stackable_window_finalize):
2772 Set the menu's parent window when the menu is shown, unset it when
2775 * src/hildon-app-menu.c
2776 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2777 (hildon_app_menu_class_init):
2778 Send unhandled keyboard accelerators to the parent window.
2780 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-stackable-window.c
2783 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2785 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2787 * configure.ac: post release version bump
2789 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2792 * configure.ac: Bump version
2793 * debian/changelog: Updates
2794 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2797 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2799 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2802 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2803 GtkMenu with Hildon style.
2805 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2807 * src/hildon-picker-button.c:
2808 (hildon_picker_button_set_done_button_text): Set the dialog's
2809 done button text here as well.
2811 Fixes: NB#90232 (Picker button does not set the label on done button
2812 for the second time)
2814 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2819 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2821 * src/hildon-app-menu.c (hildon_app_menu_insert)
2822 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2823 the HildonAppMenu to be activatable using keyboard accelerators
2824 when the menu is not being shown.
2826 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2828 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2830 * src/hildon-stackable-window.c
2831 (hildon_stackable_window_show):
2832 Don't hide old windows automatically when new windows are shown:
2833 this is now a task for the window manager.
2834 (hildon_stackable_window_class_init)
2835 (hildon_stackable_window_hide):
2836 Remove windows from the stack everytime they're hidden.
2837 (hildon_stackable_window_realize):
2838 Don't change the _NET_WM_WINDOW_TYPE property. Use
2839 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2840 it as a stackable window.
2842 * src/hildon-program.c
2843 (hildon_program_pop_window_stack):
2844 Just hide the window to remove it from the stack.
2845 (hildon_program_go_to_root_window):
2846 Don't call gtk_widget_show(), this is now a task for the window
2849 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2851 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2853 * src/hildon-button.c
2854 (hildon_button_construct_child):
2855 Don't pack anything in the button until text or image are
2856 set. This allows adding a custom child after creating the button
2857 with hildon_button_new().
2858 (hildon_button_finalize, hildon_button_class_init)
2859 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2860 alignment and the label box even when they're not packed in the
2863 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2865 * src/hildon-touch-selector.h:
2866 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2867 currently the type definition was using GTK_TYPE_VBOX
2868 * src/hildon-touch-selector.c:
2869 Added some implementation notes in order to clarify that any other widget
2870 added without the column related API will not be included on the
2871 selection logic, and how the widget is freed, as some people ask about
2873 (hildon_touch_selector_remove): Reimplemented in order to free properly
2874 the column related data when you remove the private hbox.
2875 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2876 to get a proper HildonTouchSelectorColumn documentation
2878 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-touch-selector-entry.c:
2881 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2882 text in the GtkEntry and there is no item selected. Fixes a
2885 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-app-menu-private.h
2888 * src/hildon-app-menu.[ch]
2889 * src/hildon-button.[ch]
2890 * src/hildon-check-button.[ch]
2891 * src/hildon-entry.[ch]
2892 * src/hildon-pannable-area.[ch]
2893 * src/hildon-text-view.[ch]:
2894 Added private field to the object's structure.
2896 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2898 * configure.ac: post-release version bump
2900 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2904 * configure.ac: pre-release version bump
2906 * debian/changelog: updates.
2908 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2911 Disconnect the handler for HildonTouchSelector::changed.
2913 (hildon_picker_button_selector_selection_changed): Update the button
2914 value if the selection change was not triggered by the
2917 (hildon_picker_button_set_selector): connect to
2918 HildonTouchSelector::changed.
2920 Fixes: NB#89650 (Picker button is not updated, when selection in
2921 selector has changed)
2923 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2925 * src/hildon-picker-dialog.c
2926 (hildon_picker_dialog_realize): Removed as not required
2927 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2928 * src/hildon-picker-button.c
2929 (_current_selector_empty): New function, checks if the selector is empty
2930 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2931 if the current selector is empty, in order to avoid to show the dialog
2932 close the dialog in this case (and shows a g_warning).
2934 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2936 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2938 * src/hildon-pannable-area.c,
2939 (hildon_pannable_area_scroll): Added clause to stop movement when
2940 the child of pannable is smaller than one page.
2941 (hildon_pannable_area_scroll_to): Added conditions to avoid
2942 starting the scrolling movement if the child is smaller than one
2943 page, the complete child is in the screen, we do not have to move.
2945 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2947 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2949 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2950 this is managed automatically by the widget when the size of the
2953 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2955 * src/hildon-picker-button.c
2956 (hildon_picker_button_set_done_button_text): Make a copy of the
2957 text, and free the previous value.
2959 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2961 * src/hildon-touch-selector-entry.c:
2962 (hildon_touch_selector_entry_print_func): Return the selected row's
2963 text if the entry is empty.
2965 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2968 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2970 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2972 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2975 * src/hildon-check-button.h
2976 * src/hildon-check-button.c
2977 * examples/hildon-check-button-example.c:
2978 HildonCheckButton is now a new widget. 'toggled' signal added.
2980 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-program-private.h
2983 * src/hildon-program.c (hildon_program_init)
2984 (hildon_program_finalize): Removed unused variables group_leader
2985 and name from HildonProgramPrivate.
2987 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2989 * src/hildon-check-button.c (hildon_check_button_set_active)
2990 (hildon_check_button_get_active, hildon_check_button_new): Use
2991 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2993 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2995 * src/hildon-touch-selector.h
2996 (hildon_touch_selector_set_column_attributes): added deprecation
2997 guard HILDON_DISABLE_DEPRECATED
2998 * src/hildon-time-selector.c
2999 (hildon_time_selector_set_time)
3000 (hildon_time_selector_get_time): Fixed a typo on documentation
3001 * src/hildon-touch-selector.c: update HildonTouchSelector and
3002 HildonTouchSelectorColumn documentation
3003 * src/hildon-touch-selector-entry.c: update "text-column" property
3005 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3006 to be added to the general documentation.
3008 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3010 * examples/hildon-pannable-area-example-4.c,
3012 * examples/hildon-pannable-area-example.c,
3013 (main): Modified the code in order to use the container add, with
3014 viewport treeviews could have problems if they are really big.
3016 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3018 * src/hildon-weekday-picker.c,
3019 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3020 the agreement regarding deprecation in the library.
3022 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3024 * examples/hildon-picker-button-multicolumn-example.c:
3025 (main): Use custom "done" button text.
3027 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3028 (hildon_picker_button_set_property),
3029 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3030 (hildon_picker_button_init),
3031 (+hildon_picker_button_get_done_button_text),
3032 (+hildon_picker_button_set_done_button_text): New methods to customize
3033 the "done" button label in the launched HildonPickerDialog. Also,
3036 * src/hildon-picker-button.h: add the public API.
3038 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-date-selector.h:
3041 * src/hildon-picker-dialog.h:
3042 * src/hildon-time-selector.h:
3043 * src/hildon-touch-selector-column.h:
3044 * src/hildon-touch-selector.h:
3046 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3047 declarations. Fixes gtk-doc warnings.
3049 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-picker-dialog.h
3052 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3053 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3055 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3056 long text is set as label for done button)
3058 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3060 * src/hildon-dialog.c (hildon_dialog_add_button):
3061 Set fixed width to all buttons in the HildonDialog.
3063 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3065 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3067 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3068 Set widget name using class name plus "-finger" or "-thumb".
3070 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3073 'clicked' when the state of the button is manually changed.
3075 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3077 * src/hildon-app-menu.c (hildon_app_menu_realize)
3078 (hildon_app_menu_unrealize, hildon_app_menu_init)
3079 (hildon_app_menu_class_init, item_visibility_changed):
3080 Change the menu layout when the size of the screen changes.
3081 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3082 Show warning only when changing the number of colums using the
3085 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3087 * debian/compat: Set to 5
3088 * debian/control: Update dependencies.
3089 * debian/libhildon1-dbg.install: Remove.
3090 * debian/libhildon1-dev.install: Update according to cdbs paths.
3091 * debian/libhildon1.install: Update according to cdbs paths.
3092 * debian/rules: Switch to cdbs.
3094 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3096 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3097 'item' variable renamed to 'filter'
3099 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3101 * src/hildon-app-menu.c (hildon_app_menu_insert)
3102 (hildon_app_menu_add_filter, remove_item_from_list)
3103 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3104 Don't leak hidden items when the menu is destroyed.
3106 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-app-menu.c (hildon_app_menu_insert)
3109 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3110 (hildon_app_menu_set_columns, item_visibility_changed)
3111 (filter_visibility_changed, hildon_app_menu_repack_filters)
3112 (hildon_app_menu_repack_items):
3113 Repack items and filters separately.
3115 Don't repack all items, change only the ones that are needed to
3118 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3120 * src/Makefile.am: added hildon-touch-selector-column.h
3122 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3124 * src/hildon-touch-selector.c: added the property "text-column" to the
3125 class HildonTouchSelectorColumn, and related get/set functions
3126 (_default_printf_func): updated to use "text-column" property
3127 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3128 "text-column" in his documentation, as this is now included on
3129 HildonTouchSelectorColumn. The get/set_property can still be used,
3130 working as a wrapper to the concrete column "text-column" property
3131 (_text_column_modified): callback added in order to handle the signal
3132 "notify::text-column" of the concrete HildonTouchSelectorColumn
3133 (hildon_touch_selector_entry_get_text_column)
3134 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3135 modified in order to use the HildonTouchSelectorColumn "text-column"
3137 * src/hildon-time-selector.c:
3138 * src/hildon-date-selector.c:
3139 * examples/hildon-touch-selector-example.c
3140 * examples/hildon-touch-selector-multi-cells-example.c
3141 * examples/hildon-picker-button-multicolumn-example.c
3142 Set the right value to "text-column" property on the creation of a new
3143 column using hildon_touch_selector_append_column()
3145 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3147 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-app-menu.c
3150 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3151 updating the layout of the menu, don't create all widgets again,
3152 just repack the items in their new places.
3154 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3156 * src/hildon-time-selector.c
3157 (hildon_time_selector_get_time)
3158 (hildon_time_selector_set_time)
3159 Added documentation of these public methods
3161 * src/hildon-date-button.h
3162 * src/hildon-touch-selector-column.h
3163 * src/hildon-time-button.h
3164 * src/hildon-picker-dialog.h
3165 * src/hildon-time-selector.h
3166 * src/hildon-picker-button.h
3167 * src/hildon-touch-selector.h
3168 * src/hildon-time-picker.h
3169 * src/hildon-date-selector.h
3170 * src/hildon-touch-selector-entry.h
3171 Modified in order to use hildon-widgets code style
3173 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3175 Added deprecated support to the compilation process using
3176 HILDON_DISABLE_DEPRECATED
3178 * configure.ac: Added the --disable-deprecated to the configure
3181 * src/hildon-weekday-picker.c:
3182 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3183 to use the deprecated support. We will update the other deprecated
3184 widgets status in a new patch.
3186 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3188 * configure.ac: Fixed typo with fatal warnings support, the
3189 variable name was not correct
3191 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-app-menu.c
3194 * src/hildon-program.c: Update documentation.
3196 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3198 * configure.ac: Post-release version bump.
3200 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3205 * configure.ac: Pre-release version bump.
3206 * debian/changelog: Updates.
3208 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3210 * NEWS: Update news for previous releases.
3212 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3214 * examples/hildon-touch-selector-multi-cells-example.c:
3215 (create_selector): Update the example to use
3216 hildon_touch_selector_append_column() with a NULL renderer and set
3217 the renderers later.
3218 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3219 passed a NULL renderer. This is documented behavior now.
3221 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3222 This must be used if the developer wants full control on the layout of
3223 the renderers to be added to the column.
3225 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3227 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3229 * src/hildon-touch-selector.c: Documentation fixes.
3231 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3233 * src/hildon-wizard-dialog-private.h: Remove image and box.
3234 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3235 (hildon_wizard_dialog_set_property), (response): Completely remove
3236 image/icon support, and the containers required for the layout.
3238 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3240 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3242 * src/hildon-app-menu.c: Updated documentation.
3244 * src/hildon-stackable-window.c
3245 (hildon_stackable_window_set_main_menu): Unref the old menu after
3246 ref'ing the new one.
3248 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-stackable-window.c
3251 (hildon_stackable_window_set_main_menu): Unref the previous menu
3252 instead of destroying it.
3254 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3255 floating reference and set has_user_ref_count to FALSE to make
3256 HildonAppMenu act like a normal ref-counted widget and not a
3259 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3262 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3264 * src/hildon-touch-selector-column.h: new file
3265 * src/hildon-touch-selector.h
3266 * src/hildon-touch-selector.c
3267 Implemented GtkCellLayout interface, in order to allow to configure
3268 the cell layout on each individual selector column
3269 (hildon_touch_selector_set_column_attributes): marked as deprecated
3270 * examples/hildon-touch-selector-multi-cells-example.c
3271 Example of how to use the GtkCellLayout interface on the selector
3273 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3275 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-app-menu.h
3278 * src/hildon-app-menu.c
3279 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3280 (hildon_app_menu_append, hildon_app_menu_prepend):
3281 New methods to prepend, insert and move items in the menu.
3283 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3285 * src/hildon-wizard-dialog.c:
3287 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3289 (create_title): Update logical IDs and related code.
3290 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3292 * src/hildon-wizard-dialog.h: Note that
3293 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3294 point, as it is not used anymore.
3296 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3298 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-note.c:
3301 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3302 shown. Do not display an icon in confirmation notes nor information
3304 (hildon_note_set_button_text): Update logical ID for cancel button.
3306 Fixes: NB#88850 (Update HildonNote button strings + signals)
3308 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3310 * src/hildon-stackable-window.c
3311 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3313 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-app-menu-private.h
3316 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3317 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3318 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3319 temporary property 'columns' to change the number of columns.
3321 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3323 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3325 * examples/hildon-note-example.c: (on_information_clicked),
3326 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3327 debugging information.
3328 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3330 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3331 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3332 in order to close: this will be handled by the WM from now on.
3334 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3336 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-app-menu-private.h
3339 * src/hildon-app-menu.c
3340 (hildon_app_menu_append, hildon_app_menu_add_filter)
3341 (button_visibility_changed, hildon_app_menu_apply_style)
3342 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3343 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3344 layout everytime a button (item or filter) is shown or hidden.
3346 * src/hildon-stackable-window.c
3347 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3350 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3352 * src/hildon-touch-selector.c:
3353 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3354 that the treeview inside the touch selector is in fremantle hildon mode
3355 * examples/hildon-date-button-example.c
3356 * examples/hildon-picker-button-multicolumn-example.c
3357 * examples/hildon-touch-selector-entry-example.c
3358 * examples/hildon-touch-selector-example.c
3359 * examples/hildon-time-button-example.c
3360 * examples/hildon-picker-button-example.c:
3361 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3363 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3365 * examples/hildon-text-view-example.c: (main): Remove the
3366 gtkrc bits, now handled by the theme.
3368 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3370 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3373 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3375 * po/Makefile.am: Install properly the mo files.
3376 * po/en_GB.po: Update translation, to ease testing purposes.
3378 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3380 * examples/hildon-picker-button-example.c: (main): Select an item
3381 in the selector before setting it to the button.
3383 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3386 Update button's value if the selector has an item active.
3388 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3389 'value' with the selector)
3391 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3393 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3394 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3395 (hildon_picker_button_class_init): Plug the finalize method.
3396 (hildon_picker_button_set_selector): If there's a previously set
3397 selector, unref'it before setting a new one.
3399 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3400 HildonTouchSelector)
3402 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3404 * src/hildon-touch-selector-entry.c:
3405 (hildon_touch_selector_entry_changed): Check if there is no text
3406 selected before setting the entry text.
3409 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-touch-selector.h
3412 * src/hildon-touch-selector.c
3413 (hildon_touch_selector_get_active)
3414 (hildon_touch_selector_set_active): New methods to set/get the
3415 index of the selected item.
3417 * src/hildon-picker-button.h
3418 * src/hildon-picker-button.c
3419 (hildon_picker_button_get_active)
3420 (hildon_picker_button_set_active): New methods to set/get the
3421 index of the selected item.
3423 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3425 * configure.ac: post-release version bump.
3427 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3431 * configure.ac: Pre-release version bump.
3432 * debian/changelog: Updates.
3433 * debian/control: Add myself as maintainer and depend on l10n
3436 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-window.c
3439 (hildon_window_set_main_menu)
3440 * src/hildon-stackable-window.c
3441 (hildon_stackable_window_set_main_menu):
3442 Updated documentation.
3444 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3447 Don't free selector->priv manually.
3450 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3453 (hildon_gtk_window_set_progress_indicator):
3454 * src/hildon-gtk.h: Added the new API
3455 hildon_gtk_window_set_progress_indicator, it changes the state of
3456 the window progress hint.
3458 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3460 * src/hildon-button.c
3461 * src/hildon-stackable-window.c: Minor documentation updates.
3463 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3465 * src/hildon-stackable-window.c: Updated documentation.
3467 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3469 * src/hildon-defines.h: Update margins definitions
3470 to the Fremantle sizes.
3473 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3475 * src/hildon-touch-selector.c,
3476 (_hildon_touch_selector_set_model): Cleaning the code after
3477 review, removed g_print and #if 0 from the code.
3479 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3481 * src/hildon-edit-toolbar.c: Update documentation.
3483 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-check-button.h
3486 * src/hildon-check-button.c
3487 (hildon_check_button_set_label, hildon_check_button_get_label)
3488 * examples/hildon-check-button-example.c
3489 (button_clicked_cb):
3490 Removed deprecated methods.
3492 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3494 * src/hildon-text-view.c:
3495 Add sample code to the documentation.
3497 * src/hildon-entry.h
3498 * src/hildon-text-view.h:
3499 Minor cosmetic changes.
3501 * src/hildon-entry.c:
3502 Add sample code to the documentation.
3503 (hildon_entry_init, hildon_entry_refresh_contents):
3504 Don't allow NULL values in the placeholder.
3506 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3508 * doc/hildon-docs.sgml
3510 * examples/Makefile.am
3511 * examples/hildon-text-view-example.c
3513 * src/hildon-text-view.c
3514 * src/hildon-text-view.h
3516 New HildonTextView widget, with example.
3518 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3520 * po/POTFILES.in: Add missing files with translatable strings.
3521 Partially fixes NB#88287.
3523 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3525 * examples/hildon-pannable-area-example-2.c: (main): No need to
3526 set the cellrenderer height inside hildon touch lists, the theme does
3529 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3531 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3532 they are integrated in the theme.
3534 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3536 * examples/hildon-entry-example.c: Update the example adding
3537 widgets to modify the text and the placeholder of the HildonEntry.
3539 * src/hildon-entry.c: Show the placeholder everytime the widget
3540 is empty and loses the focus.
3542 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3544 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3546 * src/hildon-pannable-area.c,
3547 (hildon_pannable_area_size_request): Fixed bug in height
3548 requisition, avoid increasing size and add border twice.
3550 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3552 * configure.ac: postrelease version bump.
3554 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3558 * configure.ac: Prerelease version bump.
3559 * debian/changelog: update.
3560 * debian/rules: make -dbg package contain useful debugging symbols.
3562 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3564 * src/hildon-dialog.h
3565 * src/hildon-dialog.c
3566 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3567 New methods to add buttons with finger size.
3568 (hildon_dialog_new_with_buttons):
3569 Create buttons with finger size.
3571 * examples/hildon-dialog-example.c (main): Use HildonDialog
3572 methods to add buttons.
3574 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3576 * src/hildon-entry.c: Updated HildonButton documentation.
3578 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3580 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3581 button value label with (FALSE, FALSE) to prevent NB#88126 from
3584 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3586 * examples/hildon-pannable-area-example.c,
3587 (main): Removed examples panning a vbox inside a pannable
3588 area. Check bug NB#87965
3590 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3592 Patch contributed by Kris Rietveld (kris@imendio.com)
3594 * src/hildon-pannable-area.c,
3595 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3596 get_size and get_position, this saves an X server roundtrip.
3598 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3600 * doc/hildon-docs.sgml
3602 * examples/Makefile.am
3603 * examples/hildon-entry-example.c
3605 * src/hildon-entry.c
3606 * src/hildon-entry.h
3608 New HildonEntry widget, with example.
3610 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3612 * src/hildon-button.c (hildon_button_construct_child): Pack the
3613 image with expand == fill == FALSE. This is a workaround for a bug
3616 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3618 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3619 labels for the text column, to make it more look more dynamic.
3621 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3623 * src/hildon-time-selector.c
3624 Define gettext auxiliar macro N_
3625 (_create_minutes_model)
3626 (_create_hours_model)
3627 (_create_ampm_model): use of strftime in order to fill the model
3628 * src/hildon-date-selector.c
3629 (hildon_date_selector_finalize):
3630 (_locales_init): remove the logic related to get the name of the months
3631 using nl_langinfo, as it is not required anymore
3633 (_create_year_model)
3634 (_create_month_model)
3635 (_update_day_model): use of strftime in order to fill the model properly
3638 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3640 * src/hildon-button.h
3641 * src/hildon-button.c (hildon_button_get_image): New method to
3644 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3646 * src/hildon-touch-selector.c:
3647 (hildon_touch_selector_remove_column): Remove from the correct parent
3648 and also remove the list element and free it.
3651 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3653 * src/hildon-time-selector.c
3654 (_create_hours_model): change the range on 12h ampm format in order to use
3655 a 12-11 range instead of previous 01-12 range
3656 (hildon_time_selector_set_time): change the way to select the current time
3657 on 12h ampm format, due the change on the range
3658 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3661 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3663 * src/hildon-touch-selector.c
3664 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3665 in order to allow use this function on multiple row selection mode if
3666 the column is different that the first one
3669 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3671 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3672 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3674 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3676 * src/hildon-date-selector.h: clean some comments, now on the .c
3677 * src/hildon-date-selector.c
3678 (hildon_date_selector_select_month): first implementation
3679 (hildon_date_selector_select_day): added documentation, reimplemented
3680 using hildon_date_selector_select_current_date to avoid repeat code
3683 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3685 Reviewed interaction logic based on device experiences, refactored
3688 * src/hildon-pannable-area.c,
3689 (hildon_pannable_area_class_init): Updated default vmax speed.
3690 (hildon_pannable_area_calculate_velocity): Added this function, it
3691 avoids duplicate valocity calculation. Adjusted calculation to
3692 avoid problems with zero dist events.
3694 (hildon_pannable_area_motion_notify_cb): Now we use the
3695 calculate_velocity function.
3697 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3699 * src/hildon-date-selector.c
3700 (hildon_date_selector_select_current_date): fix the day range check
3701 as it failed using the last day of the current month
3704 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3706 * src/hildon-touch-selector.c
3707 (hildon_touch_selector_get_num_columns): added a parameter validation
3710 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3712 * examples/Makefile.am
3713 * examples/hildon-edit-toolbar-example.c: Example of the
3714 HildonEditToolbar widget.
3716 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3718 * configure.ac: postrelease version bump.
3720 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3724 * configure.ac: prerelease version bump.
3725 * debian/changelog: update.
3727 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3729 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3730 renderer to display stock icons in the touch list. Also, set the sizes
3731 to the recommended in the style guide.
3733 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3734 * src/hildon-touch-selector.h
3735 (hildon_touch_selector_set_active_iter): renamed, now is
3736 hildon_touch_selector_select_iter
3737 (hildon_touch_selector_get_active_iter): renamed, now is
3738 hildon_touch_selector_get_selected
3739 (hildon_touch_selector_unselect_iter): added
3740 * src/hildon-touch-selector.c
3741 Update after API modification (methods renamed)
3742 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3743 order to avoid problems selecting multiple elements on the column
3744 (hildon_touch_selector_unselect_iter): added the implementation
3745 * src/hildon-time-selector.c
3746 * src/hildon-date-selector.c
3747 * src/hildon-touch-selector-entry.c
3748 Update methods calls after hildon-touch-selector.h API modification (methods
3751 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3753 * src/hildon-stackable-window.c
3754 (hildon_stackable_window_finalize): Call the parent class's finalize.
3756 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3758 * examples/hildon-touch-selector-example.c: (create_selector): Use
3759 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3762 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3764 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3765 set a cell background color, to respect theming.
3767 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3769 * doc/hildon-docs.sgml
3772 * src/hildon-edit-toolbar.c
3773 * src/hildon-edit-toolbar.h
3774 * src/hildon.h: New HildonEditToolbar widget.
3776 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3778 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3781 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3782 * src/hildon-touch-selector.c
3783 (_create_new_column): use g_object_set instead of two g_object_set_property
3785 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3786 * src/hildon-touch-selector.c
3787 (_create_new_column): use of hildon_gtk_tree_view_new to create
3788 the treeview, instead of use directly g_object_new
3789 (_create_new_column): update the property name "vindicator-mode" for the
3790 new one "vscrollbar-policy"
3791 * examples/hildon-date-button-example.c
3792 * examples/hildon-picker-button-multicolumn-example.c
3793 * examples/hildon-touch-selector-entry-example.c
3794 * examples/hildon-touch-selector-example.c
3795 * examples/hildon-time-button-example.c
3796 * examples/hildon-picker-button-example.c
3797 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3798 to all the treeviews inside a pannable area.
3800 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3802 * src/hildon-button.h
3803 * src/hildon-button.c (hildon_button_init)
3804 (hildon_button_set_arrangement, hildon_button_set_alignment)
3805 (hildon_button_set_title_alignment)
3806 (hildon_button_set_value_alignment)
3807 (hildon_button_set_image_alignment)
3808 (hildon_button_construct_child): New methods to set the alignment
3809 of the individual components of the button (title, value,
3810 image). Also, new method to alter the xscale and yscale properties
3811 of the GtkAlignment inside the button, so more complex layouts can
3814 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3816 * src/hildon-button.c (hildon_button_style_set)
3817 (hildon_button_class_init, hildon_button_set_arrangement)
3818 (hildon_button_construct_child): Apply style properties
3819 correctly. Use the 'image-spacing' style property too.
3821 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3823 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3824 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3827 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3829 * src/hildon-pannable-area.c,
3830 (hildon_pannable_area_size_request): Fixed problem with
3831 pannable-area size_request.
3833 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3835 Added management for the grab-focus to a child widget, like a
3836 range, we need to fade out the scrollbar when releasing.
3838 * src/hildon-pannable-area.c,
3839 (hildon_pannable_area_init): Connected the grab-focus signal to
3841 (hildon_pannable_area_grab_notify): Added this function in order
3842 to manage the situation when the grab-focus ends. We have to
3843 fade-out the scrollbar.
3845 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-app-menu.c: Minor documentation update.
3849 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3851 * src/hildon-app-menu.c
3852 * examples/hildon-app-menu-example.c (create_menu): Update
3853 examples and documentation to explain how to connect callbacks.
3855 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3857 * examples/hildon-button-example.c
3858 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3859 hildon_stackable_window_new instead of gtk_window_new
3861 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3863 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3864 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3865 (hildon_pannable_area_set_property),
3866 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3867 (hildon_pannable_area_unrealize),
3868 (hildon_pannable_area_size_request),
3869 (hildon_pannable_area_size_allocate),
3870 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3871 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3872 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3873 (hildon_pannable_area_initial_effect),
3874 (hildon_pannable_area_redraw),
3875 (hildon_pannable_area_scroll_indicator_fade),
3876 (hildon_pannable_area_expose_event),
3877 (hildon_pannable_area_get_topmost), (synth_crossing),
3878 (hildon_pannable_area_button_press_cb),
3879 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3880 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3881 (hildon_pannable_area_motion_notify_cb),
3882 (hildon_pannable_area_button_release_cb),
3883 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3884 (hildon_pannable_area_remove),
3885 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3886 chage the code layout to a more GtkWidget like. Review the use of
3889 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3891 * examples/hildon-pannable-area-example-4.c,
3892 (main): Modified the name of the hindicator_mode to
3895 * src/hildon-pannable-area.c,
3896 (hildon_pannable_area_class_init),
3897 (hildon_pannable_area_motion_notify_cb),
3898 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3899 we have reduced the amount of signals and managed reviewed its
3900 rationale. Changed the default decelerate value.
3902 (hildon_pannable_area_add),
3903 (hildon_pannable_area_redraw): Refactored functions.
3905 (hildon_pannable_area_init),
3906 (hildon_pannable_area_get_property),
3907 (hildon_pannable_area_set_property):
3908 (hildon_pannable_draw_vscroll),
3909 (hildon_pannable_draw_hscroll),
3910 (hildon_pannable_area_initial_effect),
3911 (hildon_pannable_area_expose_event),
3912 (hildon_pannable_area_scroll),
3913 (hildon_pannable_area_button_press_cb),
3914 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3915 and vindicator_mode with hscrollbar_policy and
3916 vscrollbar_policy. Replaced hscroll and vscroll with
3917 hscroll_visible and vscroll_visible.
3919 (hildon_pannable_area_refresh): Refactor the function, remove
3920 variables and check the calls to this function, added resize
3921 conditions in case the children change their layout.
3923 (hildon_pannable_area_size_request): Added more detailed
3924 size_request calculation.
3927 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3929 * src/hildon-color-chooser.c
3930 (init_borders): use the correct gtk_border_free instead of g_free, to
3931 avoid a crash when this widget is used (ie: the three color selection
3934 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3936 * src/hildon-check-button.c,
3937 (hildon_check_button_set_active): Fixed problem when setting the
3938 active value, the widget was not redrawn.
3940 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3942 * src/hildon-pannable-area.c,
3943 (hildon_pannable_area_refresh),
3944 (hildon_pannable_area_scroll),
3945 (hildon_pannable_area_motion_notify_cb): Small code style change.
3947 (hildon_pannable_area_class_init): Default initial_hint set to
3948 FALSE, it is not in the specs.
3950 (hildon_pannable_area_initial_effect),
3951 (hildon_pannable_area_expose_event),
3952 (hildon_pannable_area_map),
3953 (hildon_pannable_area_init): Moved the launching point of the
3954 initial effect, it was in map but the sizes where not correct in
3955 that method so we do not know if we have the reproduce it. Now it
3956 is placed in the expose_event method and uses a variable to
3957 reproduce it just once.
3959 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3961 * src/hildon-pannable-area.c,
3962 (hildon_pannable_draw_vscroll),
3963 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3964 position allowed for the scrollbars.
3966 (hildon_pannable_area_size_allocate): Small style change.
3968 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3970 * src/hildon-pannable-area.c,
3971 (hildon_pannable_area_scroll_indicator_fade),
3972 (hildon_pannable_area_button_press_cb),
3973 (hildon_pannable_area_button_release_cb),
3974 (hildon_pannable_area_scroll_cb),
3975 (hildon_pannable_area_expose_event),
3976 (hildon_pannable_area_init): Added the define parameter
3977 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3978 and refactor the fade variable.
3980 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3982 * src/hildon-pannable-area.c,
3983 (hildon_pannable_area_redraw),
3984 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3985 lines, we were reimplemeting the redraw code.
3987 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3989 * src/hildon-pannable-area.c,
3990 (hildon_pannable_area_scroll_cb),
3991 (hildon_pannable_area_realize),
3992 (hildon_pannable_area_class_init): Added scroll_event management
3993 for pannable area, now we can scroll the usual desktop method.
3995 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3996 initialization of the parameters should depend on idle_id.
3998 (hildon_pannable_area_init),
3999 (hildon_pannable_area_map): Small code style modifications
4001 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4003 * src/hildon-pannable-area.c
4004 (hildon_pannable_area_button_press_cb),
4005 (hildon_pannable_area_motion_notify_cb),
4006 (hildon_pannable_area_button_release_cb),
4007 (hildon_pannable_area_size_allocate),
4008 (hildon_pannable_area_scroll_to): Improved the timeouts
4009 management, we avoid creating them each time.
4011 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4013 * src/hildon-pannable-area.c:
4014 (hildon_pannable_area_refresh),
4015 (hildon_pannable_area_motion_notify_cb),
4016 (hildon_pannable_area_class_init):
4017 * src/hildon-pannable-area.h:
4018 * src/hildon-touch-selector.c
4019 (_create_new_column):
4020 * examples/hildon-pannable-area-example-4.c:
4021 (horizontal_movement),
4022 (vertical_movement),
4024 Replaced the names of enums in the HildonPannableArea:
4025 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4026 HILDON_MOVEMENT_MODE_*
4027 - HILDON_PANNABLE_AREA_MOV_* ->
4029 - Removed HildonPannableAreaIndicatorMode, now we
4032 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4034 * examples/hildon-pannable-area-touch-grid-example.c
4035 * examples/hildon-pannable-area-touch-list-example.c: Fix
4036 compilation warnings.
4038 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4040 * src/hildon-gtk.c (hildon_gtk_button_new)
4041 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4042 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4043 images overriding the value of the "gtk-button-images" setting.
4045 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4047 * src/hildon-check-button.c (hildon_check_button_new):
4048 Instead of using a custom container, display the label and the
4049 checkbox using the standard GtkButton API.
4051 * examples/hildon-check-button-example.c (main): Don't use
4052 hildon_check_button_set_label() anymore
4054 * src/hildon-check-button.h
4055 * src/hildon-check-button.c
4056 (hildon_check_button_set_label, hildon_check_button_get_label):
4057 Set as deprecated, now we're using gtk_button_{get,set}_label()
4059 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4061 * src/hildon-pannable-area.c,
4062 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4063 GtkTreeview first line we detected it after the inclusion of the
4064 GtkWindowImpl in gtk+. We now check if the window is visible, not
4065 just if the pointer is over the window.
4066 (hildon_pannable_axis_scroll),
4067 (hildon_pannable_area_expose_event): Small style changes.
4069 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-button.c: Update documentation.
4073 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4075 * examples/hildon-button-example.c: Add a switch to show images in
4078 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4080 * doc/hildon-docs.sgml: Some docs reorganization.
4082 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4084 * examples/hildon-pannable-area-touch-list-example.c
4086 * examples/hildon-pannable-area-touch-grid-example.c
4087 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4088 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4089 Fix memory leak when setting the tree model.
4091 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4095 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4097 * doc/hildon.types: Remove duplicated hildon_window_get_type
4098 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4099 documentation comment.
4101 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4103 * doc/Makefile.am: Complete list of private headers.
4105 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4107 * doc/hildon-docs.sgml
4108 * src/hildon-app-menu.c
4109 * src/hildon-bread-crumb.c
4110 * src/hildon-button.c
4112 * src/hildon-program.c
4113 * src/hildon-stackable-window.c
4114 * src/hildon-window.c: Lots of documentation updates.
4116 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4118 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4120 * configure.ac: Require Gtk+ 2.12.9 at least
4122 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4124 * src/hildon-pannable-area.c
4125 (hildon_pannable_area_scroll_indicator_fade),
4126 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4127 to protect the return of this timeout callbacks, avoiding deadlocks.
4129 2008-08-12 Christian Dywan <christian@imendio.com>
4132 * src/hildon-*.h: Ensure a consistent include order,
4133 include <gtk/gtk.h> instead of particular files and
4134 only include the topmost header in the gtk stack. See NB #39857
4136 2008-08-12 Christian Dywan <christian@imendio.com>
4138 * src/hildon-picker-dialog.c
4139 * src/hildon-touch-selector.c: Fix warnings about unused and
4140 uninitialized variables.
4142 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4144 * examples/Makefile.am
4145 * examples/hildon-check-button-example.c: Example of the hildon
4148 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4150 * src/hildon-window.h
4151 * src/hildon-window.c (hildon_window_class_init)
4152 (hildon_window_unset_program): Don't make
4153 hildon_window_unset_program a virtual function anymore.
4155 * src/hildon-stackable-window.c: Update documentation
4157 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4160 * doc/hildon-docs.sgml
4161 * doc/visual_index.xml
4162 * src/hildon-defines.c
4164 * src/hildon-helper.c
4165 * src/hildon-range-editor.c: Lots of documentation fixes.
4167 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4169 * examples/hildon-picker-button-multicolumn-example.c
4170 (create_touch_selector): Fix compilation warning.
4172 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4174 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4175 (hildon_pannable_area_button_release_cb)
4176 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4178 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4180 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4183 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4185 * src/hildon-bread-crumb-trail.h
4186 * src/hildon-date-editor.c
4187 * src/hildon-date-selector.c
4188 * src/hildon-pannable-area.c
4189 * src/hildon-picker-dialog.c
4190 * src/hildon-time-selector.c
4191 * src/hildon-touch-selector-entry.c
4192 * src/hildon-touch-selector.c
4193 * src/hildon-touch-selector.h: Misc documentation fixes
4195 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4197 * examples/hildon-date-editor-example.c (main): Updated date
4200 * examples/hildon-note-example.c (on_confirmation_clicked):
4201 Updated confirmation note example.
4203 * src/hildon-date-editor.c
4204 * src/hildon-note.c: Updated sample programs in documentation.
4207 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4209 * src/hildon-date-button.h:
4210 * src/hildon-picker-button.h:
4211 * src/hildon-time-button.c:
4212 * src/hildon-time-button.h:
4214 Some declarations changes to allow gtk-doc to document the widgets
4217 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4219 * src/hildon-date-button.c: Document the widget.
4220 * src/hildon-time-button.c: Document the widget.
4222 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4224 * src/hildon-picker-button.c: Document the widget.
4225 * src/hildon-touch-selector-entry.c: Document the widget.
4227 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4229 * doc/hildon-docs.sgml
4232 * src/hildon-check-button.h
4233 * src/hildon-check-button.c: New functions to create the Hildon
4237 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4239 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4241 * src/hildon-button.h
4242 * src/hildon-button.c
4243 (hildon_button_add_title_size_group)
4244 (hildon_button_add_value_size_group)
4245 (hildon_button_add_image_size_group)
4246 (hildon_button_add_size_groups): New functions to set size groups
4247 for the button labels and image.
4248 (hildon_button_new_full): Removed
4250 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4252 * src/hildon-time-selector.c
4253 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4254 in order to avoid a crash if gconf is not available
4256 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4258 * src/hildon-button.c (hildon_button_set_arrangement)
4259 (hildon_button_construct_child): Don't construct the button child
4260 before setting the arrangement.
4262 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-program-private.h
4265 * src/hildon-program.c
4266 * src/hildon-program.h
4267 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4268 (hildon_program_peek_window_stack)
4269 (hildon_program_pop_window_stack)
4270 (hildon_program_go_to_root_window): HildonProgram now has a
4271 separate list for stackable windows. Functions are provided to
4272 manage that list with a stack-like API.
4274 * src/hildon-stackable-window.c: Stackable window management is
4275 now much simpler with the new HildonProgram API. Windows no
4276 longer need to be manually added to the program, they're
4277 automatically pushed to the top of the stack when shown.
4279 * examples/hildon-stackable-window-example.c: Updated example to
4280 reflect the API changes.
4282 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-touch-selector.c: Comment out unimplemented
4285 hildon_touch_selector_insert_column() to avoid a compile warning.
4287 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4290 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4291 (hildon_touch_selector_set_column_selection_mode),
4292 (_hildon_touch_selector_set_model),
4293 (hildon_touch_selector_set_model):
4295 Complete review of HildonTouchSelector documentation.
4297 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4299 * doc/hildon-docs.sgml
4303 * src/hildon-gtk.c: Convenience functions for standard Gtk
4304 widgets, used to easily perform frequent operations.
4306 * src/hildon-button-helpers.h
4307 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4309 * src/hildon-helper.h
4310 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4311 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4313 * src/hildon-button.h
4314 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4316 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4318 * src/hildon-button.c (hildon_button_init)
4319 (hildon_button_set_arrangement, hildon_button_construct_child):
4320 Pack the image and the labels inside the same GtkAlignment so
4321 gtk_button_set_alignment() can be used
4323 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-button.h
4326 * src/hildon-button.c
4327 (hildon_button_init, hildon_button_set_image)
4328 (hildon_button_set_image_position)
4329 (hildon_button_construct_child): New functions to add an image to
4332 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4334 * src/hildon-date-button.c
4335 * src/hildon-picker-button.c
4336 * src/hildon-time-button.c
4337 * src/hildon-button.c:
4338 (hildon_button_class_init): "size-flags" renamed to "size"
4339 (hildon_button_set_title): Hide the title label if set to NULL.
4341 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4343 HildonButtonFlags split into HildonButtonArrangement (to set the
4344 button layout) and HildonSizeType (which can be used for any
4347 * src/hildon-button.h
4348 * src/hildon-button.c
4349 (hildon_button_class_init)
4350 (hildon_button_set_arrangement)
4351 (hildon_button_set_property): New "size-flags"
4352 property. "arrangement-flags" renamed to "arrangement".
4353 (hildon_button_new, hildon_button_new_with_text)
4354 (hildon_button_new_full): Constructors updated to reflect type changes.
4356 * src/hildon-helper.h
4357 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4358 to set the size of a widget.
4362 * src/hildon-button-helpers.c
4363 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4365 * src/hildon-date-button.c
4366 * src/hildon-date-button.h
4367 * src/hildon-picker-button.c
4368 * src/hildon-picker-button.h
4369 * src/hildon-time-button.c
4370 * src/hildon-time-button.h: Updated widgets to reflect
4371 HildonButton API changes.
4373 * examples/hildon-button-example.c
4374 * examples/hildon-date-button-example.c
4375 * examples/hildon-picker-button-example.c
4376 * examples/hildon-picker-button-multicolumn-example.c
4377 * examples/hildon-time-button-example.c
4378 * examples/hildon-touch-selector-entry-example.c
4379 * examples/hildon-touch-selector-example.c: Updated examples to
4380 reflect HildonButton API changes.
4382 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4384 * doc/hildon-docs.sgml:
4386 * examples/Makefile.am:
4387 * examples/hildon-touch-selector-entry-example.c:
4389 * src/hildon-touch-selector-entry.c:
4390 * src/hildon-touch-selector-entry.h:
4393 Moved HildonTouchSelectorEntry from sandbox. Added its
4394 documentation and examples.
4396 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4398 * src/hildon-touch-selector.h:
4399 * examples/hildon-picker-button-multicolumn-example.c:
4400 (hildon_touch_selector_append_text_column): Add a gboolean
4401 parameter to determine if text must be centered in the column.
4403 * src/hildon-date-selector.c: (hildon_date_selector_init):
4404 * src/hildon-time-selector.c: (hildon_time_selector_init):
4405 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4406 (create_touch_selector): Update widgets and example to reflect
4409 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-touch-selector.c:
4412 (hildon_touch_selector_set_active_iter): Set also the cursor in
4415 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4417 * doc/hildon-docs.sgml
4420 * src/hildon-toggle-button.c
4421 * src/hildon-toggle-button.h
4422 * src/hildon.h: Removed HildonToggleButton widget, a derived
4423 class is not necessary for this.
4425 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4427 * src/hildon-pannable-area.c,
4428 (hildon_pannable_area_realize),
4429 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4432 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4434 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4435 "done" button the default widget for the dialog.
4437 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4439 * src/hildon-touch-selector.c:
4440 (hildon_touch_selector_class_init),
4441 (hildon_touch_selector_get_property),
4442 (_hildon_touch_selector_set_model),
4443 (_hildon_touch_selector_has_multiple_selection),
4444 (hildon_touch_selector_has_multiple_selection):
4445 Add a "has-multiple-selection" property with a virtual
4446 has_multiple_selection() method to allow derived classes to
4447 override the default value for it. See the method and property
4448 documentation for details.
4450 * src/hildon-touch-selector.h: Add the new API.
4452 * src/hildon-picker-dialog.c: (requires_done_button): Call
4453 hildon_touch_selector_has_multiple_selection() instead of
4454 determining the need for a button itself.
4456 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4458 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4459 (_hildon_touch_selector_set_model),
4460 (hildon_touch_selector_set_model): Move working code to
4461 _hildon_touch_selector_set_mode(). Call the class method instead.
4463 * src/hildon-touch-selector.h: Add (*set_model) to
4464 HildonTouchSelectorClass.
4466 Make hildon_touch_selector_set_model() a virtual method, so that
4467 derived classes can extend it and do fancy stuff with the model.
4469 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4471 * configure.ac: Set back the tarname in AC_INIT to hildon.
4473 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4477 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4478 instead of libesd (NB#86876). Volume handling is still an open issue.
4480 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4483 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4486 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4487 derived class to ease placement of an entry widget in
4488 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4489 end, where the selector columns are packed now.
4491 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4493 * src/hildon-picker-button.c: Removed the simple _text() API.
4494 * src/hildon-picker-button.h: Likewise.
4496 * src/hildon-touch-selector.h:
4497 * src/hildon-touch-selector.c:
4498 (hildon_touch_selector_new_text),
4499 (hildon_touch_selector_append_text),
4500 (hildon_touch_selector_prepend_text),
4501 (hildon_touch_selector_insert_text):
4503 Moved the simple _text() API from HildonPickerButton to
4504 HildonTouchPicker, to provide better escalability and not to tie
4505 that API to HildonPickerButton.
4507 * examples/hildon-picker-button-example.c: (main): Example updated.
4509 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-button.c: Updated documentation.
4513 * examples/hildon-button-example.c: Add the posibility to create
4514 the buttons using horizontal layout for title and value.
4516 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4518 * src/hildon-app-menu-private.h
4519 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4520 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4521 GtkSizeGroup for the filters, use the 'homogeneous' property of
4524 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4526 * examples/hildon-button-example.c: Updated example.
4528 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4530 * doc/hildon-docs.sgml:
4533 Update documentation.
4535 * examples/Makefile.am: Update renamed examples.
4537 * examples/hildon-picker-button-multicolumn-example.c:
4538 (create_touch_selector), (main): Update after the rename.
4540 * examples/hildon-touch-picker-example.c: Removed.
4541 * examples/hildon-touch-selector-example.c: (value_changed),
4542 (create_selector), (get_visible_content), (main): Renamed from
4543 hildon-touch-picker-example.c
4545 * src/Makefile.am: Updated renamed files.
4547 * src/hildon-date-button.c: (hildon_date_button_init),
4548 (hildon_date_button_get_date), (hildon_date_button_set_date):
4549 * src/hildon-date-selector.c: (hildon_date_selector_init),
4550 (_custom_print_func), (_update_day_model),
4551 (_manage_selector_change_cb),
4552 (hildon_date_selector_select_current_date),
4553 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4554 * src/hildon-date-selector.h:
4555 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4556 (hildon_picker_button_set_property),
4557 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4558 (hildon_picker_button_init), (hildon_picker_button_new_text),
4559 (hildon_picker_button_append_text),
4560 (hildon_picker_button_prepend_text),
4561 (hildon_picker_button_insert_text),
4562 (hildon_picker_button_set_selector),
4563 (hildon_picker_button_get_selector):
4564 * src/hildon-picker-button.h:
4565 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4566 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4567 (_update_title_on_selector_changed_cb), (requires_done_button),
4568 (_hildon_picker_dialog_set_selector),
4569 (hildon_picker_dialog_set_selector),
4570 (hildon_picker_dialog_get_selector):
4571 * src/hildon-picker-dialog.h:
4572 * src/hildon-time-button.c: (hildon_time_button_init),
4573 (hildon_time_button_get_time), (hildon_time_button_set_time):
4574 * src/hildon-time-selector.c: (hildon_time_selector_init),
4575 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4576 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4577 * src/hildon-time-selector.h:
4580 Massive code updates after the rename.
4582 * src/hildon-touch-picker.c: Removed.
4583 * src/hildon-touch-picker.h: Removed.
4585 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4586 (hildon_touch_selector_init), (hildon_touch_selector_map),
4587 (hildon_touch_selector_remove), (_default_print_func),
4588 (_selection_changed_cb), (_create_new_column),
4589 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4590 (hildon_touch_selector_append_text_column),
4591 (hildon_touch_selector_remove_column),
4592 (hildon_touch_selector_set_column_attributes),
4593 (hildon_touch_selector_insert_column),
4594 (hildon_touch_selector_get_num_columns),
4595 (hildon_touch_selector_get_column_selection_mode),
4596 (hildon_touch_selector_set_column_selection_mode),
4597 (hildon_touch_selector_set_print_func),
4598 (hildon_touch_selector_get_print_func),
4599 (hildon_touch_selector_get_active_iter),
4600 (hildon_touch_selector_set_active_iter),
4601 (hildon_touch_selector_get_selected_rows),
4602 (hildon_touch_selector_get_model),
4603 (hildon_touch_selector_set_model),
4604 (hildon_touch_selector_get_current_text),
4605 (_hildon_touch_selector_center_on_selected_items):
4606 * src/hildon-touch-selector.h: Renamed from
4607 hildon-touch-picker.[ch]
4609 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4610 references, code examples, and related documentation.
4612 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4614 * doc/hildon-docs.sgml
4617 * src/hildon-toggle-button.c
4618 * src/hildon-toggle-button.h
4619 * src/hildon.h: New HildonToggleButton widget.
4621 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4623 * src/hildon-button.c: Add API documentation.
4624 (hildon_button_set_size_groups): Check input parameters
4626 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4628 * src/hildon-pannable-area.c
4629 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4630 effect after reaching the movement thredshold. This way we start
4631 using the distance after passing the thredshold.
4633 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4635 * src/hildon-button.c: (hildon_button_set_property): Use the
4636 appropriate g_value_get_flags() method.
4638 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4640 * doc/hildon-docs.sgml:
4643 Add the touch pickers, picker dialogs, and picker button widgets
4644 to the documentation.
4646 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4648 * src/hildon-button.c: (hildon_button_set_property),
4649 (hildon_button_class_init): Make "arrangement-flags" a proper
4650 G_TYPE_FLAGS derived property.
4652 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4654 * examples/Makefile.am: Add below examples.
4655 * examples/hildon-date-button-example.c:
4656 * examples/hildon-picker-button-example.c:
4657 * examples/hildon-picker-button-multicolumn-example.c:
4658 * examples/hildon-time-button-example.c:
4659 * examples/hildon-touch-picker-example.c:
4661 Add examples for the recently added touch pickers,
4662 picker dialogs, and picker button widgets.
4664 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4666 * src/hildon-button.c: Add some API documentation
4668 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4670 * src/hildon-button.h
4671 * src/hildon-button.c
4673 (hildon_button_new_with_text): New constructor to create a button
4674 with no text at all.
4675 (hildon_button_init, hildon_button_set_arrangement)
4676 (hildon_button_set_title, hildon_button_set_value)
4677 (hildon_button_set_text)
4678 (hildon_button_construct_child): Hide the value when it's not used
4679 so the rest of the text is properly aligned.
4680 Allow creating buttons with arbitrary widgets inside (not just
4681 title/value labels).
4683 * examples/hildon-button-example.c (vertical_buttons_window)
4684 (horizontal_buttons_window): Update example to use new API.
4686 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4688 * src/Makefile.am: Added HildonTimeButton.
4689 * src/hildon-time-button.c: Added missing LGPL header.
4690 * src/hildon-time-button.h: Added missing LGPL header.
4691 * src/hildon.h: Add hildon-time-button.h
4693 Copied HildonTimeButton from sandbox to trunk. Future work on this
4694 widget must take place in trunk.
4696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4698 * src/Makefile.am: Added HildonDateButton.
4699 * src/hildon-date-button.c: Update includes.
4700 * src/hildon.h: Add hildon-date-button.h
4702 Copied HildonDateButton from sandbox to trunk. Future work on this
4703 widget must take place in trunk.
4705 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4707 * src/Makefile.am: Added HildonPickerButton.
4708 * src/hildon-picker-button.h: Update includes.
4709 * src/hildon.h: Add hildon-picker-button.h
4711 Copied HildonPickerButton from sandbox to trunk. Future work on
4712 this widget must take place in trunk.
4714 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4716 * src/Makefile.am: Added HildonPickerDialog.
4717 * src/hildon-picker-dialog.c: Update includes.
4718 * src/hildon.h: Add hildon-picker-dialog.h
4720 Copied HildonPickerDialog from sandbox to trunk. Future work
4721 on this widget must take place in trunk.
4723 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4725 * src/Makefile.am: Added HildonTimeSelector.
4726 * src/hildon.h: Add hildon-time-selector.h
4728 Copied HildonTimeSelector widget from sandbox to trunk. Future
4729 work on this widget must happen in trunk.
4731 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4733 * src/Makefile.am: Added HildonDateSelector.
4734 * src/hildon.h: Add hildon-date-selector.h
4736 Copied HildonDateSelector widget from sandbox to trunk. Future
4737 work on this widget must happen in trunk.
4739 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4741 * src/Makefile.am: Added HildonTouchPicker.
4742 * src/hildon-touch-picker.c: Update includes.
4743 * src/hildon.h: Add hildon-touch-picker.h
4745 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4746 on this widget must happen in trunk.
4748 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-pannable-area.c:
4751 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4753 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4755 * examples/hildon-app-menu-example.c (main): Let the window
4758 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4760 * src/hildon-pannable-area.c
4761 (hildon_pannable_area_class_init): Set the min value of the
4762 overshoot properties to zero, which points out that not
4763 overshooting allowed.
4765 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4767 Modified the procedure to get the widget at a point inside the
4768 pannable area when using the movement type signals. Now the user
4769 has to call a function to get the child, that way we just
4770 calculate the child in case the user really want to use it and not
4773 * src/hildon-marshalers.list: Modified the marshallers, now we do
4774 not have the widget as a parameter.
4776 * src/hildon-pannable-area.c
4777 (hildon_pannable_area_motion_notify_cb),
4778 (hildon_pannable_area_class_init),
4779 (hildon_pannable_get_child_widget_at): Removed the widget
4780 parameter from the signal callback. We have also refactored the
4781 emission of the signals.
4783 * src/hildon-pannable-area.h: Added a new method to the API to
4784 calculate a widget at a point inside the pannable area,
4785 hildon_pannable_get_child_widget_at.
4787 * examples/hildon-pannable-area-example-4.c
4788 (horizontal_movement): Modified the example to use the new API,
4789 added condition to control which widget is under the event. This
4790 way we can avoid scrolling laterally over other widgets.
4792 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4794 * src/hildon-pannable-area.c
4795 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4796 modes, we stop getting the pointer events due to returning the
4797 callback without properly calling the get pointer again. Fixed
4798 also an error using the hscroll and vscroll.
4800 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4802 * src/hildon-app-menu-private.h
4803 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4804 (hildon_app_menu_button_release, hildon_app_menu_init)
4805 (hildon_app_menu_class_init): Don't hide the menu on button
4806 release if the user didn't press outside first.
4808 * src/hildon-window.h
4809 * src/hildon-window.c (hildon_window_toggle_menu)
4810 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4811 hildon_window_toggle_menu a virtual function for the stackable
4812 window to override it.
4814 * src/hildon-stackable-window.h
4815 * src/hildon-stackable-window-private.h
4816 * src/hildon-stackable-window.c
4817 (hildon_stackable_window_realize)
4818 (hildon_stackable_window_finalize)
4819 (hildon_stackable_window_class_init)
4820 (hildon_stackable_window_init)
4821 (hildon_stackable_window_set_main_menu): New function to set the
4822 app menu of a HildonStackableWindow.
4824 * examples/hildon-app-menu-example.c: Remove the button to show
4825 the app menu, now it'll be shown when clicking on the title bar
4828 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4830 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4831 set the widget name if the arrangement flags do not specify
4834 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4836 * src/hildon-button.c: (hildon_button_set_property),
4837 (hildon_button_class_init), (hildon_button_new_full),
4838 (hildon_button_set_arrangement): Added "arrangement-flags"
4841 Make the HildonButtonFlags a construction-only property, to allow
4842 subclasses to set them properly.
4844 2008-07-21 Tim Janik <timj@imendio.com>
4846 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4847 insertion position after backspace, so additional digits are appended,
4850 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4852 * src/hildon-pannable-area.c,
4853 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4854 TODO list, it was complete and removed the g_debug and g_print
4857 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4859 Added the movement modes to the hildon-pannable-area, with this
4860 modes the developers can control in which directions the widget
4861 can scroll. They can also connect to signals in order to do
4862 something when that happens, allowing applications scroll. There
4863 is an example uploaded showing how to use it.
4865 * examples/Makefile.am:
4866 * examples/hildon-pannable-area-example-4.c: Added this example of
4867 an application using the modes.
4869 * src/hildon-marshalers.list: Added a new marshaller for the new
4872 * src/hildon-pannable-area.h: Added new enumerations and flags in
4873 order to control the movement modes and the new signals to warn
4874 about the movements in the area.
4876 * src/hildon-pannable-area.c:
4877 (hildon_pannable_axis_scroll),
4878 (hildon_pannable_area_scroll),
4879 (hildon_pannable_area_motion_notify_cb),
4880 (hildon_pannable_area_get_property),
4881 (hildon_pannable_area_set_property),
4882 (hildon_pannable_area_map),
4883 (hildon_pannable_area_class_init),
4884 (hildon_pannable_area_init),
4885 (hildon_pannable_area_jump_to): Added the modes to control the
4886 movement in the widget. We have added properties to control it,
4887 signals to warn about the movements and refactored some code.
4889 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4891 Changes required in order to allow vfast_factor set to zero to
4894 * src/hildon-pannable-area.c:
4895 (hildon_pannable_area_button_press_cb): Changed the condition, it
4896 is required for not allowing click when vfast_factor is zero.
4897 (hildon_pannable_area_timeout): Initialized velocity variables
4898 when we stop moving, it was less than 1 but not zero and we need
4899 to check zero in some situations.
4900 (hildon_pannable_area_class_init): Changed the default value of
4901 the speed factor, now the button_press is just sent in case the
4902 speed is 2 per cent of the max speed.
4903 (hildon_pannable_area_init): Initialization with 0.
4905 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4907 * src/hildon-pannable-area.c,
4908 (hildon_pannable_area_get_topmost): replaced
4909 gdk_window_get_children with gdk_window_peek_children, this way we
4910 do not have to free the list because it is not a copy.
4912 (hildon_pannable_axis_scroll),
4913 (hildon_pannable_area_scroll),
4914 (hildon_pannable_area_timeout),
4915 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4916 two parameters that were only used inside the
4917 hildon_pannable_area_scroll function.
4919 * examples/hildon-pannable-area-example.c,
4920 (get_sawtooth_label): Fixed small memory leak.
4922 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4924 More checks for the case where the overshoot is bigger than the
4927 * src/hildon-pannable-area.c:
4928 (hildon_pannable_draw_vscroll),
4929 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4930 to draw the slider of the scrollbar under the other scrollbar.
4931 (hildon_pannable_area_expose_event): added new checks to control
4932 the drawing of the overshooting area rectangle, in case it is too
4933 big for the area of the widget.
4934 (hildon_pannable_area_size_allocate): add more checks to avoid
4935 setting a position to the child widget outside the area.
4937 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4939 * src/hildon-pannable-area.c
4940 (hildon_pannable_area_size_allocate): Added conditions to control
4941 when overshooting is bigger than the allocated space for the
4942 children, this avoids negative allocations.
4944 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4946 * doc/hildon-docs.sgml
4948 * examples/Makefile.am
4949 * examples/hildon-button-example.c
4951 * src/hildon-button.c
4952 * src/hildon-button.h
4953 * src/hildon.h: Initial version of the new HildonButton widget,
4956 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4958 * src/hildon-pannable-area.c:
4959 (hildon_pannable_area_button_press_cb),
4960 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4961 (hildon_pannable_area_motion_notify_cb),
4962 (hildon_pannable_area_button_release_cb),
4963 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4964 (hildon_pannable_area_jump_to_child):
4966 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4968 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4970 * examples/Makefile.am
4971 * examples/hildon-pannable-area-touch-grid-example.c
4972 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4973 the Hildon Touch List and Hildon Touch Grid using the
4974 HildonPannableArea widget.
4976 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4978 * src/hildon-pannable-area.c,
4979 (hildon_pannable_area_button_press_cb),
4980 (hildon_pannable_area_refresh),
4981 (hildon_pannable_area_scroll),
4982 (hildon_pannable_area_motion_notify_cb),
4983 (hildon_pannable_area_button_release_cb),
4984 (hildon_pannable_area_expose_event),
4985 (hildon_pannable_area_add),
4986 (hildon_pannable_area_remove),
4987 (hildon_pannable_area_realize),
4988 (hildon_pannable_area_size_allocate),
4989 (hildon_pannable_area_class_init),
4990 (hildon_pannable_area_init),
4991 (hildon_pannable_area_scroll_to_child),
4992 (hildon_pannable_area_jump_to_child): Fixed the problem of
4993 removing the child from the GtkBin, we have rearranged the widget
4994 hierarchy, now there is no GtkAlignment which was not doing
4995 anything interesting but breaking some of the assumptions of
4996 GtkContainer. Now developers if they want to add a GtkAlignment
4997 they could, but it is not inside the area.
4999 We had to review the whole allocation/expose process, now it is
5000 improved and we save at least three signals which would be saving
5001 some time when rendering the widget. The allocation of the
5002 scrollbars is now made in the allocate method as usual.
5004 We have also added some conditions in order to control when there
5005 is no child of the pannable area. Maybe we will need more work
5008 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5010 * src/hildon-pannable-area.c,
5011 (hildon_pannable_area_dispose): Released the fade-out timeout when
5012 disposing the widget.
5014 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5016 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5017 zero, we are going to use that property in order to deactivate the
5019 (hildon_pannable_axis_scroll),
5020 (hildon_pannable_area_size_allocate): Added conditions to control
5021 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5022 call, now it is called in all situations and we can remove calls
5023 in the allocate method.
5024 (hildon_pannable_area_map): Control the situation when
5025 overshoot_max is zero, we do not need the timeout.
5026 (hildon_pannable_area_class_init): Added documentation in order to
5027 point out that setting zero to overshoot_max means deactivate
5030 NOTE: removed trailing whitespaces from my previous comments of
5033 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5035 * src/hildon-pannable-area.c
5036 (hildon_pannable_area_get_property),
5037 (hildon_pannable_area_set_property),
5038 (hildon_pannable_area_map),
5039 (hildon_pannable_area_class_init),
5040 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5041 to cause the widget give a hint about its panning abilities upon
5044 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-pannable-area.c: Several documentation improvements.
5048 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-program.c
5051 * src/hildon-stackable-window.c: Update documentation.
5053 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-stackable-window.c (get_previous_window_if_last):
5056 Renamed get_last_window()
5057 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5058 (hildon_stackable_window_unset_program):
5060 (get_previous_window_if_last):
5061 Detect if the window hasn't been added to a HildonProgram.
5063 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5065 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5067 * src/hildon-pannable-area.c
5068 (hildon_pannable_area_button_press_cb),
5069 (hildon_pannable_axis_scroll),
5070 (hildon_pannable_area_scroll),
5071 (hildon_pannable_area_timeout),
5072 (hildon_pannable_calculate_vel_factor),
5073 (hildon_pannable_area_get_property),
5074 (hildon_pannable_area_set_property),
5075 (hildon_pannable_area_class_init),
5076 (hildon_pannable_area_init),
5077 (hildon_pannable_area_scroll_to),
5078 (hildon_pannable_area_jump_to),
5079 (hildon_pannable_area_scroll_to_child),
5080 (hildon_pannable_area_jump_to_child):
5081 * src/hildon-pannable-area.h: Added the new API functions:
5082 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5083 hildon_pannable_area_scroll_to_child,
5084 hildon_pannable_area_jump_to_child
5087 * examples/Makefile.am
5088 * examples/hildon-pannable-area-example-2.c
5089 * examples/hildon-pannable-area-example-3.c: Added these two new
5090 examples in order to test and show how the new APIs work.
5092 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5094 * examples/hildon-stackable-window-example.c (new_window):
5095 * src/Makefile.am (noinst_HEADERS):
5096 * src/hildon-program.c (hildon_program_go_to_root_window):
5097 * src/hildon-program.h:
5098 * src/hildon-stackable-window-private.h:
5099 * src/hildon-stackable-window.c:
5100 * src/hildon-stackable-window.h:
5101 Create hildon-stackable-window-private.h
5102 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5104 * examples/hildon-app-menu-example.c (create_menu):
5105 * examples/hildon-hvolumebar-insensitive-example.c (main):
5106 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5107 * examples/hildon-toolbar-seekbar-example.c (main):
5108 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5109 * src/hildon-banner.c (hildon_banner_set_property):
5110 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5111 Fix compilation warnings
5113 * src/hildon-window.c:
5116 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5118 * src/hildon-stackable-window.c
5119 (hildon_stackable_window_unset_program):
5120 Calculate correctly whether to show the previous window if the
5121 last one is removed from the stack.
5122 (hildon_stackable_window_go_to_root_window):
5123 Send delete events starting from the topmost window.
5124 Stop if one of the windows is not destroyed.
5126 (hildon_stackable_window_delete_event)
5127 (hildon_stackable_window_class_init):
5128 Ignore the delete event if the window is not the topmost one.
5130 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5132 * src/hildon-pannable-area.c
5133 (hildon_pannable_area_expose_event): Fixed a problem when
5134 selecting the background color of the scrollbars.
5136 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5138 * examples/hildon-stackable-window-example.c
5139 * src/hildon-stackable-window.c
5140 * src/hildon-stackable-window.h
5141 hildon_stackable_window_go_home() renamed to
5142 hildon_stackable_window_go_to_root_window()
5143 Send delete events to windows rather than closing them with
5144 gtk_widget_destroy()
5146 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5148 * src/hildon-pannable-area.c
5149 (hildon_pannable_area_button_release_cb): Fix overshooting in
5152 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5154 * src/hildon-pannable-area.c
5155 (hildon_pannable_area_init): Initially show the scroll indicators.
5156 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5158 Add initial effect showing the widget is pannable.
5160 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5162 * src/hildon-pannable-area.c
5163 (hildon_pannable_area_class_init)
5164 (hildon_pannable_area_set_property)
5165 (hildon_pannable_area_get_property)
5166 (hildon_pannable_area_button_press_cb):
5167 New 'velocity_fast_factor' property to decide which velocity is
5170 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5172 * src/hildon-pannable-area.c
5173 (hildon_pannable_draw_hscroll)
5174 (hildon_pannable_draw_vscroll):
5175 Use float variables to calculate the size of the scrollbars to
5176 avoid error propagation and resizing during scrolling.
5178 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5180 * src/hildon-pannable-area.c
5181 (hildon_pannable_draw_vscroll)
5182 (hildon_pannable_draw_hscroll):
5183 Define a minimum size for the scroll bars
5185 * src/hildon-stackable-window.c
5186 (hildon_stackable_window_go_home): Fix compilation warning
5187 (get_last_window): Minor optimizations
5188 (hildon_stackable_window_class_init): Fix initialization of
5191 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5193 * src/hildon-stackable-window.c: Fixed typos in doc
5195 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5197 * src/hildon-pannable-area.c
5198 (hildon_pannable_area_scroll):
5199 Calculate here whether we need to scroll instead of using the booleans
5200 that tell us whether to /draw/ the scrolling bars.
5202 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5204 * src/hildon-app-menu.h
5206 * src/hildon-app-menu.c
5207 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5208 multiple filter groups related code and API. Now we support only
5210 * examples/hildon-app-menu-example.c:
5212 Update to reflect API changes.
5214 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5216 * src/hildon-stackable-window.c
5217 (hildon_stackable_window_class_init):
5218 Add hildon_stackable_window_realize.
5219 (hildon_stackable_window_realize):
5220 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5221 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5222 to apply theming and behavior specific to HildonStackableWindow
5225 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5227 * src/hildon-note.c (hildon_note_button_release):
5228 Close information notes also when tapping on them
5230 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5232 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5233 ELASTICITY, refactor and review, fix some issues with drawing
5236 * src/hildon-pannable-area.c:
5237 (hildon_pannable_area_button_press_cb): removed the conditions to
5238 avoid clicks when overshooting. It is not required
5240 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5241 define. Refatored and reviewed the code, now we do not need to
5242 manage velocity in motion_notify.
5244 (hildon_pannable_area_motion_notify_cb): We have moved the code
5245 that controls the area_scroll to the axis_scroll function and get
5246 rid of duplicated code.
5248 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5250 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5252 (hildon_pannable_draw_vscroll),
5253 (hildon_pannable_draw_hscroll): Fixed the problems with the
5254 scrollbar drawing, now we do not use two surfaces, it is easier
5255 and saves resources.
5257 (hildon_pannable_area_get_property): Style modification.
5259 (hildon_pannable_area_class_init): Changed some default values.
5261 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5263 * src/hildon-stackable-window.c: Fix some typos in the
5266 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-dialog.c:
5269 Change indentation style
5272 (hildon_note_button_release):
5273 Use root coordinates to check if the release event happened
5276 * src/hildon-app-menu.c
5277 (hildon_app_menu_button_release):
5278 Remove unnecessary check
5280 * examples/hildon-app-menu-example.c
5282 Add cast to fix warning
5284 * src/hildon-app-menu.c
5285 (hildon_app_menu_class_init):
5286 New inner-border style property.
5287 Set all default spacings to 16
5288 (hildon_app_menu_init):
5289 Use vertical-spacing to set the space between filter buttons and
5290 regular menu buttons.
5291 Set the default container border using the inner-border value.
5293 * examples/hildon-app-menu-example.c
5295 Don't set the menu border explicitly, now we have the inner-border
5296 style property for that.
5298 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5300 * src/hildon-app-menu.c (hildon_app_menu_init):
5301 Make the window modal
5303 * src/hildon-note.c (hildon_note_map)
5304 * src/hildon-app-menu.c (hildon_app_menu_map):
5305 Destroy the grab window if we're unable to grab the pointer
5307 * src/hildon-app-menu-private.h
5308 * src/hildon-app-menu.c
5309 (hildon_app_menu_init, hildon_app_menu_finalize)
5310 (hildon_app_menu_map, hildon_app_menu_unmap)
5311 (hildon_app_menu_button_release)
5312 (grab_transfer_window_get):
5313 Bring back the grab window
5314 (hildon_app_menu_realize):
5315 Decorate the window, set WM hint for Matchbox
5317 * src/hildon-note.c (hildon_note_realize):
5318 * src/hildon-banner.c (hildon_banner_realize):
5319 Add WM hints for Matchbox
5321 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5323 * src/hildon-app-menu-private.h
5324 * src/hildon-app-menu.c
5325 (hildon_app_menu_init, hildon_app_menu_finalize)
5326 (hildon_app_menu_map, hildon_app_menu_unmap)
5327 (hildon_app_menu_button_release):
5328 Remove the grab window, it's not needed anymore
5330 * src/hildon-program.c
5331 Fixed typo in documentation
5333 * src/hildon-app-menu.h
5334 * src/hildon-app-menu.c
5335 * examples/hildon-app-menu-example.c
5336 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5338 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5341 Added new transfer_window and close_if_pressed_outside private
5343 (hildon_note_rebuild):
5344 Don't add a cancel button to the information note. It will be
5345 closed when tapping outside
5346 Remove the comment about the OK button in the documentation
5347 (hildon_note_realize):
5348 Set the notification type hint
5349 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5350 Grab/ungrab pointer and keyboard if the note has to be closed when
5352 (hildon_note_button_release):
5353 Close the note when tapping outside (if applicable)
5355 * src/hildon-app-menu.c
5356 Grab/ungrab pointer and keyboard on map/unmap
5357 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5358 Close the menu on button release, not button press
5360 * src/hildon-banner.c
5361 (hildon_banner_set_property)
5362 (hildon_banner_check_position):
5363 Make the banner use the full width of the screen
5364 (hildon_banner_show_information)
5365 (hildon_banner_show_information_with_markup):
5366 Don't display an icon by default
5368 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5370 Added fading scrollbars and adapted all the overshooting code to
5371 horizontal scrolling. We have also fixed bugs with overshooting
5372 and current fading implementation.
5374 * src/hildon-pannable-area.c
5375 (hildon_pannable_area_scroll_indicator_fade): Time out function
5376 used to change the transparency of the scrollbars.
5378 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5379 control and fixed a problem with fading, we now remove the fade
5380 timeout before adding a new one.
5382 (hildon_pannable_axis_scroll):
5383 (hildon_pannable_area_scroll):
5384 (hildon_pannable_area_timeout): Added this functions so we can use
5385 the scroll code both for vertical and horizontal.
5387 (hildon_pannable_area_motion_notify_cb):
5388 (hildon_pannable_area_button_release_cb): Added the horizontal
5389 scrolling control, fixed a problem with the overshooting timeout.
5391 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5392 painting of the scrolls.
5394 (hildon_pannable_draw_vscroll):
5395 (hildon_pannable_draw_hscroll):
5396 (hildon_pannable_area_expose_event):
5397 Draw both scrollbars and rectangles in the overshooting area.
5399 (hildon_pannable_area_get_property):
5400 (hildon_pannable_area_set_property):
5401 Modified the overshoot property to overshoot_max
5403 (hildon_pannable_area_map):
5404 Replaced the comments symbols.
5406 (hildon_pannable_area_size_allocate):
5407 (hildon_pannable_area_class_init):
5408 (hildon_pannable_area_init): Added horizontal scroll, fading
5409 effect properties, fixed a problem when overshooting in the bottom
5412 * examples/hildon-pannable-area-example.c:
5413 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5414 looks better in the example.
5416 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5418 * src/hildon-window.c
5419 * src/hildon-window.h
5420 (hildon_window_class_init)
5421 (hildon_window_unset_program)
5422 (hildon_window_unset_program_real):
5423 Make unset_program a virtual function
5425 * src/hildon-stackable-window.c
5426 * src/hildon-stackable-window.h
5427 Added hildon_stackable_window_go_home()
5429 * examples/Makefile.am
5430 * examples/hildon-stackable-window-example.c
5431 HildonStackableWindow example
5433 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5435 * hildon-pannable-area.c: Added the overshoot property and removed
5436 the OVERSHOOT define. Fixed an indent style error.
5437 (hildon_pannable_area_motion_notify_cb):
5438 (hildon_pannable_area_get_property):
5439 (hildon_pannable_area_set_property): Add overshoot property.
5441 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5444 (hildon_pannable_area_class_init): Installed the new property.
5446 * hildon-pannable-area-example.c: Added a sawtooth function, this
5447 way it is easier to check the movement in the pannable.
5448 (get_sawtooth_label): Added this function.
5449 (main): Now we get the labels from the new get_sawtooth_label
5452 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-app-menu.h
5455 * src/hildon-app-menu.c
5456 Renamed API variables for consistency
5458 (hildon_app_menu_popup): Use also the default window size to
5459 decide where to place the menu
5461 (hildon_app_menu_init, hildon_app_menu_class_init): New
5462 external-border style property
5464 2008-05-26 Michael Natterer <mitch@imendio.com>
5466 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5467 widget_class->tap_and_hold_setup signal slot doesn't exist any
5468 longer, stop overriding it.
5470 (hildon_time_editor_init): g_signal_connect() to the
5471 tap-and-hold-setup signal instead.
5473 (hildon_time_editor_entry_keypress): add cast to fix warning.
5475 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5477 * doc/hildon-docs.sgml
5479 * examples/Makefile.am
5480 * examples/hildon-app-menu-example.c
5482 * src/hildon-app-menu-private.h
5483 * src/hildon-app-menu.c
5484 * src/hildon-app-menu.h
5486 New HildonAppMenu widget
5488 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5490 Rearranged the inheritance of the pannable area, now it inherits
5491 from GtkBin. This will allow us to control the event_window and
5492 the allocation process of the widget, required for some effects.
5494 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5495 GtkBin structures. * src/hildon-pannable-area.c: Added the
5496 event_window variable.
5497 (hildon_pannable_area_button_press_cb):
5498 (hildon_pannable_area_button_release_cb):
5499 (hildon_pannable_area_motion_notify_cb):
5500 Changed the signature of the method, now we override the event
5501 callback instead of connecting to the signal.
5503 (hildon_pannable_area_realize):
5504 (hildon_pannable_area_unrealize):
5505 (hildon_pannable_area_map):
5506 (hildon_pannable_area_unmap):
5507 (hildon_pannable_area_size_allocate):
5508 Added functions to control the widget construction. We add a
5509 INPUT_ONLY window and we put it over the widgets inside the
5510 container, this event_window handles the events.
5512 (hildon_pannable_area_class_init):
5513 Replaced the signal connections with overrides of the event
5516 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5518 Bouncing effect added when touching the borders, you can change
5519 the elasticity of the border changing the ELASTICITY define.
5521 * src/hildon-pannable-area.c: Added ELASTICITY define.
5522 (hildon_pannable_area_timeout): Added inverse velocity when
5523 touching the border of the child widget, that causes a bounce.
5525 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5527 Improved performance, we now do not go to the X server in order to
5528 get the list of window children. Apparently the effect is the
5529 same, we have to be careful and check if this breaks something in
5532 * src/hildon-pannable-area.c:
5533 (get_ordered_children): Removed this function.
5534 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5535 the children windows function with gdk_window_get_children.
5537 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5539 * src/hildon-pannable-area.c:
5540 (hildon_pannable_area_dispose): Fixed a crash when closing the
5541 window and kinetics is activated.
5543 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5545 * src/hildon-pannable-area.h
5546 * src/hildon-pannable-area.c
5547 Changed indentation style to meet the one used in Hildon
5549 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5551 Reviewed the interaction of the AUTO mode, now we use the time
5552 attribute of the events and calculate the velocity in the motion,
5553 doing a gimp like calculation. The velocity is calculated in each
5554 motion event using the last velocity and the current one, the
5555 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5557 * src/hildon-pannable-area.c: Replaced the time based algorithm
5559 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5560 timeout for the AUTO mode when we are still moving the cursor. We
5561 added also the velocity calculation in this function.
5562 (hildon_pannable_area_button_release_cb): launch the timeout in
5563 case we are in AUTO mode. There are still some constants here that
5564 come from the old implementation that should be reviewed and
5567 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5569 * doc/hildon-docs.sgml
5572 * src/hildon-stackable-window.c
5573 * src/hildon-stackable-window.h
5575 New HildonStackableWindow widget
5577 * examples/hildon-dialog-example.c
5578 * examples/hildon-pannable-area-example.c
5581 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-dialog.c
5584 (hildon_dialog_new_with_buttons): New constructor.
5586 * examples/hildon-dialog-example.c
5587 (main): Update the example to use the new
5588 hildon_dialog_new_with_buttons().
5590 * examples/hildon-pannable-area-example.c
5591 (main): Update example.
5593 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5595 * doc/hildon-docs.sgml
5597 Added HildonPannableArea to the documentation.
5599 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5601 * doc/visual_index.xml
5602 Fix reference to HildonLoginDialog in documentation
5604 * doc/hildon-docs.sgml
5606 * examples/Makefile.am
5607 * examples/hildon-dialog-example.c
5609 * src/hildon-dialog.c
5610 * src/hildon-dialog.h
5612 New HildonDialog widget.
5614 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5616 * src/hildon-pannable-area.c
5617 Merge latest changes (r4318, r4342) from libmokoui trunk
5619 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5621 * examples/Makefile.am
5622 * examples/hildon-pannable-area-example.c
5624 * src/hildon-pannable-area.c
5625 * src/hildon-pannable-area.h
5627 New HildonPannableArea widget.
5629 2008-04-15 18:05:19 <timj@imendio.com>
5631 * src/hildon-banner.c: revert the recent change, that introduced
5632 gtk_window_present() calls. this reopens:
5633 Bug 78481 - [freetest] information banners are hidden under browser menu
5634 But resolves another variant of:
5635 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5637 2008-04-15 13:21:13 <timj@imendio.com>
5639 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5640 recreated its layout, spotted by Kris. this fixes all remaining
5641 artefacts and stability issues with the banner code. in particular:
5642 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5644 2008-04-14 16:52:59 <timj@imendio.com>
5646 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5647 operating on unrealized widgets, fixes:
5648 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5650 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5652 2008-04-09 Kristian Rietveld <kris@imendio.com>
5654 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5655 makes banner disappear.
5656 Fixes: NB#79182: info banner flickering with certain message lengts.
5658 * src/hildon-banner.c (hildon_banner_constructor),
5659 (hildon_banner_init), (hildon_banner_set_text),
5660 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5661 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5662 FALSE, reset size requests of label and banner,
5663 (force_to_wrap_truncated): when the text is too wide, always enforce
5664 the maximum possible width instead of recalculating it from the
5665 layout; enforce the maximum banner height of 3 lines,
5666 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5667 nicer wrapping and no truncated chars if space gets tight.
5669 * src/hildon-banner-private.h: add has_been_wrapped and
5670 has_been_truncated fields.
5672 2008-04-07 Sven Herzberg <sven@imendio.com>
5674 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5675 local values in hildon_date_editor_size_allocate
5677 * src/hildon-date-editor.c: moved the real allocation code into the
5680 2008-04-07 Sven Herzberg <sven@imendio.com>
5682 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5683 local values in hildon_date_editor_size_allocate
5685 * src/hildon-date-editor.c: merged the two if() branches together
5687 2008-04-07 Sven Herzberg <sven@imendio.com>
5689 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5690 local values in hildon_date_editor_size_allocate
5692 * src/hildon-date-editor.c: changed the arguments of the if()
5695 2008-04-07 Sven Herzberg <sven@imendio.com>
5697 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5698 local values in hildon_date_editor_size_allocate
5700 * src/hildon-date-editor.c: split the calculation of the allocation
5701 from the real allocation
5703 2008-03-27 Michael Natterer <mitch@imendio.com>
5705 Fixes: NB#81696: The passcode is not overwritten even after
5708 * src/hildon-code-dialog.c
5709 (hildon_code_dialog_button_clicked)
5710 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5711 because that doesn't overwrite selected text. Instead, emit the
5712 "commit" signal on the entry's im_context so the entry's normal
5713 insert logic is triggered. Set the cursor to the end of the entry
5714 after each insert operation so that we *only* insert in the middle
5715 of the text if something was selected.
5717 2008-03-27 Michael Natterer <mitch@imendio.com>
5719 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5720 selector cannot be opened
5722 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5723 when the popup color selector is created. Please connect to this
5724 signal in order to set the dialog's help ID.
5726 2008-03-25 Sven Herzberg <sven@imendio.com>
5728 Fixes: MB#1212: Hide info banners (infoprints) on click
5730 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5731 extracted the close event simulation into an extra function
5732 (hildon_banner_button_press_event): simulate a close event and destroy
5733 the widget if the event wasn't handled
5734 (hildon_banner_class_init): added the button_press_event handler
5735 (hildon_banner_init): added button-press events to the widget
5737 2008-03-25 Sven Herzberg <sven@imendio.com>
5739 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5740 Patch from: Mohammad Anwari <mdamt@maemo.org>
5742 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5743 instead of the right in RTL mode
5744 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5745 breadcrumb button list in RTL mode
5746 * src/hildon-caption.c: mirror the appearance of the caption widget in
5748 * src/hildon-date-editor.c: mirror appearance of the date editor in
5750 * src/hildon-time-editor.c: mirror appearance of the time editor in
5752 * src/hildon-window.c: fix the position of the popup in RTL mode
5754 2008-03-25 Sven Herzberg <sven@imendio.com>
5756 Amendment to the fix of NB#22072. Fix compilation.
5758 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5760 2008-03-19 Sven Herzberg <sven@imendio.com>
5762 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5765 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5766 timeout id properly when the timeout will disappear this leaves no
5767 artifacts around in the destroy(); there will only be the timeout
5768 created by hildon_banner_ensure_timeout() and adding a new timeout
5769 will also work if the timeout gets removed because the timeout_handler
5772 2008-03-19 Michael Natterer <mitch@imendio.com>
5774 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5776 * src/hildon-volumebar.c
5777 * src/hildon-vvolumebar.c
5778 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5779 the widget becomes focussable at all.
5781 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5782 set the focus to wither the mute button or the volumebar.
5784 Remove own "can-focus" property and instead listen to
5785 notify::can-focus in order to update the widget's state.
5787 Implement GtkWidget::focus() and make sure we can also *leave* the
5788 widget, not only enter it, depending on volumebar orientation and
5789 requested focus direction.
5791 Clean up set_mute() to cooperate nicely with all the above.
5793 2008-03-04 Michael Natterer <mitch@imendio.com>
5795 Fixes: NB#78481: information banners are hidden under browser menu
5797 * src/hildon-banner.c: call gtk_window_present() on the banners so
5798 they are risen if they are already visible.
5800 2008-03-03 Sven Herzberg <sven@imendio.com>
5802 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5804 * examples/hildon-window-menu-example.c: (main): extended the window
5805 menu example to serve as a testcase for automatically added
5806 accelerator groups, too
5807 * src/hildon-window.c: (hildon_window_add_accel_group),
5808 (hildon_window_set_menu): added patch by Tommi Komulainen
5810 2008-03-03 Sven Herzberg <sven@imendio.com>
5812 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5814 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5815 knowledge about the border allocators used within GTK+
5817 2008-02-26 Sven Herzberg <sven@imendio.com>
5819 Fixes: MB#2981: Build with asserts broken
5821 * src/hildon-date-editor.c,
5822 * src/hildon-number-editor.c,
5823 * src/hildon-time-editor.c,
5824 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5825 the proper GType instance check
5827 2008-02-25 Sven Herzberg <sven@imendio.com>
5829 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5831 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5832 * examples/hildon-window-menu-example.c: (main): explicitly show
5834 * src/hildon-window.c:
5835 (hildon_window_set_main_menu): moved most of the code from set_menu()
5836 to this place; skipped the call to gtk_widget_show_all(); also didn't
5837 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5838 (hildon_window_set_menu): removed most of the code, just keep the
5839 questionable gtk_widget_show_all()
5840 * src/hildon-window.h: added the new function and deprecate the old
5843 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5849 * debian/changelog: Updating.
5851 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5854 * pkgconfig/Makefile.am:
5855 * pkgconfig/hildon.pc.in:
5858 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5859 use newly created API_MAJOR_VERSION.
5861 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5867 * debian/changelog: Updating.
5869 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5871 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5873 Add outer_border style property, we use it but don't define it (!).
5877 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5879 * examples/hildon-bread-crumb-trail-example.c (main):
5883 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5885 Fix logic for the bread crumb trail node removal.
5889 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5895 * debian/changelog: Updating.
5897 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5899 Patch by Alejandro to get/set passwords dialogs accesibility.
5901 * hildon-1/src/hildon-get-password-dialog.c:
5902 * hildon-1/src/hildon-set-password-dialog.c:
5903 Set atk_set_name to the passwd entries in order to allow
5904 accessibility by name on this entries.
5906 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5911 * debian/control: Updating gtk dep.
5913 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5915 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5916 USE_MAEMO_GTK is enabled.
5918 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5920 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5921 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5923 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5929 * debian/changelog: Updating.
5931 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5933 * examples/Makefile.am:
5934 * examples/hildon-logical-color-example.c:
5935 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5936 applied + adding a test case. Fixes: NB#71660.
5938 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5940 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5941 to be visible, fixes warning on map for windows without toolbars.
5943 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5945 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5946 2.11.0, add a check for that besides the MAEMO_GTK check.
5948 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5954 * debian/changelog: Updating.
5956 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5958 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5959 visibility. Fixes: NB#70842 and MB#615.
5961 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5963 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5964 set the separator as no-show-all so it doesn't unintentionally appear when
5965 someone does a show_all.
5967 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5969 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5970 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5971 toplevel item. Fixes: NB#62031
5973 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5975 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5976 fix the name of the function in the docs.
5978 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5984 * debian/changelog: Updating.
5986 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5988 * examples/hildon-banner-long-example.c: Adding a test-case for long
5991 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5993 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5995 * src/hildon-color-chooser-dialog.c:
5996 * src/hildon-color-chooser.c:
5997 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5998 memory leaks in font selector and color selector. Fixes: NB#70499 and
6001 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6003 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6005 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6007 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6008 little bit bigger. Fixes: #NB63694.
6010 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6016 * debian/changelog: Updating.
6018 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6021 * doc/hildon-docs.sgml:
6022 * doc/images/bread-crumb-trail.png:
6023 * doc/images/calendar-popup.png:
6024 * doc/images/caption.png:
6025 * doc/images/code-dialog.png:
6026 * doc/images/color-button.png:
6027 * doc/images/color-chooser-dialog.png:
6028 * doc/images/color-chooser.png:
6029 * doc/images/controlbar.png:
6030 * doc/images/date-editor.png:
6031 * doc/images/font-selection-dialog.png:
6032 * doc/images/get-password-dialog.png:
6033 * doc/images/hvolumebar.png:
6034 * doc/images/login-dialog.png:
6035 * doc/images/note.png:
6036 * doc/images/number-editor.png:
6037 * doc/images/range-editor.png:
6038 * doc/images/seekbar.png:
6039 * doc/images/set-password-dialog.png:
6040 * doc/images/sort-dialog.png:
6041 * doc/images/time-editor.png:
6042 * doc/images/time-picker.png:
6043 * doc/images/vvolumebar.png:
6044 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6045 Adding the bread-crumb-trial and helpers to the documentation.
6047 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6049 * examples/hildon-find-toolbar-example.c:
6050 * src/hildon-find-toolbar.c:
6051 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6052 actually continue firing the other handlers if connected. Adding a new
6054 hildon_find_toolbar_get_last_index that gets the index of the most
6055 recently added (last) item. Fixes: NB#52301.
6057 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6059 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6060 behaviour. Fixes: NB#68610.
6062 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6064 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6067 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6069 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6070 when realizing the banner. Should make the infonbanner effect a bit more
6073 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6075 * src/hildon-volumebar.c:
6076 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6077 hildon_volumebar_set_range_insensitive_message and
6078 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6080 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6082 * src/hildon-window.c: Fixing the border freeing on destroy.
6084 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6086 * src/hildon-code-dialog-private.h:
6087 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6088 kw keyboard support in HildonCodeDialog.
6090 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6096 * debian/changelog: Updating.
6098 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6100 * src/hildon-date-editor.c:
6101 * src/hildon-number-editor.c:
6102 * src/hildon-private.c:
6103 * src/hildon-private.h:
6104 * src/hildon-time-editor.c:
6105 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6106 handling in subclassed composite widgets. Fixes: NB#66628.
6108 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6110 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6111 from destroy_ callback as it introduces problems in async dbus signal
6112 handlers. Fixes NB#66673.
6114 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6116 * examples/hildon-hvolumebar-example.c:
6117 * src/hildon-volumebar.c: Improving the focus handling in the
6118 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6119 set_property accessor so that "mute" property can be actually set. I'm
6120 scared that nobody noticed it's totally broken.
6122 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6124 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6127 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6129 * src/hildon-calendar.c:
6130 * src/hildon-number-editor.c:
6131 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6132 matches the spec of 6 chars per second. Fixes: NB#60489.
6134 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6136 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6137 gtk_style_lookup_color sometime returns FALSE even though color was
6138 found and values were filled properly. Weird. Removing the warning for the
6141 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6143 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6144 expand vertically. Adding some extra space to the find toolbar buttons to
6145 make them thumbable. Fixes NB#66060.
6147 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6149 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6150 popup with "Ok" and "Cancel". Fixes NB#59299.
6152 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6154 * src/hildon-calendar.c: Process all window updates before executing next
6155 timeout. Fixes: NB#54146.
6157 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6163 * debian/changelog: Updating.
6165 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6167 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6168 the client event and ignore it, since we use the delete event to close
6171 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6173 * src/hildon-helper.c: Remove the bogus warning about color not being
6174 found. Fixes NB#58352.
6176 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6178 * examples/Makefile.am:
6179 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6180 HildonSeekbar widget inside a toolbar.
6182 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6184 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6185 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6186 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6187 don't want to be closed by non-temporary windows on map.
6189 Also use G_DEFINE_TYPE instead of manually typed code.
6191 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6198 * debian/rules: Updating.
6200 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6202 * examples/Makefile.am:
6203 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6204 bug NB#61128. Strangely it works.
6206 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6208 * src/hildon-date-editor.c: When the date editor entry has been changed
6209 but the numbers of characters < max, turn off the skip validation flag.
6210 Prevents a situation when we enter first a valid year and later re-write
6211 it with an invalid one. Fixes NB#60154.
6213 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6215 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6216 code dialog. Fixes NB#64355.
6218 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6220 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6221 switching the page. Fixes NB#49374.
6223 * examples/Makefile.am:
6224 * examples/hildon-wizard-dialog-example.c: Adding an example for
6225 HildonWizardDialog that shows how to handle manual sensitivity setting on
6228 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6232 * src/hildon-version.h.in:
6233 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6235 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6237 * src/hildon-volumebar.c: Updating the docs.
6239 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6245 * debian/changelog: Updating.
6247 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6249 * src/hildon-find-toolbar.c:
6250 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6251 selected item: hildon_find_toolbar_set_active,
6252 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6253 hildon_find_toolbar_get_active_iter . They correspond to respective
6254 GtkComboBox functions.
6256 * examples/Makefile.am:
6257 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6260 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6262 * examples/Makefile.am:
6263 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6266 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6267 when font size > 32 and we pack a focusable widget inside. Actually using
6268 the default response would work too, but since we don't show default
6269 response state in any way (no theming) it would not be visible to the
6270 user. Fixes NB#63430.
6272 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6274 * src/hildon-date-editor.c: Adding the missing variable setter in the
6275 set_property handler. Fixes NB#54182.
6277 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6279 * src/hildon-window.h: Changing the long key press time from 1500ms to
6280 800ms as requested in NB#63700. I have a bad feeling about this, let's
6281 see... Fixes NB#63700.
6283 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6285 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6286 hildon_time_picker_map, hildon_time_picker_realize,
6287 hildon_time_picker_style_set): Split the contents of map to more
6288 appropriate functions; set window decorations on realize and update
6289 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6291 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6296 * debian/changelog: Updating.
6298 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6300 * src/Makefile.am: fixed installation of the header files
6302 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6308 * debian/changelog: Updating.
6310 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6312 * configure.ac: Removing some remaining of --enable-xan.
6314 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6316 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6317 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6319 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6320 2.10.12-osso6 because the move-focus signal needs to be available in
6323 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6325 * examples/Makefile.am:
6326 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6327 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6328 fine. Prolly NB#61128 is fixed now.
6330 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6332 * src/hildon-volumebar.c:
6333 * src/hildon-volumebar.h: Adding the
6334 hildon_volumebar_set_range_insensitive_message and
6335 hildon_volumebar_set_range_insensitive_messagef functions to set
6336 insensitive message on the slider of the volumebar. Fixes NB#61129.
6338 * examples/Makefile.am:
6339 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6340 test the new insensitive messsage functionality on HildonVolumebar.
6342 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6344 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6347 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6349 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6350 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6351 button on after clearing the trail.
6353 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6355 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6357 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6359 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6360 by splitting the installed headers in generated and non-generated groups. Use
6361 only the non-generated headers to create the hildon-enum-types.h file.
6363 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6365 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6367 * src/hildon-window.c: Hide the window before performing the destroy.
6368 Should make the app closing a little tiny bit more snappy.
6370 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6372 * src/hildon-seekbar.c: add gtkrange.h header
6373 * src/hildon-caption.c: remove unused variable
6375 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6377 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6380 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6386 * debian/changelog: Updating.
6388 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6390 * src/hildon-window.c (hildon_window_window_state_event,
6391 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6392 escape timeout on focus-out-event rather than notify::is-topmost; the
6393 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6395 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6397 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6398 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6400 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6402 * src/hildon-window: actually, you need to use the macro always, there's
6403 no private pointer in the instance structure. We should have cleaned this up
6404 when we had the chance...
6406 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6408 * src/hildon-window.c: do not get the private date from HildonWindow before
6409 it passes the g_return_if_fail check. Once it's passed the test, there's no
6410 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6411 if you are only going to access the data once. Whitespace cleanups.
6413 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6415 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6416 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6418 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6424 * debian/changelog: Updating.
6426 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6428 * src/hildon-window.c: When destroying the window, remove (if exists) the
6429 escape timeout handler. Fixes #NB59276.
6431 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6433 * src/hildon-banner.c: When realizing the widget, set the window
6434 transiency. Setting the transiency in the gobject constructor is not
6435 good, as the widget is not realized at that point. Fixes: #NB56624.
6437 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6439 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6440 Add padding for future expansions.
6442 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6444 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6445 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6446 will fake an activation on the previous to the last item of the trail, so
6447 the effect can be overrided by the developer as usual.
6448 Also change the callback for the back button to do the same thing, so its
6449 effect can be overrided too. Fixes: NB#58982
6451 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6453 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6454 HildonCaption. Fixes NB#52379.
6456 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6458 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6459 the internal state of the trail after the user has had the chance of executing
6460 his handler for the signal. Specifically, it may happen that the activated button
6461 is removed and the user still lets the default handler run. This would segfault
6464 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6466 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6467 scrollbar to the preview dialog. Fixes NB#54147.
6469 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6471 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6472 max/min year properties can be altered, so the client can modify it
6473 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6475 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6477 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6478 hildonlike by default. Fixing a problem with disappearing arrows when
6479 scrolling through months and years. Fixes NB#54127.
6481 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6483 * examples/hildon-date-editor-example.c: Adding error callback to the date
6486 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6492 * configure.ac: Updating.
6494 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6496 * configure.ac: Adding a special '--enable-xan' configure option that
6497 turns off the -Werror compilation setting. Usefull for development.
6499 * src/hildon-calendar.c:
6500 * src/hildon-number-editor.c:
6501 * src/hildon-time-picker.c: Adding the 5* multiplier to
6504 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6506 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6507 instead of g_object_ref + gtk_object_sink.
6509 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6515 * debian/changelog: Updating.
6517 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6519 * src/hildon-color-chooser-dialog.c:
6520 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6521 straight from Tommi labs.
6523 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6525 * examples/hildon-finger-example.c: Correcting the header file path.
6527 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6528 the changed signal. Fixes a small memory leak.
6530 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6534 * src/hildon-banner.c: Importing several usefull fixes from the
6535 ubuntu-mobile branch.
6537 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6539 * examples/Makefile.am:
6540 * examples/hildon-finger-example.c: Adding a finger-checking code
6543 * src/hildon-font-selection-dialog.c: Do not allocate the color
6544 structure using the g_new. Fixes NB#54061.
6546 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6548 * src/hildon-helper.c: Correcting tabs in file.
6550 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6552 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6553 control the visibility of the children.
6555 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6557 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6563 * debian/changelog: Updating.
6565 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6567 * src/hildon-bread-crumb-trail.c:
6568 (hildon_bread_crumb_trail_size_allocate):
6570 Make the back button always a square.
6572 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6574 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6575 from the .c file as it's a private file.
6577 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6579 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6580 uses slightly bigger height.
6582 * src/hildon-font-selection-dialog.c: Adding some checks before
6583 freeing memory in the font selection dialog.
6585 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6587 * src/hildon-font-selection-dialog.c: Adding a small check when
6590 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6591 buttons sensitivity on page switching.
6593 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6595 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6596 internal details of adding a bread crumb to the trail.
6598 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6604 * debian/changelog: Updating.
6606 * src/hildon-bread-crumb-trail.h:
6607 * src/hildon-bread-crumb.h: Changing the API guard to
6608 HILDON_ENABLE_UNSTABLE_API.
6610 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6618 * src/hildon-helper.h: Updating.
6620 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6628 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6632 * src/hildon-helper.h: Small fix to make the package actually compile.
6634 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6636 * src/hildon-bread-crumb-trail.h:
6637 * src/hildon-bread-crumb.h:
6639 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6640 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6642 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6644 * examples/hildon-bread-crumb-trail-example.c:
6646 * src/hildon-bread-crumb-trail.c:
6647 * src/hildon-bread-crumb-trail.h:
6648 * src/hildon-bread-crumb.c:
6649 * src/hildon-bread-crumb.h:
6650 * src/hildon-marshalers.list:
6651 * src/hildon-bread-crumb-widget.c:
6652 * src/hildon-bread-crumb-widget.h:
6654 Slight change in the widget design. The bread crumb trail API is
6655 unchanged, but HildonBreadCrumb is now an interface. A *private*
6656 implementation, hildon-bread-crumb-widget, is provided and used
6657 internally by the trail for the push_text/push_icon functions.
6659 The generic push API is still available, so anyone can implement
6660 and use its own bread crumb widget.
6662 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6664 * debian/rules: Fixing the shlibs.
6666 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6668 * src/hildon-banner.c: Fixing a problem with timed banners having
6669 their parrent destroyed before they are.
6671 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6673 * src/hildon-bread-crumb.c:
6674 * src/hildon-bread-crumb.h:
6676 Make the get_natural_size function a vfunc.
6678 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6680 * src/hildon-bread-crumb.c:
6681 * src/hildon-bread-crumb-trail.c:
6685 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6692 * debian/changelog: Updating for release.
6694 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6696 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6697 don't leak the pango layout.
6699 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6702 * examples/hildon-bread-crumb-trail-example.c:
6706 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6708 * debian/changelog: Removing the bug-fixed entries that were actually
6709 resolved as WONTFIX.
6711 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6714 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6716 * src/hildon-bread-crumb-trail.c:
6717 * src/hildon-bread-crumb-trail.h:
6718 * src/hildon-bread-crumb.c:
6719 * src/hildon-bread-crumb.h:
6723 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6725 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6726 until it's passed the type check.
6728 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6730 * examples/hildon-bread-crumb-trail-example.c
6734 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6736 * examples/Makefile.am
6737 * examples/hildon-bread-crumb-trail-example.c
6739 * src/hildon-bread-crumb-trail.c
6740 * src/hildon-bread-crumb-trail.h
6741 * src/hildon-bread-crumb.c
6742 * src/hildon-bread-crumb.h
6744 New HildonBreadCrumbTrail widget.
6746 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6748 * src/hildon-range-editor.c (hildon_range_editor_init),
6749 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6750 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6751 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6752 hildon_time_editor_class_init, hildon_time_editor_init),
6753 src/hildon-get-password-dialog.c (invalid_input,
6754 hildon_get_password_set_property, hildon_get_password_get_property,
6755 create_contents, hildon_get_password_dialog_set_max_characters),
6756 src/hildon-set-password-dialog.c (create_contents),
6757 src/hildon-date-editor.c (hildon_date_editor_init),
6758 src/hildon-login-dialog.c (hildon_login_dialog_init),
6759 src/hildon-number-editor.c (hildon_number_editor_init),
6760 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6761 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6762 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6763 configure option and adding the respective checks in the code.
6764 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6765 hildon_calendar_drag_data_received): fixed some build warnings.
6767 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6769 * debian/changelog: A 1.0.0 release notes.