1 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4 add a current_text field to store the text entered in the
6 (_clean_current_selection): clean up the current text as well.
7 (_save_current_selection), (_restore_current_selection):
8 Save/restore the text in the entry if the selector is a
9 HildonTouchSelectorEntry.
11 Fixes: NB#102541 (value entered in the touch selector entry is not
12 shown when opened for second time)
14 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
16 * doc/hildon-sections.txt:
17 * src/hildon-touch-selector-entry.c
18 (+hildon_touch_selector_entry_get_entry):
19 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
21 Fixes: NB#104815 (I need accessor to the entry inside
22 HildonTouchSelectorEntry)
24 2009-03-06 Alberto Garcia <agarcia@igalia.com>
26 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
27 (hildon_app_menu_class_init):
28 New "filter-vertical-spacing" style property.
30 2009-03-06 Alberto Garcia <agarcia@igalia.com>
32 * src/hildon-find-toolbar.c
33 (hildon_find_toolbar_emit_close)
34 (hildon_find_toolbar_emit_invalid_input)
35 (hildon_find_toolbar_entry_activate):
36 Use g_signal_emit() instead of g_signal_emit_by_name()
38 2009-03-06 Alberto Garcia <agarcia@igalia.com>
40 Patch by Mox Soini (ext-mox.soini@nokia.com)
42 * tests/TEST-CASES.txt
43 * tests/check-hildon-banner.c
44 * tests/check-hildon-note.c
46 * src/hildon-code-dialog.c
47 * src/hildon-date-editor.c (real_set_calendar_icon_state)
48 * src/hildon-time-editor.c
49 * examples/hildon-lookup-example.c (main):
50 Replace obsolete icon names with new ones.
52 * src/hildon-find-toolbar-private.h:
53 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
54 (-hildon_find_toolbar_emit_search):
55 Remove find button and change icon of close button.
57 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
59 2009-03-05 Alberto Garcia <agarcia@igalia.com>
61 * src/hildon-time-button.c (hildon_time_button_new_step):
62 Use the "touch-selector" property to set the selector directly
63 when creating the object.
65 2009-03-05 Alejandro G. Castro <alex@igalia.com>
67 Added a new example application that allows tuning the pannable
68 area and replaced defines with properties in order to simplify the
69 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
70 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
71 PROP_DIRECTION_ERROR_MARGIN.
73 * examples/hildon-pannable-area-tuning-example.c: New example
75 * src/hildon-pannable-area.c,
76 (hildon_pannable_area_class_init),
77 (hildon_pannable_area_init),
78 (hildon_pannable_area_get_property),
79 (hildon_pannable_area_set_property),
80 (hildon_pannable_area_launch_fade_timeout),
81 (hildon_pannable_area_adjust_value_changed),
82 (hildon_pannable_axis_scroll),
83 (hildon_pannable_area_motion_notify_cb),
84 (hildon_pannable_area_scroll_cb),
85 (hildon_pannable_area_button_release_cb): We have converted some
86 of the defines that control the widget to properties to simplify
89 2009-03-05 Alberto Garcia <agarcia@igalia.com>
91 * src/hildon-app-menu.c (hildon_app_menu_map)
92 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
93 so it's closed if a new window appears.
95 Fixes: NB#104485 (Not able to address the call when application
96 menu is opened at background)
98 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
100 * src/hildon-color-button.c (hildon_color_button_get_property):Add
101 missing 'break' statement in in 'case' construct to avoid
104 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
106 * src/hildon-touch-selector-entry.c
107 (hildon_touch_selector_entry_get_property),
108 (hildon_touch_selector_entry_set_property): Add missing 'break'
109 statements in in 'case' constructs to avoid incorrect warnings.
111 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
113 * src/hildon-time-editor.c
114 (hildon_time_editor_get_time_separators): Do not crash if
115 the first label is NULL.
117 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
119 * src/hildon-date-selector.c (_month_days): Check for month to be
120 strictly less than 12, since otherwise we may overrun the array.
122 2009-03-04 Alberto Garcia <agarcia@igalia.com>
124 * src/hildon-date-button.c (+hildon_date_button_new_full)
125 (hildon_date_button_new, hildon_date_button_new_with_year_range)
126 (hildon_date_button_init): Set the date selector using a
127 construction property, to make it happen after HildonButton's
128 "value" property is set.
130 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
131 current date by default)
133 2009-03-04 Alberto Garcia <agarcia@igalia.com>
135 * doc/hildon-sections.txt
136 * src/hildon-program.c
137 * src/hildon-stackable-window.c
138 * src/hildon-window.c:
139 Documentation updates
141 2009-03-04 Alberto Garcia <agarcia@igalia.com>
143 * src/hildon-window-stack.c (hildon_window_stack_get_default)
144 (hildon_window_stack_new, +hildon_window_stack_set_property)
145 (+hildon_window_stack_get_property)
146 (hildon_window_stack_class_init)
147 (+hildon_window_stack_set_window_group)
148 (+hildon_window_stack_get_window_group):
149 Make the window group a construction property.
151 2009-03-04 Alberto Garcia <agarcia@igalia.com>
153 * doc/hildon-sections.txt
154 * src/hildon-stackable-window-private.h
155 * src/hildon-stackable-window.h
156 * src/hildon-stackable-window.c
157 (-hildon_stackable_window_set_app_menu)
158 (-hildon_stackable_window_get_app_menu)
159 (-hildon_stackable_window_toggle_menu)
160 (-hildon_stackable_window_finalize)
161 (hildon_stackable_window_class_init)
162 (hildon_stackable_window_init)
163 * src/hildon-window-private.h
164 * src/hildon-window.h
165 * src/hildon-window.c (hildon_window_init)
166 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
167 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
168 (hildon_window_get_main_menu, hildon_window_set_main_menu)
169 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
170 Moved all HildonAppMenu code to HildonWindow. The menu does not
171 require a HildonStackableWindow anymore.
173 * src/hildon-app-menu.c
174 * src/hildon-program.c
175 * examples/hildon-app-menu-example.c (main):
176 Update examples and documentation to reflect HildonAppMenu
179 2009-03-04 Alberto Garcia <agarcia@igalia.com>
181 * src/hildon-remote-texture.c
182 * src/hildon-animation-actor.c:
183 Don't include unused private headers.
185 2009-03-04 Alberto Garcia <agarcia@igalia.com>
187 * src/hildon-program-private.h
188 * src/hildon-program.c
189 (hildon_program_set_common_menu)
190 (hildon_program_get_common_menu)
191 (hildon_program_set_common_app_menu)
192 (hildon_program_get_common_app_menu):
193 Change common menu pointers from GtkWidget* to GtkMenu* and
194 HildonAppMenu* to avoid unnecessary casts.
196 2009-03-03 Alberto Garcia <agarcia@igalia.com>
198 * src/hildon-window.c (hildon_window_set_main_menu):
199 Removed incorrect 'Since:' tag
201 2009-03-03 Alejandro G. Castro <alex@igalia.com>
203 * src/hildon-pannable-area.c,
204 (hildon_pannable_area_calculate_velocity): We use now the
205 RATIO_TOLERANCE here to check the distance, fixed typo in the
207 (hildon_pannable_area_motion_notify_cb): We have to set the type
208 and time even if we are not sending the motion.
210 2009-03-02 Alberto Garcia <agarcia@igalia.com>
212 * doc/hildon-sections.txt
213 * src/hildon-app-menu.h
214 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
215 (+hildon_app_menu_get_filters): New methods to get the contents of
218 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
221 2009-03-02 Alberto Garcia <agarcia@igalia.com>
223 * src/hildon-app-menu.c (hildon_app_menu_popup):
226 2009-03-02 Alberto Garcia <agarcia@igalia.com>
228 * src/hildon-window.h
229 * src/hildon-window.c (+hildon_window_get_main_menu)
230 (hildon_window_get_menu): Created hildon_window_get_main_menu()
231 and deprecated hildon_window_get_menu().
233 * src/hildon-stackable-window.h
234 * src/hildon-stackable-window.c
235 (+hildon_stackable_window_set_app_menu)
236 (+hildon_stackable_window_get_app_menu)
237 (hildon_stackable_window_set_main_menu): Created
238 hildon_stackable_window_{get,set}_app_menu() and deprecated
239 hildon_stackable_window_set_main_menu().
241 * doc/hildon-sections.txt
242 * examples/hildon-app-menu-example.c (main)
243 * src/hildon-app-menu.c
244 * src/hildon-program.c:
245 Updated examples and documentation.
247 Fixes: NB#103758 (No way to obtain a menu from a
248 HildonStackableWindow)
250 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
255 * configure.ac: Bump version.
256 * debian/changelog: Updates.
258 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
260 * examples/hildon-remote-texture-example.c: Include
261 hildon-remote-texture.h explicitely.
262 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
263 applications not defining _XOPEN_SOURCE which don't require this header.
265 2009-02-27 Alberto Garcia <agarcia@igalia.com>
267 * doc/hildon-sections.txt
268 * src/hildon-app-menu.h
269 * src/hildon-app-menu.c (+hildon_app_menu_popup):
270 New function to pop up a HildonAppMenu
272 * src/hildon-stackable-window.c
273 (hildon_stackable_window_toggle_menu):
274 Use hildon_app_menu_popup() to show the menu.
276 2009-02-27 Alberto Garcia <agarcia@igalia.com>
278 * src/hildon-app-menu.c (hildon_app_menu_show)
279 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
280 menu if there's another window between it and its parent window.
282 Fixes: NB#100468 (Application menu window is launched even when a
283 new secondary-window/dialog is pending to be shown/realized)
285 2009-02-27 Alberto Garcia <agarcia@igalia.com>
287 * src/hildon-window-stack.c (hildon_window_stack_push)
288 (hildon_window_stack_pop_and_push):
289 Don't forget to push/pop the first window.
290 Reverse the window list before calling _push_list()
292 2009-02-27 Alberto Garcia <agarcia@igalia.com>
294 * src/hildon-picker-button.h
295 * src/hildon-picker-button.c (hildon_picker_button_class_init):
296 Remove "value_changed" slot to avoid ABI breakage
298 2009-02-26 Alejandro G. Castro <alex@igalia.com>
300 * src/hildon-pannable-area.c,
301 (hildon_pannable_area_realize),
302 (hildon_pannable_area_unrealize),
303 (hildon_pannable_draw_vscroll),
304 (hildon_pannable_draw_hscroll): Changed the method to handle the
305 GC used to draw the transparent scrollbar, this way we avoid
306 creating the GC all the time when drawing the scrollbars.
308 2009-02-26 Alejandro G. Castro <alex@igalia.com>
310 * src/hildon-pannable-area.c,
311 (hildon_pannable_area_init),
312 (hildon_pannable_area_remove): Removed some unnecessary casts.
313 (hildon_pannable_area_dispose): Disconnected some signals before
314 releasing the adjustments.
316 2009-02-26 Alberto Garcia <agarcia@igalia.com>
318 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
319 Make sure that all widgets contained in the toolbar are shown.
321 2009-02-25 Alberto Garcia <agarcia@igalia.com>
323 * doc/hildon-sections.txt
324 * src/hildon-picker-button.h
325 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
326 (_selection_changed, hildon_picker_button_on_dialog_response)
327 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
328 New hildon_picker_button_value_changed() method.
331 * src/hildon-picker-button-private.h
332 * src/hildon-picker-button.c (hildon_picker_button_init)
333 (+hildon_picker_button_disable_value_changed): Add protected
334 function for disabling the "value-changed" signal.
336 * src/hildon-date-button.c (hildon_date_button_set_date):
337 Don't emit "value-changed" for each one of the three columns.
339 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
340 before actual change of values)
342 2009-02-24 Alejandro G. Castro <alex@igalia.com>
344 * src/hildon-pannable-area.c,
345 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
346 for the treeview overshooting.
348 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
350 * src/hildon-banner.c (+hildon_banner_bind_style):
351 Renamed from hildon_banner_bind_label_style(), now naming the
352 banner itself as well.
353 (hildon_banner_show_information),
354 (hildon_banner_show_information_with_markup),
355 (hildon_banner_show_animation), (hildon_banner_show_progress):
356 Name the widgets and labels, based on their type.
358 See NB#98597 (Hildon Note and Hildon Banner should use themeable
361 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
363 * src/hildon-note.c (hildon_note_set_property): call
364 hildon_note_rename() on HildonNote:note-type set.
365 (hildon_note_rename): Name the note and its label, based on the
366 HildonNote:note-type property.
368 See NB#98597 (Hildon Note and Hildon Banner should use themeable
371 2009-02-24 Alejandro G. Castro <alex@igalia.com>
373 * src/hildon-pannable-area.c,
374 (hildon_pannable_area_class_init),
375 (hildon_pannable_area_motion_notify_cb): Reviewed the default
376 panning parameters, increased SPS and deceleration factor. Added
377 also a margin to control fake directions.
379 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
381 Patch by Sven Herzberg (sven@imendio.com)
383 * configure.ac: Add missing AM_PROG_CC_C_0
384 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
386 See NB#101420 (Update unit tests and fix make check)
388 2009-02-23 Alejandro G. Castro <alex@igalia.com>
390 This patch was applied before but reverted because it caused
391 problems, we have changed the main condition and tested the
392 regressions we detected before and they work ok. We have done a
393 complete review of the topmost algorithm in order to get a more
396 * src/hildon-pannable-area.c,
397 (hildon_pannable_area_get_topmost): Added a new parameter to
398 filter the the windows that do not include those events.
399 (hildon_pannable_area_button_press_cb),
400 (hildon_pannable_area_button_release_cb),
401 (hildon_pannable_get_child_widget_at): Reviewed the call the the
402 topmost function, we have added the new parameter.
404 Fixes: NB#97458 (Pannable area prevents propagation of button
407 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
409 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
410 if all columns in the selector have an item selected.
411 (_on_dialog_response): Stop "response" signal emission if there is
412 any selector column without selected items.
414 Fixes: NB#101889 (Picker dialog should not close when nothing is
415 selected in multiple selection list)
417 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
419 * src/hildon-font-selection-dialog.c
420 (hildon_font_selection_dialog_class_init),
421 (hildon_font_selection_dialog_init): Remove the preview
422 button and dialog, since previewing with default theming is likely
423 to be overcomplicated. The :preview property has now no effect.
424 Update documentation blurbs to inform about this.
426 Fixes: NB#92297 (Preview content is not clearly visible for
429 2009-02-20 Alejandro G. Castro <alex@igalia.com>
431 Reviewed the geometry that handles the children size and
432 scrollbar, now it tries a size and reviews the results depending
433 on the scrollbars visibility.
435 * src/hildon-pannable-area.c,
436 (hildon_pannable_area_realize): Fixed a typo.
437 (hildon_pannable_area_child_allocate_calculate): Added this
438 function to calculate the child allocation.
439 (hildon_pannable_area_size_allocate): Reviewed the allocation
441 (hildon_pannable_area_check_scrollbars),
442 (hildon_pannable_area_refresh): Refactored refresh function, this
443 way we can call the code handling the scrollbars without causing a
444 size_request, it is interesting in the allocate.
445 (hildon_pannable_area_init): Replace the callbacks of the
446 value_changed and changed signals to propertly deal with the
448 (hildon_pannable_area_grab_notify),
449 (hildon_pannable_area_initial_effect),
450 (hildon_pannable_area_launch_fade_timeout),
451 (hildon_pannable_area_adjust_changed),
452 (hildon_pannable_area_adjust_value_changed),
453 (hildon_pannable_area_redraw),
454 (hildon_pannable_area_button_press_cb),
455 (hildon_pannable_area_button_release_cb),
456 (hildon_pannable_area_scroll_cb),
457 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
458 code and use the new functions adjust_changed and
459 adjust_value_changed.
461 Fixes: NB#101603 (Focus is not even for the text entry boxes in
462 Contact editor dialog)
464 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
469 * configure.ac: Bump version.
470 * debian/changelog: Updates.
472 2009-02-20 Alejandro G. Castro <alex@igalia.com>
474 * src/hildon-pannable-area.c,
475 (hildon_pannable_area_get_topmost),
476 (hildon_pannable_area_button_press_cb),
477 (hildon_pannable_area_button_release_cb),
478 (hildon_pannable_get_child_widget_at): Reverted the patch for the
479 topmost function adding the event mask. We have to try a
480 differente approach because it is still causing problems (NB#9745,
483 2009-02-19 Alberto Garcia <agarcia@igalia.com>
485 * src/hildon-banner.c:
486 Update the maximum width of timed banners.
487 (force_to_wrap_truncated): Enforce the maximum text width if the
490 Fixes: NB#102413 (The text margins (wrapping) in information
491 banner should be HILDON_MARGIN_TRIPLE)
493 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
495 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
497 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
498 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
499 bound when calculating the scroll indicator position.
501 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
502 treat ->lower correctly)
504 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
506 * src/hildon-caption.c (hildon_caption_class_init): Remove the
507 expose event handling, since it is not necessary to draw the focus
510 Fixes: NB#102467 (Do not show highlight on the text in
513 2009-02-18 Alberto Garcia <agarcia@igalia.com>
515 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
516 full height of the toolbar for the button and the label.
518 2009-02-18 Alberto Garcia <agarcia@igalia.com>
520 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
521 padding before the label and after the button.
523 2009-02-18 Alberto Garcia <agarcia@igalia.com>
525 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
527 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
528 Add a GtkVSeparator between the button and the back arrow.
529 Let the button have automatic size.
530 Set a name to the widget for theming handling.
532 Fixes: NB#101793 (Make edit toolbar the same height as window
533 title bar (use title area theming))
535 2009-02-18 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-helper.c (attach_new_color_element): Fix memory
540 Fixes: NB#102262 (memory leak in hildon_button_set_style())
542 2009-02-18 Alberto Garcia <agarcia@igalia.com>
544 * examples/hildon-button-example.c (common_buttons_window): Don't
547 2009-02-18 Alberto Garcia <agarcia@igalia.com>
549 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
550 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
552 2009-02-18 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-gtk.c: Check that the window is realized.
556 Fixes: NB#102225 (Crash setting the progress indicator to a non
559 2009-02-17 Alberto Garcia <agarcia@igalia.com>
561 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
562 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
563 instead of modifying the one in the widget style.
565 Fixes: NB#101043 (Second row of all the command button are
566 displayed in transparent mode.)
568 2009-02-17 Alberto Garcia <agarcia@igalia.com>
570 * src/hildon-date-button.c
571 * src/hildon-time-button.c: Add gettext macros
573 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
575 * src/hildon-date-button.c (hildon_date_button_new):
576 * src/hildon-time-button.c (hildon_time_button_new_step):
577 Use new logical strings to set the button default title.
579 Fixes: NB#99915 (Date and Time options are not localised in Date
582 2009-02-16 Alejandro G. Castro <alex@igalia.com>
584 * src/hildon-pannable-area.c
585 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
586 the PANNING_THRESHOLD.
588 2009-02-16 Alejandro G. Castro <alex@igalia.com>
590 * src/hildon-pannable-area.c,
591 (hildon_pannable_area_class_init): Increased the maximum speed.
592 (hildon_pannable_area_get_property),
593 (hildon_pannable_area_set_property),
594 (hildon_pannable_area_timeout): Added a new low friction mode, it
595 allows the user avoid friction when launching the widget fast
596 enough. It is interesting to traverse long lists.
598 2009-02-16 Alberto Garcia <agarcia@igalia.com>
600 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
601 (+hildon_stackable_window_delete_event): Ignore delete events if
602 the window is not the topmost one.
604 Fixes: NB#101698 (Back button long press and delete-event handling)
606 2009-02-16 Alejandro G. Castro <alex@igalia.com>
608 * src/hildon-pannable-area.c,
609 (hildon_pannable_area_motion_notify_cb): Removed the use of the
610 gtk-dnd-drag-threshold, it was too big. We have defined our own
611 dnd define and set a smaller value: PANNIG_THRESHOLD.
613 2009-02-16 Alberto Garcia <agarcia@igalia.com>
615 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
616 user-defined icons, use always the default one.
618 Fixes: NB#101916 (Do not allow custom icons on animation banner)
620 2009-02-13 Alejandro G. Castro <alex@igalia.com>
622 This patch was applied before but reverted because it caused
623 problems, we have changed the main condition and tested the
624 regressions we detected before and they work ok.
626 * src/hildon-pannable-area.c,
627 (hildon_pannable_area_get_topmost): Added a new parameter to
628 filter the the windows that do not include those events. Added
629 also a condition when finding the window to filter windows that do
630 not ask for those events.
631 (hildon_pannable_area_button_press_cb),
632 (hildon_pannable_area_button_release_cb),
633 (hildon_pannable_get_child_widget_at): Reviewed the call the the
634 topmost function, we have added the new parameter.
636 Fixes: NB#97458 (Pannable area prevents propagation of button
639 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
641 * tests/check-hildon-color-button.c (START_TEST): do not leak
644 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
646 * src/hildon-font-selection-dialog.c
647 (hildon_font_selection_dialog_get_preview_text): Return NULL
648 instead of FALSE on the g_return_val_if_fail().
650 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
652 * src/hildon-time-selector.c (hildon_time_selector_set_time):
653 * src/hildon-date-selector.c
654 (hildon_date_selector_select_current_date):
655 Do not compare unsigned integers to be greater than or equal 0,
656 because it's always TRUE.
658 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
660 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
661 (hildon_date_selector_constructor): Do not select the current
662 date until we are handle the "changed" signal, to avoid having bogus
663 elements in the days model.
665 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
667 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
668 for num_days, since _month_days() can return a negative value.
670 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-caption.c (hildon_caption_size_allocate):
673 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
674 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
676 Initialize allocation variables to 0, to avoid eventually using
677 unitialized variables.
679 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
681 * src/hildon-bread-crumb-trail.c
682 (hildon_bread_crumb_trail_size_allocate):
683 * src/hildon-calendar.c (hildon_calendar_set_background):
684 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
685 * src/hildon-range-editor.c (hildon_range_editor_get_range):
686 * src/hildon-seekbar.c (hildon_seekbar_init):
687 * src/hildon-time-editor.c (hildon_time_editor_get_time):
688 * src/hildon-time-selector.c (hildon_time_selector_finalize):
689 * src/hildon-touch-selector-entry.c
690 (hildon_touch_selector_get_text_from_model):
691 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
692 * src/hildon-window.c (hildon_window_finalize):
694 Remove many unused variables.
696 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
698 * src/hildon-seekbar.c: (hildon_seekbar_init),
699 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
701 Remove unnecessary g_assert() calls.
703 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
705 * src/hildon-caption.c: (hildon_caption_expose),
706 (hildon_caption_set_property), (hildon_caption_init),
707 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
708 (hildon_caption_size_request), (hildon_caption_size_allocate),
709 (hildon_caption_forall), (hildon_caption_set_separator),
710 (hildon_caption_activate), (hildon_caption_set_child_expand),
711 (hildon_caption_set_label_text),
712 (hildon_caption_get_label_alignment):
714 Remove unnecessary g_assert() calls.
716 2009-02-12 Alberto Garcia <agarcia@igalia.com>
718 * src/hildon-banner.c
719 (hildon_banner_map, hildon_banner_init): Make banner temporary
720 before mapping it to avoid closing other temporary windows, but
721 make it non-temporary afterwards to avoid being closed by other
722 non-temporary windows.
723 (-hildon_banner_client_event, hildon_banner_init):
724 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
726 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
729 2009-02-11 Alberto Garcia <agarcia@igalia.com>
731 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
734 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
736 * src/hildon-remote-texture.c
737 * src/hildon-remote-texture.h
738 * src/hildon-remote-texture-private.h
739 * examples/hildon-remote-texture-example.c:
740 Updates/fixes to remote-texture and its example.
742 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
744 Patch by Mox Soini (ext-mox.soini@nokia.com)
746 * src/hildon-code-dialog.c: Update logical id.
747 * src/hildon-set-password-dialog.c: Update logical id.
749 Fixes: NB#100646 (Logical strings is shown for ok in set
750 password,Password needed dialogs)
752 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
755 * src/hildon-remote-texture.c
756 * src/hildon-remote-texture.h
757 * src/hildon-remote-texture-private.h
759 Added remote texture widget (for Clutter shared memory textures)
761 * examples/hildon-remote-texture-example.c
762 * examples/Makefile.am
763 Added example file for remote texture usage
765 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
767 * configure.ac: post release version bump.
768 * debian/changelog: version bump.
770 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
775 * configure.ac: Bump version.
776 * debian/changelog: Updates.
778 2009-02-06 Alberto Garcia <agarcia@igalia.com>
780 * src/hildon-date-selector.c (hildon_date_selector_init)
781 (hildon_date_selector_constructor): Don't connect to the "changed"
782 signal until the selector is completely constructed.
784 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
786 * src/hildon-touch-selector.c: (_create_new_column),
787 (hildon_touch_selector_append_column),
788 (hildon_touch_selector_set_column_selection_mode),
789 (hildon_touch_selector_set_active),
790 (hildon_touch_selector_select_iter):
791 Emit the HildonTouchSelector::changed signal every time selection
792 is changed in any of the methods above. This behavior was already
793 documented but not fully functional.
795 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
796 selection is programmatically changed)
798 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
800 * doc/hildon-sections.txt: Remove obsolete icon
801 sizes from here as well.
803 2009-02-05 Alberto Garcia <agarcia@igalia.com>
805 * examples/hildon-stackable-window-example.c (add_window): Remove
808 2009-02-05 Alberto Garcia <agarcia@igalia.com>
810 * src/hildon-app-menu.c
811 (hildon_app_menu_show): Check whether the parent window of a menu
812 is topmost before popping it up.
814 Fixes: NB#100468 (Application menu window is launched even when a
815 new secondary-window/dialog is pending to be shown/realized.)
817 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
819 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
822 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
824 Patch by Mox Soini (ext-mox.soini@nokia.com)
826 * src/hildon-banner.c: (hildon_banner_show_animation):
827 use stylus size instead of obsolete note size.
828 * src/hildon-defines.h: Update icon sizes.
830 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
832 * src/hildon-touch-selector-entry.c:
833 (hildon_touch_selector_entry_init): Disable unsupported
835 (hildon_touch_selector_entry_get_text_column): Emit a warning
836 if an unsupported input modes is used and explicitile state
837 these modes in the documentation.
839 Fixes: NB#99802 (Hildon touch selector entry not working properly
840 for some of the input modes)
842 2009-02-05 Alejandro G. Castro <alex@igalia.com>
844 * src/hildon-pannable-area.c,
845 (hildon_pannable_area_init): Added the changed signal handlers of
848 Fixes: NB#100320 (HildonPannableArea does not listen to
849 GtkAdjustment "change" signals)
851 2009-02-04 Alberto Garcia <agarcia@igalia.com>
853 * doc/hildon-sections.txt
854 * src/hildon-window-private.h
855 * src/hildon-window.h
856 * src/hildon-window.c (hildon_window_init)
857 (hildon_window_realize, hildon_window_unrealize)
858 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
859 (hildon_window_size_request, hildon_window_size_allocate)
860 (hildon_window_forall, hildon_window_show_all)
861 (hildon_window_destroy, +paint_edit_toolbar)
862 (+hildon_window_set_edit_toolbar):
863 New hildon_window_set_edit_toolbar() method, to add a
864 HildonEditToolbar to a window without having to pack it manually.
866 Reorganize hildon_window_size_allocate()
868 * src/hildon-edit-toolbar.c: Update documentation.
870 * examples/hildon-edit-toolbar-example.c (edit_window): Update
871 example to use the new API.
873 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
875 2009-02-04 Alberto Garcia <agarcia@igalia.com>
877 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
878 Remove from stack before calling parent's hide.
880 2009-02-04 Alberto Garcia <agarcia@igalia.com>
882 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
883 window is removed from the middle of the stack, update the
884 transiency of the previous one.
886 Fixes: NB#100487 (HildonStackableWindow transiency becomes
889 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
891 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
892 block/unblock the signal handler if it's not actually being used.
893 Fixes some critical warnings.
895 2009-02-02 Alberto Garcia <agarcia@igalia.com>
897 Based on a patch by Iván Gómez (igomez@igalia.com)
899 * src/hildon-banner.c
903 * src/hildon-pannable-area.c
904 * src/hildon-picker-dialog.c
905 * src/hildon-wizard-dialog.h
906 * src/hildon-wizard-dialog.c: Documentation updates.
908 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
909 gtk_dialog_add_button() instead of hildon_dialog_add_button().
911 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
913 * configure.ac: post release version bump.
914 * debian/changelog: version bump.
916 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
921 * configure.ac: Bump version.
922 * debian/changelog: Updates.
924 2009-01-29 Alberto Garcia <agarcia@igalia.com>
926 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
927 a stock icon nor change the relief of the back arrow.
929 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
932 2009-01-29 Alberto Garcia <agarcia@igalia.com>
934 * src/hildon-button.c (hildon_button_set_alignment): Use
935 priv->alignment if the button has no child yet.
937 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
939 * src/hildon-button.c: (hildon_button_init): Set the
940 button style during initialization to give it the proper
943 Fixes: NB#99713 (HildonButton value label color is wrong)
945 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-touch-selector.c: Document
948 hildon_touch_selector_center_on_selected()
950 2009-01-28 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
953 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
954 all menu items, but not the menu itself.
955 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
956 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
957 items after adding them to the menu so keyboard accelerators work.
958 (hildon_app_menu_show): Don't show the menu if it contains items
959 but none of them are visible.
961 * examples/hildon-app-menu-example.c (create_menu): Use
962 gtk_widget_show_all() to show all menu items.
964 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-picker-dialog.c:
967 (-_update_title_on_selector_changed_cb),
968 (-_dialog_update_title): Removed.
969 (_select_on_selector_changed_cb), (_on_dialog_response),
970 (on_selector_columns_changed): Do not update the dialog title.
971 (setup_interaction_mode): Do not connect to
972 HildonTouchSelector::changed signal if there's a "done" button, as
973 the dialog title doesn't need to be updated.
975 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
978 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
980 Patch by Kristian Rietveld (kris@imendio.com)
982 * src/hildon-touch-selector.c: (_create_new_column): Use new
983 GtkTreeView::hildon-row-tapped signal to react to user interactions
984 instead of ::changed.
986 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
987 with some dynamic tree model)
989 2009-01-27 Alberto Garcia <agarcia@igalia.com>
991 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
992 (+screen_size_changed, +label_size_request)
993 (hildon_note_class_init): Make the Hildon information note have a
994 minimum height, and make its text hvae a maximum width.
996 Fixes: NB#98614 (Hildon information note (background) should have
997 minimum height and maximum text width)
999 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-banner.h
1002 * src/hildon-banner.c (hildon_banner_show_information)
1003 (hildon_banner_show_informationf)
1004 (hildon_banner_show_information_with_markup): Update documentation
1005 to reflect that the icon_name parameter is not used anymore.
1006 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1007 Remove all code from these functions and mark them as deprecated.
1008 (hildon_banner_show_progress): Mark as deprecated.
1010 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1012 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1014 * src/hildon-pannable-area.c,
1015 (hildon_pannable_area_class_init),
1016 (tranparency_color),
1017 (hildon_pannable_draw_vscroll),
1018 (hildon_pannable_draw_hscroll),
1019 (hildon_pannable_area_expose_event): Added a new way to render the
1020 scrollbars of the pannable area avoiding using cairo at all. This
1021 way we improve the performance of the pannable area rendering. The
1022 cairo rendering procedure is still in the code, we can control
1023 which one to use changing the value of the define
1024 USE_CAIRO_SCROLLBARS.
1026 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1028 * configure.ac: post release version bump.
1029 * debian/changelog: version bump.
1031 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1036 * configure.ac: Bump version.
1037 * debian/changelog: Updates.
1039 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1041 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1042 banners instead of destroying them when they receive a button
1045 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1047 Reverted commit 34028, it was causing regressions, probably the
1048 topmost condition is not correct, we have to check it in more
1049 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1050 propagation of button press events)
1052 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1054 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1055 that the selection is not empty before attempting to retrieve the
1056 current ampm selection.
1058 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1060 * src/hildon-picker-button.c:
1061 (hildon_picker_button_on_dialog_response): Directly update the
1062 button contents when required instead of calling _selection_changed.
1064 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1066 * src/hildon-program.c (hildon_program_update_top_most): Update
1067 'is-topmost' property also when wm_hints is not set.
1069 Fixes: NB#98383 (is-topmost signal is not emitted when task
1070 switcher is clicked.)
1072 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1074 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1078 * src/hildon-animation-actor.c,
1079 * src/hildon-animation-actor.h: Added the animation actor class,
1080 this widget represents an animation actor for WM-assisted
1081 animation effects in the Hildon framework.
1083 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1085 * src/hildon-window-stack-private.h
1086 * src/hildon-window-stack.c
1087 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1088 Avoid calling gtk_widget_show() again indirectly from
1089 hildon_stackable_window_show()
1091 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1096 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1098 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1099 (hildon_time_selector_init): Move the construction of the hours and
1100 ampm columns to the constructor to preserve the order the columns
1103 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1105 * src/hildon-picker-dialog.c:
1106 (hildon_picker_dialog_class_init): Connect a realize method.
1107 (+hildon_picker_dialog_realize): Setup the interaction mode here
1109 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1110 yet, do it during the realize instead.
1111 (_on_dialog_response):
1112 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1113 if the widget is not realized, to avoid the dialog response before it
1116 Avoid premature responses in the HildonPickerDialog that can cause it
1117 to be hidden before it's even shown.
1119 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1121 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1122 (on_selector_columns_changed), (requires_done_button),
1123 (+prepare_action_area), (setup_interaction_mode),
1124 (_hildon_picker_dialog_set_selector):
1126 Split the interaction mode setup into preparation of the
1127 action area (prepare_action_area()) and the connection of
1128 the signals in setup_interaction_mode() and update the code to
1131 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1133 * src/hildon-pannable-area.c,
1134 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1135 per second to 15, we will check if this is ok regarding
1138 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1140 * src/hildon-pannable-area.c,
1141 (hildon_pannable_axis_scroll): Avoid resize if we already have
1142 reached overshoot_max.
1144 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1146 * src/hildon-pannable-area.c,
1147 (hildon_pannable_area_init),
1148 (hildon_pannable_area_realize),
1149 (hildon_pannable_area_size_allocate),
1150 (hildon_pannable_area_map),
1151 (hildon_pannable_area_unmap),
1152 (hildon_pannable_draw_vscroll),
1153 (hildon_pannable_draw_hscroll),
1154 (hildon_pannable_area_expose_event),
1155 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1156 pannable are to avoid the expose events go to the window and
1157 redraw the window. We save this way that part of the stack and the
1158 paint_boxes. We had to change the positions of the elements when
1161 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1163 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1164 * src/hildon-color-chooser-dialog.c:
1165 (hildon_color_chooser_dialog_init):
1166 * src/hildon-font-selection-dialog.c:
1167 (hildon_font_selection_dialog_init),
1168 (hildon_font_selection_dialog_show_preview):
1169 * src/hildon-get-password-dialog.c:
1170 * src/hildon-login-dialog.c:
1171 * src/hildon-set-password-dialog.c:
1172 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1173 * src/hildon-time-picker.c: (hildon_time_picker_init):
1175 Remove obsolete logical string IDs and update to the appropriate ones.
1177 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1179 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1181 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1182 that happens if the window hasn't been realized yet.
1184 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1185 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1187 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1189 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1190 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1193 Fixes: NB#98537 (Device hangs in account settings dialog)
1195 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1197 * configure.ac: post release version bump.
1198 * debian/changelog: version bump
1200 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1205 * configure.ac: Bump version.
1206 * debian/changelog: Updates.
1208 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1210 Added a new function to the HildonTimeButton widget that allows to
1211 change the step of the minutes in the selector associated with the
1212 button: hildon_time_button_new_step
1214 * src/hildon-time-button.c,
1215 (hildon_time_button_init),
1216 (hildon_time_button_new),
1217 (hildon_time_button_new_step):
1218 * src/hildon-time-button.h: Added the new function and refactored
1220 * examples/hildon-time-button-example.c,
1221 (main): We have replaced the function without parameters with the
1222 function with the steps set to 5
1224 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1226 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1228 * src/hildon-time-selector.c,
1229 (hildon_time_selector_class_init),
1230 (hildon_time_selector_constructor),
1231 (hildon_time_selector_get_property),
1232 (hildon_time_selector_set_property),
1233 (_create_minutes_model),
1234 (hildon_time_selector_new_step),
1235 (hildon_time_selector_set_time),
1236 * src/hildon-time-selector.h: Added a new property to the
1237 HildonTimeSelector (minutes-step), we use that property to control
1238 the steps between the minutes in the list of the selector. We have
1239 added a new function to the API to create a widget changing the
1240 step: hildon_time_selector_new_step.
1242 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1244 * src/hildon-time-selector.c,
1245 (hildon_time_selector_class_init),
1246 (hildon_time_selector_constructor),
1247 (hildon_time_selector_init): Overrided the construct function when
1248 creating the time selector object. We have moved the minutes model
1249 handling code from the init to the new construction function:
1250 hildon_time_selector_constructor.
1252 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1254 * examples/hildon-date-button-example.c: (main): Use the new
1255 hildon_date_button_new_with_year_range() method in the example.
1256 * src/hildon-date-button.c:
1257 (+hildon_date_button_new_with_year_range): New public method
1258 to conveniently create a HildonDateButton with a custom year range
1259 in its HildonDateSelector.
1260 * src/hildon-date-button.h: Add the new public method definition.
1262 Fixes: NB#97908 (Not possible to change the year range in
1263 HildonDateSelector/HildonDateButton)
1265 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1267 * src/hildon-date-selector.c:
1268 (+hildon_date_selector_set_property),
1269 (+hildon_date_selector_get_property),
1270 (hildon_date_selector_class_init): Install new properties "min-year"
1271 and "max-year" to define boundaries for the year column.
1272 (_create_year_model): Use the boundary properties to populate the model.
1273 (+hildon_date_selector_new_with_year_range): New public method to
1274 create a HildonDateSelector with a user defined year range.
1275 (hildon_date_selector_select_current_date): Use the new boundaries to
1276 calculate the iterator of current year.
1277 * src/hildon-date-selector.h: Add the new public method definition.
1279 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1282 Install a constructor method.
1283 (+hildon_date_selector_construct_ui): construct the widget.
1284 (+hildon_date_selector_constructor): new constructor.
1285 (+hildon_date_selector_init): move out widget construction code to
1286 the new constructor.
1288 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1290 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1291 that there's actually a month or year selected before obtaining them.
1292 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1293 of the HildonTouchSelector::changed signal, as it was emitted on every
1294 single item selection.
1296 Fix some warnings and possible crashers due to the selection restoring.
1298 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1300 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1301 the signal handlers only after creating the dialog instead of on every
1304 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-button.c (hildon_button_init)
1307 * src/hildon-check-button.c (hildon_check_button_init)
1308 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1309 focus when clicked by default.
1311 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1313 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1316 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1318 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1319 Alejandro G. Castro (alex@igalia.com)
1321 * src/hildon-picker-dialog.c:
1322 (hildon_picker_dialog_class_init): install new "center-on-show"
1324 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1325 (hildon_picker_dialog_set_property): add setter code for the new
1327 (hildon_picker_dialog_get_property): add getter code for the new
1329 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1330 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1333 Fixes: NB#92849 (Selected item is not always visible when
1334 HildonTouchSelector is shown)
1336 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1338 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1339 Alejandro G. Castro (alex@igalia.com)
1341 * src/hildon-touch-selector.c:
1342 (_create_new_column): Do not connect to the "realize" signal of the
1344 (hildon_touch_selector_append_column): center on the selected items
1345 when a new column is appended.
1346 (hildon_touch_selector_select_iter): Factor out the code to select a
1347 column to hildon_touch_selector_scroll_to().
1348 (+search_nearest_element): Method to retrieve the nearest selected
1349 element to the visible area of the pannable area in a column.
1350 (+on_realize_cb): scroll to the initially selected item.
1351 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1352 the pannable area is realized, otherwise delay this until it is.
1353 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1354 selected items of a given column.
1355 (+hildon_touch_selector_center_on_selected): Public method to center
1356 all columns on the nearest selected item.
1357 * src/hildon-touch-selector.h: Add definition for
1358 hildon_touch_selector_center_on_selected().
1360 Implement public API to ensure visibility of all selected items in
1361 a HildonTouchSelector.
1363 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1365 Fixed a problem in the fading when calling the scroll_to API, and
1366 improve scrollbar fading handling.
1368 * src/hildon-pannable-area.c,
1369 (hildon_pannable_area_grab_notify): avoid the timeout when the
1371 (hildon_pannable_area_button_press_cb),
1372 (hildon_pannable_area_motion_notify_cb): Code style changes.
1373 (hildon_pannable_area_button_release_cb): Review the conditions
1374 when releasing the mouse button to avoid unrequired fading
1376 (hildon_pannable_area_scroll_to): Do not calculate and set the
1377 velocity if the scroll is not required.
1379 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1381 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1382 Don't check whether the new selector is NULL: it cannot be.
1383 Hold a reference to the selector while doing the replacement.
1385 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1387 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1388 unnecessary size_request in a removed widget.
1390 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1392 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1393 an unnecessary reference tracking that was leaking.
1395 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1397 Added delayed motion notify event handling, this way we can
1398 discard redrawing if more than 25 events arrive per second.
1400 * src/hildon-pannable-area.c,
1401 (hildon_pannable_area_init): Initialized the new private atributes
1402 controlling this timeout
1403 (hildon_pannable_area_dispose): Remove the timeout that controls
1404 the motion notify events.
1405 (hildon_pannable_area_scroll): Added a condition to control the
1406 use of the acceleration.
1407 (hildon_pannable_area_motion_event_scroll_timeout),
1408 (hildon_pannable_area_motion_event_scroll): Added this two
1409 functions, they handle the motion notify events inside the
1411 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1412 to the scroll method with the new function.
1413 (hildon_pannable_area_button_release_cb): We have to remove the
1414 timeout handler and move to the last position if the last motion
1415 events were not handled.
1417 Fixes: NB#97028 (Pannable area updates on every motion event)
1419 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1421 * src/hildon-pannable-area.c,
1422 (hildon_pannable_area_get_topmost): Added a new parameter to
1423 filter the the windows that do not include those events. Added
1424 also a condition when finding the window to filter windows that do
1425 not ask for those events.
1426 (hildon_pannable_area_button_press_cb),
1427 (hildon_pannable_area_button_release_cb),
1428 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1429 topmost function, we have added the new parameter.
1431 Fixes: NB#97458 (Pannable area prevents propagation of button
1434 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1436 * src/hildon-pannable-area.c,
1437 (hildon_pannable_area_initial_effect): Added controls before
1438 launching the timeout and the idle functions.
1439 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1440 of the method, in some situations it can return with TRUE and 0 in
1442 (hildon_pannable_area_button_press_cb): We do not need to set
1443 DELAY for fading out here.
1445 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1447 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1449 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1450 post-cleaning if the selection is not NULL.
1452 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1455 all items before restoring the selection.
1457 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1459 * src/hildon-touch-selector.c:
1460 (+hildon_touch_selector_unselect_all):
1461 * src/hildon-touch-selector.h: New API to unselect all items in a
1462 column of the touch selector.
1464 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1466 * src/hildon-pannable-area.c,
1467 (hildon_pannable_area_redraw): Added a call to the refresh
1468 function inside the redraw because apparently in some cases the
1469 change in the adjustment does not imply a size allocate.
1471 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1472 despite the view not being scrollable)
1474 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1477 leak. Check for NULL before attempting to set the window title.
1479 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1482 whether to show or not the 'Done' button each time the dialog is
1483 shown, as it depends on the HildonTouchSelector selection mode.
1485 Fixes: NB#96226 (In multiple selection mode Done button is shown
1486 sometimes in listpicker)
1488 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1490 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1491 for the number of columns in the HildonTouchSelector more than once.
1493 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-touch-selector.c: Minor documentation fixes.
1497 * src/hildon-picker-dialog.c (+_dialog_update_title)
1498 (_select_on_selector_changed_cb)
1499 (_update_title_on_selector_changed_cb)
1500 (on_selector_columns_changed): Update dialog title when there's no
1501 'Done' button and also when the number of columns in the selector
1505 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1506 (+_selection_changed, hildon_picker_button_on_dialog_response)
1507 (hildon_picker_button_selector_selection_changed)
1508 (+hildon_picker_button_selector_columns_changed)
1509 (hildon_picker_button_set_selector): Update button value and emit
1510 'value-changed' when the number of columns in the selector
1514 Fixes: NB#96225 (Dialog titles are not shown according to the
1515 values selected in the list picker)
1517 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1519 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1520 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1521 New "arrow-width" and "arrow-height" style properties to set the
1522 size of the arrow button.
1523 Set name of arrow button ("hildon-edit-toolbar-arrow").
1525 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1526 graphics from theme)
1528 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-picker-button.c:
1531 (hildon_picker_button_selector_selection_changed): Use
1532 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1533 the dialog is present.
1535 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1536 the selection is accepted in the dialog)
1538 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1540 * src/hildon-color-chooser.h
1541 * src/hildon-color-chooser-dialog.h:
1542 Added G_BEGIN_DECLS and G_END_DECLS
1544 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1546 (_clean_current_selection): plug a leak in the list.
1548 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1550 * src/hildon-picker-dialog.c:
1551 (+free_path_list): Method to free a GList of GtkTreePaths.
1552 (_clean_current_selection), (_save_current_selection),
1553 (_restore_current_selection): Save the current selection in
1554 as a list of lists, to support multiple selection properly.
1556 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1558 patch by Claudio Saavedra (csaavedra@igalia.com)
1560 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1561 Store the press position.
1562 (+hildon_text_view_button_release_event): If the release position is
1563 close enough to the press position, move the cursor here. Otherwise,
1565 (hildon_text_view_class_init): Override GtkTextView press, release, and
1566 motion event handlers, disabling this way text selection through
1567 pointer interaction, and allowing the container widget to handle the
1570 Fixes: NB#95828 (HildonTextView functionality)
1572 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1574 Based on a patch by Iván Gómez (igomez@igalia.com)
1576 * src/hildon-button.[ch]
1577 * src/hildon-calendar.c
1578 * src/hildon-check-button.c
1579 * src/hildon-date-editor.c
1580 * src/hildon-date-selector.c
1581 * src/hildon-picker-button.c
1582 * src/hildon-time-editor.c
1583 * src/hildon-time-selector.c
1584 * src/hildon-touch-selector.[ch]:
1585 Documentation updates
1587 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1589 * src/hildon-pannable-area.c,
1590 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1591 threshold, it was required due to X events handling.
1593 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1595 * src/hildon-pannable-area.c,
1596 (hildon_pannable_area_grab_notify),
1597 (hildon_pannable_area_initial_effect),
1598 (hildon_pannable_area_button_press_cb),
1599 (hildon_pannable_area_button_release_cb),
1600 (hildon_pannable_area_scroll_cb),
1601 (hildon_pannable_area_scroll_to): Review the timeout management of
1602 the scrollbar, the frecuency was incorrectly set.
1604 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1606 * src/hildon-picker-button.c:
1607 (+hildon_picker_button_on_dialog_response),
1608 (hildon_picker_button_clicked): Present the dialog instead of
1609 running it with gtk_dialog_run().
1611 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1614 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1617 (hildon_app_menu_finalize): When a window is hidden it doesn't
1618 emit notify::is-topmost, so make sure than the menu also
1619 disappears in that case.
1620 (parent_window_topmost_notify): Renamed from parent_window_hidden
1622 Fixes: NB#94460 (stackable window's menu is not closed when its
1625 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1627 * src/hildon-touch-selector-entry.c:
1628 (+hildon_touch_selector_entry_set_input_mode),
1629 (+hildon_touch_selector_entry_get_input_mode):
1630 * src/hildon-touch-selector-entry.h: New methods to access the input
1631 mode in the selector's entry.
1633 Fixes: NB#93410 (API required for setting IM mode in
1634 HildonTouchSelectorEntry)
1636 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1638 * configure.ac: post release version bump.
1639 * debian/changelog: version bump
1641 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1646 * configure.ac: Bump version.
1647 * debian/changelog: Updates.
1649 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1651 * src/hildon-touch-selector.c:
1652 (_hildon_touch_selector_has_multiple_selection): No need
1653 to initialize the variables here.
1655 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1657 * src/hildon-note-private.h
1658 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1659 (hildon_note_finalize, hildon_note_rebuild): Close information
1660 notes when they receive a button press.
1662 Fixes: NB#89890 (Information notes does not get disappeared after
1665 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1668 mark from the wizard title, as it's not really necessary. Also,
1669 do not display the page title if not set.
1671 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1673 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1674 (parent_window_hidden): Use the window's "is-topmost" property to
1675 detect when to hide the menu.
1677 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1680 (hildon_app_menu_finalize): If the parent window of the menu is
1681 hidden, hide the menu too.
1683 Fixes: NB#94460 (stackable window's menu is not closed when its
1686 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1689 * debian/libhildon1-examples.install
1691 * examples/Makefile.am:
1692 Use dh_install to install all examples.
1693 Use DEB_SRCDIR instead of defining SOURCE_DIR
1695 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1697 * configure.ac: post release version bump.
1698 * debian/changelog: version bump
1700 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1705 * configure.ac: bump version
1706 * debian/changelog: updates
1707 * debian/control: bump gtk+ dependency
1709 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1711 patch by Christian Dywan (christian@imendio.com)
1713 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1714 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1716 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1718 * src/hildon-check-button.c (hildon_check_button_init)
1719 (hildon_check_button_class_init, hildon_check_button_style_set)
1720 (hildon_check_button_apply_style):
1721 New "checkbox-size" style property.
1723 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1724 larger / configurable size)
1726 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1728 * configure.ac: post release version bump.
1729 * debian/changelog: version bump
1731 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1736 * configure.ac: bump version
1737 * debian/changelog: updates
1739 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1741 * doc/hildon-sections.txt
1742 * src/hildon-pannable-area.c
1743 * src/hildon-program.c
1744 * src/hildon-time-editor.c
1745 * src/hildon-touch-selector-entry.c:
1747 More documentation updates.
1749 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1751 * doc/hildon-sections.txt
1752 * src/hildon-caption.c
1753 * src/hildon-code-dialog.c
1754 * src/hildon-color-button.c
1755 * src/hildon-controlbar.c
1756 * src/hildon-date-editor.c
1757 * src/hildon-date-selector.c
1758 * src/hildon-edit-toolbar.c
1759 * src/hildon-find-toolbar.c
1760 * src/hildon-font-selection-dialog.c
1762 * src/hildon-program.c
1763 * src/hildon-range-editor.c
1764 * src/hildon-seekbar.c
1765 * src/hildon-time-editor.c
1766 * src/hildon-time-selector.c
1767 * src/hildon-volumebar-range.c
1768 * src/hildon-volumebar.c
1769 * src/hildon-vvolumebar.c
1770 * src/hildon-weekday-picker.c
1771 * src/hildon-window.c
1772 * src/hildon-wizard-dialog.c:
1774 Lots of documentation fixes.
1776 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1778 Patch contributed by Iván Gómez (igomez@igalia.com)
1780 * src/hildon-check-button.c:
1781 * src/hildon-date-button.c:
1782 * src/hildon-date-selector.c:
1783 * src/hildon-dialog.c:
1784 * src/hildon-edit-toolbar.c:
1785 * src/hildon-entry.c:
1786 * src/hildon-picker-button.c:
1787 * src/hildon-program.c:
1788 * src/hildon-text-view.c:
1789 * src/hildon-time-button.c:
1790 * src/hildon-touch-selector-entry.c:
1791 * src/hildon-window-stack.c:
1793 Add more "since" tags to the new API.
1795 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1797 * doc/hildon-sections.txt: Add below method.
1798 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1799 version for the hildonized scale.
1800 * src/hildon-gtk.h: Add the definition.
1802 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1804 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1806 * doc/hildon-sections.txt: Add missing entries for new methods.
1808 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1810 Added API to pannable are in order to get its adjustments. We
1811 added two properties to manage the values we had in the private
1814 * src/hildon-pannable-area.c:
1815 (hildon_pannable_area_class_init): Added hadjustment and
1816 vadjustment properties in order to expose horizontal and vertical
1818 (hildon_pannable_area_get_property),
1819 (hildon_pannable_area_set_property): Added code to handle the new
1821 (hildon_pannable_area_get_hadjustment),
1822 (hildon_pannable_area_get_vadjustment): API functions to get the
1824 * src/hildon-pannable-area.h:
1825 (hildon_pannable_area_get_hadjustment),
1826 (hildon_pannable_area_get_vadjustment): API functions to get the
1829 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1831 Fixed some leaks, after valgrinding.
1833 * src/hildon-touch-selector.c:
1834 (_default_print_func): Fixed a leak.
1835 (hildon_touch_selector_append_column): Fixed a leak.
1836 * src/hildon-date-button.c:
1837 (hildon_date_button_init): Fixed a leak.
1838 * src/hildon-date-selector.c
1839 (hildon_date_selector_finalize): Fixed a leak.
1841 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1843 Based on a patch by Christian Dywan (christian@imendio.com)
1845 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1847 * src/hildon-gtk.h: Add definition.
1849 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1851 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1853 * src/hildon-picker-button.c: (hildon_picker_button_init),
1854 (hildon_picker_button_new): Set the HildonButton::style property
1855 in the init method, to propagate the value to the derived classes.
1857 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1859 * src/hildon-button.c: (hildon_button_class_init): Do not make
1860 the "style" property a construct property.
1862 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1864 * src/hildon-wizard-dialog.h
1865 * src/hildon-wizard-dialog.c
1866 (hildon_wizard_dialog_set_forward_page_func)
1867 * src/hildon-pannable-area.h
1868 * src/hildon-pannable-area.c
1869 (hildon_pannable_area_set_size_request_policy):
1870 Documentation fixes.
1872 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1874 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1876 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1878 * doc/hildon-sections.txt: Added sections file.
1880 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/*.[ch]: Updates.
1885 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1887 * examples/hildon-progress-indicator-example.c: new file
1888 * examples/Makefile.am: include the new example program
1890 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1892 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1894 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1896 * configure.ac: post release version bump
1897 * debian/changelog: version bump
1899 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1904 * configure.ac: bump version
1905 * debian/changelog: updates
1906 * debian/control: bump gtk+ dependency
1908 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-dialog.c: Mark as deprecated.
1911 * src/hildon-dialog.h: Mark as deprecated.
1912 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1913 from HildonDialog and still work, even if
1914 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1915 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1917 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1918 maemo changes) instead)
1920 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1922 * src/hildon-pannable_area.h:
1923 * src/hildon-pannable_area.c:
1924 (hildon_pannable_area_class_init),
1925 (hildon_pannable_area_set_property),
1926 (hildon_pannable_area_get_property),
1927 (hildon_pannable_area_size_request),
1928 (hildon_pannable_area_get_size_request_policy),
1929 (hildon_pannable_area_set_size_request_policy): Added new API
1930 allowing applications to control the request policy. Now they can
1931 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1932 children allocation (HILDON_MOVEMENT_CHILDREN).
1934 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1938 (hildon_gtk_tree_view_set_ui_mode)
1939 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1940 mode of treeviews and iconviews.
1942 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-touch-selector-entry.c:
1945 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1946 of a GtkEntry to get proper theming.
1948 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1949 widget, not GtkEntry)
1951 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1954 no HildonWizardDialogPageFunc.
1956 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1958 Patch contributed by Iván Gómez (igomez@igalia.com)
1960 * src/hildon-app-menu.c:
1961 * src/hildon-button.c:
1962 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1963 * src/hildon-stackable-window.c:
1964 * src/hildon-time-selector.c:
1965 * src/hildon-touch-selector.c:
1966 * src/hildon-window.c:
1968 Add more "since" tags to the new API in hildon 2.2.
1970 2008-12-05 Tim Janik <timj@imendio.com>
1972 Patch contributed by Christian Dywan (christian@imendio.com)
1974 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1975 HildonSizeType, which are supplied by Gtk+ now.
1977 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1979 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1980 (with maemo changes) instead)
1982 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1984 Patch contributed by Iván Gómez (igomez@igalia.com)
1986 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1989 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1991 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1992 (some_page_func), (main): Update the example to use a
1993 HildonWizardDialogPageFunc function.
1995 * src/hildon-wizard-dialog-private.h: Add private data for
1996 the HildonWizardDialogPageFunc function usage.
1998 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1999 (destroy), (hildon_wizard_dialog_init), (response),
2000 (hildon_wizard_dialog_set_forward_page_func):
2001 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2002 that applications can use to stop a HildonWizardDialog to jump to
2005 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2008 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2010 * src/hildon-program.h
2011 * src/hildon-program-private.h
2012 * src/hildon-program.c (hildon_program_init)
2013 (hildon_program_set_common_app_menu)
2014 (hildon_program_get_common_app_menu):
2015 New API for setting a common HildonAppMenu for all
2016 HildonStackableWindows registered with the HildonProgram.
2018 * src/hildon-stackable-window.c
2019 (hildon_stackable_window_toggle_menu):
2020 Use the common HildonAppMenu if a window doesn't have a specific
2023 * src/hildon-app-menu-private.h
2024 * src/hildon-app-menu.c
2025 (hildon_app_menu_get_parent_window):
2026 Function to obtain the window a HildonAppMenu is attached to.
2027 (hildon_app_menu_set_parent_window):
2028 Hide the menu if the parent window is set to NULL.
2030 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2032 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2033 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2034 search widget to popup.
2036 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2038 * configure.ac: post release version bump
2039 * debian/changelog: version bump
2041 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2046 * configure.ac: bump version
2047 * debian/changelog: updates
2049 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2051 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2053 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2054 (hildon_window_stack_window_realized)
2055 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2056 Set the leader GdkWindow when a window is stacked and realized,
2057 unset it when it's unstacked.
2058 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2060 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2062 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-stackable-window.h
2065 * src/hildon-window-stack.h:
2066 Protect definition of HildonWindowStack using the preprocessor.
2068 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2070 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2071 Fix warning if all menu items are hidden.
2073 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2075 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2077 * src/hildon-controlbar.c:
2078 * src/hildon-hvolumebar.c:
2079 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2080 Multiple scale size defines updates.
2082 Fixes: NB#94322 (Scale Updates)
2084 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2086 * examples/hildon-app-menu-example.c (create_menu)
2087 Show items after adding them to the menu, as in the future the
2088 menu will no longer call gtk_widget_show() on the added items.
2090 * src/hildon-app-menu.c:
2091 Update example as explained above.
2093 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2095 * src/hildon-app-menu.c
2096 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2097 Make sure that all menu items have finger height.
2099 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2101 * src/hildon-picker-dialog.c:
2102 (_on_dialog_response), (_save_current_selection),
2103 (_restore_current_selection), (_clean_current_selection),
2104 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2105 Defined new functions in order to save the current internal selector
2106 selection previous open the dialog, in case that the use cancel the
2107 interaction, so the widget restores the previous selection.
2109 Fixes: NB#92032 (In calendar application, date values in 'new event'
2112 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2114 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-button.c: Add a reference to the button examples in
2117 hildon-button-example.c
2119 * examples/hildon-button-example.c: Added examples of the most
2120 common button layouts.
2122 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2124 * src/hildon-app-menu.c (hildon_app_menu_show)
2125 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2127 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2129 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-picker-dialog.c:
2132 (hildon_picker_dialog_init): Initialize the signal id for
2133 HildonTouchSelector::columns-changed.
2134 (+on_selector_columns_changed): Set up the interaction mode everytime a
2135 column is added or removed from the HildonTouchSelector.
2136 (_hildon_picker_dialog_set_selector): Connect to
2137 HildonTouchSelector::columns-changed and keep track of it.
2139 Make sure to update the interaction mode of the dialog everytime a
2140 column is added or removed in the HildonTouchSelector.
2142 Fixes: NB#93228 (Done button is not shown always in listpicker)
2144 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2147 a new ::columns-changed signal.
2148 (hildon_touch_selector_append_column): Emit ::columns-changed.
2149 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2151 Add a ::columns-changed signal, emitted when the number of columns in a
2152 HildonTouchSelector changes.
2154 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2156 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2157 (_hildon_picker_dialog_set_selector): Factor out the code
2158 to set up the dialog interaction mode.
2160 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2163 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2164 to signal_changed_id.
2166 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2168 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2171 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2173 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2174 Updated the logical ids related to ampm format, as now it is required to
2175 show it correctly localized even on languages with no default
2176 abbreviations for am or pm
2177 (_check_am_pm_format): check correctly the 24h format gconf property
2179 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2181 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-button.c: Documentation updates.
2185 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2187 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2188 * src/hildon-caption.c: (hildon_caption_class_init):
2189 * src/hildon-color-button.c: (hildon_color_button_class_init):
2190 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2191 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2192 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2193 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2195 Remove deprecated GTK+ marshalers and replace them with the ones
2196 provided by GLib, for those available, add a marshaler for
2197 BOOLEAN:VOID, which is not available in GLib, and use it.
2199 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2201 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2202 the text from the previous column if there is no
2203 HildonTouchSelectorColumn::text-property set.
2205 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-button.h
2208 * src/hildon-button.c (hildon_button_set_property)
2209 (hildon_button_get_property, hildon_button_class_init)
2210 (hildon_button_set_style, hildon_button_get_style):
2211 New "style" property to change the visual appearance of the
2214 * src/hildon-picker-button.c (hildon_picker_button_new):
2215 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2217 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2218 HildonButton look like PickerButton)
2220 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2222 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2223 column while building the default string.
2225 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2227 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2228 scroll indicator by default.
2230 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2232 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2234 * src/hildon-main.c: Fix the documentation for hildon_init()
2236 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2238 * doc/hildon-docs.sgml
2242 * src/hildon-window-stack-private.h
2243 * src/hildon-window-stack.h
2244 * src/hildon-window-stack.c:
2245 New HildonWindowStack object, that adds support for multiple
2246 stacks of windows per process.
2248 * src/hildon-stackable-window-private.h
2249 * src/hildon-stackable-window.h
2250 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2251 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2252 (hildon_stackable_window_show, hildon_stackable_window_hide)
2253 (hildon_stackable_window_class_init)
2254 (hildon_stackable_window_init):
2255 Use HildonWindowStack for stack management.
2257 * src/hildon-program.c (hildon_program_pop_window_stack)
2258 (hildon_program_peek_window_stack)
2259 (hildon_program_go_to_root_window):
2260 Add a fallback implementation to the deprecated functions using
2263 * examples/hildon-stackable-window-example.c:
2264 Use the new HildonWindowStack API.
2266 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2268 * src/hildon-stackable-window-private.h
2269 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2270 (hildon_stackable_window_hide, hildon_stackable_window_init):
2271 Remove all window stack management.
2273 * src/hildon-program-private.h
2274 * src/hildon-program.h
2275 * src/hildon-program.c (hildon_program_init)
2276 (hildon_program_pop_window_stack)
2277 (hildon_program_peek_window_stack)
2278 (hildon_program_go_to_root_window):
2279 Remove all window stack management and mark functions as
2282 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-app-menu.c (hildon_app_menu_realize):
2285 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2287 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2289 * configure.ac: post release version bump
2290 * debian/changelog: version bump
2292 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2297 * configure.ac: bump version
2298 * debian/changelog: updates
2300 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2302 Based on initial code by Christian Dywan (christian@imendio.com)
2304 * doc/hildon-docs.sgml: Add section for hildon-main.
2305 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2306 * src/Makefile.am: Add new hildon-main.[ch]
2307 * src/hildon-defines.h: Update the icon sizes.
2308 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2309 new library initialization files and register icon sizes.
2310 * src/hildon-main.h: New declarations.
2311 * src/hildon.h: Include hildon-main.h
2313 Add new initialization functions to the library. These methods
2314 will register the hildon specific icon sizes and can be used in the
2315 future for other hildon specific bits.
2317 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2319 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2321 * src/hildon-window.c: (hildon_window_realize),
2322 (hildon_window_notify), (-hildon_window_update_title): Do not set
2323 the application name in the window title.
2325 Fixes: NB#89754 (Applications shouldn't display their names in the
2328 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-note-private.h:
2331 * src/hildon-note.c: (hildon_note_set_property),
2332 (hildon_note_get_property), (hildon_note_class_init),
2333 (hildon_note_init), (hildon_note_finalize),
2334 (hildon_note_new_confirmation_with_icon_name),
2335 (hildon_note_new_information_with_icon_name):
2337 No need to mark as deprecated the actual code. Revert
2338 to avoid missing symbols in widgets using deprecated API.
2340 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2342 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2344 * src/hildon-volumebar.h
2345 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2346 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2348 * src/hildon-helper.h
2349 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2350 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2352 * examples/Makefile.am:
2353 Deprecate hildon-insensitive-example
2355 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2357 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2359 * examples/hildon-pannable-area-buttons-scroll-example.c:
2360 Make all buttons finger height
2362 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2364 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2366 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2367 update the day model only if it is really required, and to avoid the
2368 full-reconstruction aproach. Now it only add or remove the required days.
2370 The purpose of this is avoid superfluous HildonTouchSelector::changed
2373 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2374 with strange parameters)
2376 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2378 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2380 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2381 the WINDOW_TYPE property.
2383 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2385 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2388 Fix dependency to allow parallel compilation with make -jX
2390 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2393 color frame and some minor tweaks to make it more consistent with
2396 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2397 highlighted but not visible)
2399 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2401 * examples/Makefile.am: Fixed typo in the Makefile.am.
2403 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2405 Reviewed the use of MAEMO_GTK define, now we add the define in the
2406 compilation line, and we also add it to the pc file.
2408 * configure.ac: Added MAEMO_GTK define to the compilation command
2409 and removed it from the config.h.
2411 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2412 do not have to take care about this define if the library was
2416 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2418 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2420 * examples/Makefile.am,
2421 * examples/hildon-pannable-area-buttons-scroll-example.c,
2422 * examples/hildon-pannable-area-gesture-signals-example.c,
2423 * examples/hildon-pannable-area-scroll-jump-example.c,
2424 * examples/hildon-pannable-area-tree-view-example.c:
2425 Renamed the pannable area examples, now they have more meaningful
2428 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2430 * src/hildon-touch-selector.c:
2431 (hildon_touch_selector_set_column_selection_mode): Used of
2432 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2433 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2434 to avoid re-seting the same selection mode.
2436 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2437 breaks HildonPickerDialog)
2439 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2441 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2442 conditional in the Makefile.am
2444 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2446 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2447 Remove unused methods.
2449 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-button.c (hildon_button_init):
2452 Make button images center-aligned by default
2454 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2457 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2458 activated, we have to think about how to deal with both defines
2459 MAEMO_GTK and MAEMO_CHANGES.
2461 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2463 * examples/hildon-app-menu-example.c (create_menu): Make all
2464 buttons finger size.
2466 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2468 Fixed the compilation without maemo gtk adding ifdefs with
2469 MAEMO_GTK define to the code, we have to check this version more
2472 * examples/Makefile.am: Added control to avoid some examples that
2473 just make sense with maemo gtk.
2476 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2477 hildon modes with the define.
2479 * examples/hildon-edit-toolbar-example.c,
2480 (create_icon_view): Create the icon view without hildon-gtk
2481 helpers if we are not using maemo gtk.
2483 * src/hildon-touch-selector.c,
2484 (_create_new_column): Create the treeview without hildon-gtk
2485 helpers if we are not using maemo gtk.
2487 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2489 * src/hildon-pnnable-area.c,
2490 (hildon_pannable_area_dispose),
2491 (hildon_pannable_area_button_press_cb),
2492 (hildon_pannable_area_child_mapped),
2493 (hildon_pannable_area_add),
2494 (hildon_pannable_area_remove): Added code to control the position
2495 of the event_window when adding and removing children from the
2496 pannable. We have to raise the event window when the child is
2499 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2500 selection mode using custom widget inside pannable)
2502 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2504 * configure.ac: post release version bump
2505 * debian/changelog: version bump
2507 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2512 * configure.ac: bump version
2513 * debian/changelog: updates
2515 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2517 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2518 search mode, in order to avoid lose the focus on the treeview when
2519 a hw key (like enter) is pressed.
2521 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2522 in HildonDateSelector dialog)
2524 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2526 * debian/rules: Added --enable-maintainer-mode
2527 * Makefile.am: Added ACLOCAL_AMFLAGS
2529 This allows to properly regenerate the Makefiles if you modify the
2530 configure.ac or any Makefile.am.
2532 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2534 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2535 properties, not needed at all.
2537 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2539 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2541 * src/hildon-note.c: (hildon_note_set_property),
2542 (hildon_note_get_property), (hildon_note_class_init),
2543 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2544 (hildon_note_new_confirmation_add_buttons): Remove icons.
2545 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2546 (hildon_note_new_information_with_icon_name): Deprecate.
2547 (hildon_note_new_confirmation): Act directly, without calling
2548 the deprecated constructor.
2549 (hildon_note_new_information): Act directly, without calling
2550 the deprecated constructor.
2551 * src/hildon-note.h: Mark deprecate methods as such.
2552 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2553 not run tests on the deprecated methods if built with deprecation
2556 Fixes: NB#91688 (Never show icons in information notes/confirmation
2559 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2561 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2562 (hildon_app_menu_key_press): Remove leftover usage of the
2563 private structure in HildonAppMenu struct.
2564 * src/hildon-app-menu.h: Remove leftover private structure
2565 from the HildonAppMenu struct.
2567 Fixes a crasher when using the HildonAppMenu.
2569 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-picker-dialog.c: Use appropriate logical id
2572 for the default "Done" text.
2574 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2576 * configure.ac: post release version bump
2577 * debian/changelog: version bump
2579 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2581 Modified the way to scroll to the current selection just when the touch
2582 selector is shown on the screen, avoiding a g_idle. Added too a property
2583 to configure this behaviour. See hildon_pannable_area_jump_to_child
2584 documentation for more information.
2586 * src/hildon-touch-selector.c
2587 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2588 Added 'initial-scroll' property
2589 (hildon_touch_selector_set_property): Added
2590 (hildon_touch_selector_map): Removed as not required anymore
2591 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2592 only a concrete column, instead of iterate along all the columns
2594 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2599 * configure.ac: bump version
2600 * debian/changelog: updates
2602 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2604 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2605 compilation time warnings.
2607 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2610 the default value for HildonPannableArea::mov-mode to
2611 HILDON_PANNABLE_AREA_MODE_VERT.
2613 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2615 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2617 Reverting following commit:
2619 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-app-menu-private.h
2622 * src/hildon-app-menu.[ch]
2623 * src/hildon-button.[ch]
2624 * src/hildon-check-button.[ch]
2625 * src/hildon-entry.[ch]
2626 * src/hildon-pannable-area.[ch]
2627 * src/hildon-text-view.[ch]:
2628 Added private field to the object's structure.
2630 because it causes an ABI breakage. We will need to introduce these
2631 changes later at some point. See NB#91636 for an extensive
2632 explanation and status.
2634 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2636 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2638 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2639 remove special cases that are no longer necessary.
2641 Fixes: NB#91016 (Change toolbar sizes, simplification)
2643 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2645 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2646 is shown in the cancel note.
2648 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2650 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2651 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2652 (hildon_seekbar_init): Remove steppers, remove expose event.
2653 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2655 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2657 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2660 label font to "SmallSystemFont" for vertically arranged buttons.
2662 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2665 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2667 * src/hildon-check-button.c
2668 (hildon_check_button_set_active, hildon_check_button_clicked):
2669 Don't access private parts directly, use getters instead.
2671 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-check-button.c (hildon_check_button_new):
2674 Align the contents of the check button to the left.
2676 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2678 * src/hildon-pannable-area.c,
2679 (hildon_pannable_area_scroll_to),
2680 (hildon_pannable_area_jump_to),
2681 (hildon_pannable_area_scroll_to_child),
2682 (hildon_pannable_area_jump_to_child): Replace the mapped
2683 precondition of these functions with the realized, it is the
2684 correct state of the widget in this case. Changed the
2685 documentation according to this modification.
2687 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2689 Added a new EXTRA_CFLAGS option to add the deprecated define to
2690 the compilation command. This way we can avoid using the define in
2691 the documentation compilation.
2693 * configure.ac: Defined EXTRA_CFLAGS.
2695 * examples/Makefile.am:
2697 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2699 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2701 * src/hildon-picker-dialog.c:
2702 Defined a utility macro with the desired touch selector height
2703 Removed currently unused separator, and title_label variables from
2705 (hildon_picker_dialog_init): Removed code related to the creation
2706 of unused private variables title_label and separator.
2707 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2708 to ensure correct visualization of the touch selector inside the dialog.
2709 * src/hildon-touch-selector.c
2710 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2711 ensure a concrete height of the widget.
2713 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2716 * tests/Makefile.am:
2718 Remove spurious whitespaces.
2720 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2722 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2723 compilation warning after the cancel button removal.
2725 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2727 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2729 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2730 Makefile.am, that way we can choose not to compile some examples
2731 and tests of the deprecated widgets.
2733 * examples/Makefile.am: Divided the sources in deprecated and
2736 * src/Makefile.am: Added undef statement of the deprecated
2737 symbol to the enums file generation process.
2739 * src/hildon-color-chooser-dialog.c
2740 * src/hildon-color-chooser-dialog.h
2741 * src/hildon-color-button.c
2742 * src/hildon-color-button.h
2743 * src/hildon-color-chooser.c
2744 * src/hildon-color-chooser.h
2745 * src/hildon-controlbar.c
2746 * src/hildon-controlbar.h
2747 * src/hildon-date-editor.c
2748 * src/hildon-date-editor.h
2749 * src/hildon-hvolumebar.c
2750 * src/hildon-hvolumebar.h
2751 * src/hildon-private.c
2752 * src/hildon-private.h
2753 * src/hildon-range-editor.c
2754 * src/hildon-range-editor.h
2755 * src/hildon-seekbar.c
2756 * src/hildon-seekbar.h
2757 * src/hildon-time-editor.c
2758 * src/hildon-time-editor.h
2759 * src/hildon-time-picker.c
2760 * src/hildon-time-picker.h
2761 * src/hildon-volumebar.c
2762 * src/hildon-volumebar.h
2763 * src/hildon-vvolumebar.c
2764 * src/hildon-vvolumebar.h
2765 * src/hildon-bread-crumb-trail.h
2766 * src/hildon-bread-crumb-trail.c
2767 * src/hildon-calendar-popup.c
2768 * src/hildon-calendar-popup.h
2769 * src/hildon-weekday-picker.c:
2770 * src/hildon-weekday-picker.h:
2771 * src/hildon-bread-crumb-widget.c:
2772 * src/hildon-bread-crumb-widget.h:
2773 * src/hildon-bread-crumb.c:
2774 * src/hildon-bread-crumb.h:
2775 * src/hildon-calendar.c:
2776 * src/hildon-calendar.h:
2777 * src/hildon-caption.c:
2778 * src/hildon-code-dialog.c:
2779 * src/hildon-code-dialog.h:
2780 * src/hildon-font-selection-dialog.c:
2781 * src/hildon-font-selection-dialog.h:
2782 * src/hildon-get-password-dialog.c:
2783 * src/hildon-get-password-dialog.h:
2784 * src/hildon-login-dialog.c:
2785 * src/hildon-login-dialog.h:
2786 * src/hildon-number-editor.c:
2787 * src/hildon-number-editor.h:
2788 * src/hildon-set-password-dialog.c:
2789 * src/hildon-set-password-dialog.h:
2790 * src/hildon-sort-dialog.c:
2791 * src/hildon-sort-dialog.h: This is the list of deprecated
2794 * src/hildon-touch-selector.c:
2795 * src/hildon-window.c: Added undef statement to avoid compilation
2798 * tests/Makefile.am: Divided the sources in deprecated and
2801 * tests/check_test.c,
2802 (configure_tests): Marked the deprecated code that was adding
2803 suites with deprecated tests.
2805 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2807 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/hildon-touch-selector.c: (_default_print_func): Do not
2810 duplicate a string returned by gtk_tree_model_get(), it is already
2813 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2816 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2818 * src/hildon-pannable-area.c
2819 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2820 method, it had problems when adding a widget with viewport the
2821 second time. Now checks if it already has a viewport and uses it.
2823 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2826 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2828 * src/hildon-pannable-area.c,
2829 (hildon_pannable_area_scroll_to),
2830 (hildon_pannable_area_jump_to),
2831 (hildon_pannable_area_scroll_to_child),
2832 (hildon_pannable_area_jump_to_child): Added a precondition to the
2833 scroll and jump to functions: the widget must be mapped before we
2834 can safely call these functions. We have also added documentation
2835 to the functions to explain how to use them in this situation.
2838 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2840 Reviewed the threading handling of the pannable widget, we have
2841 used the gdk_threads_add_timeout function instead of the usual
2842 glib handlers. This avoids some problems with the threads.
2844 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2845 (hildon_pannable_area_initial_effect),
2846 (hildon_pannable_area_scroll_indicator_fade),
2847 (hildon_pannable_area_button_press_cb),
2848 (hildon_pannable_area_timeout),
2849 (hildon_pannable_area_motion_notify_cb),
2850 (hildon_pannable_area_button_release_cb),
2851 (hildon_pannable_area_scroll_cb),
2852 (hildon_pannable_area_scroll_to): Removed the
2853 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2854 gdk_threads_add_timeout.
2856 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2858 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2863 * configure.ac: bump version
2864 * debian/changelog: updates
2866 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2868 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2869 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2870 * src/hildon-color-chooser-dialog.c:
2871 (hildon_color_chooser_dialog_init):
2872 * src/hildon-font-selection-dialog.c:
2873 (hildon_font_selection_dialog_init):
2874 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2876 Remove all cancel/close-like dialogs, as these are not going to be
2879 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2881 * src/hildon-note.c: (hildon_note_rebuild),
2882 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2885 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2887 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2889 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2890 sure all buttons are shown, even the Cancel/Close-like ones.
2892 Fixes: NB#90861 (Custom Confirmation dialogs should be
2893 protected from cancel button removal)
2895 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2897 * debian/control: Change libhildon1-examples dependency from libhildon1
2899 * debian/libhildon1-examples.install
2901 * Makefile.am: Modified the final install directory for the examples on
2902 package libhildon1-examples
2903 * Makefile.static: Update clean target in order to remove all the binary
2906 Changes suggested by Claudio after review new libhildon1-examples package
2908 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2910 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2911 * src/hildon-touch-selector.c: Ditto.
2913 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2915 * debian/control: Added new package libhildon1-examples, in order to pack
2916 the current hildon examples as documentation
2917 * debian/rules: Not to compress .c files, modify some includes on the
2918 examples (as normally are compiled locally, but when installed it will
2919 require to include the installed libhildon1 library), and rename
2921 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2922 install all the example files on the new example package
2923 * examples/Makefile.static: Added static makefile that can be used to
2924 compile the examples, once installed the new example package
2925 * examples: Most of the examples were modified in order to grant that
2926 all use only '#include "hildon.h"', in order to be easy to prepare
2927 it on the example package
2929 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2932 * debian/libhildon1-dev.install
2933 * debian/libhildon1-doc.install:
2934 Move all gtk-doc files to a separate libhildon1-doc package.
2936 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2938 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2940 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2942 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2944 * debian/rules: Fixed a error in order to avoid unnecessary calls
2945 to autogen.sh on package building
2947 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2949 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2951 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2953 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2956 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-picker-button.c
2959 (hildon_picker_button_finalize):
2960 Free priv->done_button_text
2962 * src/hildon-time-button.c
2963 (hildon_time_button_set_time)
2964 * src/hildon-picker-button.c
2965 (hildon_picker_button_clicked)
2966 (hildon_picker_button_selector_selection_changed)
2967 (hildon_picker_button_set_selector)
2968 * src/hildon-date-button.c
2969 (hildon_date_button_set_date):
2970 Free strings returned by hildon_touch_selector_get_current_text()
2972 * src/hildon-button.c (hildon_button_construct_child):
2973 Fix leaks in priv->image and priv->label_box
2975 Fixes: NB#90535 (Memory leak in picker button)
2977 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2979 * src/hildon-button.c: (hildon_button_get_property): Do not access
2980 private elements directly, use getters instead.
2982 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-app-menu-private.h
2985 * src/hildon-app-menu.c
2986 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2987 Store the menu's parent window.
2989 * src/hildon-stackable-window.c
2990 (hildon_stackable_window_toggle_menu)
2991 (hildon_stackable_window_finalize):
2992 Set the menu's parent window when the menu is shown, unset it when
2995 * src/hildon-app-menu.c
2996 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2997 (hildon_app_menu_class_init):
2998 Send unhandled keyboard accelerators to the parent window.
3000 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-stackable-window.c
3003 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3005 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3007 * configure.ac: post release version bump
3009 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3012 * configure.ac: Bump version
3013 * debian/changelog: Updates
3014 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3017 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3019 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3022 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3023 GtkMenu with Hildon style.
3025 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3027 * src/hildon-picker-button.c:
3028 (hildon_picker_button_set_done_button_text): Set the dialog's
3029 done button text here as well.
3031 Fixes: NB#90232 (Picker button does not set the label on done button
3032 for the second time)
3034 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3036 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3039 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3041 * src/hildon-app-menu.c (hildon_app_menu_insert)
3042 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3043 the HildonAppMenu to be activatable using keyboard accelerators
3044 when the menu is not being shown.
3046 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3048 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-stackable-window.c
3051 (hildon_stackable_window_show):
3052 Don't hide old windows automatically when new windows are shown:
3053 this is now a task for the window manager.
3054 (hildon_stackable_window_class_init)
3055 (hildon_stackable_window_hide):
3056 Remove windows from the stack everytime they're hidden.
3057 (hildon_stackable_window_realize):
3058 Don't change the _NET_WM_WINDOW_TYPE property. Use
3059 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3060 it as a stackable window.
3062 * src/hildon-program.c
3063 (hildon_program_pop_window_stack):
3064 Just hide the window to remove it from the stack.
3065 (hildon_program_go_to_root_window):
3066 Don't call gtk_widget_show(), this is now a task for the window
3069 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3071 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3073 * src/hildon-button.c
3074 (hildon_button_construct_child):
3075 Don't pack anything in the button until text or image are
3076 set. This allows adding a custom child after creating the button
3077 with hildon_button_new().
3078 (hildon_button_finalize, hildon_button_class_init)
3079 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3080 alignment and the label box even when they're not packed in the
3083 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3085 * src/hildon-touch-selector.h:
3086 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3087 currently the type definition was using GTK_TYPE_VBOX
3088 * src/hildon-touch-selector.c:
3089 Added some implementation notes in order to clarify that any other widget
3090 added without the column related API will not be included on the
3091 selection logic, and how the widget is freed, as some people ask about
3093 (hildon_touch_selector_remove): Reimplemented in order to free properly
3094 the column related data when you remove the private hbox.
3095 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3096 to get a proper HildonTouchSelectorColumn documentation
3098 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-touch-selector-entry.c:
3101 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3102 text in the GtkEntry and there is no item selected. Fixes a
3105 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-app-menu-private.h
3108 * src/hildon-app-menu.[ch]
3109 * src/hildon-button.[ch]
3110 * src/hildon-check-button.[ch]
3111 * src/hildon-entry.[ch]
3112 * src/hildon-pannable-area.[ch]
3113 * src/hildon-text-view.[ch]:
3114 Added private field to the object's structure.
3116 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3118 * configure.ac: post-release version bump
3120 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3124 * configure.ac: pre-release version bump
3126 * debian/changelog: updates.
3128 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3131 Disconnect the handler for HildonTouchSelector::changed.
3133 (hildon_picker_button_selector_selection_changed): Update the button
3134 value if the selection change was not triggered by the
3137 (hildon_picker_button_set_selector): connect to
3138 HildonTouchSelector::changed.
3140 Fixes: NB#89650 (Picker button is not updated, when selection in
3141 selector has changed)
3143 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3145 * src/hildon-picker-dialog.c
3146 (hildon_picker_dialog_realize): Removed as not required
3147 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3148 * src/hildon-picker-button.c
3149 (_current_selector_empty): New function, checks if the selector is empty
3150 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3151 if the current selector is empty, in order to avoid to show the dialog
3152 close the dialog in this case (and shows a g_warning).
3154 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3156 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3158 * src/hildon-pannable-area.c,
3159 (hildon_pannable_area_scroll): Added clause to stop movement when
3160 the child of pannable is smaller than one page.
3161 (hildon_pannable_area_scroll_to): Added conditions to avoid
3162 starting the scrolling movement if the child is smaller than one
3163 page, the complete child is in the screen, we do not have to move.
3165 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3167 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3169 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3170 this is managed automatically by the widget when the size of the
3173 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-picker-button.c
3176 (hildon_picker_button_set_done_button_text): Make a copy of the
3177 text, and free the previous value.
3179 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3181 * src/hildon-touch-selector-entry.c:
3182 (hildon_touch_selector_entry_print_func): Return the selected row's
3183 text if the entry is empty.
3185 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3188 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3190 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3192 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-check-button.h
3196 * src/hildon-check-button.c
3197 * examples/hildon-check-button-example.c:
3198 HildonCheckButton is now a new widget. 'toggled' signal added.
3200 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-program-private.h
3203 * src/hildon-program.c (hildon_program_init)
3204 (hildon_program_finalize): Removed unused variables group_leader
3205 and name from HildonProgramPrivate.
3207 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3209 * src/hildon-check-button.c (hildon_check_button_set_active)
3210 (hildon_check_button_get_active, hildon_check_button_new): Use
3211 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3213 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3215 * src/hildon-touch-selector.h
3216 (hildon_touch_selector_set_column_attributes): added deprecation
3217 guard HILDON_DISABLE_DEPRECATED
3218 * src/hildon-time-selector.c
3219 (hildon_time_selector_set_time)
3220 (hildon_time_selector_get_time): Fixed a typo on documentation
3221 * src/hildon-touch-selector.c: update HildonTouchSelector and
3222 HildonTouchSelectorColumn documentation
3223 * src/hildon-touch-selector-entry.c: update "text-column" property
3225 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3226 to be added to the general documentation.
3228 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3230 * examples/hildon-pannable-area-example-4.c,
3232 * examples/hildon-pannable-area-example.c,
3233 (main): Modified the code in order to use the container add, with
3234 viewport treeviews could have problems if they are really big.
3236 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3238 * src/hildon-weekday-picker.c,
3239 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3240 the agreement regarding deprecation in the library.
3242 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3244 * examples/hildon-picker-button-multicolumn-example.c:
3245 (main): Use custom "done" button text.
3247 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3248 (hildon_picker_button_set_property),
3249 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3250 (hildon_picker_button_init),
3251 (+hildon_picker_button_get_done_button_text),
3252 (+hildon_picker_button_set_done_button_text): New methods to customize
3253 the "done" button label in the launched HildonPickerDialog. Also,
3256 * src/hildon-picker-button.h: add the public API.
3258 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-date-selector.h:
3261 * src/hildon-picker-dialog.h:
3262 * src/hildon-time-selector.h:
3263 * src/hildon-touch-selector-column.h:
3264 * src/hildon-touch-selector.h:
3266 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3267 declarations. Fixes gtk-doc warnings.
3269 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-picker-dialog.h
3272 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3273 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3275 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3276 long text is set as label for done button)
3278 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3280 * src/hildon-dialog.c (hildon_dialog_add_button):
3281 Set fixed width to all buttons in the HildonDialog.
3283 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3285 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3287 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3288 Set widget name using class name plus "-finger" or "-thumb".
3290 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3292 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3293 'clicked' when the state of the button is manually changed.
3295 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3297 * src/hildon-app-menu.c (hildon_app_menu_realize)
3298 (hildon_app_menu_unrealize, hildon_app_menu_init)
3299 (hildon_app_menu_class_init, item_visibility_changed):
3300 Change the menu layout when the size of the screen changes.
3301 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3302 Show warning only when changing the number of colums using the
3305 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3307 * debian/compat: Set to 5
3308 * debian/control: Update dependencies.
3309 * debian/libhildon1-dbg.install: Remove.
3310 * debian/libhildon1-dev.install: Update according to cdbs paths.
3311 * debian/libhildon1.install: Update according to cdbs paths.
3312 * debian/rules: Switch to cdbs.
3314 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3316 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3317 'item' variable renamed to 'filter'
3319 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-app-menu.c (hildon_app_menu_insert)
3322 (hildon_app_menu_add_filter, remove_item_from_list)
3323 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3324 Don't leak hidden items when the menu is destroyed.
3326 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-app-menu.c (hildon_app_menu_insert)
3329 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3330 (hildon_app_menu_set_columns, item_visibility_changed)
3331 (filter_visibility_changed, hildon_app_menu_repack_filters)
3332 (hildon_app_menu_repack_items):
3333 Repack items and filters separately.
3335 Don't repack all items, change only the ones that are needed to
3338 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3340 * src/Makefile.am: added hildon-touch-selector-column.h
3342 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3344 * src/hildon-touch-selector.c: added the property "text-column" to the
3345 class HildonTouchSelectorColumn, and related get/set functions
3346 (_default_printf_func): updated to use "text-column" property
3347 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3348 "text-column" in his documentation, as this is now included on
3349 HildonTouchSelectorColumn. The get/set_property can still be used,
3350 working as a wrapper to the concrete column "text-column" property
3351 (_text_column_modified): callback added in order to handle the signal
3352 "notify::text-column" of the concrete HildonTouchSelectorColumn
3353 (hildon_touch_selector_entry_get_text_column)
3354 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3355 modified in order to use the HildonTouchSelectorColumn "text-column"
3357 * src/hildon-time-selector.c:
3358 * src/hildon-date-selector.c:
3359 * examples/hildon-touch-selector-example.c
3360 * examples/hildon-touch-selector-multi-cells-example.c
3361 * examples/hildon-picker-button-multicolumn-example.c
3362 Set the right value to "text-column" property on the creation of a new
3363 column using hildon_touch_selector_append_column()
3365 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3367 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3369 * src/hildon-app-menu.c
3370 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3371 updating the layout of the menu, don't create all widgets again,
3372 just repack the items in their new places.
3374 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3376 * src/hildon-time-selector.c
3377 (hildon_time_selector_get_time)
3378 (hildon_time_selector_set_time)
3379 Added documentation of these public methods
3381 * src/hildon-date-button.h
3382 * src/hildon-touch-selector-column.h
3383 * src/hildon-time-button.h
3384 * src/hildon-picker-dialog.h
3385 * src/hildon-time-selector.h
3386 * src/hildon-picker-button.h
3387 * src/hildon-touch-selector.h
3388 * src/hildon-time-picker.h
3389 * src/hildon-date-selector.h
3390 * src/hildon-touch-selector-entry.h
3391 Modified in order to use hildon-widgets code style
3393 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3395 Added deprecated support to the compilation process using
3396 HILDON_DISABLE_DEPRECATED
3398 * configure.ac: Added the --disable-deprecated to the configure
3401 * src/hildon-weekday-picker.c:
3402 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3403 to use the deprecated support. We will update the other deprecated
3404 widgets status in a new patch.
3406 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3408 * configure.ac: Fixed typo with fatal warnings support, the
3409 variable name was not correct
3411 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3413 * src/hildon-app-menu.c
3414 * src/hildon-program.c: Update documentation.
3416 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3418 * configure.ac: Post-release version bump.
3420 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3425 * configure.ac: Pre-release version bump.
3426 * debian/changelog: Updates.
3428 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3430 * NEWS: Update news for previous releases.
3432 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3434 * examples/hildon-touch-selector-multi-cells-example.c:
3435 (create_selector): Update the example to use
3436 hildon_touch_selector_append_column() with a NULL renderer and set
3437 the renderers later.
3438 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3439 passed a NULL renderer. This is documented behavior now.
3441 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3442 This must be used if the developer wants full control on the layout of
3443 the renderers to be added to the column.
3445 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3447 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-touch-selector.c: Documentation fixes.
3451 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3453 * src/hildon-wizard-dialog-private.h: Remove image and box.
3454 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3455 (hildon_wizard_dialog_set_property), (response): Completely remove
3456 image/icon support, and the containers required for the layout.
3458 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3460 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-app-menu.c: Updated documentation.
3464 * src/hildon-stackable-window.c
3465 (hildon_stackable_window_set_main_menu): Unref the old menu after
3466 ref'ing the new one.
3468 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3470 * src/hildon-stackable-window.c
3471 (hildon_stackable_window_set_main_menu): Unref the previous menu
3472 instead of destroying it.
3474 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3475 floating reference and set has_user_ref_count to FALSE to make
3476 HildonAppMenu act like a normal ref-counted widget and not a
3479 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3482 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3484 * src/hildon-touch-selector-column.h: new file
3485 * src/hildon-touch-selector.h
3486 * src/hildon-touch-selector.c
3487 Implemented GtkCellLayout interface, in order to allow to configure
3488 the cell layout on each individual selector column
3489 (hildon_touch_selector_set_column_attributes): marked as deprecated
3490 * examples/hildon-touch-selector-multi-cells-example.c
3491 Example of how to use the GtkCellLayout interface on the selector
3493 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3495 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3497 * src/hildon-app-menu.h
3498 * src/hildon-app-menu.c
3499 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3500 (hildon_app_menu_append, hildon_app_menu_prepend):
3501 New methods to prepend, insert and move items in the menu.
3503 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3505 * src/hildon-wizard-dialog.c:
3507 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3509 (create_title): Update logical IDs and related code.
3510 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3512 * src/hildon-wizard-dialog.h: Note that
3513 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3514 point, as it is not used anymore.
3516 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3518 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3520 * src/hildon-note.c:
3521 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3522 shown. Do not display an icon in confirmation notes nor information
3524 (hildon_note_set_button_text): Update logical ID for cancel button.
3526 Fixes: NB#88850 (Update HildonNote button strings + signals)
3528 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3530 * src/hildon-stackable-window.c
3531 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3533 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-app-menu-private.h
3536 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3537 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3538 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3539 temporary property 'columns' to change the number of columns.
3541 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3543 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3545 * examples/hildon-note-example.c: (on_information_clicked),
3546 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3547 debugging information.
3548 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3550 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3551 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3552 in order to close: this will be handled by the WM from now on.
3554 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3556 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3558 * src/hildon-app-menu-private.h
3559 * src/hildon-app-menu.c
3560 (hildon_app_menu_append, hildon_app_menu_add_filter)
3561 (button_visibility_changed, hildon_app_menu_apply_style)
3562 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3563 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3564 layout everytime a button (item or filter) is shown or hidden.
3566 * src/hildon-stackable-window.c
3567 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3570 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3572 * src/hildon-touch-selector.c:
3573 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3574 that the treeview inside the touch selector is in fremantle hildon mode
3575 * examples/hildon-date-button-example.c
3576 * examples/hildon-picker-button-multicolumn-example.c
3577 * examples/hildon-touch-selector-entry-example.c
3578 * examples/hildon-touch-selector-example.c
3579 * examples/hildon-time-button-example.c
3580 * examples/hildon-picker-button-example.c:
3581 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3583 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3585 * examples/hildon-text-view-example.c: (main): Remove the
3586 gtkrc bits, now handled by the theme.
3588 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3593 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3595 * po/Makefile.am: Install properly the mo files.
3596 * po/en_GB.po: Update translation, to ease testing purposes.
3598 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3600 * examples/hildon-picker-button-example.c: (main): Select an item
3601 in the selector before setting it to the button.
3603 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3605 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3606 Update button's value if the selector has an item active.
3608 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3609 'value' with the selector)
3611 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3613 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3614 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3615 (hildon_picker_button_class_init): Plug the finalize method.
3616 (hildon_picker_button_set_selector): If there's a previously set
3617 selector, unref'it before setting a new one.
3619 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3620 HildonTouchSelector)
3622 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3624 * src/hildon-touch-selector-entry.c:
3625 (hildon_touch_selector_entry_changed): Check if there is no text
3626 selected before setting the entry text.
3629 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3631 * src/hildon-touch-selector.h
3632 * src/hildon-touch-selector.c
3633 (hildon_touch_selector_get_active)
3634 (hildon_touch_selector_set_active): New methods to set/get the
3635 index of the selected item.
3637 * src/hildon-picker-button.h
3638 * src/hildon-picker-button.c
3639 (hildon_picker_button_get_active)
3640 (hildon_picker_button_set_active): New methods to set/get the
3641 index of the selected item.
3643 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3645 * configure.ac: post-release version bump.
3647 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3651 * configure.ac: Pre-release version bump.
3652 * debian/changelog: Updates.
3653 * debian/control: Add myself as maintainer and depend on l10n
3656 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3658 * src/hildon-window.c
3659 (hildon_window_set_main_menu)
3660 * src/hildon-stackable-window.c
3661 (hildon_stackable_window_set_main_menu):
3662 Updated documentation.
3664 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3667 Don't free selector->priv manually.
3670 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3673 (hildon_gtk_window_set_progress_indicator):
3674 * src/hildon-gtk.h: Added the new API
3675 hildon_gtk_window_set_progress_indicator, it changes the state of
3676 the window progress hint.
3678 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3680 * src/hildon-button.c
3681 * src/hildon-stackable-window.c: Minor documentation updates.
3683 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3685 * src/hildon-stackable-window.c: Updated documentation.
3687 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-defines.h: Update margins definitions
3690 to the Fremantle sizes.
3693 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3695 * src/hildon-touch-selector.c,
3696 (_hildon_touch_selector_set_model): Cleaning the code after
3697 review, removed g_print and #if 0 from the code.
3699 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3701 * src/hildon-edit-toolbar.c: Update documentation.
3703 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3705 * src/hildon-check-button.h
3706 * src/hildon-check-button.c
3707 (hildon_check_button_set_label, hildon_check_button_get_label)
3708 * examples/hildon-check-button-example.c
3709 (button_clicked_cb):
3710 Removed deprecated methods.
3712 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3714 * src/hildon-text-view.c:
3715 Add sample code to the documentation.
3717 * src/hildon-entry.h
3718 * src/hildon-text-view.h:
3719 Minor cosmetic changes.
3721 * src/hildon-entry.c:
3722 Add sample code to the documentation.
3723 (hildon_entry_init, hildon_entry_refresh_contents):
3724 Don't allow NULL values in the placeholder.
3726 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3728 * doc/hildon-docs.sgml
3730 * examples/Makefile.am
3731 * examples/hildon-text-view-example.c
3733 * src/hildon-text-view.c
3734 * src/hildon-text-view.h
3736 New HildonTextView widget, with example.
3738 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3740 * po/POTFILES.in: Add missing files with translatable strings.
3741 Partially fixes NB#88287.
3743 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3745 * examples/hildon-pannable-area-example-2.c: (main): No need to
3746 set the cellrenderer height inside hildon touch lists, the theme does
3749 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3751 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3752 they are integrated in the theme.
3754 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3756 * examples/hildon-entry-example.c: Update the example adding
3757 widgets to modify the text and the placeholder of the HildonEntry.
3759 * src/hildon-entry.c: Show the placeholder everytime the widget
3760 is empty and loses the focus.
3762 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3764 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3766 * src/hildon-pannable-area.c,
3767 (hildon_pannable_area_size_request): Fixed bug in height
3768 requisition, avoid increasing size and add border twice.
3770 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3772 * configure.ac: postrelease version bump.
3774 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3778 * configure.ac: Prerelease version bump.
3779 * debian/changelog: update.
3780 * debian/rules: make -dbg package contain useful debugging symbols.
3782 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3784 * src/hildon-dialog.h
3785 * src/hildon-dialog.c
3786 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3787 New methods to add buttons with finger size.
3788 (hildon_dialog_new_with_buttons):
3789 Create buttons with finger size.
3791 * examples/hildon-dialog-example.c (main): Use HildonDialog
3792 methods to add buttons.
3794 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3796 * src/hildon-entry.c: Updated HildonButton documentation.
3798 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3801 button value label with (FALSE, FALSE) to prevent NB#88126 from
3804 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3806 * examples/hildon-pannable-area-example.c,
3807 (main): Removed examples panning a vbox inside a pannable
3808 area. Check bug NB#87965
3810 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3812 Patch contributed by Kris Rietveld (kris@imendio.com)
3814 * src/hildon-pannable-area.c,
3815 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3816 get_size and get_position, this saves an X server roundtrip.
3818 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3820 * doc/hildon-docs.sgml
3822 * examples/Makefile.am
3823 * examples/hildon-entry-example.c
3825 * src/hildon-entry.c
3826 * src/hildon-entry.h
3828 New HildonEntry widget, with example.
3830 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-button.c (hildon_button_construct_child): Pack the
3833 image with expand == fill == FALSE. This is a workaround for a bug
3836 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3838 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3839 labels for the text column, to make it more look more dynamic.
3841 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3843 * src/hildon-time-selector.c
3844 Define gettext auxiliar macro N_
3845 (_create_minutes_model)
3846 (_create_hours_model)
3847 (_create_ampm_model): use of strftime in order to fill the model
3848 * src/hildon-date-selector.c
3849 (hildon_date_selector_finalize):
3850 (_locales_init): remove the logic related to get the name of the months
3851 using nl_langinfo, as it is not required anymore
3853 (_create_year_model)
3854 (_create_month_model)
3855 (_update_day_model): use of strftime in order to fill the model properly
3858 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-button.h
3861 * src/hildon-button.c (hildon_button_get_image): New method to
3864 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3866 * src/hildon-touch-selector.c:
3867 (hildon_touch_selector_remove_column): Remove from the correct parent
3868 and also remove the list element and free it.
3871 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3873 * src/hildon-time-selector.c
3874 (_create_hours_model): change the range on 12h ampm format in order to use
3875 a 12-11 range instead of previous 01-12 range
3876 (hildon_time_selector_set_time): change the way to select the current time
3877 on 12h ampm format, due the change on the range
3878 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3881 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3883 * src/hildon-touch-selector.c
3884 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3885 in order to allow use this function on multiple row selection mode if
3886 the column is different that the first one
3889 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3891 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3892 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3894 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3896 * src/hildon-date-selector.h: clean some comments, now on the .c
3897 * src/hildon-date-selector.c
3898 (hildon_date_selector_select_month): first implementation
3899 (hildon_date_selector_select_day): added documentation, reimplemented
3900 using hildon_date_selector_select_current_date to avoid repeat code
3903 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3905 Reviewed interaction logic based on device experiences, refactored
3908 * src/hildon-pannable-area.c,
3909 (hildon_pannable_area_class_init): Updated default vmax speed.
3910 (hildon_pannable_area_calculate_velocity): Added this function, it
3911 avoids duplicate valocity calculation. Adjusted calculation to
3912 avoid problems with zero dist events.
3914 (hildon_pannable_area_motion_notify_cb): Now we use the
3915 calculate_velocity function.
3917 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3919 * src/hildon-date-selector.c
3920 (hildon_date_selector_select_current_date): fix the day range check
3921 as it failed using the last day of the current month
3924 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3926 * src/hildon-touch-selector.c
3927 (hildon_touch_selector_get_num_columns): added a parameter validation
3930 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3932 * examples/Makefile.am
3933 * examples/hildon-edit-toolbar-example.c: Example of the
3934 HildonEditToolbar widget.
3936 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3938 * configure.ac: postrelease version bump.
3940 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3944 * configure.ac: prerelease version bump.
3945 * debian/changelog: update.
3947 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3949 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3950 renderer to display stock icons in the touch list. Also, set the sizes
3951 to the recommended in the style guide.
3953 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3954 * src/hildon-touch-selector.h
3955 (hildon_touch_selector_set_active_iter): renamed, now is
3956 hildon_touch_selector_select_iter
3957 (hildon_touch_selector_get_active_iter): renamed, now is
3958 hildon_touch_selector_get_selected
3959 (hildon_touch_selector_unselect_iter): added
3960 * src/hildon-touch-selector.c
3961 Update after API modification (methods renamed)
3962 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3963 order to avoid problems selecting multiple elements on the column
3964 (hildon_touch_selector_unselect_iter): added the implementation
3965 * src/hildon-time-selector.c
3966 * src/hildon-date-selector.c
3967 * src/hildon-touch-selector-entry.c
3968 Update methods calls after hildon-touch-selector.h API modification (methods
3971 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3973 * src/hildon-stackable-window.c
3974 (hildon_stackable_window_finalize): Call the parent class's finalize.
3976 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3978 * examples/hildon-touch-selector-example.c: (create_selector): Use
3979 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3982 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3984 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3985 set a cell background color, to respect theming.
3987 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3989 * doc/hildon-docs.sgml
3992 * src/hildon-edit-toolbar.c
3993 * src/hildon-edit-toolbar.h
3994 * src/hildon.h: New HildonEditToolbar widget.
3996 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3998 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4001 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4002 * src/hildon-touch-selector.c
4003 (_create_new_column): use g_object_set instead of two g_object_set_property
4005 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4006 * src/hildon-touch-selector.c
4007 (_create_new_column): use of hildon_gtk_tree_view_new to create
4008 the treeview, instead of use directly g_object_new
4009 (_create_new_column): update the property name "vindicator-mode" for the
4010 new one "vscrollbar-policy"
4011 * examples/hildon-date-button-example.c
4012 * examples/hildon-picker-button-multicolumn-example.c
4013 * examples/hildon-touch-selector-entry-example.c
4014 * examples/hildon-touch-selector-example.c
4015 * examples/hildon-time-button-example.c
4016 * examples/hildon-picker-button-example.c
4017 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4018 to all the treeviews inside a pannable area.
4020 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-button.h
4023 * src/hildon-button.c (hildon_button_init)
4024 (hildon_button_set_arrangement, hildon_button_set_alignment)
4025 (hildon_button_set_title_alignment)
4026 (hildon_button_set_value_alignment)
4027 (hildon_button_set_image_alignment)
4028 (hildon_button_construct_child): New methods to set the alignment
4029 of the individual components of the button (title, value,
4030 image). Also, new method to alter the xscale and yscale properties
4031 of the GtkAlignment inside the button, so more complex layouts can
4034 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4036 * src/hildon-button.c (hildon_button_style_set)
4037 (hildon_button_class_init, hildon_button_set_arrangement)
4038 (hildon_button_construct_child): Apply style properties
4039 correctly. Use the 'image-spacing' style property too.
4041 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4044 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4047 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4049 * src/hildon-pannable-area.c,
4050 (hildon_pannable_area_size_request): Fixed problem with
4051 pannable-area size_request.
4053 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4055 Added management for the grab-focus to a child widget, like a
4056 range, we need to fade out the scrollbar when releasing.
4058 * src/hildon-pannable-area.c,
4059 (hildon_pannable_area_init): Connected the grab-focus signal to
4061 (hildon_pannable_area_grab_notify): Added this function in order
4062 to manage the situation when the grab-focus ends. We have to
4063 fade-out the scrollbar.
4065 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4067 * src/hildon-app-menu.c: Minor documentation update.
4069 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4071 * src/hildon-app-menu.c
4072 * examples/hildon-app-menu-example.c (create_menu): Update
4073 examples and documentation to explain how to connect callbacks.
4075 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4077 * examples/hildon-button-example.c
4078 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4079 hildon_stackable_window_new instead of gtk_window_new
4081 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4083 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4084 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4085 (hildon_pannable_area_set_property),
4086 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4087 (hildon_pannable_area_unrealize),
4088 (hildon_pannable_area_size_request),
4089 (hildon_pannable_area_size_allocate),
4090 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4091 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4092 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4093 (hildon_pannable_area_initial_effect),
4094 (hildon_pannable_area_redraw),
4095 (hildon_pannable_area_scroll_indicator_fade),
4096 (hildon_pannable_area_expose_event),
4097 (hildon_pannable_area_get_topmost), (synth_crossing),
4098 (hildon_pannable_area_button_press_cb),
4099 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4100 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4101 (hildon_pannable_area_motion_notify_cb),
4102 (hildon_pannable_area_button_release_cb),
4103 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4104 (hildon_pannable_area_remove),
4105 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4106 chage the code layout to a more GtkWidget like. Review the use of
4109 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4111 * examples/hildon-pannable-area-example-4.c,
4112 (main): Modified the name of the hindicator_mode to
4115 * src/hildon-pannable-area.c,
4116 (hildon_pannable_area_class_init),
4117 (hildon_pannable_area_motion_notify_cb),
4118 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4119 we have reduced the amount of signals and managed reviewed its
4120 rationale. Changed the default decelerate value.
4122 (hildon_pannable_area_add),
4123 (hildon_pannable_area_redraw): Refactored functions.
4125 (hildon_pannable_area_init),
4126 (hildon_pannable_area_get_property),
4127 (hildon_pannable_area_set_property):
4128 (hildon_pannable_draw_vscroll),
4129 (hildon_pannable_draw_hscroll),
4130 (hildon_pannable_area_initial_effect),
4131 (hildon_pannable_area_expose_event),
4132 (hildon_pannable_area_scroll),
4133 (hildon_pannable_area_button_press_cb),
4134 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4135 and vindicator_mode with hscrollbar_policy and
4136 vscrollbar_policy. Replaced hscroll and vscroll with
4137 hscroll_visible and vscroll_visible.
4139 (hildon_pannable_area_refresh): Refactor the function, remove
4140 variables and check the calls to this function, added resize
4141 conditions in case the children change their layout.
4143 (hildon_pannable_area_size_request): Added more detailed
4144 size_request calculation.
4147 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4149 * src/hildon-color-chooser.c
4150 (init_borders): use the correct gtk_border_free instead of g_free, to
4151 avoid a crash when this widget is used (ie: the three color selection
4154 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4156 * src/hildon-check-button.c,
4157 (hildon_check_button_set_active): Fixed problem when setting the
4158 active value, the widget was not redrawn.
4160 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4162 * src/hildon-pannable-area.c,
4163 (hildon_pannable_area_refresh),
4164 (hildon_pannable_area_scroll),
4165 (hildon_pannable_area_motion_notify_cb): Small code style change.
4167 (hildon_pannable_area_class_init): Default initial_hint set to
4168 FALSE, it is not in the specs.
4170 (hildon_pannable_area_initial_effect),
4171 (hildon_pannable_area_expose_event),
4172 (hildon_pannable_area_map),
4173 (hildon_pannable_area_init): Moved the launching point of the
4174 initial effect, it was in map but the sizes where not correct in
4175 that method so we do not know if we have the reproduce it. Now it
4176 is placed in the expose_event method and uses a variable to
4177 reproduce it just once.
4179 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4181 * src/hildon-pannable-area.c,
4182 (hildon_pannable_draw_vscroll),
4183 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4184 position allowed for the scrollbars.
4186 (hildon_pannable_area_size_allocate): Small style change.
4188 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4190 * src/hildon-pannable-area.c,
4191 (hildon_pannable_area_scroll_indicator_fade),
4192 (hildon_pannable_area_button_press_cb),
4193 (hildon_pannable_area_button_release_cb),
4194 (hildon_pannable_area_scroll_cb),
4195 (hildon_pannable_area_expose_event),
4196 (hildon_pannable_area_init): Added the define parameter
4197 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4198 and refactor the fade variable.
4200 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4202 * src/hildon-pannable-area.c,
4203 (hildon_pannable_area_redraw),
4204 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4205 lines, we were reimplemeting the redraw code.
4207 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4209 * src/hildon-pannable-area.c,
4210 (hildon_pannable_area_scroll_cb),
4211 (hildon_pannable_area_realize),
4212 (hildon_pannable_area_class_init): Added scroll_event management
4213 for pannable area, now we can scroll the usual desktop method.
4215 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4216 initialization of the parameters should depend on idle_id.
4218 (hildon_pannable_area_init),
4219 (hildon_pannable_area_map): Small code style modifications
4221 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4223 * src/hildon-pannable-area.c
4224 (hildon_pannable_area_button_press_cb),
4225 (hildon_pannable_area_motion_notify_cb),
4226 (hildon_pannable_area_button_release_cb),
4227 (hildon_pannable_area_size_allocate),
4228 (hildon_pannable_area_scroll_to): Improved the timeouts
4229 management, we avoid creating them each time.
4231 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4233 * src/hildon-pannable-area.c:
4234 (hildon_pannable_area_refresh),
4235 (hildon_pannable_area_motion_notify_cb),
4236 (hildon_pannable_area_class_init):
4237 * src/hildon-pannable-area.h:
4238 * src/hildon-touch-selector.c
4239 (_create_new_column):
4240 * examples/hildon-pannable-area-example-4.c:
4241 (horizontal_movement),
4242 (vertical_movement),
4244 Replaced the names of enums in the HildonPannableArea:
4245 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4246 HILDON_MOVEMENT_MODE_*
4247 - HILDON_PANNABLE_AREA_MOV_* ->
4249 - Removed HildonPannableAreaIndicatorMode, now we
4252 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4254 * examples/hildon-pannable-area-touch-grid-example.c
4255 * examples/hildon-pannable-area-touch-list-example.c: Fix
4256 compilation warnings.
4258 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4260 * src/hildon-gtk.c (hildon_gtk_button_new)
4261 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4262 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4263 images overriding the value of the "gtk-button-images" setting.
4265 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4267 * src/hildon-check-button.c (hildon_check_button_new):
4268 Instead of using a custom container, display the label and the
4269 checkbox using the standard GtkButton API.
4271 * examples/hildon-check-button-example.c (main): Don't use
4272 hildon_check_button_set_label() anymore
4274 * src/hildon-check-button.h
4275 * src/hildon-check-button.c
4276 (hildon_check_button_set_label, hildon_check_button_get_label):
4277 Set as deprecated, now we're using gtk_button_{get,set}_label()
4279 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4281 * src/hildon-pannable-area.c,
4282 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4283 GtkTreeview first line we detected it after the inclusion of the
4284 GtkWindowImpl in gtk+. We now check if the window is visible, not
4285 just if the pointer is over the window.
4286 (hildon_pannable_axis_scroll),
4287 (hildon_pannable_area_expose_event): Small style changes.
4289 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4291 * src/hildon-button.c: Update documentation.
4293 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4295 * examples/hildon-button-example.c: Add a switch to show images in
4298 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4300 * doc/hildon-docs.sgml: Some docs reorganization.
4302 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4304 * examples/hildon-pannable-area-touch-list-example.c
4306 * examples/hildon-pannable-area-touch-grid-example.c
4307 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4308 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4309 Fix memory leak when setting the tree model.
4311 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4315 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4317 * doc/hildon.types: Remove duplicated hildon_window_get_type
4318 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4319 documentation comment.
4321 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4323 * doc/Makefile.am: Complete list of private headers.
4325 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4327 * doc/hildon-docs.sgml
4328 * src/hildon-app-menu.c
4329 * src/hildon-bread-crumb.c
4330 * src/hildon-button.c
4332 * src/hildon-program.c
4333 * src/hildon-stackable-window.c
4334 * src/hildon-window.c: Lots of documentation updates.
4336 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4338 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4340 * configure.ac: Require Gtk+ 2.12.9 at least
4342 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4344 * src/hildon-pannable-area.c
4345 (hildon_pannable_area_scroll_indicator_fade),
4346 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4347 to protect the return of this timeout callbacks, avoiding deadlocks.
4349 2008-08-12 Christian Dywan <christian@imendio.com>
4352 * src/hildon-*.h: Ensure a consistent include order,
4353 include <gtk/gtk.h> instead of particular files and
4354 only include the topmost header in the gtk stack. See NB #39857
4356 2008-08-12 Christian Dywan <christian@imendio.com>
4358 * src/hildon-picker-dialog.c
4359 * src/hildon-touch-selector.c: Fix warnings about unused and
4360 uninitialized variables.
4362 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4364 * examples/Makefile.am
4365 * examples/hildon-check-button-example.c: Example of the hildon
4368 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4370 * src/hildon-window.h
4371 * src/hildon-window.c (hildon_window_class_init)
4372 (hildon_window_unset_program): Don't make
4373 hildon_window_unset_program a virtual function anymore.
4375 * src/hildon-stackable-window.c: Update documentation
4377 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4380 * doc/hildon-docs.sgml
4381 * doc/visual_index.xml
4382 * src/hildon-defines.c
4384 * src/hildon-helper.c
4385 * src/hildon-range-editor.c: Lots of documentation fixes.
4387 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4389 * examples/hildon-picker-button-multicolumn-example.c
4390 (create_touch_selector): Fix compilation warning.
4392 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4394 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4395 (hildon_pannable_area_button_release_cb)
4396 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4398 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4400 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4403 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-bread-crumb-trail.h
4406 * src/hildon-date-editor.c
4407 * src/hildon-date-selector.c
4408 * src/hildon-pannable-area.c
4409 * src/hildon-picker-dialog.c
4410 * src/hildon-time-selector.c
4411 * src/hildon-touch-selector-entry.c
4412 * src/hildon-touch-selector.c
4413 * src/hildon-touch-selector.h: Misc documentation fixes
4415 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4417 * examples/hildon-date-editor-example.c (main): Updated date
4420 * examples/hildon-note-example.c (on_confirmation_clicked):
4421 Updated confirmation note example.
4423 * src/hildon-date-editor.c
4424 * src/hildon-note.c: Updated sample programs in documentation.
4427 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-date-button.h:
4430 * src/hildon-picker-button.h:
4431 * src/hildon-time-button.c:
4432 * src/hildon-time-button.h:
4434 Some declarations changes to allow gtk-doc to document the widgets
4437 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4439 * src/hildon-date-button.c: Document the widget.
4440 * src/hildon-time-button.c: Document the widget.
4442 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4444 * src/hildon-picker-button.c: Document the widget.
4445 * src/hildon-touch-selector-entry.c: Document the widget.
4447 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4449 * doc/hildon-docs.sgml
4452 * src/hildon-check-button.h
4453 * src/hildon-check-button.c: New functions to create the Hildon
4457 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4459 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4461 * src/hildon-button.h
4462 * src/hildon-button.c
4463 (hildon_button_add_title_size_group)
4464 (hildon_button_add_value_size_group)
4465 (hildon_button_add_image_size_group)
4466 (hildon_button_add_size_groups): New functions to set size groups
4467 for the button labels and image.
4468 (hildon_button_new_full): Removed
4470 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4472 * src/hildon-time-selector.c
4473 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4474 in order to avoid a crash if gconf is not available
4476 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4478 * src/hildon-button.c (hildon_button_set_arrangement)
4479 (hildon_button_construct_child): Don't construct the button child
4480 before setting the arrangement.
4482 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4484 * src/hildon-program-private.h
4485 * src/hildon-program.c
4486 * src/hildon-program.h
4487 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4488 (hildon_program_peek_window_stack)
4489 (hildon_program_pop_window_stack)
4490 (hildon_program_go_to_root_window): HildonProgram now has a
4491 separate list for stackable windows. Functions are provided to
4492 manage that list with a stack-like API.
4494 * src/hildon-stackable-window.c: Stackable window management is
4495 now much simpler with the new HildonProgram API. Windows no
4496 longer need to be manually added to the program, they're
4497 automatically pushed to the top of the stack when shown.
4499 * examples/hildon-stackable-window-example.c: Updated example to
4500 reflect the API changes.
4502 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4504 * src/hildon-touch-selector.c: Comment out unimplemented
4505 hildon_touch_selector_insert_column() to avoid a compile warning.
4507 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4509 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4510 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4511 (hildon_touch_selector_set_column_selection_mode),
4512 (_hildon_touch_selector_set_model),
4513 (hildon_touch_selector_set_model):
4515 Complete review of HildonTouchSelector documentation.
4517 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4519 * doc/hildon-docs.sgml
4523 * src/hildon-gtk.c: Convenience functions for standard Gtk
4524 widgets, used to easily perform frequent operations.
4526 * src/hildon-button-helpers.h
4527 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4529 * src/hildon-helper.h
4530 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4531 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4533 * src/hildon-button.h
4534 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4536 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4538 * src/hildon-button.c (hildon_button_init)
4539 (hildon_button_set_arrangement, hildon_button_construct_child):
4540 Pack the image and the labels inside the same GtkAlignment so
4541 gtk_button_set_alignment() can be used
4543 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4545 * src/hildon-button.h
4546 * src/hildon-button.c
4547 (hildon_button_init, hildon_button_set_image)
4548 (hildon_button_set_image_position)
4549 (hildon_button_construct_child): New functions to add an image to
4552 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-date-button.c
4555 * src/hildon-picker-button.c
4556 * src/hildon-time-button.c
4557 * src/hildon-button.c:
4558 (hildon_button_class_init): "size-flags" renamed to "size"
4559 (hildon_button_set_title): Hide the title label if set to NULL.
4561 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4563 HildonButtonFlags split into HildonButtonArrangement (to set the
4564 button layout) and HildonSizeType (which can be used for any
4567 * src/hildon-button.h
4568 * src/hildon-button.c
4569 (hildon_button_class_init)
4570 (hildon_button_set_arrangement)
4571 (hildon_button_set_property): New "size-flags"
4572 property. "arrangement-flags" renamed to "arrangement".
4573 (hildon_button_new, hildon_button_new_with_text)
4574 (hildon_button_new_full): Constructors updated to reflect type changes.
4576 * src/hildon-helper.h
4577 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4578 to set the size of a widget.
4582 * src/hildon-button-helpers.c
4583 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4585 * src/hildon-date-button.c
4586 * src/hildon-date-button.h
4587 * src/hildon-picker-button.c
4588 * src/hildon-picker-button.h
4589 * src/hildon-time-button.c
4590 * src/hildon-time-button.h: Updated widgets to reflect
4591 HildonButton API changes.
4593 * examples/hildon-button-example.c
4594 * examples/hildon-date-button-example.c
4595 * examples/hildon-picker-button-example.c
4596 * examples/hildon-picker-button-multicolumn-example.c
4597 * examples/hildon-time-button-example.c
4598 * examples/hildon-touch-selector-entry-example.c
4599 * examples/hildon-touch-selector-example.c: Updated examples to
4600 reflect HildonButton API changes.
4602 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4604 * doc/hildon-docs.sgml:
4606 * examples/Makefile.am:
4607 * examples/hildon-touch-selector-entry-example.c:
4609 * src/hildon-touch-selector-entry.c:
4610 * src/hildon-touch-selector-entry.h:
4613 Moved HildonTouchSelectorEntry from sandbox. Added its
4614 documentation and examples.
4616 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4618 * src/hildon-touch-selector.h:
4619 * examples/hildon-picker-button-multicolumn-example.c:
4620 (hildon_touch_selector_append_text_column): Add a gboolean
4621 parameter to determine if text must be centered in the column.
4623 * src/hildon-date-selector.c: (hildon_date_selector_init):
4624 * src/hildon-time-selector.c: (hildon_time_selector_init):
4625 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4626 (create_touch_selector): Update widgets and example to reflect
4629 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4631 * src/hildon-touch-selector.c:
4632 (hildon_touch_selector_set_active_iter): Set also the cursor in
4635 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4637 * doc/hildon-docs.sgml
4640 * src/hildon-toggle-button.c
4641 * src/hildon-toggle-button.h
4642 * src/hildon.h: Removed HildonToggleButton widget, a derived
4643 class is not necessary for this.
4645 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4647 * src/hildon-pannable-area.c,
4648 (hildon_pannable_area_realize),
4649 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4652 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4655 "done" button the default widget for the dialog.
4657 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4659 * src/hildon-touch-selector.c:
4660 (hildon_touch_selector_class_init),
4661 (hildon_touch_selector_get_property),
4662 (_hildon_touch_selector_set_model),
4663 (_hildon_touch_selector_has_multiple_selection),
4664 (hildon_touch_selector_has_multiple_selection):
4665 Add a "has-multiple-selection" property with a virtual
4666 has_multiple_selection() method to allow derived classes to
4667 override the default value for it. See the method and property
4668 documentation for details.
4670 * src/hildon-touch-selector.h: Add the new API.
4672 * src/hildon-picker-dialog.c: (requires_done_button): Call
4673 hildon_touch_selector_has_multiple_selection() instead of
4674 determining the need for a button itself.
4676 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4679 (_hildon_touch_selector_set_model),
4680 (hildon_touch_selector_set_model): Move working code to
4681 _hildon_touch_selector_set_mode(). Call the class method instead.
4683 * src/hildon-touch-selector.h: Add (*set_model) to
4684 HildonTouchSelectorClass.
4686 Make hildon_touch_selector_set_model() a virtual method, so that
4687 derived classes can extend it and do fancy stuff with the model.
4689 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4691 * configure.ac: Set back the tarname in AC_INIT to hildon.
4693 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4697 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4698 instead of libesd (NB#86876). Volume handling is still an open issue.
4700 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4703 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4705 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4706 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4707 derived class to ease placement of an entry widget in
4708 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4709 end, where the selector columns are packed now.
4711 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4713 * src/hildon-picker-button.c: Removed the simple _text() API.
4714 * src/hildon-picker-button.h: Likewise.
4716 * src/hildon-touch-selector.h:
4717 * src/hildon-touch-selector.c:
4718 (hildon_touch_selector_new_text),
4719 (hildon_touch_selector_append_text),
4720 (hildon_touch_selector_prepend_text),
4721 (hildon_touch_selector_insert_text):
4723 Moved the simple _text() API from HildonPickerButton to
4724 HildonTouchPicker, to provide better escalability and not to tie
4725 that API to HildonPickerButton.
4727 * examples/hildon-picker-button-example.c: (main): Example updated.
4729 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4731 * src/hildon-button.c: Updated documentation.
4733 * examples/hildon-button-example.c: Add the posibility to create
4734 the buttons using horizontal layout for title and value.
4736 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4738 * src/hildon-app-menu-private.h
4739 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4740 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4741 GtkSizeGroup for the filters, use the 'homogeneous' property of
4744 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4746 * examples/hildon-button-example.c: Updated example.
4748 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4750 * doc/hildon-docs.sgml:
4753 Update documentation.
4755 * examples/Makefile.am: Update renamed examples.
4757 * examples/hildon-picker-button-multicolumn-example.c:
4758 (create_touch_selector), (main): Update after the rename.
4760 * examples/hildon-touch-picker-example.c: Removed.
4761 * examples/hildon-touch-selector-example.c: (value_changed),
4762 (create_selector), (get_visible_content), (main): Renamed from
4763 hildon-touch-picker-example.c
4765 * src/Makefile.am: Updated renamed files.
4767 * src/hildon-date-button.c: (hildon_date_button_init),
4768 (hildon_date_button_get_date), (hildon_date_button_set_date):
4769 * src/hildon-date-selector.c: (hildon_date_selector_init),
4770 (_custom_print_func), (_update_day_model),
4771 (_manage_selector_change_cb),
4772 (hildon_date_selector_select_current_date),
4773 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4774 * src/hildon-date-selector.h:
4775 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4776 (hildon_picker_button_set_property),
4777 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4778 (hildon_picker_button_init), (hildon_picker_button_new_text),
4779 (hildon_picker_button_append_text),
4780 (hildon_picker_button_prepend_text),
4781 (hildon_picker_button_insert_text),
4782 (hildon_picker_button_set_selector),
4783 (hildon_picker_button_get_selector):
4784 * src/hildon-picker-button.h:
4785 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4786 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4787 (_update_title_on_selector_changed_cb), (requires_done_button),
4788 (_hildon_picker_dialog_set_selector),
4789 (hildon_picker_dialog_set_selector),
4790 (hildon_picker_dialog_get_selector):
4791 * src/hildon-picker-dialog.h:
4792 * src/hildon-time-button.c: (hildon_time_button_init),
4793 (hildon_time_button_get_time), (hildon_time_button_set_time):
4794 * src/hildon-time-selector.c: (hildon_time_selector_init),
4795 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4796 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4797 * src/hildon-time-selector.h:
4800 Massive code updates after the rename.
4802 * src/hildon-touch-picker.c: Removed.
4803 * src/hildon-touch-picker.h: Removed.
4805 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4806 (hildon_touch_selector_init), (hildon_touch_selector_map),
4807 (hildon_touch_selector_remove), (_default_print_func),
4808 (_selection_changed_cb), (_create_new_column),
4809 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4810 (hildon_touch_selector_append_text_column),
4811 (hildon_touch_selector_remove_column),
4812 (hildon_touch_selector_set_column_attributes),
4813 (hildon_touch_selector_insert_column),
4814 (hildon_touch_selector_get_num_columns),
4815 (hildon_touch_selector_get_column_selection_mode),
4816 (hildon_touch_selector_set_column_selection_mode),
4817 (hildon_touch_selector_set_print_func),
4818 (hildon_touch_selector_get_print_func),
4819 (hildon_touch_selector_get_active_iter),
4820 (hildon_touch_selector_set_active_iter),
4821 (hildon_touch_selector_get_selected_rows),
4822 (hildon_touch_selector_get_model),
4823 (hildon_touch_selector_set_model),
4824 (hildon_touch_selector_get_current_text),
4825 (_hildon_touch_selector_center_on_selected_items):
4826 * src/hildon-touch-selector.h: Renamed from
4827 hildon-touch-picker.[ch]
4829 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4830 references, code examples, and related documentation.
4832 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4834 * doc/hildon-docs.sgml
4837 * src/hildon-toggle-button.c
4838 * src/hildon-toggle-button.h
4839 * src/hildon.h: New HildonToggleButton widget.
4841 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4843 * src/hildon-button.c: Add API documentation.
4844 (hildon_button_set_size_groups): Check input parameters
4846 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4848 * src/hildon-pannable-area.c
4849 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4850 effect after reaching the movement thredshold. This way we start
4851 using the distance after passing the thredshold.
4853 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4855 * src/hildon-button.c: (hildon_button_set_property): Use the
4856 appropriate g_value_get_flags() method.
4858 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4860 * doc/hildon-docs.sgml:
4863 Add the touch pickers, picker dialogs, and picker button widgets
4864 to the documentation.
4866 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4868 * src/hildon-button.c: (hildon_button_set_property),
4869 (hildon_button_class_init): Make "arrangement-flags" a proper
4870 G_TYPE_FLAGS derived property.
4872 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4874 * examples/Makefile.am: Add below examples.
4875 * examples/hildon-date-button-example.c:
4876 * examples/hildon-picker-button-example.c:
4877 * examples/hildon-picker-button-multicolumn-example.c:
4878 * examples/hildon-time-button-example.c:
4879 * examples/hildon-touch-picker-example.c:
4881 Add examples for the recently added touch pickers,
4882 picker dialogs, and picker button widgets.
4884 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4886 * src/hildon-button.c: Add some API documentation
4888 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4890 * src/hildon-button.h
4891 * src/hildon-button.c
4893 (hildon_button_new_with_text): New constructor to create a button
4894 with no text at all.
4895 (hildon_button_init, hildon_button_set_arrangement)
4896 (hildon_button_set_title, hildon_button_set_value)
4897 (hildon_button_set_text)
4898 (hildon_button_construct_child): Hide the value when it's not used
4899 so the rest of the text is properly aligned.
4900 Allow creating buttons with arbitrary widgets inside (not just
4901 title/value labels).
4903 * examples/hildon-button-example.c (vertical_buttons_window)
4904 (horizontal_buttons_window): Update example to use new API.
4906 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4908 * src/Makefile.am: Added HildonTimeButton.
4909 * src/hildon-time-button.c: Added missing LGPL header.
4910 * src/hildon-time-button.h: Added missing LGPL header.
4911 * src/hildon.h: Add hildon-time-button.h
4913 Copied HildonTimeButton from sandbox to trunk. Future work on this
4914 widget must take place in trunk.
4916 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4918 * src/Makefile.am: Added HildonDateButton.
4919 * src/hildon-date-button.c: Update includes.
4920 * src/hildon.h: Add hildon-date-button.h
4922 Copied HildonDateButton from sandbox to trunk. Future work on this
4923 widget must take place in trunk.
4925 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4927 * src/Makefile.am: Added HildonPickerButton.
4928 * src/hildon-picker-button.h: Update includes.
4929 * src/hildon.h: Add hildon-picker-button.h
4931 Copied HildonPickerButton from sandbox to trunk. Future work on
4932 this widget must take place in trunk.
4934 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4936 * src/Makefile.am: Added HildonPickerDialog.
4937 * src/hildon-picker-dialog.c: Update includes.
4938 * src/hildon.h: Add hildon-picker-dialog.h
4940 Copied HildonPickerDialog from sandbox to trunk. Future work
4941 on this widget must take place in trunk.
4943 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4945 * src/Makefile.am: Added HildonTimeSelector.
4946 * src/hildon.h: Add hildon-time-selector.h
4948 Copied HildonTimeSelector widget from sandbox to trunk. Future
4949 work on this widget must happen in trunk.
4951 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4953 * src/Makefile.am: Added HildonDateSelector.
4954 * src/hildon.h: Add hildon-date-selector.h
4956 Copied HildonDateSelector widget from sandbox to trunk. Future
4957 work on this widget must happen in trunk.
4959 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4961 * src/Makefile.am: Added HildonTouchPicker.
4962 * src/hildon-touch-picker.c: Update includes.
4963 * src/hildon.h: Add hildon-touch-picker.h
4965 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4966 on this widget must happen in trunk.
4968 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4970 * src/hildon-pannable-area.c:
4971 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4973 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4975 * examples/hildon-app-menu-example.c (main): Let the window
4978 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4980 * src/hildon-pannable-area.c
4981 (hildon_pannable_area_class_init): Set the min value of the
4982 overshoot properties to zero, which points out that not
4983 overshooting allowed.
4985 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4987 Modified the procedure to get the widget at a point inside the
4988 pannable area when using the movement type signals. Now the user
4989 has to call a function to get the child, that way we just
4990 calculate the child in case the user really want to use it and not
4993 * src/hildon-marshalers.list: Modified the marshallers, now we do
4994 not have the widget as a parameter.
4996 * src/hildon-pannable-area.c
4997 (hildon_pannable_area_motion_notify_cb),
4998 (hildon_pannable_area_class_init),
4999 (hildon_pannable_get_child_widget_at): Removed the widget
5000 parameter from the signal callback. We have also refactored the
5001 emission of the signals.
5003 * src/hildon-pannable-area.h: Added a new method to the API to
5004 calculate a widget at a point inside the pannable area,
5005 hildon_pannable_get_child_widget_at.
5007 * examples/hildon-pannable-area-example-4.c
5008 (horizontal_movement): Modified the example to use the new API,
5009 added condition to control which widget is under the event. This
5010 way we can avoid scrolling laterally over other widgets.
5012 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5014 * src/hildon-pannable-area.c
5015 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5016 modes, we stop getting the pointer events due to returning the
5017 callback without properly calling the get pointer again. Fixed
5018 also an error using the hscroll and vscroll.
5020 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5022 * src/hildon-app-menu-private.h
5023 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5024 (hildon_app_menu_button_release, hildon_app_menu_init)
5025 (hildon_app_menu_class_init): Don't hide the menu on button
5026 release if the user didn't press outside first.
5028 * src/hildon-window.h
5029 * src/hildon-window.c (hildon_window_toggle_menu)
5030 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5031 hildon_window_toggle_menu a virtual function for the stackable
5032 window to override it.
5034 * src/hildon-stackable-window.h
5035 * src/hildon-stackable-window-private.h
5036 * src/hildon-stackable-window.c
5037 (hildon_stackable_window_realize)
5038 (hildon_stackable_window_finalize)
5039 (hildon_stackable_window_class_init)
5040 (hildon_stackable_window_init)
5041 (hildon_stackable_window_set_main_menu): New function to set the
5042 app menu of a HildonStackableWindow.
5044 * examples/hildon-app-menu-example.c: Remove the button to show
5045 the app menu, now it'll be shown when clicking on the title bar
5048 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5050 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5051 set the widget name if the arrangement flags do not specify
5054 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5056 * src/hildon-button.c: (hildon_button_set_property),
5057 (hildon_button_class_init), (hildon_button_new_full),
5058 (hildon_button_set_arrangement): Added "arrangement-flags"
5061 Make the HildonButtonFlags a construction-only property, to allow
5062 subclasses to set them properly.
5064 2008-07-21 Tim Janik <timj@imendio.com>
5066 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5067 insertion position after backspace, so additional digits are appended,
5070 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5072 * src/hildon-pannable-area.c,
5073 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5074 TODO list, it was complete and removed the g_debug and g_print
5077 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5079 Added the movement modes to the hildon-pannable-area, with this
5080 modes the developers can control in which directions the widget
5081 can scroll. They can also connect to signals in order to do
5082 something when that happens, allowing applications scroll. There
5083 is an example uploaded showing how to use it.
5085 * examples/Makefile.am:
5086 * examples/hildon-pannable-area-example-4.c: Added this example of
5087 an application using the modes.
5089 * src/hildon-marshalers.list: Added a new marshaller for the new
5092 * src/hildon-pannable-area.h: Added new enumerations and flags in
5093 order to control the movement modes and the new signals to warn
5094 about the movements in the area.
5096 * src/hildon-pannable-area.c:
5097 (hildon_pannable_axis_scroll),
5098 (hildon_pannable_area_scroll),
5099 (hildon_pannable_area_motion_notify_cb),
5100 (hildon_pannable_area_get_property),
5101 (hildon_pannable_area_set_property),
5102 (hildon_pannable_area_map),
5103 (hildon_pannable_area_class_init),
5104 (hildon_pannable_area_init),
5105 (hildon_pannable_area_jump_to): Added the modes to control the
5106 movement in the widget. We have added properties to control it,
5107 signals to warn about the movements and refactored some code.
5109 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5111 Changes required in order to allow vfast_factor set to zero to
5114 * src/hildon-pannable-area.c:
5115 (hildon_pannable_area_button_press_cb): Changed the condition, it
5116 is required for not allowing click when vfast_factor is zero.
5117 (hildon_pannable_area_timeout): Initialized velocity variables
5118 when we stop moving, it was less than 1 but not zero and we need
5119 to check zero in some situations.
5120 (hildon_pannable_area_class_init): Changed the default value of
5121 the speed factor, now the button_press is just sent in case the
5122 speed is 2 per cent of the max speed.
5123 (hildon_pannable_area_init): Initialization with 0.
5125 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5127 * src/hildon-pannable-area.c,
5128 (hildon_pannable_area_get_topmost): replaced
5129 gdk_window_get_children with gdk_window_peek_children, this way we
5130 do not have to free the list because it is not a copy.
5132 (hildon_pannable_axis_scroll),
5133 (hildon_pannable_area_scroll),
5134 (hildon_pannable_area_timeout),
5135 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5136 two parameters that were only used inside the
5137 hildon_pannable_area_scroll function.
5139 * examples/hildon-pannable-area-example.c,
5140 (get_sawtooth_label): Fixed small memory leak.
5142 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5144 More checks for the case where the overshoot is bigger than the
5147 * src/hildon-pannable-area.c:
5148 (hildon_pannable_draw_vscroll),
5149 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5150 to draw the slider of the scrollbar under the other scrollbar.
5151 (hildon_pannable_area_expose_event): added new checks to control
5152 the drawing of the overshooting area rectangle, in case it is too
5153 big for the area of the widget.
5154 (hildon_pannable_area_size_allocate): add more checks to avoid
5155 setting a position to the child widget outside the area.
5157 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5159 * src/hildon-pannable-area.c
5160 (hildon_pannable_area_size_allocate): Added conditions to control
5161 when overshooting is bigger than the allocated space for the
5162 children, this avoids negative allocations.
5164 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5166 * doc/hildon-docs.sgml
5168 * examples/Makefile.am
5169 * examples/hildon-button-example.c
5171 * src/hildon-button.c
5172 * src/hildon-button.h
5173 * src/hildon.h: Initial version of the new HildonButton widget,
5176 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5178 * src/hildon-pannable-area.c:
5179 (hildon_pannable_area_button_press_cb),
5180 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5181 (hildon_pannable_area_motion_notify_cb),
5182 (hildon_pannable_area_button_release_cb),
5183 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5184 (hildon_pannable_area_jump_to_child):
5186 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5188 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5190 * examples/Makefile.am
5191 * examples/hildon-pannable-area-touch-grid-example.c
5192 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5193 the Hildon Touch List and Hildon Touch Grid using the
5194 HildonPannableArea widget.
5196 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5198 * src/hildon-pannable-area.c,
5199 (hildon_pannable_area_button_press_cb),
5200 (hildon_pannable_area_refresh),
5201 (hildon_pannable_area_scroll),
5202 (hildon_pannable_area_motion_notify_cb),
5203 (hildon_pannable_area_button_release_cb),
5204 (hildon_pannable_area_expose_event),
5205 (hildon_pannable_area_add),
5206 (hildon_pannable_area_remove),
5207 (hildon_pannable_area_realize),
5208 (hildon_pannable_area_size_allocate),
5209 (hildon_pannable_area_class_init),
5210 (hildon_pannable_area_init),
5211 (hildon_pannable_area_scroll_to_child),
5212 (hildon_pannable_area_jump_to_child): Fixed the problem of
5213 removing the child from the GtkBin, we have rearranged the widget
5214 hierarchy, now there is no GtkAlignment which was not doing
5215 anything interesting but breaking some of the assumptions of
5216 GtkContainer. Now developers if they want to add a GtkAlignment
5217 they could, but it is not inside the area.
5219 We had to review the whole allocation/expose process, now it is
5220 improved and we save at least three signals which would be saving
5221 some time when rendering the widget. The allocation of the
5222 scrollbars is now made in the allocate method as usual.
5224 We have also added some conditions in order to control when there
5225 is no child of the pannable area. Maybe we will need more work
5228 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5230 * src/hildon-pannable-area.c,
5231 (hildon_pannable_area_dispose): Released the fade-out timeout when
5232 disposing the widget.
5234 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5236 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5237 zero, we are going to use that property in order to deactivate the
5239 (hildon_pannable_axis_scroll),
5240 (hildon_pannable_area_size_allocate): Added conditions to control
5241 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5242 call, now it is called in all situations and we can remove calls
5243 in the allocate method.
5244 (hildon_pannable_area_map): Control the situation when
5245 overshoot_max is zero, we do not need the timeout.
5246 (hildon_pannable_area_class_init): Added documentation in order to
5247 point out that setting zero to overshoot_max means deactivate
5250 NOTE: removed trailing whitespaces from my previous comments of
5253 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5255 * src/hildon-pannable-area.c
5256 (hildon_pannable_area_get_property),
5257 (hildon_pannable_area_set_property),
5258 (hildon_pannable_area_map),
5259 (hildon_pannable_area_class_init),
5260 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5261 to cause the widget give a hint about its panning abilities upon
5264 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5266 * src/hildon-pannable-area.c: Several documentation improvements.
5268 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5270 * src/hildon-program.c
5271 * src/hildon-stackable-window.c: Update documentation.
5273 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5275 * src/hildon-stackable-window.c (get_previous_window_if_last):
5276 Renamed get_last_window()
5277 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5278 (hildon_stackable_window_unset_program):
5280 (get_previous_window_if_last):
5281 Detect if the window hasn't been added to a HildonProgram.
5283 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5285 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-pannable-area.c
5288 (hildon_pannable_area_button_press_cb),
5289 (hildon_pannable_axis_scroll),
5290 (hildon_pannable_area_scroll),
5291 (hildon_pannable_area_timeout),
5292 (hildon_pannable_calculate_vel_factor),
5293 (hildon_pannable_area_get_property),
5294 (hildon_pannable_area_set_property),
5295 (hildon_pannable_area_class_init),
5296 (hildon_pannable_area_init),
5297 (hildon_pannable_area_scroll_to),
5298 (hildon_pannable_area_jump_to),
5299 (hildon_pannable_area_scroll_to_child),
5300 (hildon_pannable_area_jump_to_child):
5301 * src/hildon-pannable-area.h: Added the new API functions:
5302 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5303 hildon_pannable_area_scroll_to_child,
5304 hildon_pannable_area_jump_to_child
5307 * examples/Makefile.am
5308 * examples/hildon-pannable-area-example-2.c
5309 * examples/hildon-pannable-area-example-3.c: Added these two new
5310 examples in order to test and show how the new APIs work.
5312 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5314 * examples/hildon-stackable-window-example.c (new_window):
5315 * src/Makefile.am (noinst_HEADERS):
5316 * src/hildon-program.c (hildon_program_go_to_root_window):
5317 * src/hildon-program.h:
5318 * src/hildon-stackable-window-private.h:
5319 * src/hildon-stackable-window.c:
5320 * src/hildon-stackable-window.h:
5321 Create hildon-stackable-window-private.h
5322 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5324 * examples/hildon-app-menu-example.c (create_menu):
5325 * examples/hildon-hvolumebar-insensitive-example.c (main):
5326 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5327 * examples/hildon-toolbar-seekbar-example.c (main):
5328 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5329 * src/hildon-banner.c (hildon_banner_set_property):
5330 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5331 Fix compilation warnings
5333 * src/hildon-window.c:
5336 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5338 * src/hildon-stackable-window.c
5339 (hildon_stackable_window_unset_program):
5340 Calculate correctly whether to show the previous window if the
5341 last one is removed from the stack.
5342 (hildon_stackable_window_go_to_root_window):
5343 Send delete events starting from the topmost window.
5344 Stop if one of the windows is not destroyed.
5346 (hildon_stackable_window_delete_event)
5347 (hildon_stackable_window_class_init):
5348 Ignore the delete event if the window is not the topmost one.
5350 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5352 * src/hildon-pannable-area.c
5353 (hildon_pannable_area_expose_event): Fixed a problem when
5354 selecting the background color of the scrollbars.
5356 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5358 * examples/hildon-stackable-window-example.c
5359 * src/hildon-stackable-window.c
5360 * src/hildon-stackable-window.h
5361 hildon_stackable_window_go_home() renamed to
5362 hildon_stackable_window_go_to_root_window()
5363 Send delete events to windows rather than closing them with
5364 gtk_widget_destroy()
5366 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5368 * src/hildon-pannable-area.c
5369 (hildon_pannable_area_button_release_cb): Fix overshooting in
5372 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5374 * src/hildon-pannable-area.c
5375 (hildon_pannable_area_init): Initially show the scroll indicators.
5376 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5378 Add initial effect showing the widget is pannable.
5380 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5382 * src/hildon-pannable-area.c
5383 (hildon_pannable_area_class_init)
5384 (hildon_pannable_area_set_property)
5385 (hildon_pannable_area_get_property)
5386 (hildon_pannable_area_button_press_cb):
5387 New 'velocity_fast_factor' property to decide which velocity is
5390 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5392 * src/hildon-pannable-area.c
5393 (hildon_pannable_draw_hscroll)
5394 (hildon_pannable_draw_vscroll):
5395 Use float variables to calculate the size of the scrollbars to
5396 avoid error propagation and resizing during scrolling.
5398 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5400 * src/hildon-pannable-area.c
5401 (hildon_pannable_draw_vscroll)
5402 (hildon_pannable_draw_hscroll):
5403 Define a minimum size for the scroll bars
5405 * src/hildon-stackable-window.c
5406 (hildon_stackable_window_go_home): Fix compilation warning
5407 (get_last_window): Minor optimizations
5408 (hildon_stackable_window_class_init): Fix initialization of
5411 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5413 * src/hildon-stackable-window.c: Fixed typos in doc
5415 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5417 * src/hildon-pannable-area.c
5418 (hildon_pannable_area_scroll):
5419 Calculate here whether we need to scroll instead of using the booleans
5420 that tell us whether to /draw/ the scrolling bars.
5422 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5424 * src/hildon-app-menu.h
5426 * src/hildon-app-menu.c
5427 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5428 multiple filter groups related code and API. Now we support only
5430 * examples/hildon-app-menu-example.c:
5432 Update to reflect API changes.
5434 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5436 * src/hildon-stackable-window.c
5437 (hildon_stackable_window_class_init):
5438 Add hildon_stackable_window_realize.
5439 (hildon_stackable_window_realize):
5440 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5441 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5442 to apply theming and behavior specific to HildonStackableWindow
5445 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5447 * src/hildon-note.c (hildon_note_button_release):
5448 Close information notes also when tapping on them
5450 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5452 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5453 ELASTICITY, refactor and review, fix some issues with drawing
5456 * src/hildon-pannable-area.c:
5457 (hildon_pannable_area_button_press_cb): removed the conditions to
5458 avoid clicks when overshooting. It is not required
5460 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5461 define. Refatored and reviewed the code, now we do not need to
5462 manage velocity in motion_notify.
5464 (hildon_pannable_area_motion_notify_cb): We have moved the code
5465 that controls the area_scroll to the axis_scroll function and get
5466 rid of duplicated code.
5468 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5470 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5472 (hildon_pannable_draw_vscroll),
5473 (hildon_pannable_draw_hscroll): Fixed the problems with the
5474 scrollbar drawing, now we do not use two surfaces, it is easier
5475 and saves resources.
5477 (hildon_pannable_area_get_property): Style modification.
5479 (hildon_pannable_area_class_init): Changed some default values.
5481 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5483 * src/hildon-stackable-window.c: Fix some typos in the
5486 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5488 * src/hildon-dialog.c:
5489 Change indentation style
5492 (hildon_note_button_release):
5493 Use root coordinates to check if the release event happened
5496 * src/hildon-app-menu.c
5497 (hildon_app_menu_button_release):
5498 Remove unnecessary check
5500 * examples/hildon-app-menu-example.c
5502 Add cast to fix warning
5504 * src/hildon-app-menu.c
5505 (hildon_app_menu_class_init):
5506 New inner-border style property.
5507 Set all default spacings to 16
5508 (hildon_app_menu_init):
5509 Use vertical-spacing to set the space between filter buttons and
5510 regular menu buttons.
5511 Set the default container border using the inner-border value.
5513 * examples/hildon-app-menu-example.c
5515 Don't set the menu border explicitly, now we have the inner-border
5516 style property for that.
5518 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5520 * src/hildon-app-menu.c (hildon_app_menu_init):
5521 Make the window modal
5523 * src/hildon-note.c (hildon_note_map)
5524 * src/hildon-app-menu.c (hildon_app_menu_map):
5525 Destroy the grab window if we're unable to grab the pointer
5527 * src/hildon-app-menu-private.h
5528 * src/hildon-app-menu.c
5529 (hildon_app_menu_init, hildon_app_menu_finalize)
5530 (hildon_app_menu_map, hildon_app_menu_unmap)
5531 (hildon_app_menu_button_release)
5532 (grab_transfer_window_get):
5533 Bring back the grab window
5534 (hildon_app_menu_realize):
5535 Decorate the window, set WM hint for Matchbox
5537 * src/hildon-note.c (hildon_note_realize):
5538 * src/hildon-banner.c (hildon_banner_realize):
5539 Add WM hints for Matchbox
5541 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5543 * src/hildon-app-menu-private.h
5544 * src/hildon-app-menu.c
5545 (hildon_app_menu_init, hildon_app_menu_finalize)
5546 (hildon_app_menu_map, hildon_app_menu_unmap)
5547 (hildon_app_menu_button_release):
5548 Remove the grab window, it's not needed anymore
5550 * src/hildon-program.c
5551 Fixed typo in documentation
5553 * src/hildon-app-menu.h
5554 * src/hildon-app-menu.c
5555 * examples/hildon-app-menu-example.c
5556 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5558 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5561 Added new transfer_window and close_if_pressed_outside private
5563 (hildon_note_rebuild):
5564 Don't add a cancel button to the information note. It will be
5565 closed when tapping outside
5566 Remove the comment about the OK button in the documentation
5567 (hildon_note_realize):
5568 Set the notification type hint
5569 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5570 Grab/ungrab pointer and keyboard if the note has to be closed when
5572 (hildon_note_button_release):
5573 Close the note when tapping outside (if applicable)
5575 * src/hildon-app-menu.c
5576 Grab/ungrab pointer and keyboard on map/unmap
5577 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5578 Close the menu on button release, not button press
5580 * src/hildon-banner.c
5581 (hildon_banner_set_property)
5582 (hildon_banner_check_position):
5583 Make the banner use the full width of the screen
5584 (hildon_banner_show_information)
5585 (hildon_banner_show_information_with_markup):
5586 Don't display an icon by default
5588 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5590 Added fading scrollbars and adapted all the overshooting code to
5591 horizontal scrolling. We have also fixed bugs with overshooting
5592 and current fading implementation.
5594 * src/hildon-pannable-area.c
5595 (hildon_pannable_area_scroll_indicator_fade): Time out function
5596 used to change the transparency of the scrollbars.
5598 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5599 control and fixed a problem with fading, we now remove the fade
5600 timeout before adding a new one.
5602 (hildon_pannable_axis_scroll):
5603 (hildon_pannable_area_scroll):
5604 (hildon_pannable_area_timeout): Added this functions so we can use
5605 the scroll code both for vertical and horizontal.
5607 (hildon_pannable_area_motion_notify_cb):
5608 (hildon_pannable_area_button_release_cb): Added the horizontal
5609 scrolling control, fixed a problem with the overshooting timeout.
5611 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5612 painting of the scrolls.
5614 (hildon_pannable_draw_vscroll):
5615 (hildon_pannable_draw_hscroll):
5616 (hildon_pannable_area_expose_event):
5617 Draw both scrollbars and rectangles in the overshooting area.
5619 (hildon_pannable_area_get_property):
5620 (hildon_pannable_area_set_property):
5621 Modified the overshoot property to overshoot_max
5623 (hildon_pannable_area_map):
5624 Replaced the comments symbols.
5626 (hildon_pannable_area_size_allocate):
5627 (hildon_pannable_area_class_init):
5628 (hildon_pannable_area_init): Added horizontal scroll, fading
5629 effect properties, fixed a problem when overshooting in the bottom
5632 * examples/hildon-pannable-area-example.c:
5633 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5634 looks better in the example.
5636 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5638 * src/hildon-window.c
5639 * src/hildon-window.h
5640 (hildon_window_class_init)
5641 (hildon_window_unset_program)
5642 (hildon_window_unset_program_real):
5643 Make unset_program a virtual function
5645 * src/hildon-stackable-window.c
5646 * src/hildon-stackable-window.h
5647 Added hildon_stackable_window_go_home()
5649 * examples/Makefile.am
5650 * examples/hildon-stackable-window-example.c
5651 HildonStackableWindow example
5653 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5655 * hildon-pannable-area.c: Added the overshoot property and removed
5656 the OVERSHOOT define. Fixed an indent style error.
5657 (hildon_pannable_area_motion_notify_cb):
5658 (hildon_pannable_area_get_property):
5659 (hildon_pannable_area_set_property): Add overshoot property.
5661 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5664 (hildon_pannable_area_class_init): Installed the new property.
5666 * hildon-pannable-area-example.c: Added a sawtooth function, this
5667 way it is easier to check the movement in the pannable.
5668 (get_sawtooth_label): Added this function.
5669 (main): Now we get the labels from the new get_sawtooth_label
5672 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5674 * src/hildon-app-menu.h
5675 * src/hildon-app-menu.c
5676 Renamed API variables for consistency
5678 (hildon_app_menu_popup): Use also the default window size to
5679 decide where to place the menu
5681 (hildon_app_menu_init, hildon_app_menu_class_init): New
5682 external-border style property
5684 2008-05-26 Michael Natterer <mitch@imendio.com>
5686 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5687 widget_class->tap_and_hold_setup signal slot doesn't exist any
5688 longer, stop overriding it.
5690 (hildon_time_editor_init): g_signal_connect() to the
5691 tap-and-hold-setup signal instead.
5693 (hildon_time_editor_entry_keypress): add cast to fix warning.
5695 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5697 * doc/hildon-docs.sgml
5699 * examples/Makefile.am
5700 * examples/hildon-app-menu-example.c
5702 * src/hildon-app-menu-private.h
5703 * src/hildon-app-menu.c
5704 * src/hildon-app-menu.h
5706 New HildonAppMenu widget
5708 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5710 Rearranged the inheritance of the pannable area, now it inherits
5711 from GtkBin. This will allow us to control the event_window and
5712 the allocation process of the widget, required for some effects.
5714 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5715 GtkBin structures. * src/hildon-pannable-area.c: Added the
5716 event_window variable.
5717 (hildon_pannable_area_button_press_cb):
5718 (hildon_pannable_area_button_release_cb):
5719 (hildon_pannable_area_motion_notify_cb):
5720 Changed the signature of the method, now we override the event
5721 callback instead of connecting to the signal.
5723 (hildon_pannable_area_realize):
5724 (hildon_pannable_area_unrealize):
5725 (hildon_pannable_area_map):
5726 (hildon_pannable_area_unmap):
5727 (hildon_pannable_area_size_allocate):
5728 Added functions to control the widget construction. We add a
5729 INPUT_ONLY window and we put it over the widgets inside the
5730 container, this event_window handles the events.
5732 (hildon_pannable_area_class_init):
5733 Replaced the signal connections with overrides of the event
5736 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5738 Bouncing effect added when touching the borders, you can change
5739 the elasticity of the border changing the ELASTICITY define.
5741 * src/hildon-pannable-area.c: Added ELASTICITY define.
5742 (hildon_pannable_area_timeout): Added inverse velocity when
5743 touching the border of the child widget, that causes a bounce.
5745 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5747 Improved performance, we now do not go to the X server in order to
5748 get the list of window children. Apparently the effect is the
5749 same, we have to be careful and check if this breaks something in
5752 * src/hildon-pannable-area.c:
5753 (get_ordered_children): Removed this function.
5754 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5755 the children windows function with gdk_window_get_children.
5757 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5759 * src/hildon-pannable-area.c:
5760 (hildon_pannable_area_dispose): Fixed a crash when closing the
5761 window and kinetics is activated.
5763 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5765 * src/hildon-pannable-area.h
5766 * src/hildon-pannable-area.c
5767 Changed indentation style to meet the one used in Hildon
5769 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5771 Reviewed the interaction of the AUTO mode, now we use the time
5772 attribute of the events and calculate the velocity in the motion,
5773 doing a gimp like calculation. The velocity is calculated in each
5774 motion event using the last velocity and the current one, the
5775 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5777 * src/hildon-pannable-area.c: Replaced the time based algorithm
5779 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5780 timeout for the AUTO mode when we are still moving the cursor. We
5781 added also the velocity calculation in this function.
5782 (hildon_pannable_area_button_release_cb): launch the timeout in
5783 case we are in AUTO mode. There are still some constants here that
5784 come from the old implementation that should be reviewed and
5787 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5789 * doc/hildon-docs.sgml
5792 * src/hildon-stackable-window.c
5793 * src/hildon-stackable-window.h
5795 New HildonStackableWindow widget
5797 * examples/hildon-dialog-example.c
5798 * examples/hildon-pannable-area-example.c
5801 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5803 * src/hildon-dialog.c
5804 (hildon_dialog_new_with_buttons): New constructor.
5806 * examples/hildon-dialog-example.c
5807 (main): Update the example to use the new
5808 hildon_dialog_new_with_buttons().
5810 * examples/hildon-pannable-area-example.c
5811 (main): Update example.
5813 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5815 * doc/hildon-docs.sgml
5817 Added HildonPannableArea to the documentation.
5819 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5821 * doc/visual_index.xml
5822 Fix reference to HildonLoginDialog in documentation
5824 * doc/hildon-docs.sgml
5826 * examples/Makefile.am
5827 * examples/hildon-dialog-example.c
5829 * src/hildon-dialog.c
5830 * src/hildon-dialog.h
5832 New HildonDialog widget.
5834 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5836 * src/hildon-pannable-area.c
5837 Merge latest changes (r4318, r4342) from libmokoui trunk
5839 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5841 * examples/Makefile.am
5842 * examples/hildon-pannable-area-example.c
5844 * src/hildon-pannable-area.c
5845 * src/hildon-pannable-area.h
5847 New HildonPannableArea widget.
5849 2008-04-15 18:05:19 <timj@imendio.com>
5851 * src/hildon-banner.c: revert the recent change, that introduced
5852 gtk_window_present() calls. this reopens:
5853 Bug 78481 - [freetest] information banners are hidden under browser menu
5854 But resolves another variant of:
5855 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5857 2008-04-15 13:21:13 <timj@imendio.com>
5859 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5860 recreated its layout, spotted by Kris. this fixes all remaining
5861 artefacts and stability issues with the banner code. in particular:
5862 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5864 2008-04-14 16:52:59 <timj@imendio.com>
5866 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5867 operating on unrealized widgets, fixes:
5868 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5870 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5872 2008-04-09 Kristian Rietveld <kris@imendio.com>
5874 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5875 makes banner disappear.
5876 Fixes: NB#79182: info banner flickering with certain message lengts.
5878 * src/hildon-banner.c (hildon_banner_constructor),
5879 (hildon_banner_init), (hildon_banner_set_text),
5880 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5881 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5882 FALSE, reset size requests of label and banner,
5883 (force_to_wrap_truncated): when the text is too wide, always enforce
5884 the maximum possible width instead of recalculating it from the
5885 layout; enforce the maximum banner height of 3 lines,
5886 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5887 nicer wrapping and no truncated chars if space gets tight.
5889 * src/hildon-banner-private.h: add has_been_wrapped and
5890 has_been_truncated fields.
5892 2008-04-07 Sven Herzberg <sven@imendio.com>
5894 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5895 local values in hildon_date_editor_size_allocate
5897 * src/hildon-date-editor.c: moved the real allocation code into the
5900 2008-04-07 Sven Herzberg <sven@imendio.com>
5902 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5903 local values in hildon_date_editor_size_allocate
5905 * src/hildon-date-editor.c: merged the two if() branches together
5907 2008-04-07 Sven Herzberg <sven@imendio.com>
5909 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5910 local values in hildon_date_editor_size_allocate
5912 * src/hildon-date-editor.c: changed the arguments of the if()
5915 2008-04-07 Sven Herzberg <sven@imendio.com>
5917 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5918 local values in hildon_date_editor_size_allocate
5920 * src/hildon-date-editor.c: split the calculation of the allocation
5921 from the real allocation
5923 2008-03-27 Michael Natterer <mitch@imendio.com>
5925 Fixes: NB#81696: The passcode is not overwritten even after
5928 * src/hildon-code-dialog.c
5929 (hildon_code_dialog_button_clicked)
5930 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5931 because that doesn't overwrite selected text. Instead, emit the
5932 "commit" signal on the entry's im_context so the entry's normal
5933 insert logic is triggered. Set the cursor to the end of the entry
5934 after each insert operation so that we *only* insert in the middle
5935 of the text if something was selected.
5937 2008-03-27 Michael Natterer <mitch@imendio.com>
5939 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5940 selector cannot be opened
5942 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5943 when the popup color selector is created. Please connect to this
5944 signal in order to set the dialog's help ID.
5946 2008-03-25 Sven Herzberg <sven@imendio.com>
5948 Fixes: MB#1212: Hide info banners (infoprints) on click
5950 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5951 extracted the close event simulation into an extra function
5952 (hildon_banner_button_press_event): simulate a close event and destroy
5953 the widget if the event wasn't handled
5954 (hildon_banner_class_init): added the button_press_event handler
5955 (hildon_banner_init): added button-press events to the widget
5957 2008-03-25 Sven Herzberg <sven@imendio.com>
5959 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5960 Patch from: Mohammad Anwari <mdamt@maemo.org>
5962 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5963 instead of the right in RTL mode
5964 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5965 breadcrumb button list in RTL mode
5966 * src/hildon-caption.c: mirror the appearance of the caption widget in
5968 * src/hildon-date-editor.c: mirror appearance of the date editor in
5970 * src/hildon-time-editor.c: mirror appearance of the time editor in
5972 * src/hildon-window.c: fix the position of the popup in RTL mode
5974 2008-03-25 Sven Herzberg <sven@imendio.com>
5976 Amendment to the fix of NB#22072. Fix compilation.
5978 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5980 2008-03-19 Sven Herzberg <sven@imendio.com>
5982 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5985 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5986 timeout id properly when the timeout will disappear this leaves no
5987 artifacts around in the destroy(); there will only be the timeout
5988 created by hildon_banner_ensure_timeout() and adding a new timeout
5989 will also work if the timeout gets removed because the timeout_handler
5992 2008-03-19 Michael Natterer <mitch@imendio.com>
5994 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5996 * src/hildon-volumebar.c
5997 * src/hildon-vvolumebar.c
5998 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5999 the widget becomes focussable at all.
6001 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6002 set the focus to wither the mute button or the volumebar.
6004 Remove own "can-focus" property and instead listen to
6005 notify::can-focus in order to update the widget's state.
6007 Implement GtkWidget::focus() and make sure we can also *leave* the
6008 widget, not only enter it, depending on volumebar orientation and
6009 requested focus direction.
6011 Clean up set_mute() to cooperate nicely with all the above.
6013 2008-03-04 Michael Natterer <mitch@imendio.com>
6015 Fixes: NB#78481: information banners are hidden under browser menu
6017 * src/hildon-banner.c: call gtk_window_present() on the banners so
6018 they are risen if they are already visible.
6020 2008-03-03 Sven Herzberg <sven@imendio.com>
6022 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6024 * examples/hildon-window-menu-example.c: (main): extended the window
6025 menu example to serve as a testcase for automatically added
6026 accelerator groups, too
6027 * src/hildon-window.c: (hildon_window_add_accel_group),
6028 (hildon_window_set_menu): added patch by Tommi Komulainen
6030 2008-03-03 Sven Herzberg <sven@imendio.com>
6032 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6034 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6035 knowledge about the border allocators used within GTK+
6037 2008-02-26 Sven Herzberg <sven@imendio.com>
6039 Fixes: MB#2981: Build with asserts broken
6041 * src/hildon-date-editor.c,
6042 * src/hildon-number-editor.c,
6043 * src/hildon-time-editor.c,
6044 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6045 the proper GType instance check
6047 2008-02-25 Sven Herzberg <sven@imendio.com>
6049 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6051 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6052 * examples/hildon-window-menu-example.c: (main): explicitly show
6054 * src/hildon-window.c:
6055 (hildon_window_set_main_menu): moved most of the code from set_menu()
6056 to this place; skipped the call to gtk_widget_show_all(); also didn't
6057 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6058 (hildon_window_set_menu): removed most of the code, just keep the
6059 questionable gtk_widget_show_all()
6060 * src/hildon-window.h: added the new function and deprecate the old
6063 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6069 * debian/changelog: Updating.
6071 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6074 * pkgconfig/Makefile.am:
6075 * pkgconfig/hildon.pc.in:
6078 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6079 use newly created API_MAJOR_VERSION.
6081 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6087 * debian/changelog: Updating.
6089 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6091 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6093 Add outer_border style property, we use it but don't define it (!).
6097 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6099 * examples/hildon-bread-crumb-trail-example.c (main):
6103 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6105 Fix logic for the bread crumb trail node removal.
6109 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6115 * debian/changelog: Updating.
6117 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6119 Patch by Alejandro to get/set passwords dialogs accesibility.
6121 * hildon-1/src/hildon-get-password-dialog.c:
6122 * hildon-1/src/hildon-set-password-dialog.c:
6123 Set atk_set_name to the passwd entries in order to allow
6124 accessibility by name on this entries.
6126 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6131 * debian/control: Updating gtk dep.
6133 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6135 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6136 USE_MAEMO_GTK is enabled.
6138 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6140 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6141 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6143 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6149 * debian/changelog: Updating.
6151 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6153 * examples/Makefile.am:
6154 * examples/hildon-logical-color-example.c:
6155 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6156 applied + adding a test case. Fixes: NB#71660.
6158 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6160 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6161 to be visible, fixes warning on map for windows without toolbars.
6163 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6165 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6166 2.11.0, add a check for that besides the MAEMO_GTK check.
6168 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6174 * debian/changelog: Updating.
6176 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6178 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6179 visibility. Fixes: NB#70842 and MB#615.
6181 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6183 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6184 set the separator as no-show-all so it doesn't unintentionally appear when
6185 someone does a show_all.
6187 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6189 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6190 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6191 toplevel item. Fixes: NB#62031
6193 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6195 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6196 fix the name of the function in the docs.
6198 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6204 * debian/changelog: Updating.
6206 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6208 * examples/hildon-banner-long-example.c: Adding a test-case for long
6211 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6213 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6215 * src/hildon-color-chooser-dialog.c:
6216 * src/hildon-color-chooser.c:
6217 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6218 memory leaks in font selector and color selector. Fixes: NB#70499 and
6221 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6223 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6225 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6227 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6228 little bit bigger. Fixes: #NB63694.
6230 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6236 * debian/changelog: Updating.
6238 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6241 * doc/hildon-docs.sgml:
6242 * doc/images/bread-crumb-trail.png:
6243 * doc/images/calendar-popup.png:
6244 * doc/images/caption.png:
6245 * doc/images/code-dialog.png:
6246 * doc/images/color-button.png:
6247 * doc/images/color-chooser-dialog.png:
6248 * doc/images/color-chooser.png:
6249 * doc/images/controlbar.png:
6250 * doc/images/date-editor.png:
6251 * doc/images/font-selection-dialog.png:
6252 * doc/images/get-password-dialog.png:
6253 * doc/images/hvolumebar.png:
6254 * doc/images/login-dialog.png:
6255 * doc/images/note.png:
6256 * doc/images/number-editor.png:
6257 * doc/images/range-editor.png:
6258 * doc/images/seekbar.png:
6259 * doc/images/set-password-dialog.png:
6260 * doc/images/sort-dialog.png:
6261 * doc/images/time-editor.png:
6262 * doc/images/time-picker.png:
6263 * doc/images/vvolumebar.png:
6264 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6265 Adding the bread-crumb-trial and helpers to the documentation.
6267 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6269 * examples/hildon-find-toolbar-example.c:
6270 * src/hildon-find-toolbar.c:
6271 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6272 actually continue firing the other handlers if connected. Adding a new
6274 hildon_find_toolbar_get_last_index that gets the index of the most
6275 recently added (last) item. Fixes: NB#52301.
6277 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6279 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6280 behaviour. Fixes: NB#68610.
6282 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6284 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6287 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6289 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6290 when realizing the banner. Should make the infonbanner effect a bit more
6293 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6295 * src/hildon-volumebar.c:
6296 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6297 hildon_volumebar_set_range_insensitive_message and
6298 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6300 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6302 * src/hildon-window.c: Fixing the border freeing on destroy.
6304 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6306 * src/hildon-code-dialog-private.h:
6307 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6308 kw keyboard support in HildonCodeDialog.
6310 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6316 * debian/changelog: Updating.
6318 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6320 * src/hildon-date-editor.c:
6321 * src/hildon-number-editor.c:
6322 * src/hildon-private.c:
6323 * src/hildon-private.h:
6324 * src/hildon-time-editor.c:
6325 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6326 handling in subclassed composite widgets. Fixes: NB#66628.
6328 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6330 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6331 from destroy_ callback as it introduces problems in async dbus signal
6332 handlers. Fixes NB#66673.
6334 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6336 * examples/hildon-hvolumebar-example.c:
6337 * src/hildon-volumebar.c: Improving the focus handling in the
6338 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6339 set_property accessor so that "mute" property can be actually set. I'm
6340 scared that nobody noticed it's totally broken.
6342 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6344 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6347 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6349 * src/hildon-calendar.c:
6350 * src/hildon-number-editor.c:
6351 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6352 matches the spec of 6 chars per second. Fixes: NB#60489.
6354 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6356 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6357 gtk_style_lookup_color sometime returns FALSE even though color was
6358 found and values were filled properly. Weird. Removing the warning for the
6361 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6363 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6364 expand vertically. Adding some extra space to the find toolbar buttons to
6365 make them thumbable. Fixes NB#66060.
6367 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6369 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6370 popup with "Ok" and "Cancel". Fixes NB#59299.
6372 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6374 * src/hildon-calendar.c: Process all window updates before executing next
6375 timeout. Fixes: NB#54146.
6377 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6383 * debian/changelog: Updating.
6385 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6387 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6388 the client event and ignore it, since we use the delete event to close
6391 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6393 * src/hildon-helper.c: Remove the bogus warning about color not being
6394 found. Fixes NB#58352.
6396 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6398 * examples/Makefile.am:
6399 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6400 HildonSeekbar widget inside a toolbar.
6402 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6404 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6405 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6406 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6407 don't want to be closed by non-temporary windows on map.
6409 Also use G_DEFINE_TYPE instead of manually typed code.
6411 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6418 * debian/rules: Updating.
6420 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6422 * examples/Makefile.am:
6423 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6424 bug NB#61128. Strangely it works.
6426 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6428 * src/hildon-date-editor.c: When the date editor entry has been changed
6429 but the numbers of characters < max, turn off the skip validation flag.
6430 Prevents a situation when we enter first a valid year and later re-write
6431 it with an invalid one. Fixes NB#60154.
6433 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6435 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6436 code dialog. Fixes NB#64355.
6438 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6440 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6441 switching the page. Fixes NB#49374.
6443 * examples/Makefile.am:
6444 * examples/hildon-wizard-dialog-example.c: Adding an example for
6445 HildonWizardDialog that shows how to handle manual sensitivity setting on
6448 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6452 * src/hildon-version.h.in:
6453 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6455 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6457 * src/hildon-volumebar.c: Updating the docs.
6459 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6465 * debian/changelog: Updating.
6467 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6469 * src/hildon-find-toolbar.c:
6470 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6471 selected item: hildon_find_toolbar_set_active,
6472 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6473 hildon_find_toolbar_get_active_iter . They correspond to respective
6474 GtkComboBox functions.
6476 * examples/Makefile.am:
6477 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6480 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6482 * examples/Makefile.am:
6483 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6486 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6487 when font size > 32 and we pack a focusable widget inside. Actually using
6488 the default response would work too, but since we don't show default
6489 response state in any way (no theming) it would not be visible to the
6490 user. Fixes NB#63430.
6492 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6494 * src/hildon-date-editor.c: Adding the missing variable setter in the
6495 set_property handler. Fixes NB#54182.
6497 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6499 * src/hildon-window.h: Changing the long key press time from 1500ms to
6500 800ms as requested in NB#63700. I have a bad feeling about this, let's
6501 see... Fixes NB#63700.
6503 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6505 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6506 hildon_time_picker_map, hildon_time_picker_realize,
6507 hildon_time_picker_style_set): Split the contents of map to more
6508 appropriate functions; set window decorations on realize and update
6509 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6511 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6516 * debian/changelog: Updating.
6518 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6520 * src/Makefile.am: fixed installation of the header files
6522 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6528 * debian/changelog: Updating.
6530 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6532 * configure.ac: Removing some remaining of --enable-xan.
6534 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6536 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6537 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6539 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6540 2.10.12-osso6 because the move-focus signal needs to be available in
6543 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6545 * examples/Makefile.am:
6546 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6547 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6548 fine. Prolly NB#61128 is fixed now.
6550 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6552 * src/hildon-volumebar.c:
6553 * src/hildon-volumebar.h: Adding the
6554 hildon_volumebar_set_range_insensitive_message and
6555 hildon_volumebar_set_range_insensitive_messagef functions to set
6556 insensitive message on the slider of the volumebar. Fixes NB#61129.
6558 * examples/Makefile.am:
6559 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6560 test the new insensitive messsage functionality on HildonVolumebar.
6562 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6564 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6567 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6569 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6570 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6571 button on after clearing the trail.
6573 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6575 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6577 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6579 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6580 by splitting the installed headers in generated and non-generated groups. Use
6581 only the non-generated headers to create the hildon-enum-types.h file.
6583 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6585 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6587 * src/hildon-window.c: Hide the window before performing the destroy.
6588 Should make the app closing a little tiny bit more snappy.
6590 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6592 * src/hildon-seekbar.c: add gtkrange.h header
6593 * src/hildon-caption.c: remove unused variable
6595 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6597 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6600 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6606 * debian/changelog: Updating.
6608 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6610 * src/hildon-window.c (hildon_window_window_state_event,
6611 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6612 escape timeout on focus-out-event rather than notify::is-topmost; the
6613 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6615 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6617 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6618 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6620 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6622 * src/hildon-window: actually, you need to use the macro always, there's
6623 no private pointer in the instance structure. We should have cleaned this up
6624 when we had the chance...
6626 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6628 * src/hildon-window.c: do not get the private date from HildonWindow before
6629 it passes the g_return_if_fail check. Once it's passed the test, there's no
6630 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6631 if you are only going to access the data once. Whitespace cleanups.
6633 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6635 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6636 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6638 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6644 * debian/changelog: Updating.
6646 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6648 * src/hildon-window.c: When destroying the window, remove (if exists) the
6649 escape timeout handler. Fixes #NB59276.
6651 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6653 * src/hildon-banner.c: When realizing the widget, set the window
6654 transiency. Setting the transiency in the gobject constructor is not
6655 good, as the widget is not realized at that point. Fixes: #NB56624.
6657 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6659 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6660 Add padding for future expansions.
6662 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6664 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6665 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6666 will fake an activation on the previous to the last item of the trail, so
6667 the effect can be overrided by the developer as usual.
6668 Also change the callback for the back button to do the same thing, so its
6669 effect can be overrided too. Fixes: NB#58982
6671 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6673 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6674 HildonCaption. Fixes NB#52379.
6676 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6678 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6679 the internal state of the trail after the user has had the chance of executing
6680 his handler for the signal. Specifically, it may happen that the activated button
6681 is removed and the user still lets the default handler run. This would segfault
6684 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6686 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6687 scrollbar to the preview dialog. Fixes NB#54147.
6689 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6691 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6692 max/min year properties can be altered, so the client can modify it
6693 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6695 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6697 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6698 hildonlike by default. Fixing a problem with disappearing arrows when
6699 scrolling through months and years. Fixes NB#54127.
6701 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6703 * examples/hildon-date-editor-example.c: Adding error callback to the date
6706 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6712 * configure.ac: Updating.
6714 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6716 * configure.ac: Adding a special '--enable-xan' configure option that
6717 turns off the -Werror compilation setting. Usefull for development.
6719 * src/hildon-calendar.c:
6720 * src/hildon-number-editor.c:
6721 * src/hildon-time-picker.c: Adding the 5* multiplier to
6724 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6726 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6727 instead of g_object_ref + gtk_object_sink.
6729 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6735 * debian/changelog: Updating.
6737 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6739 * src/hildon-color-chooser-dialog.c:
6740 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6741 straight from Tommi labs.
6743 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6745 * examples/hildon-finger-example.c: Correcting the header file path.
6747 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6748 the changed signal. Fixes a small memory leak.
6750 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6754 * src/hildon-banner.c: Importing several usefull fixes from the
6755 ubuntu-mobile branch.
6757 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6759 * examples/Makefile.am:
6760 * examples/hildon-finger-example.c: Adding a finger-checking code
6763 * src/hildon-font-selection-dialog.c: Do not allocate the color
6764 structure using the g_new. Fixes NB#54061.
6766 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6768 * src/hildon-helper.c: Correcting tabs in file.
6770 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6772 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6773 control the visibility of the children.
6775 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6777 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6783 * debian/changelog: Updating.
6785 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6787 * src/hildon-bread-crumb-trail.c:
6788 (hildon_bread_crumb_trail_size_allocate):
6790 Make the back button always a square.
6792 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6794 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6795 from the .c file as it's a private file.
6797 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6799 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6800 uses slightly bigger height.
6802 * src/hildon-font-selection-dialog.c: Adding some checks before
6803 freeing memory in the font selection dialog.
6805 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6807 * src/hildon-font-selection-dialog.c: Adding a small check when
6810 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6811 buttons sensitivity on page switching.
6813 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6815 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6816 internal details of adding a bread crumb to the trail.
6818 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6824 * debian/changelog: Updating.
6826 * src/hildon-bread-crumb-trail.h:
6827 * src/hildon-bread-crumb.h: Changing the API guard to
6828 HILDON_ENABLE_UNSTABLE_API.
6830 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6838 * src/hildon-helper.h: Updating.
6840 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6848 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6852 * src/hildon-helper.h: Small fix to make the package actually compile.
6854 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6856 * src/hildon-bread-crumb-trail.h:
6857 * src/hildon-bread-crumb.h:
6859 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6860 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6862 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6864 * examples/hildon-bread-crumb-trail-example.c:
6866 * src/hildon-bread-crumb-trail.c:
6867 * src/hildon-bread-crumb-trail.h:
6868 * src/hildon-bread-crumb.c:
6869 * src/hildon-bread-crumb.h:
6870 * src/hildon-marshalers.list:
6871 * src/hildon-bread-crumb-widget.c:
6872 * src/hildon-bread-crumb-widget.h:
6874 Slight change in the widget design. The bread crumb trail API is
6875 unchanged, but HildonBreadCrumb is now an interface. A *private*
6876 implementation, hildon-bread-crumb-widget, is provided and used
6877 internally by the trail for the push_text/push_icon functions.
6879 The generic push API is still available, so anyone can implement
6880 and use its own bread crumb widget.
6882 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6884 * debian/rules: Fixing the shlibs.
6886 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6888 * src/hildon-banner.c: Fixing a problem with timed banners having
6889 their parrent destroyed before they are.
6891 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6893 * src/hildon-bread-crumb.c:
6894 * src/hildon-bread-crumb.h:
6896 Make the get_natural_size function a vfunc.
6898 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6900 * src/hildon-bread-crumb.c:
6901 * src/hildon-bread-crumb-trail.c:
6905 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6912 * debian/changelog: Updating for release.
6914 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6916 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6917 don't leak the pango layout.
6919 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6922 * examples/hildon-bread-crumb-trail-example.c:
6926 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6928 * debian/changelog: Removing the bug-fixed entries that were actually
6929 resolved as WONTFIX.
6931 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6934 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6936 * src/hildon-bread-crumb-trail.c:
6937 * src/hildon-bread-crumb-trail.h:
6938 * src/hildon-bread-crumb.c:
6939 * src/hildon-bread-crumb.h:
6943 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6945 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6946 until it's passed the type check.
6948 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6950 * examples/hildon-bread-crumb-trail-example.c
6954 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6956 * examples/Makefile.am
6957 * examples/hildon-bread-crumb-trail-example.c
6959 * src/hildon-bread-crumb-trail.c
6960 * src/hildon-bread-crumb-trail.h
6961 * src/hildon-bread-crumb.c
6962 * src/hildon-bread-crumb.h
6964 New HildonBreadCrumbTrail widget.
6966 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6968 * src/hildon-range-editor.c (hildon_range_editor_init),
6969 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6970 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6971 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6972 hildon_time_editor_class_init, hildon_time_editor_init),
6973 src/hildon-get-password-dialog.c (invalid_input,
6974 hildon_get_password_set_property, hildon_get_password_get_property,
6975 create_contents, hildon_get_password_dialog_set_max_characters),
6976 src/hildon-set-password-dialog.c (create_contents),
6977 src/hildon-date-editor.c (hildon_date_editor_init),
6978 src/hildon-login-dialog.c (hildon_login_dialog_init),
6979 src/hildon-number-editor.c (hildon_number_editor_init),
6980 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6981 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6982 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6983 configure option and adding the respective checks in the code.
6984 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6985 hildon_calendar_drag_data_received): fixed some build warnings.
6987 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6989 * debian/changelog: A 1.0.0 release notes.