1 2009-03-11 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-date-button.c (hildon_date_button_get_date)
4 (hildon_date_button_set_date): Make sure that the button has a
7 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
9 2009-03-11 Alejandro G. Castro <alex@igalia.com>
11 * src/hildon-pannable-area.c,
12 (hildon_pannable_area_class_init),
13 (hildon_pannable_area_calculate_velocity): Modify the use of the
14 force and adapt the value.
16 2009-03-10 Alberto Garcia <agarcia@igalia.com>
18 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
19 (hildon_app_menu_class_init): Hide the menu if it receives a
20 delete-event, but don't destroy it
22 Fixes: NB#104485 (Not able to address the call when application
23 menu is opened at background)
25 2009-03-10 Alberto Garcia <agarcia@igalia.com>
27 * src/hildon-app-menu.c
28 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
29 Remove the "external-border" style property, let the menu take its
30 natural size (or the one set by the window manager)
31 (hildon_app_menu_repack_items):
32 Don't reshow the menu, avoid flickers.
34 Partially fixes NB#94957 (Smoothly opened application menu)
36 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
41 * configure.ac: Bump version.
42 * debian/changelog: Updates.
44 2009-03-10 Alejandro G. Castro <alex@igalia.com>
46 * src/hildon-pannable-area.c,
47 (hildon_pannable_area_motion_notify_cb): We control that the
48 direction error margin is used just in case the movement is
49 allowed in the other direction.
51 Fixes: NB#105012 (buttons inside a pannable area not getting
52 release event when dragging/releasing)
54 2009-03-10 Alejandro G. Castro <alex@igalia.com>
56 * src/hildon-pannable-area.c,
57 (hildon_pannable_area_class_init),
58 (hildon_pannable_area_get_property),
59 (hildon_pannable_area_set_property),
60 (hildon_pannable_area_initial_effect),
61 (hildon_pannable_axis_scroll),
62 (hildon_pannable_area_button_release_cb): Reviewed the
63 overshooting effect, now it has its own max
64 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
67 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
72 * configure.ac: Bump version.
73 * debian/changelog: Updates.
75 2009-03-09 Alejandro G. Castro <alex@igalia.com>
77 * src/hildon-pannable-area.c,
78 (hildon_pannable_area_class_init): Changed the max speed, now
79 users can launch the widget very fast. Reduced the default force,
80 that way it is easier to control the launch speed.
82 2009-03-09 Alejandro G. Castro <alex@igalia.com>
84 * src/hildon-pannable-area.c,
85 (hildon_pannable_area_button_release_cb): Removed this check
86 because it causes problems when the device is overloaded.
88 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
90 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
91 add a current_text field to store the text entered in the
93 (_clean_current_selection): clean up the current text as well.
94 (_save_current_selection), (_restore_current_selection):
95 Save/restore the text in the entry if the selector is a
96 HildonTouchSelectorEntry.
98 Fixes: NB#102541 (value entered in the touch selector entry is not
99 shown when opened for second time)
101 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
103 * doc/hildon-sections.txt:
104 * src/hildon-touch-selector-entry.c
105 (+hildon_touch_selector_entry_get_entry):
106 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
108 Fixes: NB#104815 (I need accessor to the entry inside
109 HildonTouchSelectorEntry)
111 2009-03-06 Alberto Garcia <agarcia@igalia.com>
113 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
114 (hildon_app_menu_class_init):
115 New "filter-vertical-spacing" style property.
117 2009-03-06 Alberto Garcia <agarcia@igalia.com>
119 * src/hildon-find-toolbar.c
120 (hildon_find_toolbar_emit_close)
121 (hildon_find_toolbar_emit_invalid_input)
122 (hildon_find_toolbar_entry_activate):
123 Use g_signal_emit() instead of g_signal_emit_by_name()
125 2009-03-06 Alberto Garcia <agarcia@igalia.com>
127 Patch by Mox Soini (ext-mox.soini@nokia.com)
129 * tests/TEST-CASES.txt
130 * tests/check-hildon-banner.c
131 * tests/check-hildon-note.c
132 * src/hildon-banner.c
133 * src/hildon-code-dialog.c
134 * src/hildon-date-editor.c (real_set_calendar_icon_state)
135 * src/hildon-time-editor.c
136 * examples/hildon-lookup-example.c (main):
137 Replace obsolete icon names with new ones.
139 * src/hildon-find-toolbar-private.h:
140 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
141 (-hildon_find_toolbar_emit_search):
142 Remove find button and change icon of close button.
144 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
146 2009-03-05 Alberto Garcia <agarcia@igalia.com>
148 * src/hildon-time-button.c (hildon_time_button_new_step):
149 Use the "touch-selector" property to set the selector directly
150 when creating the object.
152 2009-03-05 Alejandro G. Castro <alex@igalia.com>
154 Added a new example application that allows tuning the pannable
155 area and replaced defines with properties in order to simplify the
156 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
157 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
158 PROP_DIRECTION_ERROR_MARGIN.
160 * examples/hildon-pannable-area-tuning-example.c: New example
162 * src/hildon-pannable-area.c,
163 (hildon_pannable_area_class_init),
164 (hildon_pannable_area_init),
165 (hildon_pannable_area_get_property),
166 (hildon_pannable_area_set_property),
167 (hildon_pannable_area_launch_fade_timeout),
168 (hildon_pannable_area_adjust_value_changed),
169 (hildon_pannable_axis_scroll),
170 (hildon_pannable_area_motion_notify_cb),
171 (hildon_pannable_area_scroll_cb),
172 (hildon_pannable_area_button_release_cb): We have converted some
173 of the defines that control the widget to properties to simplify
176 2009-03-05 Alberto Garcia <agarcia@igalia.com>
178 * src/hildon-app-menu.c (hildon_app_menu_map)
179 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
180 so it's closed if a new window appears.
182 Fixes: NB#104485 (Not able to address the call when application
183 menu is opened at background)
185 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
187 * src/hildon-color-button.c (hildon_color_button_get_property):Add
188 missing 'break' statement in in 'case' construct to avoid
191 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
193 * src/hildon-touch-selector-entry.c
194 (hildon_touch_selector_entry_get_property),
195 (hildon_touch_selector_entry_set_property): Add missing 'break'
196 statements in in 'case' constructs to avoid incorrect warnings.
198 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
200 * src/hildon-time-editor.c
201 (hildon_time_editor_get_time_separators): Do not crash if
202 the first label is NULL.
204 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
206 * src/hildon-date-selector.c (_month_days): Check for month to be
207 strictly less than 12, since otherwise we may overrun the array.
209 2009-03-04 Alberto Garcia <agarcia@igalia.com>
211 * src/hildon-date-button.c (+hildon_date_button_new_full)
212 (hildon_date_button_new, hildon_date_button_new_with_year_range)
213 (hildon_date_button_init): Set the date selector using a
214 construction property, to make it happen after HildonButton's
215 "value" property is set.
217 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
218 current date by default)
220 2009-03-04 Alberto Garcia <agarcia@igalia.com>
222 * doc/hildon-sections.txt
223 * src/hildon-program.c
224 * src/hildon-stackable-window.c
225 * src/hildon-window.c:
226 Documentation updates
228 2009-03-04 Alberto Garcia <agarcia@igalia.com>
230 * src/hildon-window-stack.c (hildon_window_stack_get_default)
231 (hildon_window_stack_new, +hildon_window_stack_set_property)
232 (+hildon_window_stack_get_property)
233 (hildon_window_stack_class_init)
234 (+hildon_window_stack_set_window_group)
235 (+hildon_window_stack_get_window_group):
236 Make the window group a construction property.
238 2009-03-04 Alberto Garcia <agarcia@igalia.com>
240 * doc/hildon-sections.txt
241 * src/hildon-stackable-window-private.h
242 * src/hildon-stackable-window.h
243 * src/hildon-stackable-window.c
244 (-hildon_stackable_window_set_app_menu)
245 (-hildon_stackable_window_get_app_menu)
246 (-hildon_stackable_window_toggle_menu)
247 (-hildon_stackable_window_finalize)
248 (hildon_stackable_window_class_init)
249 (hildon_stackable_window_init)
250 * src/hildon-window-private.h
251 * src/hildon-window.h
252 * src/hildon-window.c (hildon_window_init)
253 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
254 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
255 (hildon_window_get_main_menu, hildon_window_set_main_menu)
256 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
257 Moved all HildonAppMenu code to HildonWindow. The menu does not
258 require a HildonStackableWindow anymore.
260 * src/hildon-app-menu.c
261 * src/hildon-program.c
262 * examples/hildon-app-menu-example.c (main):
263 Update examples and documentation to reflect HildonAppMenu
266 2009-03-04 Alberto Garcia <agarcia@igalia.com>
268 * src/hildon-remote-texture.c
269 * src/hildon-animation-actor.c:
270 Don't include unused private headers.
272 2009-03-04 Alberto Garcia <agarcia@igalia.com>
274 * src/hildon-program-private.h
275 * src/hildon-program.c
276 (hildon_program_set_common_menu)
277 (hildon_program_get_common_menu)
278 (hildon_program_set_common_app_menu)
279 (hildon_program_get_common_app_menu):
280 Change common menu pointers from GtkWidget* to GtkMenu* and
281 HildonAppMenu* to avoid unnecessary casts.
283 2009-03-03 Alberto Garcia <agarcia@igalia.com>
285 * src/hildon-window.c (hildon_window_set_main_menu):
286 Removed incorrect 'Since:' tag
288 2009-03-03 Alejandro G. Castro <alex@igalia.com>
290 * src/hildon-pannable-area.c,
291 (hildon_pannable_area_calculate_velocity): We use now the
292 RATIO_TOLERANCE here to check the distance, fixed typo in the
294 (hildon_pannable_area_motion_notify_cb): We have to set the type
295 and time even if we are not sending the motion.
297 2009-03-02 Alberto Garcia <agarcia@igalia.com>
299 * doc/hildon-sections.txt
300 * src/hildon-app-menu.h
301 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
302 (+hildon_app_menu_get_filters): New methods to get the contents of
305 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
308 2009-03-02 Alberto Garcia <agarcia@igalia.com>
310 * src/hildon-app-menu.c (hildon_app_menu_popup):
313 2009-03-02 Alberto Garcia <agarcia@igalia.com>
315 * src/hildon-window.h
316 * src/hildon-window.c (+hildon_window_get_main_menu)
317 (hildon_window_get_menu): Created hildon_window_get_main_menu()
318 and deprecated hildon_window_get_menu().
320 * src/hildon-stackable-window.h
321 * src/hildon-stackable-window.c
322 (+hildon_stackable_window_set_app_menu)
323 (+hildon_stackable_window_get_app_menu)
324 (hildon_stackable_window_set_main_menu): Created
325 hildon_stackable_window_{get,set}_app_menu() and deprecated
326 hildon_stackable_window_set_main_menu().
328 * doc/hildon-sections.txt
329 * examples/hildon-app-menu-example.c (main)
330 * src/hildon-app-menu.c
331 * src/hildon-program.c:
332 Updated examples and documentation.
334 Fixes: NB#103758 (No way to obtain a menu from a
335 HildonStackableWindow)
337 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
342 * configure.ac: Bump version.
343 * debian/changelog: Updates.
345 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
347 * examples/hildon-remote-texture-example.c: Include
348 hildon-remote-texture.h explicitely.
349 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
350 applications not defining _XOPEN_SOURCE which don't require this header.
352 2009-02-27 Alberto Garcia <agarcia@igalia.com>
354 * doc/hildon-sections.txt
355 * src/hildon-app-menu.h
356 * src/hildon-app-menu.c (+hildon_app_menu_popup):
357 New function to pop up a HildonAppMenu
359 * src/hildon-stackable-window.c
360 (hildon_stackable_window_toggle_menu):
361 Use hildon_app_menu_popup() to show the menu.
363 2009-02-27 Alberto Garcia <agarcia@igalia.com>
365 * src/hildon-app-menu.c (hildon_app_menu_show)
366 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
367 menu if there's another window between it and its parent window.
369 Fixes: NB#100468 (Application menu window is launched even when a
370 new secondary-window/dialog is pending to be shown/realized)
372 2009-02-27 Alberto Garcia <agarcia@igalia.com>
374 * src/hildon-window-stack.c (hildon_window_stack_push)
375 (hildon_window_stack_pop_and_push):
376 Don't forget to push/pop the first window.
377 Reverse the window list before calling _push_list()
379 2009-02-27 Alberto Garcia <agarcia@igalia.com>
381 * src/hildon-picker-button.h
382 * src/hildon-picker-button.c (hildon_picker_button_class_init):
383 Remove "value_changed" slot to avoid ABI breakage
385 2009-02-26 Alejandro G. Castro <alex@igalia.com>
387 * src/hildon-pannable-area.c,
388 (hildon_pannable_area_realize),
389 (hildon_pannable_area_unrealize),
390 (hildon_pannable_draw_vscroll),
391 (hildon_pannable_draw_hscroll): Changed the method to handle the
392 GC used to draw the transparent scrollbar, this way we avoid
393 creating the GC all the time when drawing the scrollbars.
395 2009-02-26 Alejandro G. Castro <alex@igalia.com>
397 * src/hildon-pannable-area.c,
398 (hildon_pannable_area_init),
399 (hildon_pannable_area_remove): Removed some unnecessary casts.
400 (hildon_pannable_area_dispose): Disconnected some signals before
401 releasing the adjustments.
403 2009-02-26 Alberto Garcia <agarcia@igalia.com>
405 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
406 Make sure that all widgets contained in the toolbar are shown.
408 2009-02-25 Alberto Garcia <agarcia@igalia.com>
410 * doc/hildon-sections.txt
411 * src/hildon-picker-button.h
412 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
413 (_selection_changed, hildon_picker_button_on_dialog_response)
414 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
415 New hildon_picker_button_value_changed() method.
418 * src/hildon-picker-button-private.h
419 * src/hildon-picker-button.c (hildon_picker_button_init)
420 (+hildon_picker_button_disable_value_changed): Add protected
421 function for disabling the "value-changed" signal.
423 * src/hildon-date-button.c (hildon_date_button_set_date):
424 Don't emit "value-changed" for each one of the three columns.
426 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
427 before actual change of values)
429 2009-02-24 Alejandro G. Castro <alex@igalia.com>
431 * src/hildon-pannable-area.c,
432 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
433 for the treeview overshooting.
435 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
437 * src/hildon-banner.c (+hildon_banner_bind_style):
438 Renamed from hildon_banner_bind_label_style(), now naming the
439 banner itself as well.
440 (hildon_banner_show_information),
441 (hildon_banner_show_information_with_markup),
442 (hildon_banner_show_animation), (hildon_banner_show_progress):
443 Name the widgets and labels, based on their type.
445 See NB#98597 (Hildon Note and Hildon Banner should use themeable
448 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
450 * src/hildon-note.c (hildon_note_set_property): call
451 hildon_note_rename() on HildonNote:note-type set.
452 (hildon_note_rename): Name the note and its label, based on the
453 HildonNote:note-type property.
455 See NB#98597 (Hildon Note and Hildon Banner should use themeable
458 2009-02-24 Alejandro G. Castro <alex@igalia.com>
460 * src/hildon-pannable-area.c,
461 (hildon_pannable_area_class_init),
462 (hildon_pannable_area_motion_notify_cb): Reviewed the default
463 panning parameters, increased SPS and deceleration factor. Added
464 also a margin to control fake directions.
466 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
468 Patch by Sven Herzberg (sven@imendio.com)
470 * configure.ac: Add missing AM_PROG_CC_C_0
471 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
473 See NB#101420 (Update unit tests and fix make check)
475 2009-02-23 Alejandro G. Castro <alex@igalia.com>
477 This patch was applied before but reverted because it caused
478 problems, we have changed the main condition and tested the
479 regressions we detected before and they work ok. We have done a
480 complete review of the topmost algorithm in order to get a more
483 * src/hildon-pannable-area.c,
484 (hildon_pannable_area_get_topmost): Added a new parameter to
485 filter the the windows that do not include those events.
486 (hildon_pannable_area_button_press_cb),
487 (hildon_pannable_area_button_release_cb),
488 (hildon_pannable_get_child_widget_at): Reviewed the call the the
489 topmost function, we have added the new parameter.
491 Fixes: NB#97458 (Pannable area prevents propagation of button
494 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
496 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
497 if all columns in the selector have an item selected.
498 (_on_dialog_response): Stop "response" signal emission if there is
499 any selector column without selected items.
501 Fixes: NB#101889 (Picker dialog should not close when nothing is
502 selected in multiple selection list)
504 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
506 * src/hildon-font-selection-dialog.c
507 (hildon_font_selection_dialog_class_init),
508 (hildon_font_selection_dialog_init): Remove the preview
509 button and dialog, since previewing with default theming is likely
510 to be overcomplicated. The :preview property has now no effect.
511 Update documentation blurbs to inform about this.
513 Fixes: NB#92297 (Preview content is not clearly visible for
516 2009-02-20 Alejandro G. Castro <alex@igalia.com>
518 Reviewed the geometry that handles the children size and
519 scrollbar, now it tries a size and reviews the results depending
520 on the scrollbars visibility.
522 * src/hildon-pannable-area.c,
523 (hildon_pannable_area_realize): Fixed a typo.
524 (hildon_pannable_area_child_allocate_calculate): Added this
525 function to calculate the child allocation.
526 (hildon_pannable_area_size_allocate): Reviewed the allocation
528 (hildon_pannable_area_check_scrollbars),
529 (hildon_pannable_area_refresh): Refactored refresh function, this
530 way we can call the code handling the scrollbars without causing a
531 size_request, it is interesting in the allocate.
532 (hildon_pannable_area_init): Replace the callbacks of the
533 value_changed and changed signals to propertly deal with the
535 (hildon_pannable_area_grab_notify),
536 (hildon_pannable_area_initial_effect),
537 (hildon_pannable_area_launch_fade_timeout),
538 (hildon_pannable_area_adjust_changed),
539 (hildon_pannable_area_adjust_value_changed),
540 (hildon_pannable_area_redraw),
541 (hildon_pannable_area_button_press_cb),
542 (hildon_pannable_area_button_release_cb),
543 (hildon_pannable_area_scroll_cb),
544 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
545 code and use the new functions adjust_changed and
546 adjust_value_changed.
548 Fixes: NB#101603 (Focus is not even for the text entry boxes in
549 Contact editor dialog)
551 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
556 * configure.ac: Bump version.
557 * debian/changelog: Updates.
559 2009-02-20 Alejandro G. Castro <alex@igalia.com>
561 * src/hildon-pannable-area.c,
562 (hildon_pannable_area_get_topmost),
563 (hildon_pannable_area_button_press_cb),
564 (hildon_pannable_area_button_release_cb),
565 (hildon_pannable_get_child_widget_at): Reverted the patch for the
566 topmost function adding the event mask. We have to try a
567 differente approach because it is still causing problems (NB#9745,
570 2009-02-19 Alberto Garcia <agarcia@igalia.com>
572 * src/hildon-banner.c:
573 Update the maximum width of timed banners.
574 (force_to_wrap_truncated): Enforce the maximum text width if the
577 Fixes: NB#102413 (The text margins (wrapping) in information
578 banner should be HILDON_MARGIN_TRIPLE)
580 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
582 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
584 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
585 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
586 bound when calculating the scroll indicator position.
588 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
589 treat ->lower correctly)
591 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
593 * src/hildon-caption.c (hildon_caption_class_init): Remove the
594 expose event handling, since it is not necessary to draw the focus
597 Fixes: NB#102467 (Do not show highlight on the text in
600 2009-02-18 Alberto Garcia <agarcia@igalia.com>
602 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
603 full height of the toolbar for the button and the label.
605 2009-02-18 Alberto Garcia <agarcia@igalia.com>
607 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
608 padding before the label and after the button.
610 2009-02-18 Alberto Garcia <agarcia@igalia.com>
612 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
614 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
615 Add a GtkVSeparator between the button and the back arrow.
616 Let the button have automatic size.
617 Set a name to the widget for theming handling.
619 Fixes: NB#101793 (Make edit toolbar the same height as window
620 title bar (use title area theming))
622 2009-02-18 Alberto Garcia <agarcia@igalia.com>
624 * src/hildon-helper.c (attach_new_color_element): Fix memory
627 Fixes: NB#102262 (memory leak in hildon_button_set_style())
629 2009-02-18 Alberto Garcia <agarcia@igalia.com>
631 * examples/hildon-button-example.c (common_buttons_window): Don't
634 2009-02-18 Alberto Garcia <agarcia@igalia.com>
636 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
637 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
639 2009-02-18 Alberto Garcia <agarcia@igalia.com>
641 * src/hildon-gtk.c: Check that the window is realized.
643 Fixes: NB#102225 (Crash setting the progress indicator to a non
646 2009-02-17 Alberto Garcia <agarcia@igalia.com>
648 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
649 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
650 instead of modifying the one in the widget style.
652 Fixes: NB#101043 (Second row of all the command button are
653 displayed in transparent mode.)
655 2009-02-17 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-date-button.c
658 * src/hildon-time-button.c: Add gettext macros
660 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
662 * src/hildon-date-button.c (hildon_date_button_new):
663 * src/hildon-time-button.c (hildon_time_button_new_step):
664 Use new logical strings to set the button default title.
666 Fixes: NB#99915 (Date and Time options are not localised in Date
669 2009-02-16 Alejandro G. Castro <alex@igalia.com>
671 * src/hildon-pannable-area.c
672 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
673 the PANNING_THRESHOLD.
675 2009-02-16 Alejandro G. Castro <alex@igalia.com>
677 * src/hildon-pannable-area.c,
678 (hildon_pannable_area_class_init): Increased the maximum speed.
679 (hildon_pannable_area_get_property),
680 (hildon_pannable_area_set_property),
681 (hildon_pannable_area_timeout): Added a new low friction mode, it
682 allows the user avoid friction when launching the widget fast
683 enough. It is interesting to traverse long lists.
685 2009-02-16 Alberto Garcia <agarcia@igalia.com>
687 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
688 (+hildon_stackable_window_delete_event): Ignore delete events if
689 the window is not the topmost one.
691 Fixes: NB#101698 (Back button long press and delete-event handling)
693 2009-02-16 Alejandro G. Castro <alex@igalia.com>
695 * src/hildon-pannable-area.c,
696 (hildon_pannable_area_motion_notify_cb): Removed the use of the
697 gtk-dnd-drag-threshold, it was too big. We have defined our own
698 dnd define and set a smaller value: PANNIG_THRESHOLD.
700 2009-02-16 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
703 user-defined icons, use always the default one.
705 Fixes: NB#101916 (Do not allow custom icons on animation banner)
707 2009-02-13 Alejandro G. Castro <alex@igalia.com>
709 This patch was applied before but reverted because it caused
710 problems, we have changed the main condition and tested the
711 regressions we detected before and they work ok.
713 * src/hildon-pannable-area.c,
714 (hildon_pannable_area_get_topmost): Added a new parameter to
715 filter the the windows that do not include those events. Added
716 also a condition when finding the window to filter windows that do
717 not ask for those events.
718 (hildon_pannable_area_button_press_cb),
719 (hildon_pannable_area_button_release_cb),
720 (hildon_pannable_get_child_widget_at): Reviewed the call the the
721 topmost function, we have added the new parameter.
723 Fixes: NB#97458 (Pannable area prevents propagation of button
726 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
728 * tests/check-hildon-color-button.c (START_TEST): do not leak
731 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
733 * src/hildon-font-selection-dialog.c
734 (hildon_font_selection_dialog_get_preview_text): Return NULL
735 instead of FALSE on the g_return_val_if_fail().
737 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
739 * src/hildon-time-selector.c (hildon_time_selector_set_time):
740 * src/hildon-date-selector.c
741 (hildon_date_selector_select_current_date):
742 Do not compare unsigned integers to be greater than or equal 0,
743 because it's always TRUE.
745 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
747 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
748 (hildon_date_selector_constructor): Do not select the current
749 date until we are handle the "changed" signal, to avoid having bogus
750 elements in the days model.
752 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
754 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
755 for num_days, since _month_days() can return a negative value.
757 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
759 * src/hildon-caption.c (hildon_caption_size_allocate):
760 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
761 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
763 Initialize allocation variables to 0, to avoid eventually using
764 unitialized variables.
766 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
768 * src/hildon-bread-crumb-trail.c
769 (hildon_bread_crumb_trail_size_allocate):
770 * src/hildon-calendar.c (hildon_calendar_set_background):
771 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
772 * src/hildon-range-editor.c (hildon_range_editor_get_range):
773 * src/hildon-seekbar.c (hildon_seekbar_init):
774 * src/hildon-time-editor.c (hildon_time_editor_get_time):
775 * src/hildon-time-selector.c (hildon_time_selector_finalize):
776 * src/hildon-touch-selector-entry.c
777 (hildon_touch_selector_get_text_from_model):
778 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
779 * src/hildon-window.c (hildon_window_finalize):
781 Remove many unused variables.
783 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-seekbar.c: (hildon_seekbar_init),
786 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
788 Remove unnecessary g_assert() calls.
790 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
792 * src/hildon-caption.c: (hildon_caption_expose),
793 (hildon_caption_set_property), (hildon_caption_init),
794 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
795 (hildon_caption_size_request), (hildon_caption_size_allocate),
796 (hildon_caption_forall), (hildon_caption_set_separator),
797 (hildon_caption_activate), (hildon_caption_set_child_expand),
798 (hildon_caption_set_label_text),
799 (hildon_caption_get_label_alignment):
801 Remove unnecessary g_assert() calls.
803 2009-02-12 Alberto Garcia <agarcia@igalia.com>
805 * src/hildon-banner.c
806 (hildon_banner_map, hildon_banner_init): Make banner temporary
807 before mapping it to avoid closing other temporary windows, but
808 make it non-temporary afterwards to avoid being closed by other
809 non-temporary windows.
810 (-hildon_banner_client_event, hildon_banner_init):
811 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
813 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
816 2009-02-11 Alberto Garcia <agarcia@igalia.com>
818 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
821 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
823 * src/hildon-remote-texture.c
824 * src/hildon-remote-texture.h
825 * src/hildon-remote-texture-private.h
826 * examples/hildon-remote-texture-example.c:
827 Updates/fixes to remote-texture and its example.
829 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
831 Patch by Mox Soini (ext-mox.soini@nokia.com)
833 * src/hildon-code-dialog.c: Update logical id.
834 * src/hildon-set-password-dialog.c: Update logical id.
836 Fixes: NB#100646 (Logical strings is shown for ok in set
837 password,Password needed dialogs)
839 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
842 * src/hildon-remote-texture.c
843 * src/hildon-remote-texture.h
844 * src/hildon-remote-texture-private.h
846 Added remote texture widget (for Clutter shared memory textures)
848 * examples/hildon-remote-texture-example.c
849 * examples/Makefile.am
850 Added example file for remote texture usage
852 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
854 * configure.ac: post release version bump.
855 * debian/changelog: version bump.
857 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
862 * configure.ac: Bump version.
863 * debian/changelog: Updates.
865 2009-02-06 Alberto Garcia <agarcia@igalia.com>
867 * src/hildon-date-selector.c (hildon_date_selector_init)
868 (hildon_date_selector_constructor): Don't connect to the "changed"
869 signal until the selector is completely constructed.
871 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
873 * src/hildon-touch-selector.c: (_create_new_column),
874 (hildon_touch_selector_append_column),
875 (hildon_touch_selector_set_column_selection_mode),
876 (hildon_touch_selector_set_active),
877 (hildon_touch_selector_select_iter):
878 Emit the HildonTouchSelector::changed signal every time selection
879 is changed in any of the methods above. This behavior was already
880 documented but not fully functional.
882 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
883 selection is programmatically changed)
885 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
887 * doc/hildon-sections.txt: Remove obsolete icon
888 sizes from here as well.
890 2009-02-05 Alberto Garcia <agarcia@igalia.com>
892 * examples/hildon-stackable-window-example.c (add_window): Remove
895 2009-02-05 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-app-menu.c
898 (hildon_app_menu_show): Check whether the parent window of a menu
899 is topmost before popping it up.
901 Fixes: NB#100468 (Application menu window is launched even when a
902 new secondary-window/dialog is pending to be shown/realized.)
904 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
906 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
909 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
911 Patch by Mox Soini (ext-mox.soini@nokia.com)
913 * src/hildon-banner.c: (hildon_banner_show_animation):
914 use stylus size instead of obsolete note size.
915 * src/hildon-defines.h: Update icon sizes.
917 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
919 * src/hildon-touch-selector-entry.c:
920 (hildon_touch_selector_entry_init): Disable unsupported
922 (hildon_touch_selector_entry_get_text_column): Emit a warning
923 if an unsupported input modes is used and explicitile state
924 these modes in the documentation.
926 Fixes: NB#99802 (Hildon touch selector entry not working properly
927 for some of the input modes)
929 2009-02-05 Alejandro G. Castro <alex@igalia.com>
931 * src/hildon-pannable-area.c,
932 (hildon_pannable_area_init): Added the changed signal handlers of
935 Fixes: NB#100320 (HildonPannableArea does not listen to
936 GtkAdjustment "change" signals)
938 2009-02-04 Alberto Garcia <agarcia@igalia.com>
940 * doc/hildon-sections.txt
941 * src/hildon-window-private.h
942 * src/hildon-window.h
943 * src/hildon-window.c (hildon_window_init)
944 (hildon_window_realize, hildon_window_unrealize)
945 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
946 (hildon_window_size_request, hildon_window_size_allocate)
947 (hildon_window_forall, hildon_window_show_all)
948 (hildon_window_destroy, +paint_edit_toolbar)
949 (+hildon_window_set_edit_toolbar):
950 New hildon_window_set_edit_toolbar() method, to add a
951 HildonEditToolbar to a window without having to pack it manually.
953 Reorganize hildon_window_size_allocate()
955 * src/hildon-edit-toolbar.c: Update documentation.
957 * examples/hildon-edit-toolbar-example.c (edit_window): Update
958 example to use the new API.
960 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
962 2009-02-04 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
965 Remove from stack before calling parent's hide.
967 2009-02-04 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
970 window is removed from the middle of the stack, update the
971 transiency of the previous one.
973 Fixes: NB#100487 (HildonStackableWindow transiency becomes
976 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
978 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
979 block/unblock the signal handler if it's not actually being used.
980 Fixes some critical warnings.
982 2009-02-02 Alberto Garcia <agarcia@igalia.com>
984 Based on a patch by Iván Gómez (igomez@igalia.com)
986 * src/hildon-banner.c
990 * src/hildon-pannable-area.c
991 * src/hildon-picker-dialog.c
992 * src/hildon-wizard-dialog.h
993 * src/hildon-wizard-dialog.c: Documentation updates.
995 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
996 gtk_dialog_add_button() instead of hildon_dialog_add_button().
998 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1000 * configure.ac: post release version bump.
1001 * debian/changelog: version bump.
1003 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1008 * configure.ac: Bump version.
1009 * debian/changelog: Updates.
1011 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1013 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1014 a stock icon nor change the relief of the back arrow.
1016 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1017 graphics from theme)
1019 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1021 * src/hildon-button.c (hildon_button_set_alignment): Use
1022 priv->alignment if the button has no child yet.
1024 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1026 * src/hildon-button.c: (hildon_button_init): Set the
1027 button style during initialization to give it the proper
1030 Fixes: NB#99713 (HildonButton value label color is wrong)
1032 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1034 * src/hildon-touch-selector.c: Document
1035 hildon_touch_selector_center_on_selected()
1037 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1040 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1041 all menu items, but not the menu itself.
1042 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1043 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1044 items after adding them to the menu so keyboard accelerators work.
1045 (hildon_app_menu_show): Don't show the menu if it contains items
1046 but none of them are visible.
1048 * examples/hildon-app-menu-example.c (create_menu): Use
1049 gtk_widget_show_all() to show all menu items.
1051 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1053 * src/hildon-picker-dialog.c:
1054 (-_update_title_on_selector_changed_cb),
1055 (-_dialog_update_title): Removed.
1056 (_select_on_selector_changed_cb), (_on_dialog_response),
1057 (on_selector_columns_changed): Do not update the dialog title.
1058 (setup_interaction_mode): Do not connect to
1059 HildonTouchSelector::changed signal if there's a "done" button, as
1060 the dialog title doesn't need to be updated.
1062 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1065 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1067 Patch by Kristian Rietveld (kris@imendio.com)
1069 * src/hildon-touch-selector.c: (_create_new_column): Use new
1070 GtkTreeView::hildon-row-tapped signal to react to user interactions
1071 instead of ::changed.
1073 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1074 with some dynamic tree model)
1076 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1078 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1079 (+screen_size_changed, +label_size_request)
1080 (hildon_note_class_init): Make the Hildon information note have a
1081 minimum height, and make its text hvae a maximum width.
1083 Fixes: NB#98614 (Hildon information note (background) should have
1084 minimum height and maximum text width)
1086 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1088 * src/hildon-banner.h
1089 * src/hildon-banner.c (hildon_banner_show_information)
1090 (hildon_banner_show_informationf)
1091 (hildon_banner_show_information_with_markup): Update documentation
1092 to reflect that the icon_name parameter is not used anymore.
1093 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1094 Remove all code from these functions and mark them as deprecated.
1095 (hildon_banner_show_progress): Mark as deprecated.
1097 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1099 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1101 * src/hildon-pannable-area.c,
1102 (hildon_pannable_area_class_init),
1103 (tranparency_color),
1104 (hildon_pannable_draw_vscroll),
1105 (hildon_pannable_draw_hscroll),
1106 (hildon_pannable_area_expose_event): Added a new way to render the
1107 scrollbars of the pannable area avoiding using cairo at all. This
1108 way we improve the performance of the pannable area rendering. The
1109 cairo rendering procedure is still in the code, we can control
1110 which one to use changing the value of the define
1111 USE_CAIRO_SCROLLBARS.
1113 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1115 * configure.ac: post release version bump.
1116 * debian/changelog: version bump.
1118 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1123 * configure.ac: Bump version.
1124 * debian/changelog: Updates.
1126 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1128 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1129 banners instead of destroying them when they receive a button
1132 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1134 Reverted commit 34028, it was causing regressions, probably the
1135 topmost condition is not correct, we have to check it in more
1136 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1137 propagation of button press events)
1139 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1141 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1142 that the selection is not empty before attempting to retrieve the
1143 current ampm selection.
1145 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1147 * src/hildon-picker-button.c:
1148 (hildon_picker_button_on_dialog_response): Directly update the
1149 button contents when required instead of calling _selection_changed.
1151 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1153 * src/hildon-program.c (hildon_program_update_top_most): Update
1154 'is-topmost' property also when wm_hints is not set.
1156 Fixes: NB#98383 (is-topmost signal is not emitted when task
1157 switcher is clicked.)
1159 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1161 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1165 * src/hildon-animation-actor.c,
1166 * src/hildon-animation-actor.h: Added the animation actor class,
1167 this widget represents an animation actor for WM-assisted
1168 animation effects in the Hildon framework.
1170 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-window-stack-private.h
1173 * src/hildon-window-stack.c
1174 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1175 Avoid calling gtk_widget_show() again indirectly from
1176 hildon_stackable_window_show()
1178 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1183 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1185 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1186 (hildon_time_selector_init): Move the construction of the hours and
1187 ampm columns to the constructor to preserve the order the columns
1190 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1192 * src/hildon-picker-dialog.c:
1193 (hildon_picker_dialog_class_init): Connect a realize method.
1194 (+hildon_picker_dialog_realize): Setup the interaction mode here
1196 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1197 yet, do it during the realize instead.
1198 (_on_dialog_response):
1199 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1200 if the widget is not realized, to avoid the dialog response before it
1203 Avoid premature responses in the HildonPickerDialog that can cause it
1204 to be hidden before it's even shown.
1206 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1208 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1209 (on_selector_columns_changed), (requires_done_button),
1210 (+prepare_action_area), (setup_interaction_mode),
1211 (_hildon_picker_dialog_set_selector):
1213 Split the interaction mode setup into preparation of the
1214 action area (prepare_action_area()) and the connection of
1215 the signals in setup_interaction_mode() and update the code to
1218 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1220 * src/hildon-pannable-area.c,
1221 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1222 per second to 15, we will check if this is ok regarding
1225 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1227 * src/hildon-pannable-area.c,
1228 (hildon_pannable_axis_scroll): Avoid resize if we already have
1229 reached overshoot_max.
1231 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1233 * src/hildon-pannable-area.c,
1234 (hildon_pannable_area_init),
1235 (hildon_pannable_area_realize),
1236 (hildon_pannable_area_size_allocate),
1237 (hildon_pannable_area_map),
1238 (hildon_pannable_area_unmap),
1239 (hildon_pannable_draw_vscroll),
1240 (hildon_pannable_draw_hscroll),
1241 (hildon_pannable_area_expose_event),
1242 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1243 pannable are to avoid the expose events go to the window and
1244 redraw the window. We save this way that part of the stack and the
1245 paint_boxes. We had to change the positions of the elements when
1248 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1250 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1251 * src/hildon-color-chooser-dialog.c:
1252 (hildon_color_chooser_dialog_init):
1253 * src/hildon-font-selection-dialog.c:
1254 (hildon_font_selection_dialog_init),
1255 (hildon_font_selection_dialog_show_preview):
1256 * src/hildon-get-password-dialog.c:
1257 * src/hildon-login-dialog.c:
1258 * src/hildon-set-password-dialog.c:
1259 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1260 * src/hildon-time-picker.c: (hildon_time_picker_init):
1262 Remove obsolete logical string IDs and update to the appropriate ones.
1264 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1266 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1268 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1269 that happens if the window hasn't been realized yet.
1271 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1272 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1274 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1276 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1277 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1280 Fixes: NB#98537 (Device hangs in account settings dialog)
1282 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1284 * configure.ac: post release version bump.
1285 * debian/changelog: version bump
1287 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1292 * configure.ac: Bump version.
1293 * debian/changelog: Updates.
1295 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1297 Added a new function to the HildonTimeButton widget that allows to
1298 change the step of the minutes in the selector associated with the
1299 button: hildon_time_button_new_step
1301 * src/hildon-time-button.c,
1302 (hildon_time_button_init),
1303 (hildon_time_button_new),
1304 (hildon_time_button_new_step):
1305 * src/hildon-time-button.h: Added the new function and refactored
1307 * examples/hildon-time-button-example.c,
1308 (main): We have replaced the function without parameters with the
1309 function with the steps set to 5
1311 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1313 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1315 * src/hildon-time-selector.c,
1316 (hildon_time_selector_class_init),
1317 (hildon_time_selector_constructor),
1318 (hildon_time_selector_get_property),
1319 (hildon_time_selector_set_property),
1320 (_create_minutes_model),
1321 (hildon_time_selector_new_step),
1322 (hildon_time_selector_set_time),
1323 * src/hildon-time-selector.h: Added a new property to the
1324 HildonTimeSelector (minutes-step), we use that property to control
1325 the steps between the minutes in the list of the selector. We have
1326 added a new function to the API to create a widget changing the
1327 step: hildon_time_selector_new_step.
1329 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1331 * src/hildon-time-selector.c,
1332 (hildon_time_selector_class_init),
1333 (hildon_time_selector_constructor),
1334 (hildon_time_selector_init): Overrided the construct function when
1335 creating the time selector object. We have moved the minutes model
1336 handling code from the init to the new construction function:
1337 hildon_time_selector_constructor.
1339 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1341 * examples/hildon-date-button-example.c: (main): Use the new
1342 hildon_date_button_new_with_year_range() method in the example.
1343 * src/hildon-date-button.c:
1344 (+hildon_date_button_new_with_year_range): New public method
1345 to conveniently create a HildonDateButton with a custom year range
1346 in its HildonDateSelector.
1347 * src/hildon-date-button.h: Add the new public method definition.
1349 Fixes: NB#97908 (Not possible to change the year range in
1350 HildonDateSelector/HildonDateButton)
1352 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1354 * src/hildon-date-selector.c:
1355 (+hildon_date_selector_set_property),
1356 (+hildon_date_selector_get_property),
1357 (hildon_date_selector_class_init): Install new properties "min-year"
1358 and "max-year" to define boundaries for the year column.
1359 (_create_year_model): Use the boundary properties to populate the model.
1360 (+hildon_date_selector_new_with_year_range): New public method to
1361 create a HildonDateSelector with a user defined year range.
1362 (hildon_date_selector_select_current_date): Use the new boundaries to
1363 calculate the iterator of current year.
1364 * src/hildon-date-selector.h: Add the new public method definition.
1366 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1368 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1369 Install a constructor method.
1370 (+hildon_date_selector_construct_ui): construct the widget.
1371 (+hildon_date_selector_constructor): new constructor.
1372 (+hildon_date_selector_init): move out widget construction code to
1373 the new constructor.
1375 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1378 that there's actually a month or year selected before obtaining them.
1379 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1380 of the HildonTouchSelector::changed signal, as it was emitted on every
1381 single item selection.
1383 Fix some warnings and possible crashers due to the selection restoring.
1385 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1387 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1388 the signal handlers only after creating the dialog instead of on every
1391 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-button.c (hildon_button_init)
1394 * src/hildon-check-button.c (hildon_check_button_init)
1395 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1396 focus when clicked by default.
1398 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1400 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1403 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1405 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1406 Alejandro G. Castro (alex@igalia.com)
1408 * src/hildon-picker-dialog.c:
1409 (hildon_picker_dialog_class_init): install new "center-on-show"
1411 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1412 (hildon_picker_dialog_set_property): add setter code for the new
1414 (hildon_picker_dialog_get_property): add getter code for the new
1416 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1417 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1420 Fixes: NB#92849 (Selected item is not always visible when
1421 HildonTouchSelector is shown)
1423 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1425 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1426 Alejandro G. Castro (alex@igalia.com)
1428 * src/hildon-touch-selector.c:
1429 (_create_new_column): Do not connect to the "realize" signal of the
1431 (hildon_touch_selector_append_column): center on the selected items
1432 when a new column is appended.
1433 (hildon_touch_selector_select_iter): Factor out the code to select a
1434 column to hildon_touch_selector_scroll_to().
1435 (+search_nearest_element): Method to retrieve the nearest selected
1436 element to the visible area of the pannable area in a column.
1437 (+on_realize_cb): scroll to the initially selected item.
1438 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1439 the pannable area is realized, otherwise delay this until it is.
1440 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1441 selected items of a given column.
1442 (+hildon_touch_selector_center_on_selected): Public method to center
1443 all columns on the nearest selected item.
1444 * src/hildon-touch-selector.h: Add definition for
1445 hildon_touch_selector_center_on_selected().
1447 Implement public API to ensure visibility of all selected items in
1448 a HildonTouchSelector.
1450 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1452 Fixed a problem in the fading when calling the scroll_to API, and
1453 improve scrollbar fading handling.
1455 * src/hildon-pannable-area.c,
1456 (hildon_pannable_area_grab_notify): avoid the timeout when the
1458 (hildon_pannable_area_button_press_cb),
1459 (hildon_pannable_area_motion_notify_cb): Code style changes.
1460 (hildon_pannable_area_button_release_cb): Review the conditions
1461 when releasing the mouse button to avoid unrequired fading
1463 (hildon_pannable_area_scroll_to): Do not calculate and set the
1464 velocity if the scroll is not required.
1466 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1468 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1469 Don't check whether the new selector is NULL: it cannot be.
1470 Hold a reference to the selector while doing the replacement.
1472 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1474 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1475 unnecessary size_request in a removed widget.
1477 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1480 an unnecessary reference tracking that was leaking.
1482 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1484 Added delayed motion notify event handling, this way we can
1485 discard redrawing if more than 25 events arrive per second.
1487 * src/hildon-pannable-area.c,
1488 (hildon_pannable_area_init): Initialized the new private atributes
1489 controlling this timeout
1490 (hildon_pannable_area_dispose): Remove the timeout that controls
1491 the motion notify events.
1492 (hildon_pannable_area_scroll): Added a condition to control the
1493 use of the acceleration.
1494 (hildon_pannable_area_motion_event_scroll_timeout),
1495 (hildon_pannable_area_motion_event_scroll): Added this two
1496 functions, they handle the motion notify events inside the
1498 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1499 to the scroll method with the new function.
1500 (hildon_pannable_area_button_release_cb): We have to remove the
1501 timeout handler and move to the last position if the last motion
1502 events were not handled.
1504 Fixes: NB#97028 (Pannable area updates on every motion event)
1506 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1508 * src/hildon-pannable-area.c,
1509 (hildon_pannable_area_get_topmost): Added a new parameter to
1510 filter the the windows that do not include those events. Added
1511 also a condition when finding the window to filter windows that do
1512 not ask for those events.
1513 (hildon_pannable_area_button_press_cb),
1514 (hildon_pannable_area_button_release_cb),
1515 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1516 topmost function, we have added the new parameter.
1518 Fixes: NB#97458 (Pannable area prevents propagation of button
1521 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1523 * src/hildon-pannable-area.c,
1524 (hildon_pannable_area_initial_effect): Added controls before
1525 launching the timeout and the idle functions.
1526 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1527 of the method, in some situations it can return with TRUE and 0 in
1529 (hildon_pannable_area_button_press_cb): We do not need to set
1530 DELAY for fading out here.
1532 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1534 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1536 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1537 post-cleaning if the selection is not NULL.
1539 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1541 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1542 all items before restoring the selection.
1544 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1546 * src/hildon-touch-selector.c:
1547 (+hildon_touch_selector_unselect_all):
1548 * src/hildon-touch-selector.h: New API to unselect all items in a
1549 column of the touch selector.
1551 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1553 * src/hildon-pannable-area.c,
1554 (hildon_pannable_area_redraw): Added a call to the refresh
1555 function inside the redraw because apparently in some cases the
1556 change in the adjustment does not imply a size allocate.
1558 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1559 despite the view not being scrollable)
1561 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1563 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1564 leak. Check for NULL before attempting to set the window title.
1566 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1568 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1569 whether to show or not the 'Done' button each time the dialog is
1570 shown, as it depends on the HildonTouchSelector selection mode.
1572 Fixes: NB#96226 (In multiple selection mode Done button is shown
1573 sometimes in listpicker)
1575 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1577 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1578 for the number of columns in the HildonTouchSelector more than once.
1580 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-touch-selector.c: Minor documentation fixes.
1584 * src/hildon-picker-dialog.c (+_dialog_update_title)
1585 (_select_on_selector_changed_cb)
1586 (_update_title_on_selector_changed_cb)
1587 (on_selector_columns_changed): Update dialog title when there's no
1588 'Done' button and also when the number of columns in the selector
1592 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1593 (+_selection_changed, hildon_picker_button_on_dialog_response)
1594 (hildon_picker_button_selector_selection_changed)
1595 (+hildon_picker_button_selector_columns_changed)
1596 (hildon_picker_button_set_selector): Update button value and emit
1597 'value-changed' when the number of columns in the selector
1601 Fixes: NB#96225 (Dialog titles are not shown according to the
1602 values selected in the list picker)
1604 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1606 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1607 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1608 New "arrow-width" and "arrow-height" style properties to set the
1609 size of the arrow button.
1610 Set name of arrow button ("hildon-edit-toolbar-arrow").
1612 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1613 graphics from theme)
1615 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1617 * src/hildon-picker-button.c:
1618 (hildon_picker_button_selector_selection_changed): Use
1619 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1620 the dialog is present.
1622 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1623 the selection is accepted in the dialog)
1625 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1627 * src/hildon-color-chooser.h
1628 * src/hildon-color-chooser-dialog.h:
1629 Added G_BEGIN_DECLS and G_END_DECLS
1631 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1633 (_clean_current_selection): plug a leak in the list.
1635 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1637 * src/hildon-picker-dialog.c:
1638 (+free_path_list): Method to free a GList of GtkTreePaths.
1639 (_clean_current_selection), (_save_current_selection),
1640 (_restore_current_selection): Save the current selection in
1641 as a list of lists, to support multiple selection properly.
1643 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1645 patch by Claudio Saavedra (csaavedra@igalia.com)
1647 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1648 Store the press position.
1649 (+hildon_text_view_button_release_event): If the release position is
1650 close enough to the press position, move the cursor here. Otherwise,
1652 (hildon_text_view_class_init): Override GtkTextView press, release, and
1653 motion event handlers, disabling this way text selection through
1654 pointer interaction, and allowing the container widget to handle the
1657 Fixes: NB#95828 (HildonTextView functionality)
1659 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1661 Based on a patch by Iván Gómez (igomez@igalia.com)
1663 * src/hildon-button.[ch]
1664 * src/hildon-calendar.c
1665 * src/hildon-check-button.c
1666 * src/hildon-date-editor.c
1667 * src/hildon-date-selector.c
1668 * src/hildon-picker-button.c
1669 * src/hildon-time-editor.c
1670 * src/hildon-time-selector.c
1671 * src/hildon-touch-selector.[ch]:
1672 Documentation updates
1674 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1676 * src/hildon-pannable-area.c,
1677 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1678 threshold, it was required due to X events handling.
1680 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1682 * src/hildon-pannable-area.c,
1683 (hildon_pannable_area_grab_notify),
1684 (hildon_pannable_area_initial_effect),
1685 (hildon_pannable_area_button_press_cb),
1686 (hildon_pannable_area_button_release_cb),
1687 (hildon_pannable_area_scroll_cb),
1688 (hildon_pannable_area_scroll_to): Review the timeout management of
1689 the scrollbar, the frecuency was incorrectly set.
1691 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1693 * src/hildon-picker-button.c:
1694 (+hildon_picker_button_on_dialog_response),
1695 (hildon_picker_button_clicked): Present the dialog instead of
1696 running it with gtk_dialog_run().
1698 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1701 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1703 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1704 (hildon_app_menu_finalize): When a window is hidden it doesn't
1705 emit notify::is-topmost, so make sure than the menu also
1706 disappears in that case.
1707 (parent_window_topmost_notify): Renamed from parent_window_hidden
1709 Fixes: NB#94460 (stackable window's menu is not closed when its
1712 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-touch-selector-entry.c:
1715 (+hildon_touch_selector_entry_set_input_mode),
1716 (+hildon_touch_selector_entry_get_input_mode):
1717 * src/hildon-touch-selector-entry.h: New methods to access the input
1718 mode in the selector's entry.
1720 Fixes: NB#93410 (API required for setting IM mode in
1721 HildonTouchSelectorEntry)
1723 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1725 * configure.ac: post release version bump.
1726 * debian/changelog: version bump
1728 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1733 * configure.ac: Bump version.
1734 * debian/changelog: Updates.
1736 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1738 * src/hildon-touch-selector.c:
1739 (_hildon_touch_selector_has_multiple_selection): No need
1740 to initialize the variables here.
1742 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1744 * src/hildon-note-private.h
1745 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1746 (hildon_note_finalize, hildon_note_rebuild): Close information
1747 notes when they receive a button press.
1749 Fixes: NB#89890 (Information notes does not get disappeared after
1752 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1754 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1755 mark from the wizard title, as it's not really necessary. Also,
1756 do not display the page title if not set.
1758 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1760 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1761 (parent_window_hidden): Use the window's "is-topmost" property to
1762 detect when to hide the menu.
1764 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1766 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1767 (hildon_app_menu_finalize): If the parent window of the menu is
1768 hidden, hide the menu too.
1770 Fixes: NB#94460 (stackable window's menu is not closed when its
1773 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1776 * debian/libhildon1-examples.install
1778 * examples/Makefile.am:
1779 Use dh_install to install all examples.
1780 Use DEB_SRCDIR instead of defining SOURCE_DIR
1782 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1784 * configure.ac: post release version bump.
1785 * debian/changelog: version bump
1787 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1792 * configure.ac: bump version
1793 * debian/changelog: updates
1794 * debian/control: bump gtk+ dependency
1796 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1798 patch by Christian Dywan (christian@imendio.com)
1800 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1801 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1803 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1805 * src/hildon-check-button.c (hildon_check_button_init)
1806 (hildon_check_button_class_init, hildon_check_button_style_set)
1807 (hildon_check_button_apply_style):
1808 New "checkbox-size" style property.
1810 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1811 larger / configurable size)
1813 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1815 * configure.ac: post release version bump.
1816 * debian/changelog: version bump
1818 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1823 * configure.ac: bump version
1824 * debian/changelog: updates
1826 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1828 * doc/hildon-sections.txt
1829 * src/hildon-pannable-area.c
1830 * src/hildon-program.c
1831 * src/hildon-time-editor.c
1832 * src/hildon-touch-selector-entry.c:
1834 More documentation updates.
1836 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1838 * doc/hildon-sections.txt
1839 * src/hildon-caption.c
1840 * src/hildon-code-dialog.c
1841 * src/hildon-color-button.c
1842 * src/hildon-controlbar.c
1843 * src/hildon-date-editor.c
1844 * src/hildon-date-selector.c
1845 * src/hildon-edit-toolbar.c
1846 * src/hildon-find-toolbar.c
1847 * src/hildon-font-selection-dialog.c
1849 * src/hildon-program.c
1850 * src/hildon-range-editor.c
1851 * src/hildon-seekbar.c
1852 * src/hildon-time-editor.c
1853 * src/hildon-time-selector.c
1854 * src/hildon-volumebar-range.c
1855 * src/hildon-volumebar.c
1856 * src/hildon-vvolumebar.c
1857 * src/hildon-weekday-picker.c
1858 * src/hildon-window.c
1859 * src/hildon-wizard-dialog.c:
1861 Lots of documentation fixes.
1863 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1865 Patch contributed by Iván Gómez (igomez@igalia.com)
1867 * src/hildon-check-button.c:
1868 * src/hildon-date-button.c:
1869 * src/hildon-date-selector.c:
1870 * src/hildon-dialog.c:
1871 * src/hildon-edit-toolbar.c:
1872 * src/hildon-entry.c:
1873 * src/hildon-picker-button.c:
1874 * src/hildon-program.c:
1875 * src/hildon-text-view.c:
1876 * src/hildon-time-button.c:
1877 * src/hildon-touch-selector-entry.c:
1878 * src/hildon-window-stack.c:
1880 Add more "since" tags to the new API.
1882 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1884 * doc/hildon-sections.txt: Add below method.
1885 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1886 version for the hildonized scale.
1887 * src/hildon-gtk.h: Add the definition.
1889 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1891 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1893 * doc/hildon-sections.txt: Add missing entries for new methods.
1895 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1897 Added API to pannable are in order to get its adjustments. We
1898 added two properties to manage the values we had in the private
1901 * src/hildon-pannable-area.c:
1902 (hildon_pannable_area_class_init): Added hadjustment and
1903 vadjustment properties in order to expose horizontal and vertical
1905 (hildon_pannable_area_get_property),
1906 (hildon_pannable_area_set_property): Added code to handle the new
1908 (hildon_pannable_area_get_hadjustment),
1909 (hildon_pannable_area_get_vadjustment): API functions to get the
1911 * src/hildon-pannable-area.h:
1912 (hildon_pannable_area_get_hadjustment),
1913 (hildon_pannable_area_get_vadjustment): API functions to get the
1916 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1918 Fixed some leaks, after valgrinding.
1920 * src/hildon-touch-selector.c:
1921 (_default_print_func): Fixed a leak.
1922 (hildon_touch_selector_append_column): Fixed a leak.
1923 * src/hildon-date-button.c:
1924 (hildon_date_button_init): Fixed a leak.
1925 * src/hildon-date-selector.c
1926 (hildon_date_selector_finalize): Fixed a leak.
1928 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1930 Based on a patch by Christian Dywan (christian@imendio.com)
1932 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1934 * src/hildon-gtk.h: Add definition.
1936 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1938 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-picker-button.c: (hildon_picker_button_init),
1941 (hildon_picker_button_new): Set the HildonButton::style property
1942 in the init method, to propagate the value to the derived classes.
1944 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1946 * src/hildon-button.c: (hildon_button_class_init): Do not make
1947 the "style" property a construct property.
1949 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1951 * src/hildon-wizard-dialog.h
1952 * src/hildon-wizard-dialog.c
1953 (hildon_wizard_dialog_set_forward_page_func)
1954 * src/hildon-pannable-area.h
1955 * src/hildon-pannable-area.c
1956 (hildon_pannable_area_set_size_request_policy):
1957 Documentation fixes.
1959 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1961 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1963 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1965 * doc/hildon-sections.txt: Added sections file.
1967 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/*.[ch]: Updates.
1972 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1974 * examples/hildon-progress-indicator-example.c: new file
1975 * examples/Makefile.am: include the new example program
1977 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1979 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1981 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1983 * configure.ac: post release version bump
1984 * debian/changelog: version bump
1986 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1991 * configure.ac: bump version
1992 * debian/changelog: updates
1993 * debian/control: bump gtk+ dependency
1995 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1997 * src/hildon-dialog.c: Mark as deprecated.
1998 * src/hildon-dialog.h: Mark as deprecated.
1999 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2000 from HildonDialog and still work, even if
2001 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2002 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2004 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2005 maemo changes) instead)
2007 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-pannable_area.h:
2010 * src/hildon-pannable_area.c:
2011 (hildon_pannable_area_class_init),
2012 (hildon_pannable_area_set_property),
2013 (hildon_pannable_area_get_property),
2014 (hildon_pannable_area_size_request),
2015 (hildon_pannable_area_get_size_request_policy),
2016 (hildon_pannable_area_set_size_request_policy): Added new API
2017 allowing applications to control the request policy. Now they can
2018 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2019 children allocation (HILDON_MOVEMENT_CHILDREN).
2021 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2025 (hildon_gtk_tree_view_set_ui_mode)
2026 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2027 mode of treeviews and iconviews.
2029 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-touch-selector-entry.c:
2032 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2033 of a GtkEntry to get proper theming.
2035 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2036 widget, not GtkEntry)
2038 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2041 no HildonWizardDialogPageFunc.
2043 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2045 Patch contributed by Iván Gómez (igomez@igalia.com)
2047 * src/hildon-app-menu.c:
2048 * src/hildon-button.c:
2049 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2050 * src/hildon-stackable-window.c:
2051 * src/hildon-time-selector.c:
2052 * src/hildon-touch-selector.c:
2053 * src/hildon-window.c:
2055 Add more "since" tags to the new API in hildon 2.2.
2057 2008-12-05 Tim Janik <timj@imendio.com>
2059 Patch contributed by Christian Dywan (christian@imendio.com)
2061 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2062 HildonSizeType, which are supplied by Gtk+ now.
2064 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2066 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2067 (with maemo changes) instead)
2069 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2071 Patch contributed by Iván Gómez (igomez@igalia.com)
2073 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2076 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2078 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2079 (some_page_func), (main): Update the example to use a
2080 HildonWizardDialogPageFunc function.
2082 * src/hildon-wizard-dialog-private.h: Add private data for
2083 the HildonWizardDialogPageFunc function usage.
2085 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2086 (destroy), (hildon_wizard_dialog_init), (response),
2087 (hildon_wizard_dialog_set_forward_page_func):
2088 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2089 that applications can use to stop a HildonWizardDialog to jump to
2092 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2095 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2097 * src/hildon-program.h
2098 * src/hildon-program-private.h
2099 * src/hildon-program.c (hildon_program_init)
2100 (hildon_program_set_common_app_menu)
2101 (hildon_program_get_common_app_menu):
2102 New API for setting a common HildonAppMenu for all
2103 HildonStackableWindows registered with the HildonProgram.
2105 * src/hildon-stackable-window.c
2106 (hildon_stackable_window_toggle_menu):
2107 Use the common HildonAppMenu if a window doesn't have a specific
2110 * src/hildon-app-menu-private.h
2111 * src/hildon-app-menu.c
2112 (hildon_app_menu_get_parent_window):
2113 Function to obtain the window a HildonAppMenu is attached to.
2114 (hildon_app_menu_set_parent_window):
2115 Hide the menu if the parent window is set to NULL.
2117 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2119 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2120 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2121 search widget to popup.
2123 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2125 * configure.ac: post release version bump
2126 * debian/changelog: version bump
2128 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2133 * configure.ac: bump version
2134 * debian/changelog: updates
2136 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2138 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2140 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2141 (hildon_window_stack_window_realized)
2142 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2143 Set the leader GdkWindow when a window is stacked and realized,
2144 unset it when it's unstacked.
2145 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2147 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2149 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2151 * src/hildon-stackable-window.h
2152 * src/hildon-window-stack.h:
2153 Protect definition of HildonWindowStack using the preprocessor.
2155 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2157 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2158 Fix warning if all menu items are hidden.
2160 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2162 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2164 * src/hildon-controlbar.c:
2165 * src/hildon-hvolumebar.c:
2166 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2167 Multiple scale size defines updates.
2169 Fixes: NB#94322 (Scale Updates)
2171 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2173 * examples/hildon-app-menu-example.c (create_menu)
2174 Show items after adding them to the menu, as in the future the
2175 menu will no longer call gtk_widget_show() on the added items.
2177 * src/hildon-app-menu.c:
2178 Update example as explained above.
2180 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2182 * src/hildon-app-menu.c
2183 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2184 Make sure that all menu items have finger height.
2186 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2188 * src/hildon-picker-dialog.c:
2189 (_on_dialog_response), (_save_current_selection),
2190 (_restore_current_selection), (_clean_current_selection),
2191 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2192 Defined new functions in order to save the current internal selector
2193 selection previous open the dialog, in case that the use cancel the
2194 interaction, so the widget restores the previous selection.
2196 Fixes: NB#92032 (In calendar application, date values in 'new event'
2199 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2201 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2203 * src/hildon-button.c: Add a reference to the button examples in
2204 hildon-button-example.c
2206 * examples/hildon-button-example.c: Added examples of the most
2207 common button layouts.
2209 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2211 * src/hildon-app-menu.c (hildon_app_menu_show)
2212 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2214 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2216 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2218 * src/hildon-picker-dialog.c:
2219 (hildon_picker_dialog_init): Initialize the signal id for
2220 HildonTouchSelector::columns-changed.
2221 (+on_selector_columns_changed): Set up the interaction mode everytime a
2222 column is added or removed from the HildonTouchSelector.
2223 (_hildon_picker_dialog_set_selector): Connect to
2224 HildonTouchSelector::columns-changed and keep track of it.
2226 Make sure to update the interaction mode of the dialog everytime a
2227 column is added or removed in the HildonTouchSelector.
2229 Fixes: NB#93228 (Done button is not shown always in listpicker)
2231 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2233 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2234 a new ::columns-changed signal.
2235 (hildon_touch_selector_append_column): Emit ::columns-changed.
2236 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2238 Add a ::columns-changed signal, emitted when the number of columns in a
2239 HildonTouchSelector changes.
2241 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2243 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2244 (_hildon_picker_dialog_set_selector): Factor out the code
2245 to set up the dialog interaction mode.
2247 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2250 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2251 to signal_changed_id.
2253 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2255 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2258 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2260 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2261 Updated the logical ids related to ampm format, as now it is required to
2262 show it correctly localized even on languages with no default
2263 abbreviations for am or pm
2264 (_check_am_pm_format): check correctly the 24h format gconf property
2266 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2268 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2270 * src/hildon-button.c: Documentation updates.
2272 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2275 * src/hildon-caption.c: (hildon_caption_class_init):
2276 * src/hildon-color-button.c: (hildon_color_button_class_init):
2277 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2278 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2279 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2280 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2282 Remove deprecated GTK+ marshalers and replace them with the ones
2283 provided by GLib, for those available, add a marshaler for
2284 BOOLEAN:VOID, which is not available in GLib, and use it.
2286 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2288 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2289 the text from the previous column if there is no
2290 HildonTouchSelectorColumn::text-property set.
2292 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-button.h
2295 * src/hildon-button.c (hildon_button_set_property)
2296 (hildon_button_get_property, hildon_button_class_init)
2297 (hildon_button_set_style, hildon_button_get_style):
2298 New "style" property to change the visual appearance of the
2301 * src/hildon-picker-button.c (hildon_picker_button_new):
2302 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2304 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2305 HildonButton look like PickerButton)
2307 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2310 column while building the default string.
2312 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2314 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2315 scroll indicator by default.
2317 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2319 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2321 * src/hildon-main.c: Fix the documentation for hildon_init()
2323 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2325 * doc/hildon-docs.sgml
2329 * src/hildon-window-stack-private.h
2330 * src/hildon-window-stack.h
2331 * src/hildon-window-stack.c:
2332 New HildonWindowStack object, that adds support for multiple
2333 stacks of windows per process.
2335 * src/hildon-stackable-window-private.h
2336 * src/hildon-stackable-window.h
2337 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2338 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2339 (hildon_stackable_window_show, hildon_stackable_window_hide)
2340 (hildon_stackable_window_class_init)
2341 (hildon_stackable_window_init):
2342 Use HildonWindowStack for stack management.
2344 * src/hildon-program.c (hildon_program_pop_window_stack)
2345 (hildon_program_peek_window_stack)
2346 (hildon_program_go_to_root_window):
2347 Add a fallback implementation to the deprecated functions using
2350 * examples/hildon-stackable-window-example.c:
2351 Use the new HildonWindowStack API.
2353 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2355 * src/hildon-stackable-window-private.h
2356 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2357 (hildon_stackable_window_hide, hildon_stackable_window_init):
2358 Remove all window stack management.
2360 * src/hildon-program-private.h
2361 * src/hildon-program.h
2362 * src/hildon-program.c (hildon_program_init)
2363 (hildon_program_pop_window_stack)
2364 (hildon_program_peek_window_stack)
2365 (hildon_program_go_to_root_window):
2366 Remove all window stack management and mark functions as
2369 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2371 * src/hildon-app-menu.c (hildon_app_menu_realize):
2372 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2374 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2376 * configure.ac: post release version bump
2377 * debian/changelog: version bump
2379 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2384 * configure.ac: bump version
2385 * debian/changelog: updates
2387 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2389 Based on initial code by Christian Dywan (christian@imendio.com)
2391 * doc/hildon-docs.sgml: Add section for hildon-main.
2392 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2393 * src/Makefile.am: Add new hildon-main.[ch]
2394 * src/hildon-defines.h: Update the icon sizes.
2395 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2396 new library initialization files and register icon sizes.
2397 * src/hildon-main.h: New declarations.
2398 * src/hildon.h: Include hildon-main.h
2400 Add new initialization functions to the library. These methods
2401 will register the hildon specific icon sizes and can be used in the
2402 future for other hildon specific bits.
2404 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2406 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-window.c: (hildon_window_realize),
2409 (hildon_window_notify), (-hildon_window_update_title): Do not set
2410 the application name in the window title.
2412 Fixes: NB#89754 (Applications shouldn't display their names in the
2415 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/hildon-note-private.h:
2418 * src/hildon-note.c: (hildon_note_set_property),
2419 (hildon_note_get_property), (hildon_note_class_init),
2420 (hildon_note_init), (hildon_note_finalize),
2421 (hildon_note_new_confirmation_with_icon_name),
2422 (hildon_note_new_information_with_icon_name):
2424 No need to mark as deprecated the actual code. Revert
2425 to avoid missing symbols in widgets using deprecated API.
2427 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2429 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2431 * src/hildon-volumebar.h
2432 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2433 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2435 * src/hildon-helper.h
2436 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2437 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2439 * examples/Makefile.am:
2440 Deprecate hildon-insensitive-example
2442 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2444 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2446 * examples/hildon-pannable-area-buttons-scroll-example.c:
2447 Make all buttons finger height
2449 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2451 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2453 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2454 update the day model only if it is really required, and to avoid the
2455 full-reconstruction aproach. Now it only add or remove the required days.
2457 The purpose of this is avoid superfluous HildonTouchSelector::changed
2460 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2461 with strange parameters)
2463 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2465 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2467 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2468 the WINDOW_TYPE property.
2470 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2472 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2475 Fix dependency to allow parallel compilation with make -jX
2477 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2479 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2480 color frame and some minor tweaks to make it more consistent with
2483 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2484 highlighted but not visible)
2486 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2488 * examples/Makefile.am: Fixed typo in the Makefile.am.
2490 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2492 Reviewed the use of MAEMO_GTK define, now we add the define in the
2493 compilation line, and we also add it to the pc file.
2495 * configure.ac: Added MAEMO_GTK define to the compilation command
2496 and removed it from the config.h.
2498 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2499 do not have to take care about this define if the library was
2503 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2505 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2507 * examples/Makefile.am,
2508 * examples/hildon-pannable-area-buttons-scroll-example.c,
2509 * examples/hildon-pannable-area-gesture-signals-example.c,
2510 * examples/hildon-pannable-area-scroll-jump-example.c,
2511 * examples/hildon-pannable-area-tree-view-example.c:
2512 Renamed the pannable area examples, now they have more meaningful
2515 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2517 * src/hildon-touch-selector.c:
2518 (hildon_touch_selector_set_column_selection_mode): Used of
2519 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2520 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2521 to avoid re-seting the same selection mode.
2523 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2524 breaks HildonPickerDialog)
2526 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2528 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2529 conditional in the Makefile.am
2531 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2534 Remove unused methods.
2536 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-button.c (hildon_button_init):
2539 Make button images center-aligned by default
2541 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2544 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2545 activated, we have to think about how to deal with both defines
2546 MAEMO_GTK and MAEMO_CHANGES.
2548 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2550 * examples/hildon-app-menu-example.c (create_menu): Make all
2551 buttons finger size.
2553 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2555 Fixed the compilation without maemo gtk adding ifdefs with
2556 MAEMO_GTK define to the code, we have to check this version more
2559 * examples/Makefile.am: Added control to avoid some examples that
2560 just make sense with maemo gtk.
2563 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2564 hildon modes with the define.
2566 * examples/hildon-edit-toolbar-example.c,
2567 (create_icon_view): Create the icon view without hildon-gtk
2568 helpers if we are not using maemo gtk.
2570 * src/hildon-touch-selector.c,
2571 (_create_new_column): Create the treeview without hildon-gtk
2572 helpers if we are not using maemo gtk.
2574 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2576 * src/hildon-pnnable-area.c,
2577 (hildon_pannable_area_dispose),
2578 (hildon_pannable_area_button_press_cb),
2579 (hildon_pannable_area_child_mapped),
2580 (hildon_pannable_area_add),
2581 (hildon_pannable_area_remove): Added code to control the position
2582 of the event_window when adding and removing children from the
2583 pannable. We have to raise the event window when the child is
2586 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2587 selection mode using custom widget inside pannable)
2589 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2591 * configure.ac: post release version bump
2592 * debian/changelog: version bump
2594 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2599 * configure.ac: bump version
2600 * debian/changelog: updates
2602 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2604 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2605 search mode, in order to avoid lose the focus on the treeview when
2606 a hw key (like enter) is pressed.
2608 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2609 in HildonDateSelector dialog)
2611 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2613 * debian/rules: Added --enable-maintainer-mode
2614 * Makefile.am: Added ACLOCAL_AMFLAGS
2616 This allows to properly regenerate the Makefiles if you modify the
2617 configure.ac or any Makefile.am.
2619 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2621 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2622 properties, not needed at all.
2624 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2626 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2628 * src/hildon-note.c: (hildon_note_set_property),
2629 (hildon_note_get_property), (hildon_note_class_init),
2630 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2631 (hildon_note_new_confirmation_add_buttons): Remove icons.
2632 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2633 (hildon_note_new_information_with_icon_name): Deprecate.
2634 (hildon_note_new_confirmation): Act directly, without calling
2635 the deprecated constructor.
2636 (hildon_note_new_information): Act directly, without calling
2637 the deprecated constructor.
2638 * src/hildon-note.h: Mark deprecate methods as such.
2639 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2640 not run tests on the deprecated methods if built with deprecation
2643 Fixes: NB#91688 (Never show icons in information notes/confirmation
2646 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2648 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2649 (hildon_app_menu_key_press): Remove leftover usage of the
2650 private structure in HildonAppMenu struct.
2651 * src/hildon-app-menu.h: Remove leftover private structure
2652 from the HildonAppMenu struct.
2654 Fixes a crasher when using the HildonAppMenu.
2656 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2658 * src/hildon-picker-dialog.c: Use appropriate logical id
2659 for the default "Done" text.
2661 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2663 * configure.ac: post release version bump
2664 * debian/changelog: version bump
2666 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2668 Modified the way to scroll to the current selection just when the touch
2669 selector is shown on the screen, avoiding a g_idle. Added too a property
2670 to configure this behaviour. See hildon_pannable_area_jump_to_child
2671 documentation for more information.
2673 * src/hildon-touch-selector.c
2674 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2675 Added 'initial-scroll' property
2676 (hildon_touch_selector_set_property): Added
2677 (hildon_touch_selector_map): Removed as not required anymore
2678 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2679 only a concrete column, instead of iterate along all the columns
2681 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2686 * configure.ac: bump version
2687 * debian/changelog: updates
2689 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2692 compilation time warnings.
2694 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2696 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2697 the default value for HildonPannableArea::mov-mode to
2698 HILDON_PANNABLE_AREA_MODE_VERT.
2700 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2702 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2704 Reverting following commit:
2706 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2708 * src/hildon-app-menu-private.h
2709 * src/hildon-app-menu.[ch]
2710 * src/hildon-button.[ch]
2711 * src/hildon-check-button.[ch]
2712 * src/hildon-entry.[ch]
2713 * src/hildon-pannable-area.[ch]
2714 * src/hildon-text-view.[ch]:
2715 Added private field to the object's structure.
2717 because it causes an ABI breakage. We will need to introduce these
2718 changes later at some point. See NB#91636 for an extensive
2719 explanation and status.
2721 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2723 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2725 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2726 remove special cases that are no longer necessary.
2728 Fixes: NB#91016 (Change toolbar sizes, simplification)
2730 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2732 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2733 is shown in the cancel note.
2735 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2737 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2738 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2739 (hildon_seekbar_init): Remove steppers, remove expose event.
2740 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2742 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2744 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2746 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2747 label font to "SmallSystemFont" for vertically arranged buttons.
2749 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2752 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2754 * src/hildon-check-button.c
2755 (hildon_check_button_set_active, hildon_check_button_clicked):
2756 Don't access private parts directly, use getters instead.
2758 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-check-button.c (hildon_check_button_new):
2761 Align the contents of the check button to the left.
2763 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2765 * src/hildon-pannable-area.c,
2766 (hildon_pannable_area_scroll_to),
2767 (hildon_pannable_area_jump_to),
2768 (hildon_pannable_area_scroll_to_child),
2769 (hildon_pannable_area_jump_to_child): Replace the mapped
2770 precondition of these functions with the realized, it is the
2771 correct state of the widget in this case. Changed the
2772 documentation according to this modification.
2774 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2776 Added a new EXTRA_CFLAGS option to add the deprecated define to
2777 the compilation command. This way we can avoid using the define in
2778 the documentation compilation.
2780 * configure.ac: Defined EXTRA_CFLAGS.
2782 * examples/Makefile.am:
2784 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2786 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2788 * src/hildon-picker-dialog.c:
2789 Defined a utility macro with the desired touch selector height
2790 Removed currently unused separator, and title_label variables from
2792 (hildon_picker_dialog_init): Removed code related to the creation
2793 of unused private variables title_label and separator.
2794 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2795 to ensure correct visualization of the touch selector inside the dialog.
2796 * src/hildon-touch-selector.c
2797 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2798 ensure a concrete height of the widget.
2800 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2803 * tests/Makefile.am:
2805 Remove spurious whitespaces.
2807 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2810 compilation warning after the cancel button removal.
2812 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2814 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2816 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2817 Makefile.am, that way we can choose not to compile some examples
2818 and tests of the deprecated widgets.
2820 * examples/Makefile.am: Divided the sources in deprecated and
2823 * src/Makefile.am: Added undef statement of the deprecated
2824 symbol to the enums file generation process.
2826 * src/hildon-color-chooser-dialog.c
2827 * src/hildon-color-chooser-dialog.h
2828 * src/hildon-color-button.c
2829 * src/hildon-color-button.h
2830 * src/hildon-color-chooser.c
2831 * src/hildon-color-chooser.h
2832 * src/hildon-controlbar.c
2833 * src/hildon-controlbar.h
2834 * src/hildon-date-editor.c
2835 * src/hildon-date-editor.h
2836 * src/hildon-hvolumebar.c
2837 * src/hildon-hvolumebar.h
2838 * src/hildon-private.c
2839 * src/hildon-private.h
2840 * src/hildon-range-editor.c
2841 * src/hildon-range-editor.h
2842 * src/hildon-seekbar.c
2843 * src/hildon-seekbar.h
2844 * src/hildon-time-editor.c
2845 * src/hildon-time-editor.h
2846 * src/hildon-time-picker.c
2847 * src/hildon-time-picker.h
2848 * src/hildon-volumebar.c
2849 * src/hildon-volumebar.h
2850 * src/hildon-vvolumebar.c
2851 * src/hildon-vvolumebar.h
2852 * src/hildon-bread-crumb-trail.h
2853 * src/hildon-bread-crumb-trail.c
2854 * src/hildon-calendar-popup.c
2855 * src/hildon-calendar-popup.h
2856 * src/hildon-weekday-picker.c:
2857 * src/hildon-weekday-picker.h:
2858 * src/hildon-bread-crumb-widget.c:
2859 * src/hildon-bread-crumb-widget.h:
2860 * src/hildon-bread-crumb.c:
2861 * src/hildon-bread-crumb.h:
2862 * src/hildon-calendar.c:
2863 * src/hildon-calendar.h:
2864 * src/hildon-caption.c:
2865 * src/hildon-code-dialog.c:
2866 * src/hildon-code-dialog.h:
2867 * src/hildon-font-selection-dialog.c:
2868 * src/hildon-font-selection-dialog.h:
2869 * src/hildon-get-password-dialog.c:
2870 * src/hildon-get-password-dialog.h:
2871 * src/hildon-login-dialog.c:
2872 * src/hildon-login-dialog.h:
2873 * src/hildon-number-editor.c:
2874 * src/hildon-number-editor.h:
2875 * src/hildon-set-password-dialog.c:
2876 * src/hildon-set-password-dialog.h:
2877 * src/hildon-sort-dialog.c:
2878 * src/hildon-sort-dialog.h: This is the list of deprecated
2881 * src/hildon-touch-selector.c:
2882 * src/hildon-window.c: Added undef statement to avoid compilation
2885 * tests/Makefile.am: Divided the sources in deprecated and
2888 * tests/check_test.c,
2889 (configure_tests): Marked the deprecated code that was adding
2890 suites with deprecated tests.
2892 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2894 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-touch-selector.c: (_default_print_func): Do not
2897 duplicate a string returned by gtk_tree_model_get(), it is already
2900 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2903 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2905 * src/hildon-pannable-area.c
2906 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2907 method, it had problems when adding a widget with viewport the
2908 second time. Now checks if it already has a viewport and uses it.
2910 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2913 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2915 * src/hildon-pannable-area.c,
2916 (hildon_pannable_area_scroll_to),
2917 (hildon_pannable_area_jump_to),
2918 (hildon_pannable_area_scroll_to_child),
2919 (hildon_pannable_area_jump_to_child): Added a precondition to the
2920 scroll and jump to functions: the widget must be mapped before we
2921 can safely call these functions. We have also added documentation
2922 to the functions to explain how to use them in this situation.
2925 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2927 Reviewed the threading handling of the pannable widget, we have
2928 used the gdk_threads_add_timeout function instead of the usual
2929 glib handlers. This avoids some problems with the threads.
2931 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2932 (hildon_pannable_area_initial_effect),
2933 (hildon_pannable_area_scroll_indicator_fade),
2934 (hildon_pannable_area_button_press_cb),
2935 (hildon_pannable_area_timeout),
2936 (hildon_pannable_area_motion_notify_cb),
2937 (hildon_pannable_area_button_release_cb),
2938 (hildon_pannable_area_scroll_cb),
2939 (hildon_pannable_area_scroll_to): Removed the
2940 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2941 gdk_threads_add_timeout.
2943 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2945 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2950 * configure.ac: bump version
2951 * debian/changelog: updates
2953 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2955 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2956 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2957 * src/hildon-color-chooser-dialog.c:
2958 (hildon_color_chooser_dialog_init):
2959 * src/hildon-font-selection-dialog.c:
2960 (hildon_font_selection_dialog_init):
2961 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2963 Remove all cancel/close-like dialogs, as these are not going to be
2966 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-note.c: (hildon_note_rebuild),
2969 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2972 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2974 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2976 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2977 sure all buttons are shown, even the Cancel/Close-like ones.
2979 Fixes: NB#90861 (Custom Confirmation dialogs should be
2980 protected from cancel button removal)
2982 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2984 * debian/control: Change libhildon1-examples dependency from libhildon1
2986 * debian/libhildon1-examples.install
2988 * Makefile.am: Modified the final install directory for the examples on
2989 package libhildon1-examples
2990 * Makefile.static: Update clean target in order to remove all the binary
2993 Changes suggested by Claudio after review new libhildon1-examples package
2995 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2998 * src/hildon-touch-selector.c: Ditto.
3000 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3002 * debian/control: Added new package libhildon1-examples, in order to pack
3003 the current hildon examples as documentation
3004 * debian/rules: Not to compress .c files, modify some includes on the
3005 examples (as normally are compiled locally, but when installed it will
3006 require to include the installed libhildon1 library), and rename
3008 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3009 install all the example files on the new example package
3010 * examples/Makefile.static: Added static makefile that can be used to
3011 compile the examples, once installed the new example package
3012 * examples: Most of the examples were modified in order to grant that
3013 all use only '#include "hildon.h"', in order to be easy to prepare
3014 it on the example package
3016 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3019 * debian/libhildon1-dev.install
3020 * debian/libhildon1-doc.install:
3021 Move all gtk-doc files to a separate libhildon1-doc package.
3023 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3025 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3027 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3029 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3031 * debian/rules: Fixed a error in order to avoid unnecessary calls
3032 to autogen.sh on package building
3034 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3036 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3038 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3043 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3045 * src/hildon-picker-button.c
3046 (hildon_picker_button_finalize):
3047 Free priv->done_button_text
3049 * src/hildon-time-button.c
3050 (hildon_time_button_set_time)
3051 * src/hildon-picker-button.c
3052 (hildon_picker_button_clicked)
3053 (hildon_picker_button_selector_selection_changed)
3054 (hildon_picker_button_set_selector)
3055 * src/hildon-date-button.c
3056 (hildon_date_button_set_date):
3057 Free strings returned by hildon_touch_selector_get_current_text()
3059 * src/hildon-button.c (hildon_button_construct_child):
3060 Fix leaks in priv->image and priv->label_box
3062 Fixes: NB#90535 (Memory leak in picker button)
3064 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3066 * src/hildon-button.c: (hildon_button_get_property): Do not access
3067 private elements directly, use getters instead.
3069 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3071 * src/hildon-app-menu-private.h
3072 * src/hildon-app-menu.c
3073 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3074 Store the menu's parent window.
3076 * src/hildon-stackable-window.c
3077 (hildon_stackable_window_toggle_menu)
3078 (hildon_stackable_window_finalize):
3079 Set the menu's parent window when the menu is shown, unset it when
3082 * src/hildon-app-menu.c
3083 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3084 (hildon_app_menu_class_init):
3085 Send unhandled keyboard accelerators to the parent window.
3087 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3089 * src/hildon-stackable-window.c
3090 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3092 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3094 * configure.ac: post release version bump
3096 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3099 * configure.ac: Bump version
3100 * debian/changelog: Updates
3101 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3104 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3106 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3109 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3110 GtkMenu with Hildon style.
3112 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/hildon-picker-button.c:
3115 (hildon_picker_button_set_done_button_text): Set the dialog's
3116 done button text here as well.
3118 Fixes: NB#90232 (Picker button does not set the label on done button
3119 for the second time)
3121 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3123 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3126 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-app-menu.c (hildon_app_menu_insert)
3129 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3130 the HildonAppMenu to be activatable using keyboard accelerators
3131 when the menu is not being shown.
3133 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3135 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-stackable-window.c
3138 (hildon_stackable_window_show):
3139 Don't hide old windows automatically when new windows are shown:
3140 this is now a task for the window manager.
3141 (hildon_stackable_window_class_init)
3142 (hildon_stackable_window_hide):
3143 Remove windows from the stack everytime they're hidden.
3144 (hildon_stackable_window_realize):
3145 Don't change the _NET_WM_WINDOW_TYPE property. Use
3146 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3147 it as a stackable window.
3149 * src/hildon-program.c
3150 (hildon_program_pop_window_stack):
3151 Just hide the window to remove it from the stack.
3152 (hildon_program_go_to_root_window):
3153 Don't call gtk_widget_show(), this is now a task for the window
3156 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3158 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-button.c
3161 (hildon_button_construct_child):
3162 Don't pack anything in the button until text or image are
3163 set. This allows adding a custom child after creating the button
3164 with hildon_button_new().
3165 (hildon_button_finalize, hildon_button_class_init)
3166 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3167 alignment and the label box even when they're not packed in the
3170 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3172 * src/hildon-touch-selector.h:
3173 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3174 currently the type definition was using GTK_TYPE_VBOX
3175 * src/hildon-touch-selector.c:
3176 Added some implementation notes in order to clarify that any other widget
3177 added without the column related API will not be included on the
3178 selection logic, and how the widget is freed, as some people ask about
3180 (hildon_touch_selector_remove): Reimplemented in order to free properly
3181 the column related data when you remove the private hbox.
3182 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3183 to get a proper HildonTouchSelectorColumn documentation
3185 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-touch-selector-entry.c:
3188 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3189 text in the GtkEntry and there is no item selected. Fixes a
3192 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3194 * src/hildon-app-menu-private.h
3195 * src/hildon-app-menu.[ch]
3196 * src/hildon-button.[ch]
3197 * src/hildon-check-button.[ch]
3198 * src/hildon-entry.[ch]
3199 * src/hildon-pannable-area.[ch]
3200 * src/hildon-text-view.[ch]:
3201 Added private field to the object's structure.
3203 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3205 * configure.ac: post-release version bump
3207 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3211 * configure.ac: pre-release version bump
3213 * debian/changelog: updates.
3215 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3217 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3218 Disconnect the handler for HildonTouchSelector::changed.
3220 (hildon_picker_button_selector_selection_changed): Update the button
3221 value if the selection change was not triggered by the
3224 (hildon_picker_button_set_selector): connect to
3225 HildonTouchSelector::changed.
3227 Fixes: NB#89650 (Picker button is not updated, when selection in
3228 selector has changed)
3230 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3232 * src/hildon-picker-dialog.c
3233 (hildon_picker_dialog_realize): Removed as not required
3234 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3235 * src/hildon-picker-button.c
3236 (_current_selector_empty): New function, checks if the selector is empty
3237 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3238 if the current selector is empty, in order to avoid to show the dialog
3239 close the dialog in this case (and shows a g_warning).
3241 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3243 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3245 * src/hildon-pannable-area.c,
3246 (hildon_pannable_area_scroll): Added clause to stop movement when
3247 the child of pannable is smaller than one page.
3248 (hildon_pannable_area_scroll_to): Added conditions to avoid
3249 starting the scrolling movement if the child is smaller than one
3250 page, the complete child is in the screen, we do not have to move.
3252 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3254 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3256 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3257 this is managed automatically by the widget when the size of the
3260 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3262 * src/hildon-picker-button.c
3263 (hildon_picker_button_set_done_button_text): Make a copy of the
3264 text, and free the previous value.
3266 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3268 * src/hildon-touch-selector-entry.c:
3269 (hildon_touch_selector_entry_print_func): Return the selected row's
3270 text if the entry is empty.
3272 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3275 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3277 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3279 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3282 * src/hildon-check-button.h
3283 * src/hildon-check-button.c
3284 * examples/hildon-check-button-example.c:
3285 HildonCheckButton is now a new widget. 'toggled' signal added.
3287 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3289 * src/hildon-program-private.h
3290 * src/hildon-program.c (hildon_program_init)
3291 (hildon_program_finalize): Removed unused variables group_leader
3292 and name from HildonProgramPrivate.
3294 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3296 * src/hildon-check-button.c (hildon_check_button_set_active)
3297 (hildon_check_button_get_active, hildon_check_button_new): Use
3298 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3300 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3302 * src/hildon-touch-selector.h
3303 (hildon_touch_selector_set_column_attributes): added deprecation
3304 guard HILDON_DISABLE_DEPRECATED
3305 * src/hildon-time-selector.c
3306 (hildon_time_selector_set_time)
3307 (hildon_time_selector_get_time): Fixed a typo on documentation
3308 * src/hildon-touch-selector.c: update HildonTouchSelector and
3309 HildonTouchSelectorColumn documentation
3310 * src/hildon-touch-selector-entry.c: update "text-column" property
3312 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3313 to be added to the general documentation.
3315 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3317 * examples/hildon-pannable-area-example-4.c,
3319 * examples/hildon-pannable-area-example.c,
3320 (main): Modified the code in order to use the container add, with
3321 viewport treeviews could have problems if they are really big.
3323 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3325 * src/hildon-weekday-picker.c,
3326 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3327 the agreement regarding deprecation in the library.
3329 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3331 * examples/hildon-picker-button-multicolumn-example.c:
3332 (main): Use custom "done" button text.
3334 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3335 (hildon_picker_button_set_property),
3336 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3337 (hildon_picker_button_init),
3338 (+hildon_picker_button_get_done_button_text),
3339 (+hildon_picker_button_set_done_button_text): New methods to customize
3340 the "done" button label in the launched HildonPickerDialog. Also,
3343 * src/hildon-picker-button.h: add the public API.
3345 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3347 * src/hildon-date-selector.h:
3348 * src/hildon-picker-dialog.h:
3349 * src/hildon-time-selector.h:
3350 * src/hildon-touch-selector-column.h:
3351 * src/hildon-touch-selector.h:
3353 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3354 declarations. Fixes gtk-doc warnings.
3356 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-picker-dialog.h
3359 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3360 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3362 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3363 long text is set as label for done button)
3365 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-dialog.c (hildon_dialog_add_button):
3368 Set fixed width to all buttons in the HildonDialog.
3370 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3372 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3374 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3375 Set widget name using class name plus "-finger" or "-thumb".
3377 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3380 'clicked' when the state of the button is manually changed.
3382 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3384 * src/hildon-app-menu.c (hildon_app_menu_realize)
3385 (hildon_app_menu_unrealize, hildon_app_menu_init)
3386 (hildon_app_menu_class_init, item_visibility_changed):
3387 Change the menu layout when the size of the screen changes.
3388 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3389 Show warning only when changing the number of colums using the
3392 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3394 * debian/compat: Set to 5
3395 * debian/control: Update dependencies.
3396 * debian/libhildon1-dbg.install: Remove.
3397 * debian/libhildon1-dev.install: Update according to cdbs paths.
3398 * debian/libhildon1.install: Update according to cdbs paths.
3399 * debian/rules: Switch to cdbs.
3401 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3404 'item' variable renamed to 'filter'
3406 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3408 * src/hildon-app-menu.c (hildon_app_menu_insert)
3409 (hildon_app_menu_add_filter, remove_item_from_list)
3410 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3411 Don't leak hidden items when the menu is destroyed.
3413 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3415 * src/hildon-app-menu.c (hildon_app_menu_insert)
3416 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3417 (hildon_app_menu_set_columns, item_visibility_changed)
3418 (filter_visibility_changed, hildon_app_menu_repack_filters)
3419 (hildon_app_menu_repack_items):
3420 Repack items and filters separately.
3422 Don't repack all items, change only the ones that are needed to
3425 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3427 * src/Makefile.am: added hildon-touch-selector-column.h
3429 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3431 * src/hildon-touch-selector.c: added the property "text-column" to the
3432 class HildonTouchSelectorColumn, and related get/set functions
3433 (_default_printf_func): updated to use "text-column" property
3434 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3435 "text-column" in his documentation, as this is now included on
3436 HildonTouchSelectorColumn. The get/set_property can still be used,
3437 working as a wrapper to the concrete column "text-column" property
3438 (_text_column_modified): callback added in order to handle the signal
3439 "notify::text-column" of the concrete HildonTouchSelectorColumn
3440 (hildon_touch_selector_entry_get_text_column)
3441 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3442 modified in order to use the HildonTouchSelectorColumn "text-column"
3444 * src/hildon-time-selector.c:
3445 * src/hildon-date-selector.c:
3446 * examples/hildon-touch-selector-example.c
3447 * examples/hildon-touch-selector-multi-cells-example.c
3448 * examples/hildon-picker-button-multicolumn-example.c
3449 Set the right value to "text-column" property on the creation of a new
3450 column using hildon_touch_selector_append_column()
3452 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3454 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3456 * src/hildon-app-menu.c
3457 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3458 updating the layout of the menu, don't create all widgets again,
3459 just repack the items in their new places.
3461 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3463 * src/hildon-time-selector.c
3464 (hildon_time_selector_get_time)
3465 (hildon_time_selector_set_time)
3466 Added documentation of these public methods
3468 * src/hildon-date-button.h
3469 * src/hildon-touch-selector-column.h
3470 * src/hildon-time-button.h
3471 * src/hildon-picker-dialog.h
3472 * src/hildon-time-selector.h
3473 * src/hildon-picker-button.h
3474 * src/hildon-touch-selector.h
3475 * src/hildon-time-picker.h
3476 * src/hildon-date-selector.h
3477 * src/hildon-touch-selector-entry.h
3478 Modified in order to use hildon-widgets code style
3480 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3482 Added deprecated support to the compilation process using
3483 HILDON_DISABLE_DEPRECATED
3485 * configure.ac: Added the --disable-deprecated to the configure
3488 * src/hildon-weekday-picker.c:
3489 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3490 to use the deprecated support. We will update the other deprecated
3491 widgets status in a new patch.
3493 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3495 * configure.ac: Fixed typo with fatal warnings support, the
3496 variable name was not correct
3498 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-app-menu.c
3501 * src/hildon-program.c: Update documentation.
3503 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3505 * configure.ac: Post-release version bump.
3507 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3512 * configure.ac: Pre-release version bump.
3513 * debian/changelog: Updates.
3515 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3517 * NEWS: Update news for previous releases.
3519 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3521 * examples/hildon-touch-selector-multi-cells-example.c:
3522 (create_selector): Update the example to use
3523 hildon_touch_selector_append_column() with a NULL renderer and set
3524 the renderers later.
3525 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3526 passed a NULL renderer. This is documented behavior now.
3528 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3529 This must be used if the developer wants full control on the layout of
3530 the renderers to be added to the column.
3532 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3534 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-touch-selector.c: Documentation fixes.
3538 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-wizard-dialog-private.h: Remove image and box.
3541 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3542 (hildon_wizard_dialog_set_property), (response): Completely remove
3543 image/icon support, and the containers required for the layout.
3545 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3547 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3549 * src/hildon-app-menu.c: Updated documentation.
3551 * src/hildon-stackable-window.c
3552 (hildon_stackable_window_set_main_menu): Unref the old menu after
3553 ref'ing the new one.
3555 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3557 * src/hildon-stackable-window.c
3558 (hildon_stackable_window_set_main_menu): Unref the previous menu
3559 instead of destroying it.
3561 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3562 floating reference and set has_user_ref_count to FALSE to make
3563 HildonAppMenu act like a normal ref-counted widget and not a
3566 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3569 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3571 * src/hildon-touch-selector-column.h: new file
3572 * src/hildon-touch-selector.h
3573 * src/hildon-touch-selector.c
3574 Implemented GtkCellLayout interface, in order to allow to configure
3575 the cell layout on each individual selector column
3576 (hildon_touch_selector_set_column_attributes): marked as deprecated
3577 * examples/hildon-touch-selector-multi-cells-example.c
3578 Example of how to use the GtkCellLayout interface on the selector
3580 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3582 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-app-menu.h
3585 * src/hildon-app-menu.c
3586 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3587 (hildon_app_menu_append, hildon_app_menu_prepend):
3588 New methods to prepend, insert and move items in the menu.
3590 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3592 * src/hildon-wizard-dialog.c:
3594 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3596 (create_title): Update logical IDs and related code.
3597 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3599 * src/hildon-wizard-dialog.h: Note that
3600 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3601 point, as it is not used anymore.
3603 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3605 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3607 * src/hildon-note.c:
3608 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3609 shown. Do not display an icon in confirmation notes nor information
3611 (hildon_note_set_button_text): Update logical ID for cancel button.
3613 Fixes: NB#88850 (Update HildonNote button strings + signals)
3615 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3617 * src/hildon-stackable-window.c
3618 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3620 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3622 * src/hildon-app-menu-private.h
3623 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3624 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3625 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3626 temporary property 'columns' to change the number of columns.
3628 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3630 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3632 * examples/hildon-note-example.c: (on_information_clicked),
3633 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3634 debugging information.
3635 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3637 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3638 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3639 in order to close: this will be handled by the WM from now on.
3641 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3643 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3645 * src/hildon-app-menu-private.h
3646 * src/hildon-app-menu.c
3647 (hildon_app_menu_append, hildon_app_menu_add_filter)
3648 (button_visibility_changed, hildon_app_menu_apply_style)
3649 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3650 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3651 layout everytime a button (item or filter) is shown or hidden.
3653 * src/hildon-stackable-window.c
3654 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3657 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3659 * src/hildon-touch-selector.c:
3660 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3661 that the treeview inside the touch selector is in fremantle hildon mode
3662 * examples/hildon-date-button-example.c
3663 * examples/hildon-picker-button-multicolumn-example.c
3664 * examples/hildon-touch-selector-entry-example.c
3665 * examples/hildon-touch-selector-example.c
3666 * examples/hildon-time-button-example.c
3667 * examples/hildon-picker-button-example.c:
3668 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3670 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3672 * examples/hildon-text-view-example.c: (main): Remove the
3673 gtkrc bits, now handled by the theme.
3675 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3677 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3680 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3682 * po/Makefile.am: Install properly the mo files.
3683 * po/en_GB.po: Update translation, to ease testing purposes.
3685 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3687 * examples/hildon-picker-button-example.c: (main): Select an item
3688 in the selector before setting it to the button.
3690 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3692 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3693 Update button's value if the selector has an item active.
3695 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3696 'value' with the selector)
3698 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3700 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3701 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3702 (hildon_picker_button_class_init): Plug the finalize method.
3703 (hildon_picker_button_set_selector): If there's a previously set
3704 selector, unref'it before setting a new one.
3706 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3707 HildonTouchSelector)
3709 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3711 * src/hildon-touch-selector-entry.c:
3712 (hildon_touch_selector_entry_changed): Check if there is no text
3713 selected before setting the entry text.
3716 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3718 * src/hildon-touch-selector.h
3719 * src/hildon-touch-selector.c
3720 (hildon_touch_selector_get_active)
3721 (hildon_touch_selector_set_active): New methods to set/get the
3722 index of the selected item.
3724 * src/hildon-picker-button.h
3725 * src/hildon-picker-button.c
3726 (hildon_picker_button_get_active)
3727 (hildon_picker_button_set_active): New methods to set/get the
3728 index of the selected item.
3730 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3732 * configure.ac: post-release version bump.
3734 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3738 * configure.ac: Pre-release version bump.
3739 * debian/changelog: Updates.
3740 * debian/control: Add myself as maintainer and depend on l10n
3743 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3745 * src/hildon-window.c
3746 (hildon_window_set_main_menu)
3747 * src/hildon-stackable-window.c
3748 (hildon_stackable_window_set_main_menu):
3749 Updated documentation.
3751 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3753 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3754 Don't free selector->priv manually.
3757 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3760 (hildon_gtk_window_set_progress_indicator):
3761 * src/hildon-gtk.h: Added the new API
3762 hildon_gtk_window_set_progress_indicator, it changes the state of
3763 the window progress hint.
3765 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3767 * src/hildon-button.c
3768 * src/hildon-stackable-window.c: Minor documentation updates.
3770 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-stackable-window.c: Updated documentation.
3774 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3776 * src/hildon-defines.h: Update margins definitions
3777 to the Fremantle sizes.
3780 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3782 * src/hildon-touch-selector.c,
3783 (_hildon_touch_selector_set_model): Cleaning the code after
3784 review, removed g_print and #if 0 from the code.
3786 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3788 * src/hildon-edit-toolbar.c: Update documentation.
3790 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3792 * src/hildon-check-button.h
3793 * src/hildon-check-button.c
3794 (hildon_check_button_set_label, hildon_check_button_get_label)
3795 * examples/hildon-check-button-example.c
3796 (button_clicked_cb):
3797 Removed deprecated methods.
3799 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-text-view.c:
3802 Add sample code to the documentation.
3804 * src/hildon-entry.h
3805 * src/hildon-text-view.h:
3806 Minor cosmetic changes.
3808 * src/hildon-entry.c:
3809 Add sample code to the documentation.
3810 (hildon_entry_init, hildon_entry_refresh_contents):
3811 Don't allow NULL values in the placeholder.
3813 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3815 * doc/hildon-docs.sgml
3817 * examples/Makefile.am
3818 * examples/hildon-text-view-example.c
3820 * src/hildon-text-view.c
3821 * src/hildon-text-view.h
3823 New HildonTextView widget, with example.
3825 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3827 * po/POTFILES.in: Add missing files with translatable strings.
3828 Partially fixes NB#88287.
3830 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3832 * examples/hildon-pannable-area-example-2.c: (main): No need to
3833 set the cellrenderer height inside hildon touch lists, the theme does
3836 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3838 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3839 they are integrated in the theme.
3841 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3843 * examples/hildon-entry-example.c: Update the example adding
3844 widgets to modify the text and the placeholder of the HildonEntry.
3846 * src/hildon-entry.c: Show the placeholder everytime the widget
3847 is empty and loses the focus.
3849 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3851 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3853 * src/hildon-pannable-area.c,
3854 (hildon_pannable_area_size_request): Fixed bug in height
3855 requisition, avoid increasing size and add border twice.
3857 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3859 * configure.ac: postrelease version bump.
3861 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3865 * configure.ac: Prerelease version bump.
3866 * debian/changelog: update.
3867 * debian/rules: make -dbg package contain useful debugging symbols.
3869 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3871 * src/hildon-dialog.h
3872 * src/hildon-dialog.c
3873 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3874 New methods to add buttons with finger size.
3875 (hildon_dialog_new_with_buttons):
3876 Create buttons with finger size.
3878 * examples/hildon-dialog-example.c (main): Use HildonDialog
3879 methods to add buttons.
3881 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3883 * src/hildon-entry.c: Updated HildonButton documentation.
3885 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3888 button value label with (FALSE, FALSE) to prevent NB#88126 from
3891 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3893 * examples/hildon-pannable-area-example.c,
3894 (main): Removed examples panning a vbox inside a pannable
3895 area. Check bug NB#87965
3897 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3899 Patch contributed by Kris Rietveld (kris@imendio.com)
3901 * src/hildon-pannable-area.c,
3902 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3903 get_size and get_position, this saves an X server roundtrip.
3905 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3907 * doc/hildon-docs.sgml
3909 * examples/Makefile.am
3910 * examples/hildon-entry-example.c
3912 * src/hildon-entry.c
3913 * src/hildon-entry.h
3915 New HildonEntry widget, with example.
3917 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3919 * src/hildon-button.c (hildon_button_construct_child): Pack the
3920 image with expand == fill == FALSE. This is a workaround for a bug
3923 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3925 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3926 labels for the text column, to make it more look more dynamic.
3928 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3930 * src/hildon-time-selector.c
3931 Define gettext auxiliar macro N_
3932 (_create_minutes_model)
3933 (_create_hours_model)
3934 (_create_ampm_model): use of strftime in order to fill the model
3935 * src/hildon-date-selector.c
3936 (hildon_date_selector_finalize):
3937 (_locales_init): remove the logic related to get the name of the months
3938 using nl_langinfo, as it is not required anymore
3940 (_create_year_model)
3941 (_create_month_model)
3942 (_update_day_model): use of strftime in order to fill the model properly
3945 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-button.h
3948 * src/hildon-button.c (hildon_button_get_image): New method to
3951 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-touch-selector.c:
3954 (hildon_touch_selector_remove_column): Remove from the correct parent
3955 and also remove the list element and free it.
3958 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3960 * src/hildon-time-selector.c
3961 (_create_hours_model): change the range on 12h ampm format in order to use
3962 a 12-11 range instead of previous 01-12 range
3963 (hildon_time_selector_set_time): change the way to select the current time
3964 on 12h ampm format, due the change on the range
3965 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3968 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3970 * src/hildon-touch-selector.c
3971 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3972 in order to allow use this function on multiple row selection mode if
3973 the column is different that the first one
3976 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3978 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3979 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3981 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3983 * src/hildon-date-selector.h: clean some comments, now on the .c
3984 * src/hildon-date-selector.c
3985 (hildon_date_selector_select_month): first implementation
3986 (hildon_date_selector_select_day): added documentation, reimplemented
3987 using hildon_date_selector_select_current_date to avoid repeat code
3990 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3992 Reviewed interaction logic based on device experiences, refactored
3995 * src/hildon-pannable-area.c,
3996 (hildon_pannable_area_class_init): Updated default vmax speed.
3997 (hildon_pannable_area_calculate_velocity): Added this function, it
3998 avoids duplicate valocity calculation. Adjusted calculation to
3999 avoid problems with zero dist events.
4001 (hildon_pannable_area_motion_notify_cb): Now we use the
4002 calculate_velocity function.
4004 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4006 * src/hildon-date-selector.c
4007 (hildon_date_selector_select_current_date): fix the day range check
4008 as it failed using the last day of the current month
4011 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4013 * src/hildon-touch-selector.c
4014 (hildon_touch_selector_get_num_columns): added a parameter validation
4017 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4019 * examples/Makefile.am
4020 * examples/hildon-edit-toolbar-example.c: Example of the
4021 HildonEditToolbar widget.
4023 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4025 * configure.ac: postrelease version bump.
4027 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4031 * configure.ac: prerelease version bump.
4032 * debian/changelog: update.
4034 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4036 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4037 renderer to display stock icons in the touch list. Also, set the sizes
4038 to the recommended in the style guide.
4040 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4041 * src/hildon-touch-selector.h
4042 (hildon_touch_selector_set_active_iter): renamed, now is
4043 hildon_touch_selector_select_iter
4044 (hildon_touch_selector_get_active_iter): renamed, now is
4045 hildon_touch_selector_get_selected
4046 (hildon_touch_selector_unselect_iter): added
4047 * src/hildon-touch-selector.c
4048 Update after API modification (methods renamed)
4049 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4050 order to avoid problems selecting multiple elements on the column
4051 (hildon_touch_selector_unselect_iter): added the implementation
4052 * src/hildon-time-selector.c
4053 * src/hildon-date-selector.c
4054 * src/hildon-touch-selector-entry.c
4055 Update methods calls after hildon-touch-selector.h API modification (methods
4058 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4060 * src/hildon-stackable-window.c
4061 (hildon_stackable_window_finalize): Call the parent class's finalize.
4063 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4065 * examples/hildon-touch-selector-example.c: (create_selector): Use
4066 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4069 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4071 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4072 set a cell background color, to respect theming.
4074 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4076 * doc/hildon-docs.sgml
4079 * src/hildon-edit-toolbar.c
4080 * src/hildon-edit-toolbar.h
4081 * src/hildon.h: New HildonEditToolbar widget.
4083 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4085 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4088 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4089 * src/hildon-touch-selector.c
4090 (_create_new_column): use g_object_set instead of two g_object_set_property
4092 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4093 * src/hildon-touch-selector.c
4094 (_create_new_column): use of hildon_gtk_tree_view_new to create
4095 the treeview, instead of use directly g_object_new
4096 (_create_new_column): update the property name "vindicator-mode" for the
4097 new one "vscrollbar-policy"
4098 * examples/hildon-date-button-example.c
4099 * examples/hildon-picker-button-multicolumn-example.c
4100 * examples/hildon-touch-selector-entry-example.c
4101 * examples/hildon-touch-selector-example.c
4102 * examples/hildon-time-button-example.c
4103 * examples/hildon-picker-button-example.c
4104 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4105 to all the treeviews inside a pannable area.
4107 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4109 * src/hildon-button.h
4110 * src/hildon-button.c (hildon_button_init)
4111 (hildon_button_set_arrangement, hildon_button_set_alignment)
4112 (hildon_button_set_title_alignment)
4113 (hildon_button_set_value_alignment)
4114 (hildon_button_set_image_alignment)
4115 (hildon_button_construct_child): New methods to set the alignment
4116 of the individual components of the button (title, value,
4117 image). Also, new method to alter the xscale and yscale properties
4118 of the GtkAlignment inside the button, so more complex layouts can
4121 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4123 * src/hildon-button.c (hildon_button_style_set)
4124 (hildon_button_class_init, hildon_button_set_arrangement)
4125 (hildon_button_construct_child): Apply style properties
4126 correctly. Use the 'image-spacing' style property too.
4128 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4130 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4131 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4134 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4136 * src/hildon-pannable-area.c,
4137 (hildon_pannable_area_size_request): Fixed problem with
4138 pannable-area size_request.
4140 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4142 Added management for the grab-focus to a child widget, like a
4143 range, we need to fade out the scrollbar when releasing.
4145 * src/hildon-pannable-area.c,
4146 (hildon_pannable_area_init): Connected the grab-focus signal to
4148 (hildon_pannable_area_grab_notify): Added this function in order
4149 to manage the situation when the grab-focus ends. We have to
4150 fade-out the scrollbar.
4152 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4154 * src/hildon-app-menu.c: Minor documentation update.
4156 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4158 * src/hildon-app-menu.c
4159 * examples/hildon-app-menu-example.c (create_menu): Update
4160 examples and documentation to explain how to connect callbacks.
4162 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4164 * examples/hildon-button-example.c
4165 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4166 hildon_stackable_window_new instead of gtk_window_new
4168 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4170 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4171 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4172 (hildon_pannable_area_set_property),
4173 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4174 (hildon_pannable_area_unrealize),
4175 (hildon_pannable_area_size_request),
4176 (hildon_pannable_area_size_allocate),
4177 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4178 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4179 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4180 (hildon_pannable_area_initial_effect),
4181 (hildon_pannable_area_redraw),
4182 (hildon_pannable_area_scroll_indicator_fade),
4183 (hildon_pannable_area_expose_event),
4184 (hildon_pannable_area_get_topmost), (synth_crossing),
4185 (hildon_pannable_area_button_press_cb),
4186 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4187 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4188 (hildon_pannable_area_motion_notify_cb),
4189 (hildon_pannable_area_button_release_cb),
4190 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4191 (hildon_pannable_area_remove),
4192 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4193 chage the code layout to a more GtkWidget like. Review the use of
4196 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4198 * examples/hildon-pannable-area-example-4.c,
4199 (main): Modified the name of the hindicator_mode to
4202 * src/hildon-pannable-area.c,
4203 (hildon_pannable_area_class_init),
4204 (hildon_pannable_area_motion_notify_cb),
4205 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4206 we have reduced the amount of signals and managed reviewed its
4207 rationale. Changed the default decelerate value.
4209 (hildon_pannable_area_add),
4210 (hildon_pannable_area_redraw): Refactored functions.
4212 (hildon_pannable_area_init),
4213 (hildon_pannable_area_get_property),
4214 (hildon_pannable_area_set_property):
4215 (hildon_pannable_draw_vscroll),
4216 (hildon_pannable_draw_hscroll),
4217 (hildon_pannable_area_initial_effect),
4218 (hildon_pannable_area_expose_event),
4219 (hildon_pannable_area_scroll),
4220 (hildon_pannable_area_button_press_cb),
4221 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4222 and vindicator_mode with hscrollbar_policy and
4223 vscrollbar_policy. Replaced hscroll and vscroll with
4224 hscroll_visible and vscroll_visible.
4226 (hildon_pannable_area_refresh): Refactor the function, remove
4227 variables and check the calls to this function, added resize
4228 conditions in case the children change their layout.
4230 (hildon_pannable_area_size_request): Added more detailed
4231 size_request calculation.
4234 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4236 * src/hildon-color-chooser.c
4237 (init_borders): use the correct gtk_border_free instead of g_free, to
4238 avoid a crash when this widget is used (ie: the three color selection
4241 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4243 * src/hildon-check-button.c,
4244 (hildon_check_button_set_active): Fixed problem when setting the
4245 active value, the widget was not redrawn.
4247 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4249 * src/hildon-pannable-area.c,
4250 (hildon_pannable_area_refresh),
4251 (hildon_pannable_area_scroll),
4252 (hildon_pannable_area_motion_notify_cb): Small code style change.
4254 (hildon_pannable_area_class_init): Default initial_hint set to
4255 FALSE, it is not in the specs.
4257 (hildon_pannable_area_initial_effect),
4258 (hildon_pannable_area_expose_event),
4259 (hildon_pannable_area_map),
4260 (hildon_pannable_area_init): Moved the launching point of the
4261 initial effect, it was in map but the sizes where not correct in
4262 that method so we do not know if we have the reproduce it. Now it
4263 is placed in the expose_event method and uses a variable to
4264 reproduce it just once.
4266 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4268 * src/hildon-pannable-area.c,
4269 (hildon_pannable_draw_vscroll),
4270 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4271 position allowed for the scrollbars.
4273 (hildon_pannable_area_size_allocate): Small style change.
4275 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4277 * src/hildon-pannable-area.c,
4278 (hildon_pannable_area_scroll_indicator_fade),
4279 (hildon_pannable_area_button_press_cb),
4280 (hildon_pannable_area_button_release_cb),
4281 (hildon_pannable_area_scroll_cb),
4282 (hildon_pannable_area_expose_event),
4283 (hildon_pannable_area_init): Added the define parameter
4284 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4285 and refactor the fade variable.
4287 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4289 * src/hildon-pannable-area.c,
4290 (hildon_pannable_area_redraw),
4291 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4292 lines, we were reimplemeting the redraw code.
4294 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4296 * src/hildon-pannable-area.c,
4297 (hildon_pannable_area_scroll_cb),
4298 (hildon_pannable_area_realize),
4299 (hildon_pannable_area_class_init): Added scroll_event management
4300 for pannable area, now we can scroll the usual desktop method.
4302 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4303 initialization of the parameters should depend on idle_id.
4305 (hildon_pannable_area_init),
4306 (hildon_pannable_area_map): Small code style modifications
4308 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4310 * src/hildon-pannable-area.c
4311 (hildon_pannable_area_button_press_cb),
4312 (hildon_pannable_area_motion_notify_cb),
4313 (hildon_pannable_area_button_release_cb),
4314 (hildon_pannable_area_size_allocate),
4315 (hildon_pannable_area_scroll_to): Improved the timeouts
4316 management, we avoid creating them each time.
4318 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4320 * src/hildon-pannable-area.c:
4321 (hildon_pannable_area_refresh),
4322 (hildon_pannable_area_motion_notify_cb),
4323 (hildon_pannable_area_class_init):
4324 * src/hildon-pannable-area.h:
4325 * src/hildon-touch-selector.c
4326 (_create_new_column):
4327 * examples/hildon-pannable-area-example-4.c:
4328 (horizontal_movement),
4329 (vertical_movement),
4331 Replaced the names of enums in the HildonPannableArea:
4332 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4333 HILDON_MOVEMENT_MODE_*
4334 - HILDON_PANNABLE_AREA_MOV_* ->
4336 - Removed HildonPannableAreaIndicatorMode, now we
4339 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4341 * examples/hildon-pannable-area-touch-grid-example.c
4342 * examples/hildon-pannable-area-touch-list-example.c: Fix
4343 compilation warnings.
4345 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4347 * src/hildon-gtk.c (hildon_gtk_button_new)
4348 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4349 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4350 images overriding the value of the "gtk-button-images" setting.
4352 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4354 * src/hildon-check-button.c (hildon_check_button_new):
4355 Instead of using a custom container, display the label and the
4356 checkbox using the standard GtkButton API.
4358 * examples/hildon-check-button-example.c (main): Don't use
4359 hildon_check_button_set_label() anymore
4361 * src/hildon-check-button.h
4362 * src/hildon-check-button.c
4363 (hildon_check_button_set_label, hildon_check_button_get_label):
4364 Set as deprecated, now we're using gtk_button_{get,set}_label()
4366 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4368 * src/hildon-pannable-area.c,
4369 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4370 GtkTreeview first line we detected it after the inclusion of the
4371 GtkWindowImpl in gtk+. We now check if the window is visible, not
4372 just if the pointer is over the window.
4373 (hildon_pannable_axis_scroll),
4374 (hildon_pannable_area_expose_event): Small style changes.
4376 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-button.c: Update documentation.
4380 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4382 * examples/hildon-button-example.c: Add a switch to show images in
4385 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4387 * doc/hildon-docs.sgml: Some docs reorganization.
4389 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4391 * examples/hildon-pannable-area-touch-list-example.c
4393 * examples/hildon-pannable-area-touch-grid-example.c
4394 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4395 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4396 Fix memory leak when setting the tree model.
4398 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4402 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4404 * doc/hildon.types: Remove duplicated hildon_window_get_type
4405 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4406 documentation comment.
4408 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4410 * doc/Makefile.am: Complete list of private headers.
4412 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4414 * doc/hildon-docs.sgml
4415 * src/hildon-app-menu.c
4416 * src/hildon-bread-crumb.c
4417 * src/hildon-button.c
4419 * src/hildon-program.c
4420 * src/hildon-stackable-window.c
4421 * src/hildon-window.c: Lots of documentation updates.
4423 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4425 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4427 * configure.ac: Require Gtk+ 2.12.9 at least
4429 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4431 * src/hildon-pannable-area.c
4432 (hildon_pannable_area_scroll_indicator_fade),
4433 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4434 to protect the return of this timeout callbacks, avoiding deadlocks.
4436 2008-08-12 Christian Dywan <christian@imendio.com>
4439 * src/hildon-*.h: Ensure a consistent include order,
4440 include <gtk/gtk.h> instead of particular files and
4441 only include the topmost header in the gtk stack. See NB #39857
4443 2008-08-12 Christian Dywan <christian@imendio.com>
4445 * src/hildon-picker-dialog.c
4446 * src/hildon-touch-selector.c: Fix warnings about unused and
4447 uninitialized variables.
4449 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4451 * examples/Makefile.am
4452 * examples/hildon-check-button-example.c: Example of the hildon
4455 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4457 * src/hildon-window.h
4458 * src/hildon-window.c (hildon_window_class_init)
4459 (hildon_window_unset_program): Don't make
4460 hildon_window_unset_program a virtual function anymore.
4462 * src/hildon-stackable-window.c: Update documentation
4464 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4467 * doc/hildon-docs.sgml
4468 * doc/visual_index.xml
4469 * src/hildon-defines.c
4471 * src/hildon-helper.c
4472 * src/hildon-range-editor.c: Lots of documentation fixes.
4474 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4476 * examples/hildon-picker-button-multicolumn-example.c
4477 (create_touch_selector): Fix compilation warning.
4479 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4481 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4482 (hildon_pannable_area_button_release_cb)
4483 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4485 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4487 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4490 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4492 * src/hildon-bread-crumb-trail.h
4493 * src/hildon-date-editor.c
4494 * src/hildon-date-selector.c
4495 * src/hildon-pannable-area.c
4496 * src/hildon-picker-dialog.c
4497 * src/hildon-time-selector.c
4498 * src/hildon-touch-selector-entry.c
4499 * src/hildon-touch-selector.c
4500 * src/hildon-touch-selector.h: Misc documentation fixes
4502 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4504 * examples/hildon-date-editor-example.c (main): Updated date
4507 * examples/hildon-note-example.c (on_confirmation_clicked):
4508 Updated confirmation note example.
4510 * src/hildon-date-editor.c
4511 * src/hildon-note.c: Updated sample programs in documentation.
4514 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4516 * src/hildon-date-button.h:
4517 * src/hildon-picker-button.h:
4518 * src/hildon-time-button.c:
4519 * src/hildon-time-button.h:
4521 Some declarations changes to allow gtk-doc to document the widgets
4524 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4526 * src/hildon-date-button.c: Document the widget.
4527 * src/hildon-time-button.c: Document the widget.
4529 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4531 * src/hildon-picker-button.c: Document the widget.
4532 * src/hildon-touch-selector-entry.c: Document the widget.
4534 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4536 * doc/hildon-docs.sgml
4539 * src/hildon-check-button.h
4540 * src/hildon-check-button.c: New functions to create the Hildon
4544 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4546 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4548 * src/hildon-button.h
4549 * src/hildon-button.c
4550 (hildon_button_add_title_size_group)
4551 (hildon_button_add_value_size_group)
4552 (hildon_button_add_image_size_group)
4553 (hildon_button_add_size_groups): New functions to set size groups
4554 for the button labels and image.
4555 (hildon_button_new_full): Removed
4557 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4559 * src/hildon-time-selector.c
4560 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4561 in order to avoid a crash if gconf is not available
4563 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-button.c (hildon_button_set_arrangement)
4566 (hildon_button_construct_child): Don't construct the button child
4567 before setting the arrangement.
4569 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-program-private.h
4572 * src/hildon-program.c
4573 * src/hildon-program.h
4574 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4575 (hildon_program_peek_window_stack)
4576 (hildon_program_pop_window_stack)
4577 (hildon_program_go_to_root_window): HildonProgram now has a
4578 separate list for stackable windows. Functions are provided to
4579 manage that list with a stack-like API.
4581 * src/hildon-stackable-window.c: Stackable window management is
4582 now much simpler with the new HildonProgram API. Windows no
4583 longer need to be manually added to the program, they're
4584 automatically pushed to the top of the stack when shown.
4586 * examples/hildon-stackable-window-example.c: Updated example to
4587 reflect the API changes.
4589 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4591 * src/hildon-touch-selector.c: Comment out unimplemented
4592 hildon_touch_selector_insert_column() to avoid a compile warning.
4594 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4596 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4597 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4598 (hildon_touch_selector_set_column_selection_mode),
4599 (_hildon_touch_selector_set_model),
4600 (hildon_touch_selector_set_model):
4602 Complete review of HildonTouchSelector documentation.
4604 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4606 * doc/hildon-docs.sgml
4610 * src/hildon-gtk.c: Convenience functions for standard Gtk
4611 widgets, used to easily perform frequent operations.
4613 * src/hildon-button-helpers.h
4614 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4616 * src/hildon-helper.h
4617 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4618 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4620 * src/hildon-button.h
4621 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4623 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4625 * src/hildon-button.c (hildon_button_init)
4626 (hildon_button_set_arrangement, hildon_button_construct_child):
4627 Pack the image and the labels inside the same GtkAlignment so
4628 gtk_button_set_alignment() can be used
4630 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4632 * src/hildon-button.h
4633 * src/hildon-button.c
4634 (hildon_button_init, hildon_button_set_image)
4635 (hildon_button_set_image_position)
4636 (hildon_button_construct_child): New functions to add an image to
4639 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4641 * src/hildon-date-button.c
4642 * src/hildon-picker-button.c
4643 * src/hildon-time-button.c
4644 * src/hildon-button.c:
4645 (hildon_button_class_init): "size-flags" renamed to "size"
4646 (hildon_button_set_title): Hide the title label if set to NULL.
4648 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4650 HildonButtonFlags split into HildonButtonArrangement (to set the
4651 button layout) and HildonSizeType (which can be used for any
4654 * src/hildon-button.h
4655 * src/hildon-button.c
4656 (hildon_button_class_init)
4657 (hildon_button_set_arrangement)
4658 (hildon_button_set_property): New "size-flags"
4659 property. "arrangement-flags" renamed to "arrangement".
4660 (hildon_button_new, hildon_button_new_with_text)
4661 (hildon_button_new_full): Constructors updated to reflect type changes.
4663 * src/hildon-helper.h
4664 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4665 to set the size of a widget.
4669 * src/hildon-button-helpers.c
4670 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4672 * src/hildon-date-button.c
4673 * src/hildon-date-button.h
4674 * src/hildon-picker-button.c
4675 * src/hildon-picker-button.h
4676 * src/hildon-time-button.c
4677 * src/hildon-time-button.h: Updated widgets to reflect
4678 HildonButton API changes.
4680 * examples/hildon-button-example.c
4681 * examples/hildon-date-button-example.c
4682 * examples/hildon-picker-button-example.c
4683 * examples/hildon-picker-button-multicolumn-example.c
4684 * examples/hildon-time-button-example.c
4685 * examples/hildon-touch-selector-entry-example.c
4686 * examples/hildon-touch-selector-example.c: Updated examples to
4687 reflect HildonButton API changes.
4689 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4691 * doc/hildon-docs.sgml:
4693 * examples/Makefile.am:
4694 * examples/hildon-touch-selector-entry-example.c:
4696 * src/hildon-touch-selector-entry.c:
4697 * src/hildon-touch-selector-entry.h:
4700 Moved HildonTouchSelectorEntry from sandbox. Added its
4701 documentation and examples.
4703 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4705 * src/hildon-touch-selector.h:
4706 * examples/hildon-picker-button-multicolumn-example.c:
4707 (hildon_touch_selector_append_text_column): Add a gboolean
4708 parameter to determine if text must be centered in the column.
4710 * src/hildon-date-selector.c: (hildon_date_selector_init):
4711 * src/hildon-time-selector.c: (hildon_time_selector_init):
4712 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4713 (create_touch_selector): Update widgets and example to reflect
4716 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4718 * src/hildon-touch-selector.c:
4719 (hildon_touch_selector_set_active_iter): Set also the cursor in
4722 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4724 * doc/hildon-docs.sgml
4727 * src/hildon-toggle-button.c
4728 * src/hildon-toggle-button.h
4729 * src/hildon.h: Removed HildonToggleButton widget, a derived
4730 class is not necessary for this.
4732 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4734 * src/hildon-pannable-area.c,
4735 (hildon_pannable_area_realize),
4736 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4739 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4741 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4742 "done" button the default widget for the dialog.
4744 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4746 * src/hildon-touch-selector.c:
4747 (hildon_touch_selector_class_init),
4748 (hildon_touch_selector_get_property),
4749 (_hildon_touch_selector_set_model),
4750 (_hildon_touch_selector_has_multiple_selection),
4751 (hildon_touch_selector_has_multiple_selection):
4752 Add a "has-multiple-selection" property with a virtual
4753 has_multiple_selection() method to allow derived classes to
4754 override the default value for it. See the method and property
4755 documentation for details.
4757 * src/hildon-touch-selector.h: Add the new API.
4759 * src/hildon-picker-dialog.c: (requires_done_button): Call
4760 hildon_touch_selector_has_multiple_selection() instead of
4761 determining the need for a button itself.
4763 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4765 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4766 (_hildon_touch_selector_set_model),
4767 (hildon_touch_selector_set_model): Move working code to
4768 _hildon_touch_selector_set_mode(). Call the class method instead.
4770 * src/hildon-touch-selector.h: Add (*set_model) to
4771 HildonTouchSelectorClass.
4773 Make hildon_touch_selector_set_model() a virtual method, so that
4774 derived classes can extend it and do fancy stuff with the model.
4776 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4778 * configure.ac: Set back the tarname in AC_INIT to hildon.
4780 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4784 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4785 instead of libesd (NB#86876). Volume handling is still an open issue.
4787 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4790 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4793 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4794 derived class to ease placement of an entry widget in
4795 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4796 end, where the selector columns are packed now.
4798 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4800 * src/hildon-picker-button.c: Removed the simple _text() API.
4801 * src/hildon-picker-button.h: Likewise.
4803 * src/hildon-touch-selector.h:
4804 * src/hildon-touch-selector.c:
4805 (hildon_touch_selector_new_text),
4806 (hildon_touch_selector_append_text),
4807 (hildon_touch_selector_prepend_text),
4808 (hildon_touch_selector_insert_text):
4810 Moved the simple _text() API from HildonPickerButton to
4811 HildonTouchPicker, to provide better escalability and not to tie
4812 that API to HildonPickerButton.
4814 * examples/hildon-picker-button-example.c: (main): Example updated.
4816 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4818 * src/hildon-button.c: Updated documentation.
4820 * examples/hildon-button-example.c: Add the posibility to create
4821 the buttons using horizontal layout for title and value.
4823 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4825 * src/hildon-app-menu-private.h
4826 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4827 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4828 GtkSizeGroup for the filters, use the 'homogeneous' property of
4831 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4833 * examples/hildon-button-example.c: Updated example.
4835 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4837 * doc/hildon-docs.sgml:
4840 Update documentation.
4842 * examples/Makefile.am: Update renamed examples.
4844 * examples/hildon-picker-button-multicolumn-example.c:
4845 (create_touch_selector), (main): Update after the rename.
4847 * examples/hildon-touch-picker-example.c: Removed.
4848 * examples/hildon-touch-selector-example.c: (value_changed),
4849 (create_selector), (get_visible_content), (main): Renamed from
4850 hildon-touch-picker-example.c
4852 * src/Makefile.am: Updated renamed files.
4854 * src/hildon-date-button.c: (hildon_date_button_init),
4855 (hildon_date_button_get_date), (hildon_date_button_set_date):
4856 * src/hildon-date-selector.c: (hildon_date_selector_init),
4857 (_custom_print_func), (_update_day_model),
4858 (_manage_selector_change_cb),
4859 (hildon_date_selector_select_current_date),
4860 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4861 * src/hildon-date-selector.h:
4862 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4863 (hildon_picker_button_set_property),
4864 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4865 (hildon_picker_button_init), (hildon_picker_button_new_text),
4866 (hildon_picker_button_append_text),
4867 (hildon_picker_button_prepend_text),
4868 (hildon_picker_button_insert_text),
4869 (hildon_picker_button_set_selector),
4870 (hildon_picker_button_get_selector):
4871 * src/hildon-picker-button.h:
4872 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4873 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4874 (_update_title_on_selector_changed_cb), (requires_done_button),
4875 (_hildon_picker_dialog_set_selector),
4876 (hildon_picker_dialog_set_selector),
4877 (hildon_picker_dialog_get_selector):
4878 * src/hildon-picker-dialog.h:
4879 * src/hildon-time-button.c: (hildon_time_button_init),
4880 (hildon_time_button_get_time), (hildon_time_button_set_time):
4881 * src/hildon-time-selector.c: (hildon_time_selector_init),
4882 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4883 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4884 * src/hildon-time-selector.h:
4887 Massive code updates after the rename.
4889 * src/hildon-touch-picker.c: Removed.
4890 * src/hildon-touch-picker.h: Removed.
4892 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4893 (hildon_touch_selector_init), (hildon_touch_selector_map),
4894 (hildon_touch_selector_remove), (_default_print_func),
4895 (_selection_changed_cb), (_create_new_column),
4896 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4897 (hildon_touch_selector_append_text_column),
4898 (hildon_touch_selector_remove_column),
4899 (hildon_touch_selector_set_column_attributes),
4900 (hildon_touch_selector_insert_column),
4901 (hildon_touch_selector_get_num_columns),
4902 (hildon_touch_selector_get_column_selection_mode),
4903 (hildon_touch_selector_set_column_selection_mode),
4904 (hildon_touch_selector_set_print_func),
4905 (hildon_touch_selector_get_print_func),
4906 (hildon_touch_selector_get_active_iter),
4907 (hildon_touch_selector_set_active_iter),
4908 (hildon_touch_selector_get_selected_rows),
4909 (hildon_touch_selector_get_model),
4910 (hildon_touch_selector_set_model),
4911 (hildon_touch_selector_get_current_text),
4912 (_hildon_touch_selector_center_on_selected_items):
4913 * src/hildon-touch-selector.h: Renamed from
4914 hildon-touch-picker.[ch]
4916 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4917 references, code examples, and related documentation.
4919 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4921 * doc/hildon-docs.sgml
4924 * src/hildon-toggle-button.c
4925 * src/hildon-toggle-button.h
4926 * src/hildon.h: New HildonToggleButton widget.
4928 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4930 * src/hildon-button.c: Add API documentation.
4931 (hildon_button_set_size_groups): Check input parameters
4933 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4935 * src/hildon-pannable-area.c
4936 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4937 effect after reaching the movement thredshold. This way we start
4938 using the distance after passing the thredshold.
4940 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-button.c: (hildon_button_set_property): Use the
4943 appropriate g_value_get_flags() method.
4945 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4947 * doc/hildon-docs.sgml:
4950 Add the touch pickers, picker dialogs, and picker button widgets
4951 to the documentation.
4953 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4955 * src/hildon-button.c: (hildon_button_set_property),
4956 (hildon_button_class_init): Make "arrangement-flags" a proper
4957 G_TYPE_FLAGS derived property.
4959 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4961 * examples/Makefile.am: Add below examples.
4962 * examples/hildon-date-button-example.c:
4963 * examples/hildon-picker-button-example.c:
4964 * examples/hildon-picker-button-multicolumn-example.c:
4965 * examples/hildon-time-button-example.c:
4966 * examples/hildon-touch-picker-example.c:
4968 Add examples for the recently added touch pickers,
4969 picker dialogs, and picker button widgets.
4971 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4973 * src/hildon-button.c: Add some API documentation
4975 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4977 * src/hildon-button.h
4978 * src/hildon-button.c
4980 (hildon_button_new_with_text): New constructor to create a button
4981 with no text at all.
4982 (hildon_button_init, hildon_button_set_arrangement)
4983 (hildon_button_set_title, hildon_button_set_value)
4984 (hildon_button_set_text)
4985 (hildon_button_construct_child): Hide the value when it's not used
4986 so the rest of the text is properly aligned.
4987 Allow creating buttons with arbitrary widgets inside (not just
4988 title/value labels).
4990 * examples/hildon-button-example.c (vertical_buttons_window)
4991 (horizontal_buttons_window): Update example to use new API.
4993 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4995 * src/Makefile.am: Added HildonTimeButton.
4996 * src/hildon-time-button.c: Added missing LGPL header.
4997 * src/hildon-time-button.h: Added missing LGPL header.
4998 * src/hildon.h: Add hildon-time-button.h
5000 Copied HildonTimeButton from sandbox to trunk. Future work on this
5001 widget must take place in trunk.
5003 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/Makefile.am: Added HildonDateButton.
5006 * src/hildon-date-button.c: Update includes.
5007 * src/hildon.h: Add hildon-date-button.h
5009 Copied HildonDateButton from sandbox to trunk. Future work on this
5010 widget must take place in trunk.
5012 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/Makefile.am: Added HildonPickerButton.
5015 * src/hildon-picker-button.h: Update includes.
5016 * src/hildon.h: Add hildon-picker-button.h
5018 Copied HildonPickerButton from sandbox to trunk. Future work on
5019 this widget must take place in trunk.
5021 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5023 * src/Makefile.am: Added HildonPickerDialog.
5024 * src/hildon-picker-dialog.c: Update includes.
5025 * src/hildon.h: Add hildon-picker-dialog.h
5027 Copied HildonPickerDialog from sandbox to trunk. Future work
5028 on this widget must take place in trunk.
5030 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5032 * src/Makefile.am: Added HildonTimeSelector.
5033 * src/hildon.h: Add hildon-time-selector.h
5035 Copied HildonTimeSelector widget from sandbox to trunk. Future
5036 work on this widget must happen in trunk.
5038 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5040 * src/Makefile.am: Added HildonDateSelector.
5041 * src/hildon.h: Add hildon-date-selector.h
5043 Copied HildonDateSelector widget from sandbox to trunk. Future
5044 work on this widget must happen in trunk.
5046 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5048 * src/Makefile.am: Added HildonTouchPicker.
5049 * src/hildon-touch-picker.c: Update includes.
5050 * src/hildon.h: Add hildon-touch-picker.h
5052 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5053 on this widget must happen in trunk.
5055 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-pannable-area.c:
5058 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5060 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5062 * examples/hildon-app-menu-example.c (main): Let the window
5065 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5067 * src/hildon-pannable-area.c
5068 (hildon_pannable_area_class_init): Set the min value of the
5069 overshoot properties to zero, which points out that not
5070 overshooting allowed.
5072 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5074 Modified the procedure to get the widget at a point inside the
5075 pannable area when using the movement type signals. Now the user
5076 has to call a function to get the child, that way we just
5077 calculate the child in case the user really want to use it and not
5080 * src/hildon-marshalers.list: Modified the marshallers, now we do
5081 not have the widget as a parameter.
5083 * src/hildon-pannable-area.c
5084 (hildon_pannable_area_motion_notify_cb),
5085 (hildon_pannable_area_class_init),
5086 (hildon_pannable_get_child_widget_at): Removed the widget
5087 parameter from the signal callback. We have also refactored the
5088 emission of the signals.
5090 * src/hildon-pannable-area.h: Added a new method to the API to
5091 calculate a widget at a point inside the pannable area,
5092 hildon_pannable_get_child_widget_at.
5094 * examples/hildon-pannable-area-example-4.c
5095 (horizontal_movement): Modified the example to use the new API,
5096 added condition to control which widget is under the event. This
5097 way we can avoid scrolling laterally over other widgets.
5099 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5101 * src/hildon-pannable-area.c
5102 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5103 modes, we stop getting the pointer events due to returning the
5104 callback without properly calling the get pointer again. Fixed
5105 also an error using the hscroll and vscroll.
5107 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5109 * src/hildon-app-menu-private.h
5110 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5111 (hildon_app_menu_button_release, hildon_app_menu_init)
5112 (hildon_app_menu_class_init): Don't hide the menu on button
5113 release if the user didn't press outside first.
5115 * src/hildon-window.h
5116 * src/hildon-window.c (hildon_window_toggle_menu)
5117 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5118 hildon_window_toggle_menu a virtual function for the stackable
5119 window to override it.
5121 * src/hildon-stackable-window.h
5122 * src/hildon-stackable-window-private.h
5123 * src/hildon-stackable-window.c
5124 (hildon_stackable_window_realize)
5125 (hildon_stackable_window_finalize)
5126 (hildon_stackable_window_class_init)
5127 (hildon_stackable_window_init)
5128 (hildon_stackable_window_set_main_menu): New function to set the
5129 app menu of a HildonStackableWindow.
5131 * examples/hildon-app-menu-example.c: Remove the button to show
5132 the app menu, now it'll be shown when clicking on the title bar
5135 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5138 set the widget name if the arrangement flags do not specify
5141 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5143 * src/hildon-button.c: (hildon_button_set_property),
5144 (hildon_button_class_init), (hildon_button_new_full),
5145 (hildon_button_set_arrangement): Added "arrangement-flags"
5148 Make the HildonButtonFlags a construction-only property, to allow
5149 subclasses to set them properly.
5151 2008-07-21 Tim Janik <timj@imendio.com>
5153 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5154 insertion position after backspace, so additional digits are appended,
5157 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5159 * src/hildon-pannable-area.c,
5160 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5161 TODO list, it was complete and removed the g_debug and g_print
5164 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5166 Added the movement modes to the hildon-pannable-area, with this
5167 modes the developers can control in which directions the widget
5168 can scroll. They can also connect to signals in order to do
5169 something when that happens, allowing applications scroll. There
5170 is an example uploaded showing how to use it.
5172 * examples/Makefile.am:
5173 * examples/hildon-pannable-area-example-4.c: Added this example of
5174 an application using the modes.
5176 * src/hildon-marshalers.list: Added a new marshaller for the new
5179 * src/hildon-pannable-area.h: Added new enumerations and flags in
5180 order to control the movement modes and the new signals to warn
5181 about the movements in the area.
5183 * src/hildon-pannable-area.c:
5184 (hildon_pannable_axis_scroll),
5185 (hildon_pannable_area_scroll),
5186 (hildon_pannable_area_motion_notify_cb),
5187 (hildon_pannable_area_get_property),
5188 (hildon_pannable_area_set_property),
5189 (hildon_pannable_area_map),
5190 (hildon_pannable_area_class_init),
5191 (hildon_pannable_area_init),
5192 (hildon_pannable_area_jump_to): Added the modes to control the
5193 movement in the widget. We have added properties to control it,
5194 signals to warn about the movements and refactored some code.
5196 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5198 Changes required in order to allow vfast_factor set to zero to
5201 * src/hildon-pannable-area.c:
5202 (hildon_pannable_area_button_press_cb): Changed the condition, it
5203 is required for not allowing click when vfast_factor is zero.
5204 (hildon_pannable_area_timeout): Initialized velocity variables
5205 when we stop moving, it was less than 1 but not zero and we need
5206 to check zero in some situations.
5207 (hildon_pannable_area_class_init): Changed the default value of
5208 the speed factor, now the button_press is just sent in case the
5209 speed is 2 per cent of the max speed.
5210 (hildon_pannable_area_init): Initialization with 0.
5212 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5214 * src/hildon-pannable-area.c,
5215 (hildon_pannable_area_get_topmost): replaced
5216 gdk_window_get_children with gdk_window_peek_children, this way we
5217 do not have to free the list because it is not a copy.
5219 (hildon_pannable_axis_scroll),
5220 (hildon_pannable_area_scroll),
5221 (hildon_pannable_area_timeout),
5222 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5223 two parameters that were only used inside the
5224 hildon_pannable_area_scroll function.
5226 * examples/hildon-pannable-area-example.c,
5227 (get_sawtooth_label): Fixed small memory leak.
5229 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5231 More checks for the case where the overshoot is bigger than the
5234 * src/hildon-pannable-area.c:
5235 (hildon_pannable_draw_vscroll),
5236 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5237 to draw the slider of the scrollbar under the other scrollbar.
5238 (hildon_pannable_area_expose_event): added new checks to control
5239 the drawing of the overshooting area rectangle, in case it is too
5240 big for the area of the widget.
5241 (hildon_pannable_area_size_allocate): add more checks to avoid
5242 setting a position to the child widget outside the area.
5244 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5246 * src/hildon-pannable-area.c
5247 (hildon_pannable_area_size_allocate): Added conditions to control
5248 when overshooting is bigger than the allocated space for the
5249 children, this avoids negative allocations.
5251 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5253 * doc/hildon-docs.sgml
5255 * examples/Makefile.am
5256 * examples/hildon-button-example.c
5258 * src/hildon-button.c
5259 * src/hildon-button.h
5260 * src/hildon.h: Initial version of the new HildonButton widget,
5263 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5265 * src/hildon-pannable-area.c:
5266 (hildon_pannable_area_button_press_cb),
5267 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5268 (hildon_pannable_area_motion_notify_cb),
5269 (hildon_pannable_area_button_release_cb),
5270 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5271 (hildon_pannable_area_jump_to_child):
5273 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5275 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5277 * examples/Makefile.am
5278 * examples/hildon-pannable-area-touch-grid-example.c
5279 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5280 the Hildon Touch List and Hildon Touch Grid using the
5281 HildonPannableArea widget.
5283 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5285 * src/hildon-pannable-area.c,
5286 (hildon_pannable_area_button_press_cb),
5287 (hildon_pannable_area_refresh),
5288 (hildon_pannable_area_scroll),
5289 (hildon_pannable_area_motion_notify_cb),
5290 (hildon_pannable_area_button_release_cb),
5291 (hildon_pannable_area_expose_event),
5292 (hildon_pannable_area_add),
5293 (hildon_pannable_area_remove),
5294 (hildon_pannable_area_realize),
5295 (hildon_pannable_area_size_allocate),
5296 (hildon_pannable_area_class_init),
5297 (hildon_pannable_area_init),
5298 (hildon_pannable_area_scroll_to_child),
5299 (hildon_pannable_area_jump_to_child): Fixed the problem of
5300 removing the child from the GtkBin, we have rearranged the widget
5301 hierarchy, now there is no GtkAlignment which was not doing
5302 anything interesting but breaking some of the assumptions of
5303 GtkContainer. Now developers if they want to add a GtkAlignment
5304 they could, but it is not inside the area.
5306 We had to review the whole allocation/expose process, now it is
5307 improved and we save at least three signals which would be saving
5308 some time when rendering the widget. The allocation of the
5309 scrollbars is now made in the allocate method as usual.
5311 We have also added some conditions in order to control when there
5312 is no child of the pannable area. Maybe we will need more work
5315 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5317 * src/hildon-pannable-area.c,
5318 (hildon_pannable_area_dispose): Released the fade-out timeout when
5319 disposing the widget.
5321 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5323 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5324 zero, we are going to use that property in order to deactivate the
5326 (hildon_pannable_axis_scroll),
5327 (hildon_pannable_area_size_allocate): Added conditions to control
5328 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5329 call, now it is called in all situations and we can remove calls
5330 in the allocate method.
5331 (hildon_pannable_area_map): Control the situation when
5332 overshoot_max is zero, we do not need the timeout.
5333 (hildon_pannable_area_class_init): Added documentation in order to
5334 point out that setting zero to overshoot_max means deactivate
5337 NOTE: removed trailing whitespaces from my previous comments of
5340 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5342 * src/hildon-pannable-area.c
5343 (hildon_pannable_area_get_property),
5344 (hildon_pannable_area_set_property),
5345 (hildon_pannable_area_map),
5346 (hildon_pannable_area_class_init),
5347 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5348 to cause the widget give a hint about its panning abilities upon
5351 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5353 * src/hildon-pannable-area.c: Several documentation improvements.
5355 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5357 * src/hildon-program.c
5358 * src/hildon-stackable-window.c: Update documentation.
5360 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5362 * src/hildon-stackable-window.c (get_previous_window_if_last):
5363 Renamed get_last_window()
5364 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5365 (hildon_stackable_window_unset_program):
5367 (get_previous_window_if_last):
5368 Detect if the window hasn't been added to a HildonProgram.
5370 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5372 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5374 * src/hildon-pannable-area.c
5375 (hildon_pannable_area_button_press_cb),
5376 (hildon_pannable_axis_scroll),
5377 (hildon_pannable_area_scroll),
5378 (hildon_pannable_area_timeout),
5379 (hildon_pannable_calculate_vel_factor),
5380 (hildon_pannable_area_get_property),
5381 (hildon_pannable_area_set_property),
5382 (hildon_pannable_area_class_init),
5383 (hildon_pannable_area_init),
5384 (hildon_pannable_area_scroll_to),
5385 (hildon_pannable_area_jump_to),
5386 (hildon_pannable_area_scroll_to_child),
5387 (hildon_pannable_area_jump_to_child):
5388 * src/hildon-pannable-area.h: Added the new API functions:
5389 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5390 hildon_pannable_area_scroll_to_child,
5391 hildon_pannable_area_jump_to_child
5394 * examples/Makefile.am
5395 * examples/hildon-pannable-area-example-2.c
5396 * examples/hildon-pannable-area-example-3.c: Added these two new
5397 examples in order to test and show how the new APIs work.
5399 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5401 * examples/hildon-stackable-window-example.c (new_window):
5402 * src/Makefile.am (noinst_HEADERS):
5403 * src/hildon-program.c (hildon_program_go_to_root_window):
5404 * src/hildon-program.h:
5405 * src/hildon-stackable-window-private.h:
5406 * src/hildon-stackable-window.c:
5407 * src/hildon-stackable-window.h:
5408 Create hildon-stackable-window-private.h
5409 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5411 * examples/hildon-app-menu-example.c (create_menu):
5412 * examples/hildon-hvolumebar-insensitive-example.c (main):
5413 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5414 * examples/hildon-toolbar-seekbar-example.c (main):
5415 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5416 * src/hildon-banner.c (hildon_banner_set_property):
5417 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5418 Fix compilation warnings
5420 * src/hildon-window.c:
5423 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5425 * src/hildon-stackable-window.c
5426 (hildon_stackable_window_unset_program):
5427 Calculate correctly whether to show the previous window if the
5428 last one is removed from the stack.
5429 (hildon_stackable_window_go_to_root_window):
5430 Send delete events starting from the topmost window.
5431 Stop if one of the windows is not destroyed.
5433 (hildon_stackable_window_delete_event)
5434 (hildon_stackable_window_class_init):
5435 Ignore the delete event if the window is not the topmost one.
5437 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5439 * src/hildon-pannable-area.c
5440 (hildon_pannable_area_expose_event): Fixed a problem when
5441 selecting the background color of the scrollbars.
5443 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5445 * examples/hildon-stackable-window-example.c
5446 * src/hildon-stackable-window.c
5447 * src/hildon-stackable-window.h
5448 hildon_stackable_window_go_home() renamed to
5449 hildon_stackable_window_go_to_root_window()
5450 Send delete events to windows rather than closing them with
5451 gtk_widget_destroy()
5453 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5455 * src/hildon-pannable-area.c
5456 (hildon_pannable_area_button_release_cb): Fix overshooting in
5459 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5461 * src/hildon-pannable-area.c
5462 (hildon_pannable_area_init): Initially show the scroll indicators.
5463 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5465 Add initial effect showing the widget is pannable.
5467 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5469 * src/hildon-pannable-area.c
5470 (hildon_pannable_area_class_init)
5471 (hildon_pannable_area_set_property)
5472 (hildon_pannable_area_get_property)
5473 (hildon_pannable_area_button_press_cb):
5474 New 'velocity_fast_factor' property to decide which velocity is
5477 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5479 * src/hildon-pannable-area.c
5480 (hildon_pannable_draw_hscroll)
5481 (hildon_pannable_draw_vscroll):
5482 Use float variables to calculate the size of the scrollbars to
5483 avoid error propagation and resizing during scrolling.
5485 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5487 * src/hildon-pannable-area.c
5488 (hildon_pannable_draw_vscroll)
5489 (hildon_pannable_draw_hscroll):
5490 Define a minimum size for the scroll bars
5492 * src/hildon-stackable-window.c
5493 (hildon_stackable_window_go_home): Fix compilation warning
5494 (get_last_window): Minor optimizations
5495 (hildon_stackable_window_class_init): Fix initialization of
5498 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5500 * src/hildon-stackable-window.c: Fixed typos in doc
5502 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5504 * src/hildon-pannable-area.c
5505 (hildon_pannable_area_scroll):
5506 Calculate here whether we need to scroll instead of using the booleans
5507 that tell us whether to /draw/ the scrolling bars.
5509 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5511 * src/hildon-app-menu.h
5513 * src/hildon-app-menu.c
5514 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5515 multiple filter groups related code and API. Now we support only
5517 * examples/hildon-app-menu-example.c:
5519 Update to reflect API changes.
5521 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5523 * src/hildon-stackable-window.c
5524 (hildon_stackable_window_class_init):
5525 Add hildon_stackable_window_realize.
5526 (hildon_stackable_window_realize):
5527 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5528 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5529 to apply theming and behavior specific to HildonStackableWindow
5532 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5534 * src/hildon-note.c (hildon_note_button_release):
5535 Close information notes also when tapping on them
5537 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5539 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5540 ELASTICITY, refactor and review, fix some issues with drawing
5543 * src/hildon-pannable-area.c:
5544 (hildon_pannable_area_button_press_cb): removed the conditions to
5545 avoid clicks when overshooting. It is not required
5547 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5548 define. Refatored and reviewed the code, now we do not need to
5549 manage velocity in motion_notify.
5551 (hildon_pannable_area_motion_notify_cb): We have moved the code
5552 that controls the area_scroll to the axis_scroll function and get
5553 rid of duplicated code.
5555 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5557 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5559 (hildon_pannable_draw_vscroll),
5560 (hildon_pannable_draw_hscroll): Fixed the problems with the
5561 scrollbar drawing, now we do not use two surfaces, it is easier
5562 and saves resources.
5564 (hildon_pannable_area_get_property): Style modification.
5566 (hildon_pannable_area_class_init): Changed some default values.
5568 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5570 * src/hildon-stackable-window.c: Fix some typos in the
5573 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5575 * src/hildon-dialog.c:
5576 Change indentation style
5579 (hildon_note_button_release):
5580 Use root coordinates to check if the release event happened
5583 * src/hildon-app-menu.c
5584 (hildon_app_menu_button_release):
5585 Remove unnecessary check
5587 * examples/hildon-app-menu-example.c
5589 Add cast to fix warning
5591 * src/hildon-app-menu.c
5592 (hildon_app_menu_class_init):
5593 New inner-border style property.
5594 Set all default spacings to 16
5595 (hildon_app_menu_init):
5596 Use vertical-spacing to set the space between filter buttons and
5597 regular menu buttons.
5598 Set the default container border using the inner-border value.
5600 * examples/hildon-app-menu-example.c
5602 Don't set the menu border explicitly, now we have the inner-border
5603 style property for that.
5605 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5607 * src/hildon-app-menu.c (hildon_app_menu_init):
5608 Make the window modal
5610 * src/hildon-note.c (hildon_note_map)
5611 * src/hildon-app-menu.c (hildon_app_menu_map):
5612 Destroy the grab window if we're unable to grab the pointer
5614 * src/hildon-app-menu-private.h
5615 * src/hildon-app-menu.c
5616 (hildon_app_menu_init, hildon_app_menu_finalize)
5617 (hildon_app_menu_map, hildon_app_menu_unmap)
5618 (hildon_app_menu_button_release)
5619 (grab_transfer_window_get):
5620 Bring back the grab window
5621 (hildon_app_menu_realize):
5622 Decorate the window, set WM hint for Matchbox
5624 * src/hildon-note.c (hildon_note_realize):
5625 * src/hildon-banner.c (hildon_banner_realize):
5626 Add WM hints for Matchbox
5628 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5630 * src/hildon-app-menu-private.h
5631 * src/hildon-app-menu.c
5632 (hildon_app_menu_init, hildon_app_menu_finalize)
5633 (hildon_app_menu_map, hildon_app_menu_unmap)
5634 (hildon_app_menu_button_release):
5635 Remove the grab window, it's not needed anymore
5637 * src/hildon-program.c
5638 Fixed typo in documentation
5640 * src/hildon-app-menu.h
5641 * src/hildon-app-menu.c
5642 * examples/hildon-app-menu-example.c
5643 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5645 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5648 Added new transfer_window and close_if_pressed_outside private
5650 (hildon_note_rebuild):
5651 Don't add a cancel button to the information note. It will be
5652 closed when tapping outside
5653 Remove the comment about the OK button in the documentation
5654 (hildon_note_realize):
5655 Set the notification type hint
5656 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5657 Grab/ungrab pointer and keyboard if the note has to be closed when
5659 (hildon_note_button_release):
5660 Close the note when tapping outside (if applicable)
5662 * src/hildon-app-menu.c
5663 Grab/ungrab pointer and keyboard on map/unmap
5664 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5665 Close the menu on button release, not button press
5667 * src/hildon-banner.c
5668 (hildon_banner_set_property)
5669 (hildon_banner_check_position):
5670 Make the banner use the full width of the screen
5671 (hildon_banner_show_information)
5672 (hildon_banner_show_information_with_markup):
5673 Don't display an icon by default
5675 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5677 Added fading scrollbars and adapted all the overshooting code to
5678 horizontal scrolling. We have also fixed bugs with overshooting
5679 and current fading implementation.
5681 * src/hildon-pannable-area.c
5682 (hildon_pannable_area_scroll_indicator_fade): Time out function
5683 used to change the transparency of the scrollbars.
5685 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5686 control and fixed a problem with fading, we now remove the fade
5687 timeout before adding a new one.
5689 (hildon_pannable_axis_scroll):
5690 (hildon_pannable_area_scroll):
5691 (hildon_pannable_area_timeout): Added this functions so we can use
5692 the scroll code both for vertical and horizontal.
5694 (hildon_pannable_area_motion_notify_cb):
5695 (hildon_pannable_area_button_release_cb): Added the horizontal
5696 scrolling control, fixed a problem with the overshooting timeout.
5698 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5699 painting of the scrolls.
5701 (hildon_pannable_draw_vscroll):
5702 (hildon_pannable_draw_hscroll):
5703 (hildon_pannable_area_expose_event):
5704 Draw both scrollbars and rectangles in the overshooting area.
5706 (hildon_pannable_area_get_property):
5707 (hildon_pannable_area_set_property):
5708 Modified the overshoot property to overshoot_max
5710 (hildon_pannable_area_map):
5711 Replaced the comments symbols.
5713 (hildon_pannable_area_size_allocate):
5714 (hildon_pannable_area_class_init):
5715 (hildon_pannable_area_init): Added horizontal scroll, fading
5716 effect properties, fixed a problem when overshooting in the bottom
5719 * examples/hildon-pannable-area-example.c:
5720 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5721 looks better in the example.
5723 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5725 * src/hildon-window.c
5726 * src/hildon-window.h
5727 (hildon_window_class_init)
5728 (hildon_window_unset_program)
5729 (hildon_window_unset_program_real):
5730 Make unset_program a virtual function
5732 * src/hildon-stackable-window.c
5733 * src/hildon-stackable-window.h
5734 Added hildon_stackable_window_go_home()
5736 * examples/Makefile.am
5737 * examples/hildon-stackable-window-example.c
5738 HildonStackableWindow example
5740 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5742 * hildon-pannable-area.c: Added the overshoot property and removed
5743 the OVERSHOOT define. Fixed an indent style error.
5744 (hildon_pannable_area_motion_notify_cb):
5745 (hildon_pannable_area_get_property):
5746 (hildon_pannable_area_set_property): Add overshoot property.
5748 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5751 (hildon_pannable_area_class_init): Installed the new property.
5753 * hildon-pannable-area-example.c: Added a sawtooth function, this
5754 way it is easier to check the movement in the pannable.
5755 (get_sawtooth_label): Added this function.
5756 (main): Now we get the labels from the new get_sawtooth_label
5759 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5761 * src/hildon-app-menu.h
5762 * src/hildon-app-menu.c
5763 Renamed API variables for consistency
5765 (hildon_app_menu_popup): Use also the default window size to
5766 decide where to place the menu
5768 (hildon_app_menu_init, hildon_app_menu_class_init): New
5769 external-border style property
5771 2008-05-26 Michael Natterer <mitch@imendio.com>
5773 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5774 widget_class->tap_and_hold_setup signal slot doesn't exist any
5775 longer, stop overriding it.
5777 (hildon_time_editor_init): g_signal_connect() to the
5778 tap-and-hold-setup signal instead.
5780 (hildon_time_editor_entry_keypress): add cast to fix warning.
5782 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5784 * doc/hildon-docs.sgml
5786 * examples/Makefile.am
5787 * examples/hildon-app-menu-example.c
5789 * src/hildon-app-menu-private.h
5790 * src/hildon-app-menu.c
5791 * src/hildon-app-menu.h
5793 New HildonAppMenu widget
5795 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5797 Rearranged the inheritance of the pannable area, now it inherits
5798 from GtkBin. This will allow us to control the event_window and
5799 the allocation process of the widget, required for some effects.
5801 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5802 GtkBin structures. * src/hildon-pannable-area.c: Added the
5803 event_window variable.
5804 (hildon_pannable_area_button_press_cb):
5805 (hildon_pannable_area_button_release_cb):
5806 (hildon_pannable_area_motion_notify_cb):
5807 Changed the signature of the method, now we override the event
5808 callback instead of connecting to the signal.
5810 (hildon_pannable_area_realize):
5811 (hildon_pannable_area_unrealize):
5812 (hildon_pannable_area_map):
5813 (hildon_pannable_area_unmap):
5814 (hildon_pannable_area_size_allocate):
5815 Added functions to control the widget construction. We add a
5816 INPUT_ONLY window and we put it over the widgets inside the
5817 container, this event_window handles the events.
5819 (hildon_pannable_area_class_init):
5820 Replaced the signal connections with overrides of the event
5823 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5825 Bouncing effect added when touching the borders, you can change
5826 the elasticity of the border changing the ELASTICITY define.
5828 * src/hildon-pannable-area.c: Added ELASTICITY define.
5829 (hildon_pannable_area_timeout): Added inverse velocity when
5830 touching the border of the child widget, that causes a bounce.
5832 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5834 Improved performance, we now do not go to the X server in order to
5835 get the list of window children. Apparently the effect is the
5836 same, we have to be careful and check if this breaks something in
5839 * src/hildon-pannable-area.c:
5840 (get_ordered_children): Removed this function.
5841 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5842 the children windows function with gdk_window_get_children.
5844 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5846 * src/hildon-pannable-area.c:
5847 (hildon_pannable_area_dispose): Fixed a crash when closing the
5848 window and kinetics is activated.
5850 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5852 * src/hildon-pannable-area.h
5853 * src/hildon-pannable-area.c
5854 Changed indentation style to meet the one used in Hildon
5856 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5858 Reviewed the interaction of the AUTO mode, now we use the time
5859 attribute of the events and calculate the velocity in the motion,
5860 doing a gimp like calculation. The velocity is calculated in each
5861 motion event using the last velocity and the current one, the
5862 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5864 * src/hildon-pannable-area.c: Replaced the time based algorithm
5866 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5867 timeout for the AUTO mode when we are still moving the cursor. We
5868 added also the velocity calculation in this function.
5869 (hildon_pannable_area_button_release_cb): launch the timeout in
5870 case we are in AUTO mode. There are still some constants here that
5871 come from the old implementation that should be reviewed and
5874 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5876 * doc/hildon-docs.sgml
5879 * src/hildon-stackable-window.c
5880 * src/hildon-stackable-window.h
5882 New HildonStackableWindow widget
5884 * examples/hildon-dialog-example.c
5885 * examples/hildon-pannable-area-example.c
5888 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5890 * src/hildon-dialog.c
5891 (hildon_dialog_new_with_buttons): New constructor.
5893 * examples/hildon-dialog-example.c
5894 (main): Update the example to use the new
5895 hildon_dialog_new_with_buttons().
5897 * examples/hildon-pannable-area-example.c
5898 (main): Update example.
5900 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5902 * doc/hildon-docs.sgml
5904 Added HildonPannableArea to the documentation.
5906 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5908 * doc/visual_index.xml
5909 Fix reference to HildonLoginDialog in documentation
5911 * doc/hildon-docs.sgml
5913 * examples/Makefile.am
5914 * examples/hildon-dialog-example.c
5916 * src/hildon-dialog.c
5917 * src/hildon-dialog.h
5919 New HildonDialog widget.
5921 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5923 * src/hildon-pannable-area.c
5924 Merge latest changes (r4318, r4342) from libmokoui trunk
5926 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5928 * examples/Makefile.am
5929 * examples/hildon-pannable-area-example.c
5931 * src/hildon-pannable-area.c
5932 * src/hildon-pannable-area.h
5934 New HildonPannableArea widget.
5936 2008-04-15 18:05:19 <timj@imendio.com>
5938 * src/hildon-banner.c: revert the recent change, that introduced
5939 gtk_window_present() calls. this reopens:
5940 Bug 78481 - [freetest] information banners are hidden under browser menu
5941 But resolves another variant of:
5942 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5944 2008-04-15 13:21:13 <timj@imendio.com>
5946 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5947 recreated its layout, spotted by Kris. this fixes all remaining
5948 artefacts and stability issues with the banner code. in particular:
5949 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5951 2008-04-14 16:52:59 <timj@imendio.com>
5953 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5954 operating on unrealized widgets, fixes:
5955 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5957 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5959 2008-04-09 Kristian Rietveld <kris@imendio.com>
5961 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5962 makes banner disappear.
5963 Fixes: NB#79182: info banner flickering with certain message lengts.
5965 * src/hildon-banner.c (hildon_banner_constructor),
5966 (hildon_banner_init), (hildon_banner_set_text),
5967 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5968 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5969 FALSE, reset size requests of label and banner,
5970 (force_to_wrap_truncated): when the text is too wide, always enforce
5971 the maximum possible width instead of recalculating it from the
5972 layout; enforce the maximum banner height of 3 lines,
5973 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5974 nicer wrapping and no truncated chars if space gets tight.
5976 * src/hildon-banner-private.h: add has_been_wrapped and
5977 has_been_truncated fields.
5979 2008-04-07 Sven Herzberg <sven@imendio.com>
5981 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5982 local values in hildon_date_editor_size_allocate
5984 * src/hildon-date-editor.c: moved the real allocation code into the
5987 2008-04-07 Sven Herzberg <sven@imendio.com>
5989 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5990 local values in hildon_date_editor_size_allocate
5992 * src/hildon-date-editor.c: merged the two if() branches together
5994 2008-04-07 Sven Herzberg <sven@imendio.com>
5996 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5997 local values in hildon_date_editor_size_allocate
5999 * src/hildon-date-editor.c: changed the arguments of the if()
6002 2008-04-07 Sven Herzberg <sven@imendio.com>
6004 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6005 local values in hildon_date_editor_size_allocate
6007 * src/hildon-date-editor.c: split the calculation of the allocation
6008 from the real allocation
6010 2008-03-27 Michael Natterer <mitch@imendio.com>
6012 Fixes: NB#81696: The passcode is not overwritten even after
6015 * src/hildon-code-dialog.c
6016 (hildon_code_dialog_button_clicked)
6017 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6018 because that doesn't overwrite selected text. Instead, emit the
6019 "commit" signal on the entry's im_context so the entry's normal
6020 insert logic is triggered. Set the cursor to the end of the entry
6021 after each insert operation so that we *only* insert in the middle
6022 of the text if something was selected.
6024 2008-03-27 Michael Natterer <mitch@imendio.com>
6026 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6027 selector cannot be opened
6029 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6030 when the popup color selector is created. Please connect to this
6031 signal in order to set the dialog's help ID.
6033 2008-03-25 Sven Herzberg <sven@imendio.com>
6035 Fixes: MB#1212: Hide info banners (infoprints) on click
6037 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6038 extracted the close event simulation into an extra function
6039 (hildon_banner_button_press_event): simulate a close event and destroy
6040 the widget if the event wasn't handled
6041 (hildon_banner_class_init): added the button_press_event handler
6042 (hildon_banner_init): added button-press events to the widget
6044 2008-03-25 Sven Herzberg <sven@imendio.com>
6046 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6047 Patch from: Mohammad Anwari <mdamt@maemo.org>
6049 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6050 instead of the right in RTL mode
6051 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6052 breadcrumb button list in RTL mode
6053 * src/hildon-caption.c: mirror the appearance of the caption widget in
6055 * src/hildon-date-editor.c: mirror appearance of the date editor in
6057 * src/hildon-time-editor.c: mirror appearance of the time editor in
6059 * src/hildon-window.c: fix the position of the popup in RTL mode
6061 2008-03-25 Sven Herzberg <sven@imendio.com>
6063 Amendment to the fix of NB#22072. Fix compilation.
6065 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6067 2008-03-19 Sven Herzberg <sven@imendio.com>
6069 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6072 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6073 timeout id properly when the timeout will disappear this leaves no
6074 artifacts around in the destroy(); there will only be the timeout
6075 created by hildon_banner_ensure_timeout() and adding a new timeout
6076 will also work if the timeout gets removed because the timeout_handler
6079 2008-03-19 Michael Natterer <mitch@imendio.com>
6081 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6083 * src/hildon-volumebar.c
6084 * src/hildon-vvolumebar.c
6085 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6086 the widget becomes focussable at all.
6088 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6089 set the focus to wither the mute button or the volumebar.
6091 Remove own "can-focus" property and instead listen to
6092 notify::can-focus in order to update the widget's state.
6094 Implement GtkWidget::focus() and make sure we can also *leave* the
6095 widget, not only enter it, depending on volumebar orientation and
6096 requested focus direction.
6098 Clean up set_mute() to cooperate nicely with all the above.
6100 2008-03-04 Michael Natterer <mitch@imendio.com>
6102 Fixes: NB#78481: information banners are hidden under browser menu
6104 * src/hildon-banner.c: call gtk_window_present() on the banners so
6105 they are risen if they are already visible.
6107 2008-03-03 Sven Herzberg <sven@imendio.com>
6109 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6111 * examples/hildon-window-menu-example.c: (main): extended the window
6112 menu example to serve as a testcase for automatically added
6113 accelerator groups, too
6114 * src/hildon-window.c: (hildon_window_add_accel_group),
6115 (hildon_window_set_menu): added patch by Tommi Komulainen
6117 2008-03-03 Sven Herzberg <sven@imendio.com>
6119 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6121 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6122 knowledge about the border allocators used within GTK+
6124 2008-02-26 Sven Herzberg <sven@imendio.com>
6126 Fixes: MB#2981: Build with asserts broken
6128 * src/hildon-date-editor.c,
6129 * src/hildon-number-editor.c,
6130 * src/hildon-time-editor.c,
6131 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6132 the proper GType instance check
6134 2008-02-25 Sven Herzberg <sven@imendio.com>
6136 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6138 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6139 * examples/hildon-window-menu-example.c: (main): explicitly show
6141 * src/hildon-window.c:
6142 (hildon_window_set_main_menu): moved most of the code from set_menu()
6143 to this place; skipped the call to gtk_widget_show_all(); also didn't
6144 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6145 (hildon_window_set_menu): removed most of the code, just keep the
6146 questionable gtk_widget_show_all()
6147 * src/hildon-window.h: added the new function and deprecate the old
6150 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6156 * debian/changelog: Updating.
6158 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6161 * pkgconfig/Makefile.am:
6162 * pkgconfig/hildon.pc.in:
6165 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6166 use newly created API_MAJOR_VERSION.
6168 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6174 * debian/changelog: Updating.
6176 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6178 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6180 Add outer_border style property, we use it but don't define it (!).
6184 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6186 * examples/hildon-bread-crumb-trail-example.c (main):
6190 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6192 Fix logic for the bread crumb trail node removal.
6196 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6202 * debian/changelog: Updating.
6204 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6206 Patch by Alejandro to get/set passwords dialogs accesibility.
6208 * hildon-1/src/hildon-get-password-dialog.c:
6209 * hildon-1/src/hildon-set-password-dialog.c:
6210 Set atk_set_name to the passwd entries in order to allow
6211 accessibility by name on this entries.
6213 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6218 * debian/control: Updating gtk dep.
6220 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6222 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6223 USE_MAEMO_GTK is enabled.
6225 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6227 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6228 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6230 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6236 * debian/changelog: Updating.
6238 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6240 * examples/Makefile.am:
6241 * examples/hildon-logical-color-example.c:
6242 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6243 applied + adding a test case. Fixes: NB#71660.
6245 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6247 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6248 to be visible, fixes warning on map for windows without toolbars.
6250 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6252 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6253 2.11.0, add a check for that besides the MAEMO_GTK check.
6255 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6261 * debian/changelog: Updating.
6263 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6265 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6266 visibility. Fixes: NB#70842 and MB#615.
6268 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6270 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6271 set the separator as no-show-all so it doesn't unintentionally appear when
6272 someone does a show_all.
6274 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6276 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6277 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6278 toplevel item. Fixes: NB#62031
6280 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6282 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6283 fix the name of the function in the docs.
6285 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6291 * debian/changelog: Updating.
6293 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6295 * examples/hildon-banner-long-example.c: Adding a test-case for long
6298 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6300 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6302 * src/hildon-color-chooser-dialog.c:
6303 * src/hildon-color-chooser.c:
6304 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6305 memory leaks in font selector and color selector. Fixes: NB#70499 and
6308 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6310 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6312 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6314 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6315 little bit bigger. Fixes: #NB63694.
6317 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6323 * debian/changelog: Updating.
6325 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6328 * doc/hildon-docs.sgml:
6329 * doc/images/bread-crumb-trail.png:
6330 * doc/images/calendar-popup.png:
6331 * doc/images/caption.png:
6332 * doc/images/code-dialog.png:
6333 * doc/images/color-button.png:
6334 * doc/images/color-chooser-dialog.png:
6335 * doc/images/color-chooser.png:
6336 * doc/images/controlbar.png:
6337 * doc/images/date-editor.png:
6338 * doc/images/font-selection-dialog.png:
6339 * doc/images/get-password-dialog.png:
6340 * doc/images/hvolumebar.png:
6341 * doc/images/login-dialog.png:
6342 * doc/images/note.png:
6343 * doc/images/number-editor.png:
6344 * doc/images/range-editor.png:
6345 * doc/images/seekbar.png:
6346 * doc/images/set-password-dialog.png:
6347 * doc/images/sort-dialog.png:
6348 * doc/images/time-editor.png:
6349 * doc/images/time-picker.png:
6350 * doc/images/vvolumebar.png:
6351 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6352 Adding the bread-crumb-trial and helpers to the documentation.
6354 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6356 * examples/hildon-find-toolbar-example.c:
6357 * src/hildon-find-toolbar.c:
6358 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6359 actually continue firing the other handlers if connected. Adding a new
6361 hildon_find_toolbar_get_last_index that gets the index of the most
6362 recently added (last) item. Fixes: NB#52301.
6364 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6366 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6367 behaviour. Fixes: NB#68610.
6369 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6371 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6374 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6376 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6377 when realizing the banner. Should make the infonbanner effect a bit more
6380 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6382 * src/hildon-volumebar.c:
6383 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6384 hildon_volumebar_set_range_insensitive_message and
6385 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6387 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6389 * src/hildon-window.c: Fixing the border freeing on destroy.
6391 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6393 * src/hildon-code-dialog-private.h:
6394 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6395 kw keyboard support in HildonCodeDialog.
6397 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6403 * debian/changelog: Updating.
6405 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6407 * src/hildon-date-editor.c:
6408 * src/hildon-number-editor.c:
6409 * src/hildon-private.c:
6410 * src/hildon-private.h:
6411 * src/hildon-time-editor.c:
6412 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6413 handling in subclassed composite widgets. Fixes: NB#66628.
6415 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6417 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6418 from destroy_ callback as it introduces problems in async dbus signal
6419 handlers. Fixes NB#66673.
6421 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6423 * examples/hildon-hvolumebar-example.c:
6424 * src/hildon-volumebar.c: Improving the focus handling in the
6425 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6426 set_property accessor so that "mute" property can be actually set. I'm
6427 scared that nobody noticed it's totally broken.
6429 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6431 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6434 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6436 * src/hildon-calendar.c:
6437 * src/hildon-number-editor.c:
6438 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6439 matches the spec of 6 chars per second. Fixes: NB#60489.
6441 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6443 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6444 gtk_style_lookup_color sometime returns FALSE even though color was
6445 found and values were filled properly. Weird. Removing the warning for the
6448 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6450 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6451 expand vertically. Adding some extra space to the find toolbar buttons to
6452 make them thumbable. Fixes NB#66060.
6454 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6456 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6457 popup with "Ok" and "Cancel". Fixes NB#59299.
6459 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6461 * src/hildon-calendar.c: Process all window updates before executing next
6462 timeout. Fixes: NB#54146.
6464 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6470 * debian/changelog: Updating.
6472 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6474 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6475 the client event and ignore it, since we use the delete event to close
6478 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6480 * src/hildon-helper.c: Remove the bogus warning about color not being
6481 found. Fixes NB#58352.
6483 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6485 * examples/Makefile.am:
6486 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6487 HildonSeekbar widget inside a toolbar.
6489 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6491 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6492 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6493 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6494 don't want to be closed by non-temporary windows on map.
6496 Also use G_DEFINE_TYPE instead of manually typed code.
6498 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6505 * debian/rules: Updating.
6507 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6509 * examples/Makefile.am:
6510 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6511 bug NB#61128. Strangely it works.
6513 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6515 * src/hildon-date-editor.c: When the date editor entry has been changed
6516 but the numbers of characters < max, turn off the skip validation flag.
6517 Prevents a situation when we enter first a valid year and later re-write
6518 it with an invalid one. Fixes NB#60154.
6520 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6522 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6523 code dialog. Fixes NB#64355.
6525 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6527 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6528 switching the page. Fixes NB#49374.
6530 * examples/Makefile.am:
6531 * examples/hildon-wizard-dialog-example.c: Adding an example for
6532 HildonWizardDialog that shows how to handle manual sensitivity setting on
6535 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6539 * src/hildon-version.h.in:
6540 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6542 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6544 * src/hildon-volumebar.c: Updating the docs.
6546 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6552 * debian/changelog: Updating.
6554 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6556 * src/hildon-find-toolbar.c:
6557 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6558 selected item: hildon_find_toolbar_set_active,
6559 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6560 hildon_find_toolbar_get_active_iter . They correspond to respective
6561 GtkComboBox functions.
6563 * examples/Makefile.am:
6564 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6567 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6569 * examples/Makefile.am:
6570 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6573 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6574 when font size > 32 and we pack a focusable widget inside. Actually using
6575 the default response would work too, but since we don't show default
6576 response state in any way (no theming) it would not be visible to the
6577 user. Fixes NB#63430.
6579 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6581 * src/hildon-date-editor.c: Adding the missing variable setter in the
6582 set_property handler. Fixes NB#54182.
6584 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6586 * src/hildon-window.h: Changing the long key press time from 1500ms to
6587 800ms as requested in NB#63700. I have a bad feeling about this, let's
6588 see... Fixes NB#63700.
6590 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6592 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6593 hildon_time_picker_map, hildon_time_picker_realize,
6594 hildon_time_picker_style_set): Split the contents of map to more
6595 appropriate functions; set window decorations on realize and update
6596 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6598 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6603 * debian/changelog: Updating.
6605 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6607 * src/Makefile.am: fixed installation of the header files
6609 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6615 * debian/changelog: Updating.
6617 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6619 * configure.ac: Removing some remaining of --enable-xan.
6621 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6623 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6624 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6626 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6627 2.10.12-osso6 because the move-focus signal needs to be available in
6630 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6632 * examples/Makefile.am:
6633 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6634 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6635 fine. Prolly NB#61128 is fixed now.
6637 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6639 * src/hildon-volumebar.c:
6640 * src/hildon-volumebar.h: Adding the
6641 hildon_volumebar_set_range_insensitive_message and
6642 hildon_volumebar_set_range_insensitive_messagef functions to set
6643 insensitive message on the slider of the volumebar. Fixes NB#61129.
6645 * examples/Makefile.am:
6646 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6647 test the new insensitive messsage functionality on HildonVolumebar.
6649 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6651 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6654 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6656 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6657 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6658 button on after clearing the trail.
6660 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6662 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6664 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6666 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6667 by splitting the installed headers in generated and non-generated groups. Use
6668 only the non-generated headers to create the hildon-enum-types.h file.
6670 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6672 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6674 * src/hildon-window.c: Hide the window before performing the destroy.
6675 Should make the app closing a little tiny bit more snappy.
6677 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6679 * src/hildon-seekbar.c: add gtkrange.h header
6680 * src/hildon-caption.c: remove unused variable
6682 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6684 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6687 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6693 * debian/changelog: Updating.
6695 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6697 * src/hildon-window.c (hildon_window_window_state_event,
6698 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6699 escape timeout on focus-out-event rather than notify::is-topmost; the
6700 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6702 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6704 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6705 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6707 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6709 * src/hildon-window: actually, you need to use the macro always, there's
6710 no private pointer in the instance structure. We should have cleaned this up
6711 when we had the chance...
6713 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6715 * src/hildon-window.c: do not get the private date from HildonWindow before
6716 it passes the g_return_if_fail check. Once it's passed the test, there's no
6717 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6718 if you are only going to access the data once. Whitespace cleanups.
6720 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6722 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6723 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6725 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6731 * debian/changelog: Updating.
6733 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6735 * src/hildon-window.c: When destroying the window, remove (if exists) the
6736 escape timeout handler. Fixes #NB59276.
6738 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6740 * src/hildon-banner.c: When realizing the widget, set the window
6741 transiency. Setting the transiency in the gobject constructor is not
6742 good, as the widget is not realized at that point. Fixes: #NB56624.
6744 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6746 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6747 Add padding for future expansions.
6749 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6751 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6752 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6753 will fake an activation on the previous to the last item of the trail, so
6754 the effect can be overrided by the developer as usual.
6755 Also change the callback for the back button to do the same thing, so its
6756 effect can be overrided too. Fixes: NB#58982
6758 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6760 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6761 HildonCaption. Fixes NB#52379.
6763 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6765 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6766 the internal state of the trail after the user has had the chance of executing
6767 his handler for the signal. Specifically, it may happen that the activated button
6768 is removed and the user still lets the default handler run. This would segfault
6771 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6773 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6774 scrollbar to the preview dialog. Fixes NB#54147.
6776 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6778 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6779 max/min year properties can be altered, so the client can modify it
6780 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6782 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6784 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6785 hildonlike by default. Fixing a problem with disappearing arrows when
6786 scrolling through months and years. Fixes NB#54127.
6788 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6790 * examples/hildon-date-editor-example.c: Adding error callback to the date
6793 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6799 * configure.ac: Updating.
6801 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6803 * configure.ac: Adding a special '--enable-xan' configure option that
6804 turns off the -Werror compilation setting. Usefull for development.
6806 * src/hildon-calendar.c:
6807 * src/hildon-number-editor.c:
6808 * src/hildon-time-picker.c: Adding the 5* multiplier to
6811 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6813 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6814 instead of g_object_ref + gtk_object_sink.
6816 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6822 * debian/changelog: Updating.
6824 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6826 * src/hildon-color-chooser-dialog.c:
6827 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6828 straight from Tommi labs.
6830 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6832 * examples/hildon-finger-example.c: Correcting the header file path.
6834 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6835 the changed signal. Fixes a small memory leak.
6837 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6841 * src/hildon-banner.c: Importing several usefull fixes from the
6842 ubuntu-mobile branch.
6844 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6846 * examples/Makefile.am:
6847 * examples/hildon-finger-example.c: Adding a finger-checking code
6850 * src/hildon-font-selection-dialog.c: Do not allocate the color
6851 structure using the g_new. Fixes NB#54061.
6853 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6855 * src/hildon-helper.c: Correcting tabs in file.
6857 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6859 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6860 control the visibility of the children.
6862 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6864 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6870 * debian/changelog: Updating.
6872 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6874 * src/hildon-bread-crumb-trail.c:
6875 (hildon_bread_crumb_trail_size_allocate):
6877 Make the back button always a square.
6879 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6881 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6882 from the .c file as it's a private file.
6884 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6886 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6887 uses slightly bigger height.
6889 * src/hildon-font-selection-dialog.c: Adding some checks before
6890 freeing memory in the font selection dialog.
6892 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6894 * src/hildon-font-selection-dialog.c: Adding a small check when
6897 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6898 buttons sensitivity on page switching.
6900 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6902 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6903 internal details of adding a bread crumb to the trail.
6905 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6911 * debian/changelog: Updating.
6913 * src/hildon-bread-crumb-trail.h:
6914 * src/hildon-bread-crumb.h: Changing the API guard to
6915 HILDON_ENABLE_UNSTABLE_API.
6917 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6925 * src/hildon-helper.h: Updating.
6927 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6935 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6939 * src/hildon-helper.h: Small fix to make the package actually compile.
6941 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6943 * src/hildon-bread-crumb-trail.h:
6944 * src/hildon-bread-crumb.h:
6946 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6947 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6949 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6951 * examples/hildon-bread-crumb-trail-example.c:
6953 * src/hildon-bread-crumb-trail.c:
6954 * src/hildon-bread-crumb-trail.h:
6955 * src/hildon-bread-crumb.c:
6956 * src/hildon-bread-crumb.h:
6957 * src/hildon-marshalers.list:
6958 * src/hildon-bread-crumb-widget.c:
6959 * src/hildon-bread-crumb-widget.h:
6961 Slight change in the widget design. The bread crumb trail API is
6962 unchanged, but HildonBreadCrumb is now an interface. A *private*
6963 implementation, hildon-bread-crumb-widget, is provided and used
6964 internally by the trail for the push_text/push_icon functions.
6966 The generic push API is still available, so anyone can implement
6967 and use its own bread crumb widget.
6969 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6971 * debian/rules: Fixing the shlibs.
6973 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6975 * src/hildon-banner.c: Fixing a problem with timed banners having
6976 their parrent destroyed before they are.
6978 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6980 * src/hildon-bread-crumb.c:
6981 * src/hildon-bread-crumb.h:
6983 Make the get_natural_size function a vfunc.
6985 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6987 * src/hildon-bread-crumb.c:
6988 * src/hildon-bread-crumb-trail.c:
6992 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6999 * debian/changelog: Updating for release.
7001 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7003 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7004 don't leak the pango layout.
7006 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7009 * examples/hildon-bread-crumb-trail-example.c:
7013 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7015 * debian/changelog: Removing the bug-fixed entries that were actually
7016 resolved as WONTFIX.
7018 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7021 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7023 * src/hildon-bread-crumb-trail.c:
7024 * src/hildon-bread-crumb-trail.h:
7025 * src/hildon-bread-crumb.c:
7026 * src/hildon-bread-crumb.h:
7030 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7032 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7033 until it's passed the type check.
7035 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7037 * examples/hildon-bread-crumb-trail-example.c
7041 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7043 * examples/Makefile.am
7044 * examples/hildon-bread-crumb-trail-example.c
7046 * src/hildon-bread-crumb-trail.c
7047 * src/hildon-bread-crumb-trail.h
7048 * src/hildon-bread-crumb.c
7049 * src/hildon-bread-crumb.h
7051 New HildonBreadCrumbTrail widget.
7053 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7055 * src/hildon-range-editor.c (hildon_range_editor_init),
7056 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7057 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7058 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7059 hildon_time_editor_class_init, hildon_time_editor_init),
7060 src/hildon-get-password-dialog.c (invalid_input,
7061 hildon_get_password_set_property, hildon_get_password_get_property,
7062 create_contents, hildon_get_password_dialog_set_max_characters),
7063 src/hildon-set-password-dialog.c (create_contents),
7064 src/hildon-date-editor.c (hildon_date_editor_init),
7065 src/hildon-login-dialog.c (hildon_login_dialog_init),
7066 src/hildon-number-editor.c (hildon_number_editor_init),
7067 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7068 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7069 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7070 configure option and adding the respective checks in the code.
7071 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7072 hildon_calendar_drag_data_received): fixed some build warnings.
7074 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7076 * debian/changelog: A 1.0.0 release notes.