1 2009-03-06 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
4 (hildon_app_menu_class_init):
5 New "filter-vertical-spacing" style property.
7 2009-03-06 Alberto Garcia <agarcia@igalia.com>
9 * src/hildon-find-toolbar.c
10 (hildon_find_toolbar_emit_close)
11 (hildon_find_toolbar_emit_invalid_input)
12 (hildon_find_toolbar_entry_activate):
13 Use g_signal_emit() instead of g_signal_emit_by_name()
15 2009-03-06 Alberto Garcia <agarcia@igalia.com>
17 Patch by Mox Soini (ext-mox.soini@nokia.com)
19 * tests/TEST-CASES.txt
20 * tests/check-hildon-banner.c
21 * tests/check-hildon-note.c
23 * src/hildon-code-dialog.c
24 * src/hildon-date-editor.c (real_set_calendar_icon_state)
25 * src/hildon-time-editor.c
26 * examples/hildon-lookup-example.c (main):
27 Replace obsolete icon names with new ones.
29 * src/hildon-find-toolbar-private.h:
30 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
31 (-hildon_find_toolbar_emit_search):
32 Remove find button and change icon of close button.
34 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
36 2009-03-05 Alberto Garcia <agarcia@igalia.com>
38 * src/hildon-time-button.c (hildon_time_button_new_step):
39 Use the "touch-selector" property to set the selector directly
40 when creating the object.
42 2009-03-05 Alejandro G. Castro <alex@igalia.com>
44 Added a new example application that allows tuning the pannable
45 area and replaced defines with properties in order to simplify the
46 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
47 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
48 PROP_DIRECTION_ERROR_MARGIN.
50 * examples/hildon-pannable-area-tuning-example.c: New example
52 * src/hildon-pannable-area.c,
53 (hildon_pannable_area_class_init),
54 (hildon_pannable_area_init),
55 (hildon_pannable_area_get_property),
56 (hildon_pannable_area_set_property),
57 (hildon_pannable_area_launch_fade_timeout),
58 (hildon_pannable_area_adjust_value_changed),
59 (hildon_pannable_axis_scroll),
60 (hildon_pannable_area_motion_notify_cb),
61 (hildon_pannable_area_scroll_cb),
62 (hildon_pannable_area_button_release_cb): We have converted some
63 of the defines that control the widget to properties to simplify
66 2009-03-05 Alberto Garcia <agarcia@igalia.com>
68 * src/hildon-app-menu.c (hildon_app_menu_map)
69 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
70 so it's closed if a new window appears.
72 Fixes: NB#104485 (Not able to address the call when application
73 menu is opened at background)
75 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
77 * src/hildon-color-button.c (hildon_color_button_get_property):Add
78 missing 'break' statement in in 'case' construct to avoid
81 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
83 * src/hildon-touch-selector-entry.c
84 (hildon_touch_selector_entry_get_property),
85 (hildon_touch_selector_entry_set_property): Add missing 'break'
86 statements in in 'case' constructs to avoid incorrect warnings.
88 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
90 * src/hildon-time-editor.c
91 (hildon_time_editor_get_time_separators): Do not crash if
92 the first label is NULL.
94 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
96 * src/hildon-date-selector.c (_month_days): Check for month to be
97 strictly less than 12, since otherwise we may overrun the array.
99 2009-03-04 Alberto Garcia <agarcia@igalia.com>
101 * src/hildon-date-button.c (+hildon_date_button_new_full)
102 (hildon_date_button_new, hildon_date_button_new_with_year_range)
103 (hildon_date_button_init): Set the date selector using a
104 construction property, to make it happen after HildonButton's
105 "value" property is set.
107 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
108 current date by default)
110 2009-03-04 Alberto Garcia <agarcia@igalia.com>
112 * doc/hildon-sections.txt
113 * src/hildon-program.c
114 * src/hildon-stackable-window.c
115 * src/hildon-window.c:
116 Documentation updates
118 2009-03-04 Alberto Garcia <agarcia@igalia.com>
120 * src/hildon-window-stack.c (hildon_window_stack_get_default)
121 (hildon_window_stack_new, +hildon_window_stack_set_property)
122 (+hildon_window_stack_get_property)
123 (hildon_window_stack_class_init)
124 (+hildon_window_stack_set_window_group)
125 (+hildon_window_stack_get_window_group):
126 Make the window group a construction property.
128 2009-03-04 Alberto Garcia <agarcia@igalia.com>
130 * doc/hildon-sections.txt
131 * src/hildon-stackable-window-private.h
132 * src/hildon-stackable-window.h
133 * src/hildon-stackable-window.c
134 (-hildon_stackable_window_set_app_menu)
135 (-hildon_stackable_window_get_app_menu)
136 (-hildon_stackable_window_toggle_menu)
137 (-hildon_stackable_window_finalize)
138 (hildon_stackable_window_class_init)
139 (hildon_stackable_window_init)
140 * src/hildon-window-private.h
141 * src/hildon-window.h
142 * src/hildon-window.c (hildon_window_init)
143 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
144 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
145 (hildon_window_get_main_menu, hildon_window_set_main_menu)
146 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
147 Moved all HildonAppMenu code to HildonWindow. The menu does not
148 require a HildonStackableWindow anymore.
150 * src/hildon-app-menu.c
151 * src/hildon-program.c
152 * examples/hildon-app-menu-example.c (main):
153 Update examples and documentation to reflect HildonAppMenu
156 2009-03-04 Alberto Garcia <agarcia@igalia.com>
158 * src/hildon-remote-texture.c
159 * src/hildon-animation-actor.c:
160 Don't include unused private headers.
162 2009-03-04 Alberto Garcia <agarcia@igalia.com>
164 * src/hildon-program-private.h
165 * src/hildon-program.c
166 (hildon_program_set_common_menu)
167 (hildon_program_get_common_menu)
168 (hildon_program_set_common_app_menu)
169 (hildon_program_get_common_app_menu):
170 Change common menu pointers from GtkWidget* to GtkMenu* and
171 HildonAppMenu* to avoid unnecessary casts.
173 2009-03-03 Alberto Garcia <agarcia@igalia.com>
175 * src/hildon-window.c (hildon_window_set_main_menu):
176 Removed incorrect 'Since:' tag
178 2009-03-03 Alejandro G. Castro <alex@igalia.com>
180 * src/hildon-pannable-area.c,
181 (hildon_pannable_area_calculate_velocity): We use now the
182 RATIO_TOLERANCE here to check the distance, fixed typo in the
184 (hildon_pannable_area_motion_notify_cb): We have to set the type
185 and time even if we are not sending the motion.
187 2009-03-02 Alberto Garcia <agarcia@igalia.com>
189 * doc/hildon-sections.txt
190 * src/hildon-app-menu.h
191 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
192 (+hildon_app_menu_get_filters): New methods to get the contents of
195 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
198 2009-03-02 Alberto Garcia <agarcia@igalia.com>
200 * src/hildon-app-menu.c (hildon_app_menu_popup):
203 2009-03-02 Alberto Garcia <agarcia@igalia.com>
205 * src/hildon-window.h
206 * src/hildon-window.c (+hildon_window_get_main_menu)
207 (hildon_window_get_menu): Created hildon_window_get_main_menu()
208 and deprecated hildon_window_get_menu().
210 * src/hildon-stackable-window.h
211 * src/hildon-stackable-window.c
212 (+hildon_stackable_window_set_app_menu)
213 (+hildon_stackable_window_get_app_menu)
214 (hildon_stackable_window_set_main_menu): Created
215 hildon_stackable_window_{get,set}_app_menu() and deprecated
216 hildon_stackable_window_set_main_menu().
218 * doc/hildon-sections.txt
219 * examples/hildon-app-menu-example.c (main)
220 * src/hildon-app-menu.c
221 * src/hildon-program.c:
222 Updated examples and documentation.
224 Fixes: NB#103758 (No way to obtain a menu from a
225 HildonStackableWindow)
227 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
232 * configure.ac: Bump version.
233 * debian/changelog: Updates.
235 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
237 * examples/hildon-remote-texture-example.c: Include
238 hildon-remote-texture.h explicitely.
239 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
240 applications not defining _XOPEN_SOURCE which don't require this header.
242 2009-02-27 Alberto Garcia <agarcia@igalia.com>
244 * doc/hildon-sections.txt
245 * src/hildon-app-menu.h
246 * src/hildon-app-menu.c (+hildon_app_menu_popup):
247 New function to pop up a HildonAppMenu
249 * src/hildon-stackable-window.c
250 (hildon_stackable_window_toggle_menu):
251 Use hildon_app_menu_popup() to show the menu.
253 2009-02-27 Alberto Garcia <agarcia@igalia.com>
255 * src/hildon-app-menu.c (hildon_app_menu_show)
256 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
257 menu if there's another window between it and its parent window.
259 Fixes: NB#100468 (Application menu window is launched even when a
260 new secondary-window/dialog is pending to be shown/realized)
262 2009-02-27 Alberto Garcia <agarcia@igalia.com>
264 * src/hildon-window-stack.c (hildon_window_stack_push)
265 (hildon_window_stack_pop_and_push):
266 Don't forget to push/pop the first window.
267 Reverse the window list before calling _push_list()
269 2009-02-27 Alberto Garcia <agarcia@igalia.com>
271 * src/hildon-picker-button.h
272 * src/hildon-picker-button.c (hildon_picker_button_class_init):
273 Remove "value_changed" slot to avoid ABI breakage
275 2009-02-26 Alejandro G. Castro <alex@igalia.com>
277 * src/hildon-pannable-area.c,
278 (hildon_pannable_area_realize),
279 (hildon_pannable_area_unrealize),
280 (hildon_pannable_draw_vscroll),
281 (hildon_pannable_draw_hscroll): Changed the method to handle the
282 GC used to draw the transparent scrollbar, this way we avoid
283 creating the GC all the time when drawing the scrollbars.
285 2009-02-26 Alejandro G. Castro <alex@igalia.com>
287 * src/hildon-pannable-area.c,
288 (hildon_pannable_area_init),
289 (hildon_pannable_area_remove): Removed some unnecessary casts.
290 (hildon_pannable_area_dispose): Disconnected some signals before
291 releasing the adjustments.
293 2009-02-26 Alberto Garcia <agarcia@igalia.com>
295 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
296 Make sure that all widgets contained in the toolbar are shown.
298 2009-02-25 Alberto Garcia <agarcia@igalia.com>
300 * doc/hildon-sections.txt
301 * src/hildon-picker-button.h
302 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
303 (_selection_changed, hildon_picker_button_on_dialog_response)
304 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
305 New hildon_picker_button_value_changed() method.
308 * src/hildon-picker-button-private.h
309 * src/hildon-picker-button.c (hildon_picker_button_init)
310 (+hildon_picker_button_disable_value_changed): Add protected
311 function for disabling the "value-changed" signal.
313 * src/hildon-date-button.c (hildon_date_button_set_date):
314 Don't emit "value-changed" for each one of the three columns.
316 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
317 before actual change of values)
319 2009-02-24 Alejandro G. Castro <alex@igalia.com>
321 * src/hildon-pannable-area.c,
322 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
323 for the treeview overshooting.
325 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
327 * src/hildon-banner.c (+hildon_banner_bind_style):
328 Renamed from hildon_banner_bind_label_style(), now naming the
329 banner itself as well.
330 (hildon_banner_show_information),
331 (hildon_banner_show_information_with_markup),
332 (hildon_banner_show_animation), (hildon_banner_show_progress):
333 Name the widgets and labels, based on their type.
335 See NB#98597 (Hildon Note and Hildon Banner should use themeable
338 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
340 * src/hildon-note.c (hildon_note_set_property): call
341 hildon_note_rename() on HildonNote:note-type set.
342 (hildon_note_rename): Name the note and its label, based on the
343 HildonNote:note-type property.
345 See NB#98597 (Hildon Note and Hildon Banner should use themeable
348 2009-02-24 Alejandro G. Castro <alex@igalia.com>
350 * src/hildon-pannable-area.c,
351 (hildon_pannable_area_class_init),
352 (hildon_pannable_area_motion_notify_cb): Reviewed the default
353 panning parameters, increased SPS and deceleration factor. Added
354 also a margin to control fake directions.
356 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
358 Patch by Sven Herzberg (sven@imendio.com)
360 * configure.ac: Add missing AM_PROG_CC_C_0
361 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
363 See NB#101420 (Update unit tests and fix make check)
365 2009-02-23 Alejandro G. Castro <alex@igalia.com>
367 This patch was applied before but reverted because it caused
368 problems, we have changed the main condition and tested the
369 regressions we detected before and they work ok. We have done a
370 complete review of the topmost algorithm in order to get a more
373 * src/hildon-pannable-area.c,
374 (hildon_pannable_area_get_topmost): Added a new parameter to
375 filter the the windows that do not include those events.
376 (hildon_pannable_area_button_press_cb),
377 (hildon_pannable_area_button_release_cb),
378 (hildon_pannable_get_child_widget_at): Reviewed the call the the
379 topmost function, we have added the new parameter.
381 Fixes: NB#97458 (Pannable area prevents propagation of button
384 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
386 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
387 if all columns in the selector have an item selected.
388 (_on_dialog_response): Stop "response" signal emission if there is
389 any selector column without selected items.
391 Fixes: NB#101889 (Picker dialog should not close when nothing is
392 selected in multiple selection list)
394 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-font-selection-dialog.c
397 (hildon_font_selection_dialog_class_init),
398 (hildon_font_selection_dialog_init): Remove the preview
399 button and dialog, since previewing with default theming is likely
400 to be overcomplicated. The :preview property has now no effect.
401 Update documentation blurbs to inform about this.
403 Fixes: NB#92297 (Preview content is not clearly visible for
406 2009-02-20 Alejandro G. Castro <alex@igalia.com>
408 Reviewed the geometry that handles the children size and
409 scrollbar, now it tries a size and reviews the results depending
410 on the scrollbars visibility.
412 * src/hildon-pannable-area.c,
413 (hildon_pannable_area_realize): Fixed a typo.
414 (hildon_pannable_area_child_allocate_calculate): Added this
415 function to calculate the child allocation.
416 (hildon_pannable_area_size_allocate): Reviewed the allocation
418 (hildon_pannable_area_check_scrollbars),
419 (hildon_pannable_area_refresh): Refactored refresh function, this
420 way we can call the code handling the scrollbars without causing a
421 size_request, it is interesting in the allocate.
422 (hildon_pannable_area_init): Replace the callbacks of the
423 value_changed and changed signals to propertly deal with the
425 (hildon_pannable_area_grab_notify),
426 (hildon_pannable_area_initial_effect),
427 (hildon_pannable_area_launch_fade_timeout),
428 (hildon_pannable_area_adjust_changed),
429 (hildon_pannable_area_adjust_value_changed),
430 (hildon_pannable_area_redraw),
431 (hildon_pannable_area_button_press_cb),
432 (hildon_pannable_area_button_release_cb),
433 (hildon_pannable_area_scroll_cb),
434 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
435 code and use the new functions adjust_changed and
436 adjust_value_changed.
438 Fixes: NB#101603 (Focus is not even for the text entry boxes in
439 Contact editor dialog)
441 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
446 * configure.ac: Bump version.
447 * debian/changelog: Updates.
449 2009-02-20 Alejandro G. Castro <alex@igalia.com>
451 * src/hildon-pannable-area.c,
452 (hildon_pannable_area_get_topmost),
453 (hildon_pannable_area_button_press_cb),
454 (hildon_pannable_area_button_release_cb),
455 (hildon_pannable_get_child_widget_at): Reverted the patch for the
456 topmost function adding the event mask. We have to try a
457 differente approach because it is still causing problems (NB#9745,
460 2009-02-19 Alberto Garcia <agarcia@igalia.com>
462 * src/hildon-banner.c:
463 Update the maximum width of timed banners.
464 (force_to_wrap_truncated): Enforce the maximum text width if the
467 Fixes: NB#102413 (The text margins (wrapping) in information
468 banner should be HILDON_MARGIN_TRIPLE)
470 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
472 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
474 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
475 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
476 bound when calculating the scroll indicator position.
478 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
479 treat ->lower correctly)
481 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
483 * src/hildon-caption.c (hildon_caption_class_init): Remove the
484 expose event handling, since it is not necessary to draw the focus
487 Fixes: NB#102467 (Do not show highlight on the text in
490 2009-02-18 Alberto Garcia <agarcia@igalia.com>
492 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
493 full height of the toolbar for the button and the label.
495 2009-02-18 Alberto Garcia <agarcia@igalia.com>
497 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
498 padding before the label and after the button.
500 2009-02-18 Alberto Garcia <agarcia@igalia.com>
502 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
504 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
505 Add a GtkVSeparator between the button and the back arrow.
506 Let the button have automatic size.
507 Set a name to the widget for theming handling.
509 Fixes: NB#101793 (Make edit toolbar the same height as window
510 title bar (use title area theming))
512 2009-02-18 Alberto Garcia <agarcia@igalia.com>
514 * src/hildon-helper.c (attach_new_color_element): Fix memory
517 Fixes: NB#102262 (memory leak in hildon_button_set_style())
519 2009-02-18 Alberto Garcia <agarcia@igalia.com>
521 * examples/hildon-button-example.c (common_buttons_window): Don't
524 2009-02-18 Alberto Garcia <agarcia@igalia.com>
526 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
527 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
529 2009-02-18 Alberto Garcia <agarcia@igalia.com>
531 * src/hildon-gtk.c: Check that the window is realized.
533 Fixes: NB#102225 (Crash setting the progress indicator to a non
536 2009-02-17 Alberto Garcia <agarcia@igalia.com>
538 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
539 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
540 instead of modifying the one in the widget style.
542 Fixes: NB#101043 (Second row of all the command button are
543 displayed in transparent mode.)
545 2009-02-17 Alberto Garcia <agarcia@igalia.com>
547 * src/hildon-date-button.c
548 * src/hildon-time-button.c: Add gettext macros
550 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-date-button.c (hildon_date_button_new):
553 * src/hildon-time-button.c (hildon_time_button_new_step):
554 Use new logical strings to set the button default title.
556 Fixes: NB#99915 (Date and Time options are not localised in Date
559 2009-02-16 Alejandro G. Castro <alex@igalia.com>
561 * src/hildon-pannable-area.c
562 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
563 the PANNING_THRESHOLD.
565 2009-02-16 Alejandro G. Castro <alex@igalia.com>
567 * src/hildon-pannable-area.c,
568 (hildon_pannable_area_class_init): Increased the maximum speed.
569 (hildon_pannable_area_get_property),
570 (hildon_pannable_area_set_property),
571 (hildon_pannable_area_timeout): Added a new low friction mode, it
572 allows the user avoid friction when launching the widget fast
573 enough. It is interesting to traverse long lists.
575 2009-02-16 Alberto Garcia <agarcia@igalia.com>
577 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
578 (+hildon_stackable_window_delete_event): Ignore delete events if
579 the window is not the topmost one.
581 Fixes: NB#101698 (Back button long press and delete-event handling)
583 2009-02-16 Alejandro G. Castro <alex@igalia.com>
585 * src/hildon-pannable-area.c,
586 (hildon_pannable_area_motion_notify_cb): Removed the use of the
587 gtk-dnd-drag-threshold, it was too big. We have defined our own
588 dnd define and set a smaller value: PANNIG_THRESHOLD.
590 2009-02-16 Alberto Garcia <agarcia@igalia.com>
592 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
593 user-defined icons, use always the default one.
595 Fixes: NB#101916 (Do not allow custom icons on animation banner)
597 2009-02-13 Alejandro G. Castro <alex@igalia.com>
599 This patch was applied before but reverted because it caused
600 problems, we have changed the main condition and tested the
601 regressions we detected before and they work ok.
603 * src/hildon-pannable-area.c,
604 (hildon_pannable_area_get_topmost): Added a new parameter to
605 filter the the windows that do not include those events. Added
606 also a condition when finding the window to filter windows that do
607 not ask for those events.
608 (hildon_pannable_area_button_press_cb),
609 (hildon_pannable_area_button_release_cb),
610 (hildon_pannable_get_child_widget_at): Reviewed the call the the
611 topmost function, we have added the new parameter.
613 Fixes: NB#97458 (Pannable area prevents propagation of button
616 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
618 * tests/check-hildon-color-button.c (START_TEST): do not leak
621 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-font-selection-dialog.c
624 (hildon_font_selection_dialog_get_preview_text): Return NULL
625 instead of FALSE on the g_return_val_if_fail().
627 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
629 * src/hildon-time-selector.c (hildon_time_selector_set_time):
630 * src/hildon-date-selector.c
631 (hildon_date_selector_select_current_date):
632 Do not compare unsigned integers to be greater than or equal 0,
633 because it's always TRUE.
635 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
637 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
638 (hildon_date_selector_constructor): Do not select the current
639 date until we are handle the "changed" signal, to avoid having bogus
640 elements in the days model.
642 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
644 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
645 for num_days, since _month_days() can return a negative value.
647 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
649 * src/hildon-caption.c (hildon_caption_size_allocate):
650 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
651 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
653 Initialize allocation variables to 0, to avoid eventually using
654 unitialized variables.
656 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
658 * src/hildon-bread-crumb-trail.c
659 (hildon_bread_crumb_trail_size_allocate):
660 * src/hildon-calendar.c (hildon_calendar_set_background):
661 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
662 * src/hildon-range-editor.c (hildon_range_editor_get_range):
663 * src/hildon-seekbar.c (hildon_seekbar_init):
664 * src/hildon-time-editor.c (hildon_time_editor_get_time):
665 * src/hildon-time-selector.c (hildon_time_selector_finalize):
666 * src/hildon-touch-selector-entry.c
667 (hildon_touch_selector_get_text_from_model):
668 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
669 * src/hildon-window.c (hildon_window_finalize):
671 Remove many unused variables.
673 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
675 * src/hildon-seekbar.c: (hildon_seekbar_init),
676 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
678 Remove unnecessary g_assert() calls.
680 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
682 * src/hildon-caption.c: (hildon_caption_expose),
683 (hildon_caption_set_property), (hildon_caption_init),
684 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
685 (hildon_caption_size_request), (hildon_caption_size_allocate),
686 (hildon_caption_forall), (hildon_caption_set_separator),
687 (hildon_caption_activate), (hildon_caption_set_child_expand),
688 (hildon_caption_set_label_text),
689 (hildon_caption_get_label_alignment):
691 Remove unnecessary g_assert() calls.
693 2009-02-12 Alberto Garcia <agarcia@igalia.com>
695 * src/hildon-banner.c
696 (hildon_banner_map, hildon_banner_init): Make banner temporary
697 before mapping it to avoid closing other temporary windows, but
698 make it non-temporary afterwards to avoid being closed by other
699 non-temporary windows.
700 (-hildon_banner_client_event, hildon_banner_init):
701 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
703 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
706 2009-02-11 Alberto Garcia <agarcia@igalia.com>
708 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
711 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
713 * src/hildon-remote-texture.c
714 * src/hildon-remote-texture.h
715 * src/hildon-remote-texture-private.h
716 * examples/hildon-remote-texture-example.c:
717 Updates/fixes to remote-texture and its example.
719 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
721 Patch by Mox Soini (ext-mox.soini@nokia.com)
723 * src/hildon-code-dialog.c: Update logical id.
724 * src/hildon-set-password-dialog.c: Update logical id.
726 Fixes: NB#100646 (Logical strings is shown for ok in set
727 password,Password needed dialogs)
729 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
732 * src/hildon-remote-texture.c
733 * src/hildon-remote-texture.h
734 * src/hildon-remote-texture-private.h
736 Added remote texture widget (for Clutter shared memory textures)
738 * examples/hildon-remote-texture-example.c
739 * examples/Makefile.am
740 Added example file for remote texture usage
742 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
744 * configure.ac: post release version bump.
745 * debian/changelog: version bump.
747 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
752 * configure.ac: Bump version.
753 * debian/changelog: Updates.
755 2009-02-06 Alberto Garcia <agarcia@igalia.com>
757 * src/hildon-date-selector.c (hildon_date_selector_init)
758 (hildon_date_selector_constructor): Don't connect to the "changed"
759 signal until the selector is completely constructed.
761 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
763 * src/hildon-touch-selector.c: (_create_new_column),
764 (hildon_touch_selector_append_column),
765 (hildon_touch_selector_set_column_selection_mode),
766 (hildon_touch_selector_set_active),
767 (hildon_touch_selector_select_iter):
768 Emit the HildonTouchSelector::changed signal every time selection
769 is changed in any of the methods above. This behavior was already
770 documented but not fully functional.
772 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
773 selection is programmatically changed)
775 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
777 * doc/hildon-sections.txt: Remove obsolete icon
778 sizes from here as well.
780 2009-02-05 Alberto Garcia <agarcia@igalia.com>
782 * examples/hildon-stackable-window-example.c (add_window): Remove
785 2009-02-05 Alberto Garcia <agarcia@igalia.com>
787 * src/hildon-app-menu.c
788 (hildon_app_menu_show): Check whether the parent window of a menu
789 is topmost before popping it up.
791 Fixes: NB#100468 (Application menu window is launched even when a
792 new secondary-window/dialog is pending to be shown/realized.)
794 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
796 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
799 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
801 Patch by Mox Soini (ext-mox.soini@nokia.com)
803 * src/hildon-banner.c: (hildon_banner_show_animation):
804 use stylus size instead of obsolete note size.
805 * src/hildon-defines.h: Update icon sizes.
807 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
809 * src/hildon-touch-selector-entry.c:
810 (hildon_touch_selector_entry_init): Disable unsupported
812 (hildon_touch_selector_entry_get_text_column): Emit a warning
813 if an unsupported input modes is used and explicitile state
814 these modes in the documentation.
816 Fixes: NB#99802 (Hildon touch selector entry not working properly
817 for some of the input modes)
819 2009-02-05 Alejandro G. Castro <alex@igalia.com>
821 * src/hildon-pannable-area.c,
822 (hildon_pannable_area_init): Added the changed signal handlers of
825 Fixes: NB#100320 (HildonPannableArea does not listen to
826 GtkAdjustment "change" signals)
828 2009-02-04 Alberto Garcia <agarcia@igalia.com>
830 * doc/hildon-sections.txt
831 * src/hildon-window-private.h
832 * src/hildon-window.h
833 * src/hildon-window.c (hildon_window_init)
834 (hildon_window_realize, hildon_window_unrealize)
835 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
836 (hildon_window_size_request, hildon_window_size_allocate)
837 (hildon_window_forall, hildon_window_show_all)
838 (hildon_window_destroy, +paint_edit_toolbar)
839 (+hildon_window_set_edit_toolbar):
840 New hildon_window_set_edit_toolbar() method, to add a
841 HildonEditToolbar to a window without having to pack it manually.
843 Reorganize hildon_window_size_allocate()
845 * src/hildon-edit-toolbar.c: Update documentation.
847 * examples/hildon-edit-toolbar-example.c (edit_window): Update
848 example to use the new API.
850 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
852 2009-02-04 Alberto Garcia <agarcia@igalia.com>
854 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
855 Remove from stack before calling parent's hide.
857 2009-02-04 Alberto Garcia <agarcia@igalia.com>
859 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
860 window is removed from the middle of the stack, update the
861 transiency of the previous one.
863 Fixes: NB#100487 (HildonStackableWindow transiency becomes
866 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
868 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
869 block/unblock the signal handler if it's not actually being used.
870 Fixes some critical warnings.
872 2009-02-02 Alberto Garcia <agarcia@igalia.com>
874 Based on a patch by Iván Gómez (igomez@igalia.com)
876 * src/hildon-banner.c
880 * src/hildon-pannable-area.c
881 * src/hildon-picker-dialog.c
882 * src/hildon-wizard-dialog.h
883 * src/hildon-wizard-dialog.c: Documentation updates.
885 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
886 gtk_dialog_add_button() instead of hildon_dialog_add_button().
888 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
890 * configure.ac: post release version bump.
891 * debian/changelog: version bump.
893 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
898 * configure.ac: Bump version.
899 * debian/changelog: Updates.
901 2009-01-29 Alberto Garcia <agarcia@igalia.com>
903 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
904 a stock icon nor change the relief of the back arrow.
906 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
909 2009-01-29 Alberto Garcia <agarcia@igalia.com>
911 * src/hildon-button.c (hildon_button_set_alignment): Use
912 priv->alignment if the button has no child yet.
914 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-button.c: (hildon_button_init): Set the
917 button style during initialization to give it the proper
920 Fixes: NB#99713 (HildonButton value label color is wrong)
922 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
924 * src/hildon-touch-selector.c: Document
925 hildon_touch_selector_center_on_selected()
927 2009-01-28 Alberto Garcia <agarcia@igalia.com>
929 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
930 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
931 all menu items, but not the menu itself.
932 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
933 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
934 items after adding them to the menu so keyboard accelerators work.
935 (hildon_app_menu_show): Don't show the menu if it contains items
936 but none of them are visible.
938 * examples/hildon-app-menu-example.c (create_menu): Use
939 gtk_widget_show_all() to show all menu items.
941 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-picker-dialog.c:
944 (-_update_title_on_selector_changed_cb),
945 (-_dialog_update_title): Removed.
946 (_select_on_selector_changed_cb), (_on_dialog_response),
947 (on_selector_columns_changed): Do not update the dialog title.
948 (setup_interaction_mode): Do not connect to
949 HildonTouchSelector::changed signal if there's a "done" button, as
950 the dialog title doesn't need to be updated.
952 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
955 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
957 Patch by Kristian Rietveld (kris@imendio.com)
959 * src/hildon-touch-selector.c: (_create_new_column): Use new
960 GtkTreeView::hildon-row-tapped signal to react to user interactions
961 instead of ::changed.
963 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
964 with some dynamic tree model)
966 2009-01-27 Alberto Garcia <agarcia@igalia.com>
968 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
969 (+screen_size_changed, +label_size_request)
970 (hildon_note_class_init): Make the Hildon information note have a
971 minimum height, and make its text hvae a maximum width.
973 Fixes: NB#98614 (Hildon information note (background) should have
974 minimum height and maximum text width)
976 2009-01-26 Alberto Garcia <agarcia@igalia.com>
978 * src/hildon-banner.h
979 * src/hildon-banner.c (hildon_banner_show_information)
980 (hildon_banner_show_informationf)
981 (hildon_banner_show_information_with_markup): Update documentation
982 to reflect that the icon_name parameter is not used anymore.
983 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
984 Remove all code from these functions and mark them as deprecated.
985 (hildon_banner_show_progress): Mark as deprecated.
987 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
989 2009-01-26 Alejandro G. Castro <alex@igalia.com>
991 * src/hildon-pannable-area.c,
992 (hildon_pannable_area_class_init),
994 (hildon_pannable_draw_vscroll),
995 (hildon_pannable_draw_hscroll),
996 (hildon_pannable_area_expose_event): Added a new way to render the
997 scrollbars of the pannable area avoiding using cairo at all. This
998 way we improve the performance of the pannable area rendering. The
999 cairo rendering procedure is still in the code, we can control
1000 which one to use changing the value of the define
1001 USE_CAIRO_SCROLLBARS.
1003 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1005 * configure.ac: post release version bump.
1006 * debian/changelog: version bump.
1008 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1013 * configure.ac: Bump version.
1014 * debian/changelog: Updates.
1016 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1018 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1019 banners instead of destroying them when they receive a button
1022 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1024 Reverted commit 34028, it was causing regressions, probably the
1025 topmost condition is not correct, we have to check it in more
1026 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1027 propagation of button press events)
1029 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1031 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1032 that the selection is not empty before attempting to retrieve the
1033 current ampm selection.
1035 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1037 * src/hildon-picker-button.c:
1038 (hildon_picker_button_on_dialog_response): Directly update the
1039 button contents when required instead of calling _selection_changed.
1041 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1043 * src/hildon-program.c (hildon_program_update_top_most): Update
1044 'is-topmost' property also when wm_hints is not set.
1046 Fixes: NB#98383 (is-topmost signal is not emitted when task
1047 switcher is clicked.)
1049 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1051 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1055 * src/hildon-animation-actor.c,
1056 * src/hildon-animation-actor.h: Added the animation actor class,
1057 this widget represents an animation actor for WM-assisted
1058 animation effects in the Hildon framework.
1060 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1062 * src/hildon-window-stack-private.h
1063 * src/hildon-window-stack.c
1064 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1065 Avoid calling gtk_widget_show() again indirectly from
1066 hildon_stackable_window_show()
1068 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1070 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1073 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1076 (hildon_time_selector_init): Move the construction of the hours and
1077 ampm columns to the constructor to preserve the order the columns
1080 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1082 * src/hildon-picker-dialog.c:
1083 (hildon_picker_dialog_class_init): Connect a realize method.
1084 (+hildon_picker_dialog_realize): Setup the interaction mode here
1086 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1087 yet, do it during the realize instead.
1088 (_on_dialog_response):
1089 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1090 if the widget is not realized, to avoid the dialog response before it
1093 Avoid premature responses in the HildonPickerDialog that can cause it
1094 to be hidden before it's even shown.
1096 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1098 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1099 (on_selector_columns_changed), (requires_done_button),
1100 (+prepare_action_area), (setup_interaction_mode),
1101 (_hildon_picker_dialog_set_selector):
1103 Split the interaction mode setup into preparation of the
1104 action area (prepare_action_area()) and the connection of
1105 the signals in setup_interaction_mode() and update the code to
1108 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1110 * src/hildon-pannable-area.c,
1111 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1112 per second to 15, we will check if this is ok regarding
1115 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1117 * src/hildon-pannable-area.c,
1118 (hildon_pannable_axis_scroll): Avoid resize if we already have
1119 reached overshoot_max.
1121 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1123 * src/hildon-pannable-area.c,
1124 (hildon_pannable_area_init),
1125 (hildon_pannable_area_realize),
1126 (hildon_pannable_area_size_allocate),
1127 (hildon_pannable_area_map),
1128 (hildon_pannable_area_unmap),
1129 (hildon_pannable_draw_vscroll),
1130 (hildon_pannable_draw_hscroll),
1131 (hildon_pannable_area_expose_event),
1132 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1133 pannable are to avoid the expose events go to the window and
1134 redraw the window. We save this way that part of the stack and the
1135 paint_boxes. We had to change the positions of the elements when
1138 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1140 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1141 * src/hildon-color-chooser-dialog.c:
1142 (hildon_color_chooser_dialog_init):
1143 * src/hildon-font-selection-dialog.c:
1144 (hildon_font_selection_dialog_init),
1145 (hildon_font_selection_dialog_show_preview):
1146 * src/hildon-get-password-dialog.c:
1147 * src/hildon-login-dialog.c:
1148 * src/hildon-set-password-dialog.c:
1149 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1150 * src/hildon-time-picker.c: (hildon_time_picker_init):
1152 Remove obsolete logical string IDs and update to the appropriate ones.
1154 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1156 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1159 that happens if the window hasn't been realized yet.
1161 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1162 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1164 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1166 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1167 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1170 Fixes: NB#98537 (Device hangs in account settings dialog)
1172 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1174 * configure.ac: post release version bump.
1175 * debian/changelog: version bump
1177 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1182 * configure.ac: Bump version.
1183 * debian/changelog: Updates.
1185 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1187 Added a new function to the HildonTimeButton widget that allows to
1188 change the step of the minutes in the selector associated with the
1189 button: hildon_time_button_new_step
1191 * src/hildon-time-button.c,
1192 (hildon_time_button_init),
1193 (hildon_time_button_new),
1194 (hildon_time_button_new_step):
1195 * src/hildon-time-button.h: Added the new function and refactored
1197 * examples/hildon-time-button-example.c,
1198 (main): We have replaced the function without parameters with the
1199 function with the steps set to 5
1201 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1203 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1205 * src/hildon-time-selector.c,
1206 (hildon_time_selector_class_init),
1207 (hildon_time_selector_constructor),
1208 (hildon_time_selector_get_property),
1209 (hildon_time_selector_set_property),
1210 (_create_minutes_model),
1211 (hildon_time_selector_new_step),
1212 (hildon_time_selector_set_time),
1213 * src/hildon-time-selector.h: Added a new property to the
1214 HildonTimeSelector (minutes-step), we use that property to control
1215 the steps between the minutes in the list of the selector. We have
1216 added a new function to the API to create a widget changing the
1217 step: hildon_time_selector_new_step.
1219 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1221 * src/hildon-time-selector.c,
1222 (hildon_time_selector_class_init),
1223 (hildon_time_selector_constructor),
1224 (hildon_time_selector_init): Overrided the construct function when
1225 creating the time selector object. We have moved the minutes model
1226 handling code from the init to the new construction function:
1227 hildon_time_selector_constructor.
1229 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1231 * examples/hildon-date-button-example.c: (main): Use the new
1232 hildon_date_button_new_with_year_range() method in the example.
1233 * src/hildon-date-button.c:
1234 (+hildon_date_button_new_with_year_range): New public method
1235 to conveniently create a HildonDateButton with a custom year range
1236 in its HildonDateSelector.
1237 * src/hildon-date-button.h: Add the new public method definition.
1239 Fixes: NB#97908 (Not possible to change the year range in
1240 HildonDateSelector/HildonDateButton)
1242 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1244 * src/hildon-date-selector.c:
1245 (+hildon_date_selector_set_property),
1246 (+hildon_date_selector_get_property),
1247 (hildon_date_selector_class_init): Install new properties "min-year"
1248 and "max-year" to define boundaries for the year column.
1249 (_create_year_model): Use the boundary properties to populate the model.
1250 (+hildon_date_selector_new_with_year_range): New public method to
1251 create a HildonDateSelector with a user defined year range.
1252 (hildon_date_selector_select_current_date): Use the new boundaries to
1253 calculate the iterator of current year.
1254 * src/hildon-date-selector.h: Add the new public method definition.
1256 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1258 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1259 Install a constructor method.
1260 (+hildon_date_selector_construct_ui): construct the widget.
1261 (+hildon_date_selector_constructor): new constructor.
1262 (+hildon_date_selector_init): move out widget construction code to
1263 the new constructor.
1265 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1267 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1268 that there's actually a month or year selected before obtaining them.
1269 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1270 of the HildonTouchSelector::changed signal, as it was emitted on every
1271 single item selection.
1273 Fix some warnings and possible crashers due to the selection restoring.
1275 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1277 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1278 the signal handlers only after creating the dialog instead of on every
1281 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1283 * src/hildon-button.c (hildon_button_init)
1284 * src/hildon-check-button.c (hildon_check_button_init)
1285 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1286 focus when clicked by default.
1288 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1290 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1293 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1295 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1296 Alejandro G. Castro (alex@igalia.com)
1298 * src/hildon-picker-dialog.c:
1299 (hildon_picker_dialog_class_init): install new "center-on-show"
1301 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1302 (hildon_picker_dialog_set_property): add setter code for the new
1304 (hildon_picker_dialog_get_property): add getter code for the new
1306 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1307 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1310 Fixes: NB#92849 (Selected item is not always visible when
1311 HildonTouchSelector is shown)
1313 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1315 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1316 Alejandro G. Castro (alex@igalia.com)
1318 * src/hildon-touch-selector.c:
1319 (_create_new_column): Do not connect to the "realize" signal of the
1321 (hildon_touch_selector_append_column): center on the selected items
1322 when a new column is appended.
1323 (hildon_touch_selector_select_iter): Factor out the code to select a
1324 column to hildon_touch_selector_scroll_to().
1325 (+search_nearest_element): Method to retrieve the nearest selected
1326 element to the visible area of the pannable area in a column.
1327 (+on_realize_cb): scroll to the initially selected item.
1328 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1329 the pannable area is realized, otherwise delay this until it is.
1330 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1331 selected items of a given column.
1332 (+hildon_touch_selector_center_on_selected): Public method to center
1333 all columns on the nearest selected item.
1334 * src/hildon-touch-selector.h: Add definition for
1335 hildon_touch_selector_center_on_selected().
1337 Implement public API to ensure visibility of all selected items in
1338 a HildonTouchSelector.
1340 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1342 Fixed a problem in the fading when calling the scroll_to API, and
1343 improve scrollbar fading handling.
1345 * src/hildon-pannable-area.c,
1346 (hildon_pannable_area_grab_notify): avoid the timeout when the
1348 (hildon_pannable_area_button_press_cb),
1349 (hildon_pannable_area_motion_notify_cb): Code style changes.
1350 (hildon_pannable_area_button_release_cb): Review the conditions
1351 when releasing the mouse button to avoid unrequired fading
1353 (hildon_pannable_area_scroll_to): Do not calculate and set the
1354 velocity if the scroll is not required.
1356 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1359 Don't check whether the new selector is NULL: it cannot be.
1360 Hold a reference to the selector while doing the replacement.
1362 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1364 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1365 unnecessary size_request in a removed widget.
1367 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1369 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1370 an unnecessary reference tracking that was leaking.
1372 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1374 Added delayed motion notify event handling, this way we can
1375 discard redrawing if more than 25 events arrive per second.
1377 * src/hildon-pannable-area.c,
1378 (hildon_pannable_area_init): Initialized the new private atributes
1379 controlling this timeout
1380 (hildon_pannable_area_dispose): Remove the timeout that controls
1381 the motion notify events.
1382 (hildon_pannable_area_scroll): Added a condition to control the
1383 use of the acceleration.
1384 (hildon_pannable_area_motion_event_scroll_timeout),
1385 (hildon_pannable_area_motion_event_scroll): Added this two
1386 functions, they handle the motion notify events inside the
1388 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1389 to the scroll method with the new function.
1390 (hildon_pannable_area_button_release_cb): We have to remove the
1391 timeout handler and move to the last position if the last motion
1392 events were not handled.
1394 Fixes: NB#97028 (Pannable area updates on every motion event)
1396 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1398 * src/hildon-pannable-area.c,
1399 (hildon_pannable_area_get_topmost): Added a new parameter to
1400 filter the the windows that do not include those events. Added
1401 also a condition when finding the window to filter windows that do
1402 not ask for those events.
1403 (hildon_pannable_area_button_press_cb),
1404 (hildon_pannable_area_button_release_cb),
1405 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1406 topmost function, we have added the new parameter.
1408 Fixes: NB#97458 (Pannable area prevents propagation of button
1411 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1413 * src/hildon-pannable-area.c,
1414 (hildon_pannable_area_initial_effect): Added controls before
1415 launching the timeout and the idle functions.
1416 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1417 of the method, in some situations it can return with TRUE and 0 in
1419 (hildon_pannable_area_button_press_cb): We do not need to set
1420 DELAY for fading out here.
1422 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1424 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1426 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1427 post-cleaning if the selection is not NULL.
1429 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1431 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1432 all items before restoring the selection.
1434 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/hildon-touch-selector.c:
1437 (+hildon_touch_selector_unselect_all):
1438 * src/hildon-touch-selector.h: New API to unselect all items in a
1439 column of the touch selector.
1441 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1443 * src/hildon-pannable-area.c,
1444 (hildon_pannable_area_redraw): Added a call to the refresh
1445 function inside the redraw because apparently in some cases the
1446 change in the adjustment does not imply a size allocate.
1448 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1449 despite the view not being scrollable)
1451 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1454 leak. Check for NULL before attempting to set the window title.
1456 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1458 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1459 whether to show or not the 'Done' button each time the dialog is
1460 shown, as it depends on the HildonTouchSelector selection mode.
1462 Fixes: NB#96226 (In multiple selection mode Done button is shown
1463 sometimes in listpicker)
1465 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1467 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1468 for the number of columns in the HildonTouchSelector more than once.
1470 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1472 * src/hildon-touch-selector.c: Minor documentation fixes.
1474 * src/hildon-picker-dialog.c (+_dialog_update_title)
1475 (_select_on_selector_changed_cb)
1476 (_update_title_on_selector_changed_cb)
1477 (on_selector_columns_changed): Update dialog title when there's no
1478 'Done' button and also when the number of columns in the selector
1482 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1483 (+_selection_changed, hildon_picker_button_on_dialog_response)
1484 (hildon_picker_button_selector_selection_changed)
1485 (+hildon_picker_button_selector_columns_changed)
1486 (hildon_picker_button_set_selector): Update button value and emit
1487 'value-changed' when the number of columns in the selector
1491 Fixes: NB#96225 (Dialog titles are not shown according to the
1492 values selected in the list picker)
1494 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1496 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1497 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1498 New "arrow-width" and "arrow-height" style properties to set the
1499 size of the arrow button.
1500 Set name of arrow button ("hildon-edit-toolbar-arrow").
1502 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1503 graphics from theme)
1505 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1507 * src/hildon-picker-button.c:
1508 (hildon_picker_button_selector_selection_changed): Use
1509 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1510 the dialog is present.
1512 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1513 the selection is accepted in the dialog)
1515 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1517 * src/hildon-color-chooser.h
1518 * src/hildon-color-chooser-dialog.h:
1519 Added G_BEGIN_DECLS and G_END_DECLS
1521 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1523 (_clean_current_selection): plug a leak in the list.
1525 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1527 * src/hildon-picker-dialog.c:
1528 (+free_path_list): Method to free a GList of GtkTreePaths.
1529 (_clean_current_selection), (_save_current_selection),
1530 (_restore_current_selection): Save the current selection in
1531 as a list of lists, to support multiple selection properly.
1533 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1535 patch by Claudio Saavedra (csaavedra@igalia.com)
1537 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1538 Store the press position.
1539 (+hildon_text_view_button_release_event): If the release position is
1540 close enough to the press position, move the cursor here. Otherwise,
1542 (hildon_text_view_class_init): Override GtkTextView press, release, and
1543 motion event handlers, disabling this way text selection through
1544 pointer interaction, and allowing the container widget to handle the
1547 Fixes: NB#95828 (HildonTextView functionality)
1549 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1551 Based on a patch by Iván Gómez (igomez@igalia.com)
1553 * src/hildon-button.[ch]
1554 * src/hildon-calendar.c
1555 * src/hildon-check-button.c
1556 * src/hildon-date-editor.c
1557 * src/hildon-date-selector.c
1558 * src/hildon-picker-button.c
1559 * src/hildon-time-editor.c
1560 * src/hildon-time-selector.c
1561 * src/hildon-touch-selector.[ch]:
1562 Documentation updates
1564 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1566 * src/hildon-pannable-area.c,
1567 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1568 threshold, it was required due to X events handling.
1570 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1572 * src/hildon-pannable-area.c,
1573 (hildon_pannable_area_grab_notify),
1574 (hildon_pannable_area_initial_effect),
1575 (hildon_pannable_area_button_press_cb),
1576 (hildon_pannable_area_button_release_cb),
1577 (hildon_pannable_area_scroll_cb),
1578 (hildon_pannable_area_scroll_to): Review the timeout management of
1579 the scrollbar, the frecuency was incorrectly set.
1581 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1583 * src/hildon-picker-button.c:
1584 (+hildon_picker_button_on_dialog_response),
1585 (hildon_picker_button_clicked): Present the dialog instead of
1586 running it with gtk_dialog_run().
1588 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1591 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1593 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1594 (hildon_app_menu_finalize): When a window is hidden it doesn't
1595 emit notify::is-topmost, so make sure than the menu also
1596 disappears in that case.
1597 (parent_window_topmost_notify): Renamed from parent_window_hidden
1599 Fixes: NB#94460 (stackable window's menu is not closed when its
1602 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1604 * src/hildon-touch-selector-entry.c:
1605 (+hildon_touch_selector_entry_set_input_mode),
1606 (+hildon_touch_selector_entry_get_input_mode):
1607 * src/hildon-touch-selector-entry.h: New methods to access the input
1608 mode in the selector's entry.
1610 Fixes: NB#93410 (API required for setting IM mode in
1611 HildonTouchSelectorEntry)
1613 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1615 * configure.ac: post release version bump.
1616 * debian/changelog: version bump
1618 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1623 * configure.ac: Bump version.
1624 * debian/changelog: Updates.
1626 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1628 * src/hildon-touch-selector.c:
1629 (_hildon_touch_selector_has_multiple_selection): No need
1630 to initialize the variables here.
1632 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1634 * src/hildon-note-private.h
1635 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1636 (hildon_note_finalize, hildon_note_rebuild): Close information
1637 notes when they receive a button press.
1639 Fixes: NB#89890 (Information notes does not get disappeared after
1642 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1645 mark from the wizard title, as it's not really necessary. Also,
1646 do not display the page title if not set.
1648 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1650 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1651 (parent_window_hidden): Use the window's "is-topmost" property to
1652 detect when to hide the menu.
1654 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1657 (hildon_app_menu_finalize): If the parent window of the menu is
1658 hidden, hide the menu too.
1660 Fixes: NB#94460 (stackable window's menu is not closed when its
1663 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1666 * debian/libhildon1-examples.install
1668 * examples/Makefile.am:
1669 Use dh_install to install all examples.
1670 Use DEB_SRCDIR instead of defining SOURCE_DIR
1672 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1674 * configure.ac: post release version bump.
1675 * debian/changelog: version bump
1677 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1682 * configure.ac: bump version
1683 * debian/changelog: updates
1684 * debian/control: bump gtk+ dependency
1686 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1688 patch by Christian Dywan (christian@imendio.com)
1690 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1691 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1693 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-check-button.c (hildon_check_button_init)
1696 (hildon_check_button_class_init, hildon_check_button_style_set)
1697 (hildon_check_button_apply_style):
1698 New "checkbox-size" style property.
1700 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1701 larger / configurable size)
1703 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1705 * configure.ac: post release version bump.
1706 * debian/changelog: version bump
1708 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1713 * configure.ac: bump version
1714 * debian/changelog: updates
1716 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1718 * doc/hildon-sections.txt
1719 * src/hildon-pannable-area.c
1720 * src/hildon-program.c
1721 * src/hildon-time-editor.c
1722 * src/hildon-touch-selector-entry.c:
1724 More documentation updates.
1726 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1728 * doc/hildon-sections.txt
1729 * src/hildon-caption.c
1730 * src/hildon-code-dialog.c
1731 * src/hildon-color-button.c
1732 * src/hildon-controlbar.c
1733 * src/hildon-date-editor.c
1734 * src/hildon-date-selector.c
1735 * src/hildon-edit-toolbar.c
1736 * src/hildon-find-toolbar.c
1737 * src/hildon-font-selection-dialog.c
1739 * src/hildon-program.c
1740 * src/hildon-range-editor.c
1741 * src/hildon-seekbar.c
1742 * src/hildon-time-editor.c
1743 * src/hildon-time-selector.c
1744 * src/hildon-volumebar-range.c
1745 * src/hildon-volumebar.c
1746 * src/hildon-vvolumebar.c
1747 * src/hildon-weekday-picker.c
1748 * src/hildon-window.c
1749 * src/hildon-wizard-dialog.c:
1751 Lots of documentation fixes.
1753 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1755 Patch contributed by Iván Gómez (igomez@igalia.com)
1757 * src/hildon-check-button.c:
1758 * src/hildon-date-button.c:
1759 * src/hildon-date-selector.c:
1760 * src/hildon-dialog.c:
1761 * src/hildon-edit-toolbar.c:
1762 * src/hildon-entry.c:
1763 * src/hildon-picker-button.c:
1764 * src/hildon-program.c:
1765 * src/hildon-text-view.c:
1766 * src/hildon-time-button.c:
1767 * src/hildon-touch-selector-entry.c:
1768 * src/hildon-window-stack.c:
1770 Add more "since" tags to the new API.
1772 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1774 * doc/hildon-sections.txt: Add below method.
1775 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1776 version for the hildonized scale.
1777 * src/hildon-gtk.h: Add the definition.
1779 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1781 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1783 * doc/hildon-sections.txt: Add missing entries for new methods.
1785 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1787 Added API to pannable are in order to get its adjustments. We
1788 added two properties to manage the values we had in the private
1791 * src/hildon-pannable-area.c:
1792 (hildon_pannable_area_class_init): Added hadjustment and
1793 vadjustment properties in order to expose horizontal and vertical
1795 (hildon_pannable_area_get_property),
1796 (hildon_pannable_area_set_property): Added code to handle the new
1798 (hildon_pannable_area_get_hadjustment),
1799 (hildon_pannable_area_get_vadjustment): API functions to get the
1801 * src/hildon-pannable-area.h:
1802 (hildon_pannable_area_get_hadjustment),
1803 (hildon_pannable_area_get_vadjustment): API functions to get the
1806 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1808 Fixed some leaks, after valgrinding.
1810 * src/hildon-touch-selector.c:
1811 (_default_print_func): Fixed a leak.
1812 (hildon_touch_selector_append_column): Fixed a leak.
1813 * src/hildon-date-button.c:
1814 (hildon_date_button_init): Fixed a leak.
1815 * src/hildon-date-selector.c
1816 (hildon_date_selector_finalize): Fixed a leak.
1818 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1820 Based on a patch by Christian Dywan (christian@imendio.com)
1822 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1824 * src/hildon-gtk.h: Add definition.
1826 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1828 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1830 * src/hildon-picker-button.c: (hildon_picker_button_init),
1831 (hildon_picker_button_new): Set the HildonButton::style property
1832 in the init method, to propagate the value to the derived classes.
1834 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1836 * src/hildon-button.c: (hildon_button_class_init): Do not make
1837 the "style" property a construct property.
1839 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1841 * src/hildon-wizard-dialog.h
1842 * src/hildon-wizard-dialog.c
1843 (hildon_wizard_dialog_set_forward_page_func)
1844 * src/hildon-pannable-area.h
1845 * src/hildon-pannable-area.c
1846 (hildon_pannable_area_set_size_request_policy):
1847 Documentation fixes.
1849 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1851 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1853 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1855 * doc/hildon-sections.txt: Added sections file.
1857 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/*.[ch]: Updates.
1862 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1864 * examples/hildon-progress-indicator-example.c: new file
1865 * examples/Makefile.am: include the new example program
1867 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1869 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1871 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1873 * configure.ac: post release version bump
1874 * debian/changelog: version bump
1876 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1881 * configure.ac: bump version
1882 * debian/changelog: updates
1883 * debian/control: bump gtk+ dependency
1885 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1887 * src/hildon-dialog.c: Mark as deprecated.
1888 * src/hildon-dialog.h: Mark as deprecated.
1889 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1890 from HildonDialog and still work, even if
1891 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1892 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1894 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1895 maemo changes) instead)
1897 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1899 * src/hildon-pannable_area.h:
1900 * src/hildon-pannable_area.c:
1901 (hildon_pannable_area_class_init),
1902 (hildon_pannable_area_set_property),
1903 (hildon_pannable_area_get_property),
1904 (hildon_pannable_area_size_request),
1905 (hildon_pannable_area_get_size_request_policy),
1906 (hildon_pannable_area_set_size_request_policy): Added new API
1907 allowing applications to control the request policy. Now they can
1908 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1909 children allocation (HILDON_MOVEMENT_CHILDREN).
1911 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1915 (hildon_gtk_tree_view_set_ui_mode)
1916 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1917 mode of treeviews and iconviews.
1919 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1921 * src/hildon-touch-selector-entry.c:
1922 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1923 of a GtkEntry to get proper theming.
1925 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1926 widget, not GtkEntry)
1928 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1931 no HildonWizardDialogPageFunc.
1933 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1935 Patch contributed by Iván Gómez (igomez@igalia.com)
1937 * src/hildon-app-menu.c:
1938 * src/hildon-button.c:
1939 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1940 * src/hildon-stackable-window.c:
1941 * src/hildon-time-selector.c:
1942 * src/hildon-touch-selector.c:
1943 * src/hildon-window.c:
1945 Add more "since" tags to the new API in hildon 2.2.
1947 2008-12-05 Tim Janik <timj@imendio.com>
1949 Patch contributed by Christian Dywan (christian@imendio.com)
1951 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1952 HildonSizeType, which are supplied by Gtk+ now.
1954 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1956 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1957 (with maemo changes) instead)
1959 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1961 Patch contributed by Iván Gómez (igomez@igalia.com)
1963 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1966 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1968 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1969 (some_page_func), (main): Update the example to use a
1970 HildonWizardDialogPageFunc function.
1972 * src/hildon-wizard-dialog-private.h: Add private data for
1973 the HildonWizardDialogPageFunc function usage.
1975 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1976 (destroy), (hildon_wizard_dialog_init), (response),
1977 (hildon_wizard_dialog_set_forward_page_func):
1978 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1979 that applications can use to stop a HildonWizardDialog to jump to
1982 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1985 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-program.h
1988 * src/hildon-program-private.h
1989 * src/hildon-program.c (hildon_program_init)
1990 (hildon_program_set_common_app_menu)
1991 (hildon_program_get_common_app_menu):
1992 New API for setting a common HildonAppMenu for all
1993 HildonStackableWindows registered with the HildonProgram.
1995 * src/hildon-stackable-window.c
1996 (hildon_stackable_window_toggle_menu):
1997 Use the common HildonAppMenu if a window doesn't have a specific
2000 * src/hildon-app-menu-private.h
2001 * src/hildon-app-menu.c
2002 (hildon_app_menu_get_parent_window):
2003 Function to obtain the window a HildonAppMenu is attached to.
2004 (hildon_app_menu_set_parent_window):
2005 Hide the menu if the parent window is set to NULL.
2007 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2009 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2010 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2011 search widget to popup.
2013 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2015 * configure.ac: post release version bump
2016 * debian/changelog: version bump
2018 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2023 * configure.ac: bump version
2024 * debian/changelog: updates
2026 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2028 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2030 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2031 (hildon_window_stack_window_realized)
2032 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2033 Set the leader GdkWindow when a window is stacked and realized,
2034 unset it when it's unstacked.
2035 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2037 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2039 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2041 * src/hildon-stackable-window.h
2042 * src/hildon-window-stack.h:
2043 Protect definition of HildonWindowStack using the preprocessor.
2045 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2047 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2048 Fix warning if all menu items are hidden.
2050 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2052 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2054 * src/hildon-controlbar.c:
2055 * src/hildon-hvolumebar.c:
2056 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2057 Multiple scale size defines updates.
2059 Fixes: NB#94322 (Scale Updates)
2061 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2063 * examples/hildon-app-menu-example.c (create_menu)
2064 Show items after adding them to the menu, as in the future the
2065 menu will no longer call gtk_widget_show() on the added items.
2067 * src/hildon-app-menu.c:
2068 Update example as explained above.
2070 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2072 * src/hildon-app-menu.c
2073 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2074 Make sure that all menu items have finger height.
2076 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2078 * src/hildon-picker-dialog.c:
2079 (_on_dialog_response), (_save_current_selection),
2080 (_restore_current_selection), (_clean_current_selection),
2081 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2082 Defined new functions in order to save the current internal selector
2083 selection previous open the dialog, in case that the use cancel the
2084 interaction, so the widget restores the previous selection.
2086 Fixes: NB#92032 (In calendar application, date values in 'new event'
2089 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2091 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2093 * src/hildon-button.c: Add a reference to the button examples in
2094 hildon-button-example.c
2096 * examples/hildon-button-example.c: Added examples of the most
2097 common button layouts.
2099 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2101 * src/hildon-app-menu.c (hildon_app_menu_show)
2102 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2104 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2106 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2108 * src/hildon-picker-dialog.c:
2109 (hildon_picker_dialog_init): Initialize the signal id for
2110 HildonTouchSelector::columns-changed.
2111 (+on_selector_columns_changed): Set up the interaction mode everytime a
2112 column is added or removed from the HildonTouchSelector.
2113 (_hildon_picker_dialog_set_selector): Connect to
2114 HildonTouchSelector::columns-changed and keep track of it.
2116 Make sure to update the interaction mode of the dialog everytime a
2117 column is added or removed in the HildonTouchSelector.
2119 Fixes: NB#93228 (Done button is not shown always in listpicker)
2121 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2123 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2124 a new ::columns-changed signal.
2125 (hildon_touch_selector_append_column): Emit ::columns-changed.
2126 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2128 Add a ::columns-changed signal, emitted when the number of columns in a
2129 HildonTouchSelector changes.
2131 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2134 (_hildon_picker_dialog_set_selector): Factor out the code
2135 to set up the dialog interaction mode.
2137 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2139 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2140 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2141 to signal_changed_id.
2143 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2145 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2148 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2150 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2151 Updated the logical ids related to ampm format, as now it is required to
2152 show it correctly localized even on languages with no default
2153 abbreviations for am or pm
2154 (_check_am_pm_format): check correctly the 24h format gconf property
2156 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2158 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2160 * src/hildon-button.c: Documentation updates.
2162 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2164 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2165 * src/hildon-caption.c: (hildon_caption_class_init):
2166 * src/hildon-color-button.c: (hildon_color_button_class_init):
2167 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2168 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2169 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2170 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2172 Remove deprecated GTK+ marshalers and replace them with the ones
2173 provided by GLib, for those available, add a marshaler for
2174 BOOLEAN:VOID, which is not available in GLib, and use it.
2176 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2178 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2179 the text from the previous column if there is no
2180 HildonTouchSelectorColumn::text-property set.
2182 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-button.h
2185 * src/hildon-button.c (hildon_button_set_property)
2186 (hildon_button_get_property, hildon_button_class_init)
2187 (hildon_button_set_style, hildon_button_get_style):
2188 New "style" property to change the visual appearance of the
2191 * src/hildon-picker-button.c (hildon_picker_button_new):
2192 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2194 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2195 HildonButton look like PickerButton)
2197 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2199 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2200 column while building the default string.
2202 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2205 scroll indicator by default.
2207 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2209 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2211 * src/hildon-main.c: Fix the documentation for hildon_init()
2213 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2215 * doc/hildon-docs.sgml
2219 * src/hildon-window-stack-private.h
2220 * src/hildon-window-stack.h
2221 * src/hildon-window-stack.c:
2222 New HildonWindowStack object, that adds support for multiple
2223 stacks of windows per process.
2225 * src/hildon-stackable-window-private.h
2226 * src/hildon-stackable-window.h
2227 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2228 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2229 (hildon_stackable_window_show, hildon_stackable_window_hide)
2230 (hildon_stackable_window_class_init)
2231 (hildon_stackable_window_init):
2232 Use HildonWindowStack for stack management.
2234 * src/hildon-program.c (hildon_program_pop_window_stack)
2235 (hildon_program_peek_window_stack)
2236 (hildon_program_go_to_root_window):
2237 Add a fallback implementation to the deprecated functions using
2240 * examples/hildon-stackable-window-example.c:
2241 Use the new HildonWindowStack API.
2243 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-stackable-window-private.h
2246 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2247 (hildon_stackable_window_hide, hildon_stackable_window_init):
2248 Remove all window stack management.
2250 * src/hildon-program-private.h
2251 * src/hildon-program.h
2252 * src/hildon-program.c (hildon_program_init)
2253 (hildon_program_pop_window_stack)
2254 (hildon_program_peek_window_stack)
2255 (hildon_program_go_to_root_window):
2256 Remove all window stack management and mark functions as
2259 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-app-menu.c (hildon_app_menu_realize):
2262 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2264 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2266 * configure.ac: post release version bump
2267 * debian/changelog: version bump
2269 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2274 * configure.ac: bump version
2275 * debian/changelog: updates
2277 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2279 Based on initial code by Christian Dywan (christian@imendio.com)
2281 * doc/hildon-docs.sgml: Add section for hildon-main.
2282 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2283 * src/Makefile.am: Add new hildon-main.[ch]
2284 * src/hildon-defines.h: Update the icon sizes.
2285 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2286 new library initialization files and register icon sizes.
2287 * src/hildon-main.h: New declarations.
2288 * src/hildon.h: Include hildon-main.h
2290 Add new initialization functions to the library. These methods
2291 will register the hildon specific icon sizes and can be used in the
2292 future for other hildon specific bits.
2294 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2296 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2298 * src/hildon-window.c: (hildon_window_realize),
2299 (hildon_window_notify), (-hildon_window_update_title): Do not set
2300 the application name in the window title.
2302 Fixes: NB#89754 (Applications shouldn't display their names in the
2305 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2307 * src/hildon-note-private.h:
2308 * src/hildon-note.c: (hildon_note_set_property),
2309 (hildon_note_get_property), (hildon_note_class_init),
2310 (hildon_note_init), (hildon_note_finalize),
2311 (hildon_note_new_confirmation_with_icon_name),
2312 (hildon_note_new_information_with_icon_name):
2314 No need to mark as deprecated the actual code. Revert
2315 to avoid missing symbols in widgets using deprecated API.
2317 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2319 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2321 * src/hildon-volumebar.h
2322 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2323 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2325 * src/hildon-helper.h
2326 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2327 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2329 * examples/Makefile.am:
2330 Deprecate hildon-insensitive-example
2332 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2334 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2336 * examples/hildon-pannable-area-buttons-scroll-example.c:
2337 Make all buttons finger height
2339 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2341 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2343 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2344 update the day model only if it is really required, and to avoid the
2345 full-reconstruction aproach. Now it only add or remove the required days.
2347 The purpose of this is avoid superfluous HildonTouchSelector::changed
2350 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2351 with strange parameters)
2353 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2355 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2357 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2358 the WINDOW_TYPE property.
2360 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2362 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2365 Fix dependency to allow parallel compilation with make -jX
2367 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2369 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2370 color frame and some minor tweaks to make it more consistent with
2373 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2374 highlighted but not visible)
2376 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2378 * examples/Makefile.am: Fixed typo in the Makefile.am.
2380 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2382 Reviewed the use of MAEMO_GTK define, now we add the define in the
2383 compilation line, and we also add it to the pc file.
2385 * configure.ac: Added MAEMO_GTK define to the compilation command
2386 and removed it from the config.h.
2388 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2389 do not have to take care about this define if the library was
2393 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2395 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2397 * examples/Makefile.am,
2398 * examples/hildon-pannable-area-buttons-scroll-example.c,
2399 * examples/hildon-pannable-area-gesture-signals-example.c,
2400 * examples/hildon-pannable-area-scroll-jump-example.c,
2401 * examples/hildon-pannable-area-tree-view-example.c:
2402 Renamed the pannable area examples, now they have more meaningful
2405 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2407 * src/hildon-touch-selector.c:
2408 (hildon_touch_selector_set_column_selection_mode): Used of
2409 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2410 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2411 to avoid re-seting the same selection mode.
2413 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2414 breaks HildonPickerDialog)
2416 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2418 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2419 conditional in the Makefile.am
2421 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2423 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2424 Remove unused methods.
2426 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-button.c (hildon_button_init):
2429 Make button images center-aligned by default
2431 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2434 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2435 activated, we have to think about how to deal with both defines
2436 MAEMO_GTK and MAEMO_CHANGES.
2438 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2440 * examples/hildon-app-menu-example.c (create_menu): Make all
2441 buttons finger size.
2443 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2445 Fixed the compilation without maemo gtk adding ifdefs with
2446 MAEMO_GTK define to the code, we have to check this version more
2449 * examples/Makefile.am: Added control to avoid some examples that
2450 just make sense with maemo gtk.
2453 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2454 hildon modes with the define.
2456 * examples/hildon-edit-toolbar-example.c,
2457 (create_icon_view): Create the icon view without hildon-gtk
2458 helpers if we are not using maemo gtk.
2460 * src/hildon-touch-selector.c,
2461 (_create_new_column): Create the treeview without hildon-gtk
2462 helpers if we are not using maemo gtk.
2464 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2466 * src/hildon-pnnable-area.c,
2467 (hildon_pannable_area_dispose),
2468 (hildon_pannable_area_button_press_cb),
2469 (hildon_pannable_area_child_mapped),
2470 (hildon_pannable_area_add),
2471 (hildon_pannable_area_remove): Added code to control the position
2472 of the event_window when adding and removing children from the
2473 pannable. We have to raise the event window when the child is
2476 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2477 selection mode using custom widget inside pannable)
2479 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2481 * configure.ac: post release version bump
2482 * debian/changelog: version bump
2484 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2489 * configure.ac: bump version
2490 * debian/changelog: updates
2492 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2494 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2495 search mode, in order to avoid lose the focus on the treeview when
2496 a hw key (like enter) is pressed.
2498 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2499 in HildonDateSelector dialog)
2501 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2503 * debian/rules: Added --enable-maintainer-mode
2504 * Makefile.am: Added ACLOCAL_AMFLAGS
2506 This allows to properly regenerate the Makefiles if you modify the
2507 configure.ac or any Makefile.am.
2509 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2511 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2512 properties, not needed at all.
2514 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2516 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2518 * src/hildon-note.c: (hildon_note_set_property),
2519 (hildon_note_get_property), (hildon_note_class_init),
2520 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2521 (hildon_note_new_confirmation_add_buttons): Remove icons.
2522 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2523 (hildon_note_new_information_with_icon_name): Deprecate.
2524 (hildon_note_new_confirmation): Act directly, without calling
2525 the deprecated constructor.
2526 (hildon_note_new_information): Act directly, without calling
2527 the deprecated constructor.
2528 * src/hildon-note.h: Mark deprecate methods as such.
2529 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2530 not run tests on the deprecated methods if built with deprecation
2533 Fixes: NB#91688 (Never show icons in information notes/confirmation
2536 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2538 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2539 (hildon_app_menu_key_press): Remove leftover usage of the
2540 private structure in HildonAppMenu struct.
2541 * src/hildon-app-menu.h: Remove leftover private structure
2542 from the HildonAppMenu struct.
2544 Fixes a crasher when using the HildonAppMenu.
2546 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2548 * src/hildon-picker-dialog.c: Use appropriate logical id
2549 for the default "Done" text.
2551 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2553 * configure.ac: post release version bump
2554 * debian/changelog: version bump
2556 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2558 Modified the way to scroll to the current selection just when the touch
2559 selector is shown on the screen, avoiding a g_idle. Added too a property
2560 to configure this behaviour. See hildon_pannable_area_jump_to_child
2561 documentation for more information.
2563 * src/hildon-touch-selector.c
2564 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2565 Added 'initial-scroll' property
2566 (hildon_touch_selector_set_property): Added
2567 (hildon_touch_selector_map): Removed as not required anymore
2568 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2569 only a concrete column, instead of iterate along all the columns
2571 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2576 * configure.ac: bump version
2577 * debian/changelog: updates
2579 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2581 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2582 compilation time warnings.
2584 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2586 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2587 the default value for HildonPannableArea::mov-mode to
2588 HILDON_PANNABLE_AREA_MODE_VERT.
2590 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2592 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2594 Reverting following commit:
2596 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-app-menu-private.h
2599 * src/hildon-app-menu.[ch]
2600 * src/hildon-button.[ch]
2601 * src/hildon-check-button.[ch]
2602 * src/hildon-entry.[ch]
2603 * src/hildon-pannable-area.[ch]
2604 * src/hildon-text-view.[ch]:
2605 Added private field to the object's structure.
2607 because it causes an ABI breakage. We will need to introduce these
2608 changes later at some point. See NB#91636 for an extensive
2609 explanation and status.
2611 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2613 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2615 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2616 remove special cases that are no longer necessary.
2618 Fixes: NB#91016 (Change toolbar sizes, simplification)
2620 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2622 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2623 is shown in the cancel note.
2625 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2627 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2628 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2629 (hildon_seekbar_init): Remove steppers, remove expose event.
2630 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2632 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2634 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2636 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2637 label font to "SmallSystemFont" for vertically arranged buttons.
2639 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2642 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2644 * src/hildon-check-button.c
2645 (hildon_check_button_set_active, hildon_check_button_clicked):
2646 Don't access private parts directly, use getters instead.
2648 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2650 * src/hildon-check-button.c (hildon_check_button_new):
2651 Align the contents of the check button to the left.
2653 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2655 * src/hildon-pannable-area.c,
2656 (hildon_pannable_area_scroll_to),
2657 (hildon_pannable_area_jump_to),
2658 (hildon_pannable_area_scroll_to_child),
2659 (hildon_pannable_area_jump_to_child): Replace the mapped
2660 precondition of these functions with the realized, it is the
2661 correct state of the widget in this case. Changed the
2662 documentation according to this modification.
2664 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2666 Added a new EXTRA_CFLAGS option to add the deprecated define to
2667 the compilation command. This way we can avoid using the define in
2668 the documentation compilation.
2670 * configure.ac: Defined EXTRA_CFLAGS.
2672 * examples/Makefile.am:
2674 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2676 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2678 * src/hildon-picker-dialog.c:
2679 Defined a utility macro with the desired touch selector height
2680 Removed currently unused separator, and title_label variables from
2682 (hildon_picker_dialog_init): Removed code related to the creation
2683 of unused private variables title_label and separator.
2684 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2685 to ensure correct visualization of the touch selector inside the dialog.
2686 * src/hildon-touch-selector.c
2687 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2688 ensure a concrete height of the widget.
2690 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2693 * tests/Makefile.am:
2695 Remove spurious whitespaces.
2697 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2700 compilation warning after the cancel button removal.
2702 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2704 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2706 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2707 Makefile.am, that way we can choose not to compile some examples
2708 and tests of the deprecated widgets.
2710 * examples/Makefile.am: Divided the sources in deprecated and
2713 * src/Makefile.am: Added undef statement of the deprecated
2714 symbol to the enums file generation process.
2716 * src/hildon-color-chooser-dialog.c
2717 * src/hildon-color-chooser-dialog.h
2718 * src/hildon-color-button.c
2719 * src/hildon-color-button.h
2720 * src/hildon-color-chooser.c
2721 * src/hildon-color-chooser.h
2722 * src/hildon-controlbar.c
2723 * src/hildon-controlbar.h
2724 * src/hildon-date-editor.c
2725 * src/hildon-date-editor.h
2726 * src/hildon-hvolumebar.c
2727 * src/hildon-hvolumebar.h
2728 * src/hildon-private.c
2729 * src/hildon-private.h
2730 * src/hildon-range-editor.c
2731 * src/hildon-range-editor.h
2732 * src/hildon-seekbar.c
2733 * src/hildon-seekbar.h
2734 * src/hildon-time-editor.c
2735 * src/hildon-time-editor.h
2736 * src/hildon-time-picker.c
2737 * src/hildon-time-picker.h
2738 * src/hildon-volumebar.c
2739 * src/hildon-volumebar.h
2740 * src/hildon-vvolumebar.c
2741 * src/hildon-vvolumebar.h
2742 * src/hildon-bread-crumb-trail.h
2743 * src/hildon-bread-crumb-trail.c
2744 * src/hildon-calendar-popup.c
2745 * src/hildon-calendar-popup.h
2746 * src/hildon-weekday-picker.c:
2747 * src/hildon-weekday-picker.h:
2748 * src/hildon-bread-crumb-widget.c:
2749 * src/hildon-bread-crumb-widget.h:
2750 * src/hildon-bread-crumb.c:
2751 * src/hildon-bread-crumb.h:
2752 * src/hildon-calendar.c:
2753 * src/hildon-calendar.h:
2754 * src/hildon-caption.c:
2755 * src/hildon-code-dialog.c:
2756 * src/hildon-code-dialog.h:
2757 * src/hildon-font-selection-dialog.c:
2758 * src/hildon-font-selection-dialog.h:
2759 * src/hildon-get-password-dialog.c:
2760 * src/hildon-get-password-dialog.h:
2761 * src/hildon-login-dialog.c:
2762 * src/hildon-login-dialog.h:
2763 * src/hildon-number-editor.c:
2764 * src/hildon-number-editor.h:
2765 * src/hildon-set-password-dialog.c:
2766 * src/hildon-set-password-dialog.h:
2767 * src/hildon-sort-dialog.c:
2768 * src/hildon-sort-dialog.h: This is the list of deprecated
2771 * src/hildon-touch-selector.c:
2772 * src/hildon-window.c: Added undef statement to avoid compilation
2775 * tests/Makefile.am: Divided the sources in deprecated and
2778 * tests/check_test.c,
2779 (configure_tests): Marked the deprecated code that was adding
2780 suites with deprecated tests.
2782 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2784 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-touch-selector.c: (_default_print_func): Do not
2787 duplicate a string returned by gtk_tree_model_get(), it is already
2790 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2793 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2795 * src/hildon-pannable-area.c
2796 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2797 method, it had problems when adding a widget with viewport the
2798 second time. Now checks if it already has a viewport and uses it.
2800 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2803 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2805 * src/hildon-pannable-area.c,
2806 (hildon_pannable_area_scroll_to),
2807 (hildon_pannable_area_jump_to),
2808 (hildon_pannable_area_scroll_to_child),
2809 (hildon_pannable_area_jump_to_child): Added a precondition to the
2810 scroll and jump to functions: the widget must be mapped before we
2811 can safely call these functions. We have also added documentation
2812 to the functions to explain how to use them in this situation.
2815 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2817 Reviewed the threading handling of the pannable widget, we have
2818 used the gdk_threads_add_timeout function instead of the usual
2819 glib handlers. This avoids some problems with the threads.
2821 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2822 (hildon_pannable_area_initial_effect),
2823 (hildon_pannable_area_scroll_indicator_fade),
2824 (hildon_pannable_area_button_press_cb),
2825 (hildon_pannable_area_timeout),
2826 (hildon_pannable_area_motion_notify_cb),
2827 (hildon_pannable_area_button_release_cb),
2828 (hildon_pannable_area_scroll_cb),
2829 (hildon_pannable_area_scroll_to): Removed the
2830 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2831 gdk_threads_add_timeout.
2833 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2835 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2840 * configure.ac: bump version
2841 * debian/changelog: updates
2843 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2845 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2846 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2847 * src/hildon-color-chooser-dialog.c:
2848 (hildon_color_chooser_dialog_init):
2849 * src/hildon-font-selection-dialog.c:
2850 (hildon_font_selection_dialog_init):
2851 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2853 Remove all cancel/close-like dialogs, as these are not going to be
2856 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2858 * src/hildon-note.c: (hildon_note_rebuild),
2859 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2862 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2864 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2867 sure all buttons are shown, even the Cancel/Close-like ones.
2869 Fixes: NB#90861 (Custom Confirmation dialogs should be
2870 protected from cancel button removal)
2872 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2874 * debian/control: Change libhildon1-examples dependency from libhildon1
2876 * debian/libhildon1-examples.install
2878 * Makefile.am: Modified the final install directory for the examples on
2879 package libhildon1-examples
2880 * Makefile.static: Update clean target in order to remove all the binary
2883 Changes suggested by Claudio after review new libhildon1-examples package
2885 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2887 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2888 * src/hildon-touch-selector.c: Ditto.
2890 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2892 * debian/control: Added new package libhildon1-examples, in order to pack
2893 the current hildon examples as documentation
2894 * debian/rules: Not to compress .c files, modify some includes on the
2895 examples (as normally are compiled locally, but when installed it will
2896 require to include the installed libhildon1 library), and rename
2898 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2899 install all the example files on the new example package
2900 * examples/Makefile.static: Added static makefile that can be used to
2901 compile the examples, once installed the new example package
2902 * examples: Most of the examples were modified in order to grant that
2903 all use only '#include "hildon.h"', in order to be easy to prepare
2904 it on the example package
2906 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2909 * debian/libhildon1-dev.install
2910 * debian/libhildon1-doc.install:
2911 Move all gtk-doc files to a separate libhildon1-doc package.
2913 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2915 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2919 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2921 * debian/rules: Fixed a error in order to avoid unnecessary calls
2922 to autogen.sh on package building
2924 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2926 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2928 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2930 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2933 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2935 * src/hildon-picker-button.c
2936 (hildon_picker_button_finalize):
2937 Free priv->done_button_text
2939 * src/hildon-time-button.c
2940 (hildon_time_button_set_time)
2941 * src/hildon-picker-button.c
2942 (hildon_picker_button_clicked)
2943 (hildon_picker_button_selector_selection_changed)
2944 (hildon_picker_button_set_selector)
2945 * src/hildon-date-button.c
2946 (hildon_date_button_set_date):
2947 Free strings returned by hildon_touch_selector_get_current_text()
2949 * src/hildon-button.c (hildon_button_construct_child):
2950 Fix leaks in priv->image and priv->label_box
2952 Fixes: NB#90535 (Memory leak in picker button)
2954 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2956 * src/hildon-button.c: (hildon_button_get_property): Do not access
2957 private elements directly, use getters instead.
2959 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-app-menu-private.h
2962 * src/hildon-app-menu.c
2963 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2964 Store the menu's parent window.
2966 * src/hildon-stackable-window.c
2967 (hildon_stackable_window_toggle_menu)
2968 (hildon_stackable_window_finalize):
2969 Set the menu's parent window when the menu is shown, unset it when
2972 * src/hildon-app-menu.c
2973 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2974 (hildon_app_menu_class_init):
2975 Send unhandled keyboard accelerators to the parent window.
2977 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-stackable-window.c
2980 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2982 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2984 * configure.ac: post release version bump
2986 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2989 * configure.ac: Bump version
2990 * debian/changelog: Updates
2991 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2994 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2996 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2999 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3000 GtkMenu with Hildon style.
3002 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3004 * src/hildon-picker-button.c:
3005 (hildon_picker_button_set_done_button_text): Set the dialog's
3006 done button text here as well.
3008 Fixes: NB#90232 (Picker button does not set the label on done button
3009 for the second time)
3011 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3013 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3016 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-app-menu.c (hildon_app_menu_insert)
3019 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3020 the HildonAppMenu to be activatable using keyboard accelerators
3021 when the menu is not being shown.
3023 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3025 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-stackable-window.c
3028 (hildon_stackable_window_show):
3029 Don't hide old windows automatically when new windows are shown:
3030 this is now a task for the window manager.
3031 (hildon_stackable_window_class_init)
3032 (hildon_stackable_window_hide):
3033 Remove windows from the stack everytime they're hidden.
3034 (hildon_stackable_window_realize):
3035 Don't change the _NET_WM_WINDOW_TYPE property. Use
3036 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3037 it as a stackable window.
3039 * src/hildon-program.c
3040 (hildon_program_pop_window_stack):
3041 Just hide the window to remove it from the stack.
3042 (hildon_program_go_to_root_window):
3043 Don't call gtk_widget_show(), this is now a task for the window
3046 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3048 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-button.c
3051 (hildon_button_construct_child):
3052 Don't pack anything in the button until text or image are
3053 set. This allows adding a custom child after creating the button
3054 with hildon_button_new().
3055 (hildon_button_finalize, hildon_button_class_init)
3056 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3057 alignment and the label box even when they're not packed in the
3060 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3062 * src/hildon-touch-selector.h:
3063 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3064 currently the type definition was using GTK_TYPE_VBOX
3065 * src/hildon-touch-selector.c:
3066 Added some implementation notes in order to clarify that any other widget
3067 added without the column related API will not be included on the
3068 selection logic, and how the widget is freed, as some people ask about
3070 (hildon_touch_selector_remove): Reimplemented in order to free properly
3071 the column related data when you remove the private hbox.
3072 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3073 to get a proper HildonTouchSelectorColumn documentation
3075 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3077 * src/hildon-touch-selector-entry.c:
3078 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3079 text in the GtkEntry and there is no item selected. Fixes a
3082 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3084 * src/hildon-app-menu-private.h
3085 * src/hildon-app-menu.[ch]
3086 * src/hildon-button.[ch]
3087 * src/hildon-check-button.[ch]
3088 * src/hildon-entry.[ch]
3089 * src/hildon-pannable-area.[ch]
3090 * src/hildon-text-view.[ch]:
3091 Added private field to the object's structure.
3093 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3095 * configure.ac: post-release version bump
3097 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3101 * configure.ac: pre-release version bump
3103 * debian/changelog: updates.
3105 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3107 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3108 Disconnect the handler for HildonTouchSelector::changed.
3110 (hildon_picker_button_selector_selection_changed): Update the button
3111 value if the selection change was not triggered by the
3114 (hildon_picker_button_set_selector): connect to
3115 HildonTouchSelector::changed.
3117 Fixes: NB#89650 (Picker button is not updated, when selection in
3118 selector has changed)
3120 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3122 * src/hildon-picker-dialog.c
3123 (hildon_picker_dialog_realize): Removed as not required
3124 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3125 * src/hildon-picker-button.c
3126 (_current_selector_empty): New function, checks if the selector is empty
3127 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3128 if the current selector is empty, in order to avoid to show the dialog
3129 close the dialog in this case (and shows a g_warning).
3131 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3133 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3135 * src/hildon-pannable-area.c,
3136 (hildon_pannable_area_scroll): Added clause to stop movement when
3137 the child of pannable is smaller than one page.
3138 (hildon_pannable_area_scroll_to): Added conditions to avoid
3139 starting the scrolling movement if the child is smaller than one
3140 page, the complete child is in the screen, we do not have to move.
3142 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3144 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3146 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3147 this is managed automatically by the widget when the size of the
3150 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-picker-button.c
3153 (hildon_picker_button_set_done_button_text): Make a copy of the
3154 text, and free the previous value.
3156 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3158 * src/hildon-touch-selector-entry.c:
3159 (hildon_touch_selector_entry_print_func): Return the selected row's
3160 text if the entry is empty.
3162 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3165 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3169 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-check-button.h
3173 * src/hildon-check-button.c
3174 * examples/hildon-check-button-example.c:
3175 HildonCheckButton is now a new widget. 'toggled' signal added.
3177 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3179 * src/hildon-program-private.h
3180 * src/hildon-program.c (hildon_program_init)
3181 (hildon_program_finalize): Removed unused variables group_leader
3182 and name from HildonProgramPrivate.
3184 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3186 * src/hildon-check-button.c (hildon_check_button_set_active)
3187 (hildon_check_button_get_active, hildon_check_button_new): Use
3188 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3190 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3192 * src/hildon-touch-selector.h
3193 (hildon_touch_selector_set_column_attributes): added deprecation
3194 guard HILDON_DISABLE_DEPRECATED
3195 * src/hildon-time-selector.c
3196 (hildon_time_selector_set_time)
3197 (hildon_time_selector_get_time): Fixed a typo on documentation
3198 * src/hildon-touch-selector.c: update HildonTouchSelector and
3199 HildonTouchSelectorColumn documentation
3200 * src/hildon-touch-selector-entry.c: update "text-column" property
3202 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3203 to be added to the general documentation.
3205 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3207 * examples/hildon-pannable-area-example-4.c,
3209 * examples/hildon-pannable-area-example.c,
3210 (main): Modified the code in order to use the container add, with
3211 viewport treeviews could have problems if they are really big.
3213 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3215 * src/hildon-weekday-picker.c,
3216 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3217 the agreement regarding deprecation in the library.
3219 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3221 * examples/hildon-picker-button-multicolumn-example.c:
3222 (main): Use custom "done" button text.
3224 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3225 (hildon_picker_button_set_property),
3226 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3227 (hildon_picker_button_init),
3228 (+hildon_picker_button_get_done_button_text),
3229 (+hildon_picker_button_set_done_button_text): New methods to customize
3230 the "done" button label in the launched HildonPickerDialog. Also,
3233 * src/hildon-picker-button.h: add the public API.
3235 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-date-selector.h:
3238 * src/hildon-picker-dialog.h:
3239 * src/hildon-time-selector.h:
3240 * src/hildon-touch-selector-column.h:
3241 * src/hildon-touch-selector.h:
3243 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3244 declarations. Fixes gtk-doc warnings.
3246 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3248 * src/hildon-picker-dialog.h
3249 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3250 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3252 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3253 long text is set as label for done button)
3255 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-dialog.c (hildon_dialog_add_button):
3258 Set fixed width to all buttons in the HildonDialog.
3260 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3262 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3264 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3265 Set widget name using class name plus "-finger" or "-thumb".
3267 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3270 'clicked' when the state of the button is manually changed.
3272 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3274 * src/hildon-app-menu.c (hildon_app_menu_realize)
3275 (hildon_app_menu_unrealize, hildon_app_menu_init)
3276 (hildon_app_menu_class_init, item_visibility_changed):
3277 Change the menu layout when the size of the screen changes.
3278 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3279 Show warning only when changing the number of colums using the
3282 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3284 * debian/compat: Set to 5
3285 * debian/control: Update dependencies.
3286 * debian/libhildon1-dbg.install: Remove.
3287 * debian/libhildon1-dev.install: Update according to cdbs paths.
3288 * debian/libhildon1.install: Update according to cdbs paths.
3289 * debian/rules: Switch to cdbs.
3291 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3293 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3294 'item' variable renamed to 'filter'
3296 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-app-menu.c (hildon_app_menu_insert)
3299 (hildon_app_menu_add_filter, remove_item_from_list)
3300 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3301 Don't leak hidden items when the menu is destroyed.
3303 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3305 * src/hildon-app-menu.c (hildon_app_menu_insert)
3306 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3307 (hildon_app_menu_set_columns, item_visibility_changed)
3308 (filter_visibility_changed, hildon_app_menu_repack_filters)
3309 (hildon_app_menu_repack_items):
3310 Repack items and filters separately.
3312 Don't repack all items, change only the ones that are needed to
3315 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3317 * src/Makefile.am: added hildon-touch-selector-column.h
3319 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3321 * src/hildon-touch-selector.c: added the property "text-column" to the
3322 class HildonTouchSelectorColumn, and related get/set functions
3323 (_default_printf_func): updated to use "text-column" property
3324 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3325 "text-column" in his documentation, as this is now included on
3326 HildonTouchSelectorColumn. The get/set_property can still be used,
3327 working as a wrapper to the concrete column "text-column" property
3328 (_text_column_modified): callback added in order to handle the signal
3329 "notify::text-column" of the concrete HildonTouchSelectorColumn
3330 (hildon_touch_selector_entry_get_text_column)
3331 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3332 modified in order to use the HildonTouchSelectorColumn "text-column"
3334 * src/hildon-time-selector.c:
3335 * src/hildon-date-selector.c:
3336 * examples/hildon-touch-selector-example.c
3337 * examples/hildon-touch-selector-multi-cells-example.c
3338 * examples/hildon-picker-button-multicolumn-example.c
3339 Set the right value to "text-column" property on the creation of a new
3340 column using hildon_touch_selector_append_column()
3342 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3344 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-app-menu.c
3347 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3348 updating the layout of the menu, don't create all widgets again,
3349 just repack the items in their new places.
3351 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3353 * src/hildon-time-selector.c
3354 (hildon_time_selector_get_time)
3355 (hildon_time_selector_set_time)
3356 Added documentation of these public methods
3358 * src/hildon-date-button.h
3359 * src/hildon-touch-selector-column.h
3360 * src/hildon-time-button.h
3361 * src/hildon-picker-dialog.h
3362 * src/hildon-time-selector.h
3363 * src/hildon-picker-button.h
3364 * src/hildon-touch-selector.h
3365 * src/hildon-time-picker.h
3366 * src/hildon-date-selector.h
3367 * src/hildon-touch-selector-entry.h
3368 Modified in order to use hildon-widgets code style
3370 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3372 Added deprecated support to the compilation process using
3373 HILDON_DISABLE_DEPRECATED
3375 * configure.ac: Added the --disable-deprecated to the configure
3378 * src/hildon-weekday-picker.c:
3379 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3380 to use the deprecated support. We will update the other deprecated
3381 widgets status in a new patch.
3383 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3385 * configure.ac: Fixed typo with fatal warnings support, the
3386 variable name was not correct
3388 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-app-menu.c
3391 * src/hildon-program.c: Update documentation.
3393 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3395 * configure.ac: Post-release version bump.
3397 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3402 * configure.ac: Pre-release version bump.
3403 * debian/changelog: Updates.
3405 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3407 * NEWS: Update news for previous releases.
3409 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3411 * examples/hildon-touch-selector-multi-cells-example.c:
3412 (create_selector): Update the example to use
3413 hildon_touch_selector_append_column() with a NULL renderer and set
3414 the renderers later.
3415 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3416 passed a NULL renderer. This is documented behavior now.
3418 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3419 This must be used if the developer wants full control on the layout of
3420 the renderers to be added to the column.
3422 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3424 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3426 * src/hildon-touch-selector.c: Documentation fixes.
3428 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-wizard-dialog-private.h: Remove image and box.
3431 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3432 (hildon_wizard_dialog_set_property), (response): Completely remove
3433 image/icon support, and the containers required for the layout.
3435 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3437 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3439 * src/hildon-app-menu.c: Updated documentation.
3441 * src/hildon-stackable-window.c
3442 (hildon_stackable_window_set_main_menu): Unref the old menu after
3443 ref'ing the new one.
3445 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-stackable-window.c
3448 (hildon_stackable_window_set_main_menu): Unref the previous menu
3449 instead of destroying it.
3451 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3452 floating reference and set has_user_ref_count to FALSE to make
3453 HildonAppMenu act like a normal ref-counted widget and not a
3456 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3459 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3461 * src/hildon-touch-selector-column.h: new file
3462 * src/hildon-touch-selector.h
3463 * src/hildon-touch-selector.c
3464 Implemented GtkCellLayout interface, in order to allow to configure
3465 the cell layout on each individual selector column
3466 (hildon_touch_selector_set_column_attributes): marked as deprecated
3467 * examples/hildon-touch-selector-multi-cells-example.c
3468 Example of how to use the GtkCellLayout interface on the selector
3470 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3472 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3474 * src/hildon-app-menu.h
3475 * src/hildon-app-menu.c
3476 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3477 (hildon_app_menu_append, hildon_app_menu_prepend):
3478 New methods to prepend, insert and move items in the menu.
3480 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-wizard-dialog.c:
3484 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3486 (create_title): Update logical IDs and related code.
3487 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3489 * src/hildon-wizard-dialog.h: Note that
3490 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3491 point, as it is not used anymore.
3493 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3495 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3497 * src/hildon-note.c:
3498 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3499 shown. Do not display an icon in confirmation notes nor information
3501 (hildon_note_set_button_text): Update logical ID for cancel button.
3503 Fixes: NB#88850 (Update HildonNote button strings + signals)
3505 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3507 * src/hildon-stackable-window.c
3508 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3510 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-app-menu-private.h
3513 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3514 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3515 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3516 temporary property 'columns' to change the number of columns.
3518 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3520 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3522 * examples/hildon-note-example.c: (on_information_clicked),
3523 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3524 debugging information.
3525 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3527 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3528 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3529 in order to close: this will be handled by the WM from now on.
3531 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3533 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-app-menu-private.h
3536 * src/hildon-app-menu.c
3537 (hildon_app_menu_append, hildon_app_menu_add_filter)
3538 (button_visibility_changed, hildon_app_menu_apply_style)
3539 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3540 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3541 layout everytime a button (item or filter) is shown or hidden.
3543 * src/hildon-stackable-window.c
3544 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3547 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3549 * src/hildon-touch-selector.c:
3550 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3551 that the treeview inside the touch selector is in fremantle hildon mode
3552 * examples/hildon-date-button-example.c
3553 * examples/hildon-picker-button-multicolumn-example.c
3554 * examples/hildon-touch-selector-entry-example.c
3555 * examples/hildon-touch-selector-example.c
3556 * examples/hildon-time-button-example.c
3557 * examples/hildon-picker-button-example.c:
3558 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3560 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3562 * examples/hildon-text-view-example.c: (main): Remove the
3563 gtkrc bits, now handled by the theme.
3565 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3567 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3570 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3572 * po/Makefile.am: Install properly the mo files.
3573 * po/en_GB.po: Update translation, to ease testing purposes.
3575 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3577 * examples/hildon-picker-button-example.c: (main): Select an item
3578 in the selector before setting it to the button.
3580 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3582 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3583 Update button's value if the selector has an item active.
3585 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3586 'value' with the selector)
3588 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3590 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3591 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3592 (hildon_picker_button_class_init): Plug the finalize method.
3593 (hildon_picker_button_set_selector): If there's a previously set
3594 selector, unref'it before setting a new one.
3596 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3597 HildonTouchSelector)
3599 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3601 * src/hildon-touch-selector-entry.c:
3602 (hildon_touch_selector_entry_changed): Check if there is no text
3603 selected before setting the entry text.
3606 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3608 * src/hildon-touch-selector.h
3609 * src/hildon-touch-selector.c
3610 (hildon_touch_selector_get_active)
3611 (hildon_touch_selector_set_active): New methods to set/get the
3612 index of the selected item.
3614 * src/hildon-picker-button.h
3615 * src/hildon-picker-button.c
3616 (hildon_picker_button_get_active)
3617 (hildon_picker_button_set_active): New methods to set/get the
3618 index of the selected item.
3620 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3622 * configure.ac: post-release version bump.
3624 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3628 * configure.ac: Pre-release version bump.
3629 * debian/changelog: Updates.
3630 * debian/control: Add myself as maintainer and depend on l10n
3633 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-window.c
3636 (hildon_window_set_main_menu)
3637 * src/hildon-stackable-window.c
3638 (hildon_stackable_window_set_main_menu):
3639 Updated documentation.
3641 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3644 Don't free selector->priv manually.
3647 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3650 (hildon_gtk_window_set_progress_indicator):
3651 * src/hildon-gtk.h: Added the new API
3652 hildon_gtk_window_set_progress_indicator, it changes the state of
3653 the window progress hint.
3655 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-button.c
3658 * src/hildon-stackable-window.c: Minor documentation updates.
3660 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3662 * src/hildon-stackable-window.c: Updated documentation.
3664 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-defines.h: Update margins definitions
3667 to the Fremantle sizes.
3670 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3672 * src/hildon-touch-selector.c,
3673 (_hildon_touch_selector_set_model): Cleaning the code after
3674 review, removed g_print and #if 0 from the code.
3676 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3678 * src/hildon-edit-toolbar.c: Update documentation.
3680 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3682 * src/hildon-check-button.h
3683 * src/hildon-check-button.c
3684 (hildon_check_button_set_label, hildon_check_button_get_label)
3685 * examples/hildon-check-button-example.c
3686 (button_clicked_cb):
3687 Removed deprecated methods.
3689 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-text-view.c:
3692 Add sample code to the documentation.
3694 * src/hildon-entry.h
3695 * src/hildon-text-view.h:
3696 Minor cosmetic changes.
3698 * src/hildon-entry.c:
3699 Add sample code to the documentation.
3700 (hildon_entry_init, hildon_entry_refresh_contents):
3701 Don't allow NULL values in the placeholder.
3703 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3705 * doc/hildon-docs.sgml
3707 * examples/Makefile.am
3708 * examples/hildon-text-view-example.c
3710 * src/hildon-text-view.c
3711 * src/hildon-text-view.h
3713 New HildonTextView widget, with example.
3715 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3717 * po/POTFILES.in: Add missing files with translatable strings.
3718 Partially fixes NB#88287.
3720 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3722 * examples/hildon-pannable-area-example-2.c: (main): No need to
3723 set the cellrenderer height inside hildon touch lists, the theme does
3726 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3728 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3729 they are integrated in the theme.
3731 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3733 * examples/hildon-entry-example.c: Update the example adding
3734 widgets to modify the text and the placeholder of the HildonEntry.
3736 * src/hildon-entry.c: Show the placeholder everytime the widget
3737 is empty and loses the focus.
3739 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3741 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3743 * src/hildon-pannable-area.c,
3744 (hildon_pannable_area_size_request): Fixed bug in height
3745 requisition, avoid increasing size and add border twice.
3747 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3749 * configure.ac: postrelease version bump.
3751 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3755 * configure.ac: Prerelease version bump.
3756 * debian/changelog: update.
3757 * debian/rules: make -dbg package contain useful debugging symbols.
3759 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3761 * src/hildon-dialog.h
3762 * src/hildon-dialog.c
3763 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3764 New methods to add buttons with finger size.
3765 (hildon_dialog_new_with_buttons):
3766 Create buttons with finger size.
3768 * examples/hildon-dialog-example.c (main): Use HildonDialog
3769 methods to add buttons.
3771 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3773 * src/hildon-entry.c: Updated HildonButton documentation.
3775 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3777 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3778 button value label with (FALSE, FALSE) to prevent NB#88126 from
3781 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3783 * examples/hildon-pannable-area-example.c,
3784 (main): Removed examples panning a vbox inside a pannable
3785 area. Check bug NB#87965
3787 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3789 Patch contributed by Kris Rietveld (kris@imendio.com)
3791 * src/hildon-pannable-area.c,
3792 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3793 get_size and get_position, this saves an X server roundtrip.
3795 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3797 * doc/hildon-docs.sgml
3799 * examples/Makefile.am
3800 * examples/hildon-entry-example.c
3802 * src/hildon-entry.c
3803 * src/hildon-entry.h
3805 New HildonEntry widget, with example.
3807 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3809 * src/hildon-button.c (hildon_button_construct_child): Pack the
3810 image with expand == fill == FALSE. This is a workaround for a bug
3813 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3815 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3816 labels for the text column, to make it more look more dynamic.
3818 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3820 * src/hildon-time-selector.c
3821 Define gettext auxiliar macro N_
3822 (_create_minutes_model)
3823 (_create_hours_model)
3824 (_create_ampm_model): use of strftime in order to fill the model
3825 * src/hildon-date-selector.c
3826 (hildon_date_selector_finalize):
3827 (_locales_init): remove the logic related to get the name of the months
3828 using nl_langinfo, as it is not required anymore
3830 (_create_year_model)
3831 (_create_month_model)
3832 (_update_day_model): use of strftime in order to fill the model properly
3835 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3837 * src/hildon-button.h
3838 * src/hildon-button.c (hildon_button_get_image): New method to
3841 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3843 * src/hildon-touch-selector.c:
3844 (hildon_touch_selector_remove_column): Remove from the correct parent
3845 and also remove the list element and free it.
3848 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3850 * src/hildon-time-selector.c
3851 (_create_hours_model): change the range on 12h ampm format in order to use
3852 a 12-11 range instead of previous 01-12 range
3853 (hildon_time_selector_set_time): change the way to select the current time
3854 on 12h ampm format, due the change on the range
3855 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3858 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3860 * src/hildon-touch-selector.c
3861 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3862 in order to allow use this function on multiple row selection mode if
3863 the column is different that the first one
3866 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3868 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3869 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3871 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3873 * src/hildon-date-selector.h: clean some comments, now on the .c
3874 * src/hildon-date-selector.c
3875 (hildon_date_selector_select_month): first implementation
3876 (hildon_date_selector_select_day): added documentation, reimplemented
3877 using hildon_date_selector_select_current_date to avoid repeat code
3880 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3882 Reviewed interaction logic based on device experiences, refactored
3885 * src/hildon-pannable-area.c,
3886 (hildon_pannable_area_class_init): Updated default vmax speed.
3887 (hildon_pannable_area_calculate_velocity): Added this function, it
3888 avoids duplicate valocity calculation. Adjusted calculation to
3889 avoid problems with zero dist events.
3891 (hildon_pannable_area_motion_notify_cb): Now we use the
3892 calculate_velocity function.
3894 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3896 * src/hildon-date-selector.c
3897 (hildon_date_selector_select_current_date): fix the day range check
3898 as it failed using the last day of the current month
3901 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3903 * src/hildon-touch-selector.c
3904 (hildon_touch_selector_get_num_columns): added a parameter validation
3907 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3909 * examples/Makefile.am
3910 * examples/hildon-edit-toolbar-example.c: Example of the
3911 HildonEditToolbar widget.
3913 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3915 * configure.ac: postrelease version bump.
3917 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3921 * configure.ac: prerelease version bump.
3922 * debian/changelog: update.
3924 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3926 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3927 renderer to display stock icons in the touch list. Also, set the sizes
3928 to the recommended in the style guide.
3930 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3931 * src/hildon-touch-selector.h
3932 (hildon_touch_selector_set_active_iter): renamed, now is
3933 hildon_touch_selector_select_iter
3934 (hildon_touch_selector_get_active_iter): renamed, now is
3935 hildon_touch_selector_get_selected
3936 (hildon_touch_selector_unselect_iter): added
3937 * src/hildon-touch-selector.c
3938 Update after API modification (methods renamed)
3939 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3940 order to avoid problems selecting multiple elements on the column
3941 (hildon_touch_selector_unselect_iter): added the implementation
3942 * src/hildon-time-selector.c
3943 * src/hildon-date-selector.c
3944 * src/hildon-touch-selector-entry.c
3945 Update methods calls after hildon-touch-selector.h API modification (methods
3948 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3950 * src/hildon-stackable-window.c
3951 (hildon_stackable_window_finalize): Call the parent class's finalize.
3953 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3955 * examples/hildon-touch-selector-example.c: (create_selector): Use
3956 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3959 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3961 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3962 set a cell background color, to respect theming.
3964 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3966 * doc/hildon-docs.sgml
3969 * src/hildon-edit-toolbar.c
3970 * src/hildon-edit-toolbar.h
3971 * src/hildon.h: New HildonEditToolbar widget.
3973 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3975 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3978 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3979 * src/hildon-touch-selector.c
3980 (_create_new_column): use g_object_set instead of two g_object_set_property
3982 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3983 * src/hildon-touch-selector.c
3984 (_create_new_column): use of hildon_gtk_tree_view_new to create
3985 the treeview, instead of use directly g_object_new
3986 (_create_new_column): update the property name "vindicator-mode" for the
3987 new one "vscrollbar-policy"
3988 * examples/hildon-date-button-example.c
3989 * examples/hildon-picker-button-multicolumn-example.c
3990 * examples/hildon-touch-selector-entry-example.c
3991 * examples/hildon-touch-selector-example.c
3992 * examples/hildon-time-button-example.c
3993 * examples/hildon-picker-button-example.c
3994 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3995 to all the treeviews inside a pannable area.
3997 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-button.h
4000 * src/hildon-button.c (hildon_button_init)
4001 (hildon_button_set_arrangement, hildon_button_set_alignment)
4002 (hildon_button_set_title_alignment)
4003 (hildon_button_set_value_alignment)
4004 (hildon_button_set_image_alignment)
4005 (hildon_button_construct_child): New methods to set the alignment
4006 of the individual components of the button (title, value,
4007 image). Also, new method to alter the xscale and yscale properties
4008 of the GtkAlignment inside the button, so more complex layouts can
4011 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4013 * src/hildon-button.c (hildon_button_style_set)
4014 (hildon_button_class_init, hildon_button_set_arrangement)
4015 (hildon_button_construct_child): Apply style properties
4016 correctly. Use the 'image-spacing' style property too.
4018 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4020 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4021 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4024 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4026 * src/hildon-pannable-area.c,
4027 (hildon_pannable_area_size_request): Fixed problem with
4028 pannable-area size_request.
4030 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4032 Added management for the grab-focus to a child widget, like a
4033 range, we need to fade out the scrollbar when releasing.
4035 * src/hildon-pannable-area.c,
4036 (hildon_pannable_area_init): Connected the grab-focus signal to
4038 (hildon_pannable_area_grab_notify): Added this function in order
4039 to manage the situation when the grab-focus ends. We have to
4040 fade-out the scrollbar.
4042 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4044 * src/hildon-app-menu.c: Minor documentation update.
4046 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4048 * src/hildon-app-menu.c
4049 * examples/hildon-app-menu-example.c (create_menu): Update
4050 examples and documentation to explain how to connect callbacks.
4052 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4054 * examples/hildon-button-example.c
4055 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4056 hildon_stackable_window_new instead of gtk_window_new
4058 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4060 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4061 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4062 (hildon_pannable_area_set_property),
4063 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4064 (hildon_pannable_area_unrealize),
4065 (hildon_pannable_area_size_request),
4066 (hildon_pannable_area_size_allocate),
4067 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4068 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4069 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4070 (hildon_pannable_area_initial_effect),
4071 (hildon_pannable_area_redraw),
4072 (hildon_pannable_area_scroll_indicator_fade),
4073 (hildon_pannable_area_expose_event),
4074 (hildon_pannable_area_get_topmost), (synth_crossing),
4075 (hildon_pannable_area_button_press_cb),
4076 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4077 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4078 (hildon_pannable_area_motion_notify_cb),
4079 (hildon_pannable_area_button_release_cb),
4080 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4081 (hildon_pannable_area_remove),
4082 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4083 chage the code layout to a more GtkWidget like. Review the use of
4086 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4088 * examples/hildon-pannable-area-example-4.c,
4089 (main): Modified the name of the hindicator_mode to
4092 * src/hildon-pannable-area.c,
4093 (hildon_pannable_area_class_init),
4094 (hildon_pannable_area_motion_notify_cb),
4095 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4096 we have reduced the amount of signals and managed reviewed its
4097 rationale. Changed the default decelerate value.
4099 (hildon_pannable_area_add),
4100 (hildon_pannable_area_redraw): Refactored functions.
4102 (hildon_pannable_area_init),
4103 (hildon_pannable_area_get_property),
4104 (hildon_pannable_area_set_property):
4105 (hildon_pannable_draw_vscroll),
4106 (hildon_pannable_draw_hscroll),
4107 (hildon_pannable_area_initial_effect),
4108 (hildon_pannable_area_expose_event),
4109 (hildon_pannable_area_scroll),
4110 (hildon_pannable_area_button_press_cb),
4111 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4112 and vindicator_mode with hscrollbar_policy and
4113 vscrollbar_policy. Replaced hscroll and vscroll with
4114 hscroll_visible and vscroll_visible.
4116 (hildon_pannable_area_refresh): Refactor the function, remove
4117 variables and check the calls to this function, added resize
4118 conditions in case the children change their layout.
4120 (hildon_pannable_area_size_request): Added more detailed
4121 size_request calculation.
4124 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4126 * src/hildon-color-chooser.c
4127 (init_borders): use the correct gtk_border_free instead of g_free, to
4128 avoid a crash when this widget is used (ie: the three color selection
4131 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4133 * src/hildon-check-button.c,
4134 (hildon_check_button_set_active): Fixed problem when setting the
4135 active value, the widget was not redrawn.
4137 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4139 * src/hildon-pannable-area.c,
4140 (hildon_pannable_area_refresh),
4141 (hildon_pannable_area_scroll),
4142 (hildon_pannable_area_motion_notify_cb): Small code style change.
4144 (hildon_pannable_area_class_init): Default initial_hint set to
4145 FALSE, it is not in the specs.
4147 (hildon_pannable_area_initial_effect),
4148 (hildon_pannable_area_expose_event),
4149 (hildon_pannable_area_map),
4150 (hildon_pannable_area_init): Moved the launching point of the
4151 initial effect, it was in map but the sizes where not correct in
4152 that method so we do not know if we have the reproduce it. Now it
4153 is placed in the expose_event method and uses a variable to
4154 reproduce it just once.
4156 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4158 * src/hildon-pannable-area.c,
4159 (hildon_pannable_draw_vscroll),
4160 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4161 position allowed for the scrollbars.
4163 (hildon_pannable_area_size_allocate): Small style change.
4165 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4167 * src/hildon-pannable-area.c,
4168 (hildon_pannable_area_scroll_indicator_fade),
4169 (hildon_pannable_area_button_press_cb),
4170 (hildon_pannable_area_button_release_cb),
4171 (hildon_pannable_area_scroll_cb),
4172 (hildon_pannable_area_expose_event),
4173 (hildon_pannable_area_init): Added the define parameter
4174 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4175 and refactor the fade variable.
4177 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4179 * src/hildon-pannable-area.c,
4180 (hildon_pannable_area_redraw),
4181 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4182 lines, we were reimplemeting the redraw code.
4184 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4186 * src/hildon-pannable-area.c,
4187 (hildon_pannable_area_scroll_cb),
4188 (hildon_pannable_area_realize),
4189 (hildon_pannable_area_class_init): Added scroll_event management
4190 for pannable area, now we can scroll the usual desktop method.
4192 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4193 initialization of the parameters should depend on idle_id.
4195 (hildon_pannable_area_init),
4196 (hildon_pannable_area_map): Small code style modifications
4198 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4200 * src/hildon-pannable-area.c
4201 (hildon_pannable_area_button_press_cb),
4202 (hildon_pannable_area_motion_notify_cb),
4203 (hildon_pannable_area_button_release_cb),
4204 (hildon_pannable_area_size_allocate),
4205 (hildon_pannable_area_scroll_to): Improved the timeouts
4206 management, we avoid creating them each time.
4208 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4210 * src/hildon-pannable-area.c:
4211 (hildon_pannable_area_refresh),
4212 (hildon_pannable_area_motion_notify_cb),
4213 (hildon_pannable_area_class_init):
4214 * src/hildon-pannable-area.h:
4215 * src/hildon-touch-selector.c
4216 (_create_new_column):
4217 * examples/hildon-pannable-area-example-4.c:
4218 (horizontal_movement),
4219 (vertical_movement),
4221 Replaced the names of enums in the HildonPannableArea:
4222 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4223 HILDON_MOVEMENT_MODE_*
4224 - HILDON_PANNABLE_AREA_MOV_* ->
4226 - Removed HildonPannableAreaIndicatorMode, now we
4229 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4231 * examples/hildon-pannable-area-touch-grid-example.c
4232 * examples/hildon-pannable-area-touch-list-example.c: Fix
4233 compilation warnings.
4235 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4237 * src/hildon-gtk.c (hildon_gtk_button_new)
4238 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4239 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4240 images overriding the value of the "gtk-button-images" setting.
4242 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4244 * src/hildon-check-button.c (hildon_check_button_new):
4245 Instead of using a custom container, display the label and the
4246 checkbox using the standard GtkButton API.
4248 * examples/hildon-check-button-example.c (main): Don't use
4249 hildon_check_button_set_label() anymore
4251 * src/hildon-check-button.h
4252 * src/hildon-check-button.c
4253 (hildon_check_button_set_label, hildon_check_button_get_label):
4254 Set as deprecated, now we're using gtk_button_{get,set}_label()
4256 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4258 * src/hildon-pannable-area.c,
4259 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4260 GtkTreeview first line we detected it after the inclusion of the
4261 GtkWindowImpl in gtk+. We now check if the window is visible, not
4262 just if the pointer is over the window.
4263 (hildon_pannable_axis_scroll),
4264 (hildon_pannable_area_expose_event): Small style changes.
4266 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4268 * src/hildon-button.c: Update documentation.
4270 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4272 * examples/hildon-button-example.c: Add a switch to show images in
4275 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4277 * doc/hildon-docs.sgml: Some docs reorganization.
4279 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4281 * examples/hildon-pannable-area-touch-list-example.c
4283 * examples/hildon-pannable-area-touch-grid-example.c
4284 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4285 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4286 Fix memory leak when setting the tree model.
4288 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4292 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4294 * doc/hildon.types: Remove duplicated hildon_window_get_type
4295 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4296 documentation comment.
4298 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4300 * doc/Makefile.am: Complete list of private headers.
4302 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4304 * doc/hildon-docs.sgml
4305 * src/hildon-app-menu.c
4306 * src/hildon-bread-crumb.c
4307 * src/hildon-button.c
4309 * src/hildon-program.c
4310 * src/hildon-stackable-window.c
4311 * src/hildon-window.c: Lots of documentation updates.
4313 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4315 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4317 * configure.ac: Require Gtk+ 2.12.9 at least
4319 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4321 * src/hildon-pannable-area.c
4322 (hildon_pannable_area_scroll_indicator_fade),
4323 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4324 to protect the return of this timeout callbacks, avoiding deadlocks.
4326 2008-08-12 Christian Dywan <christian@imendio.com>
4329 * src/hildon-*.h: Ensure a consistent include order,
4330 include <gtk/gtk.h> instead of particular files and
4331 only include the topmost header in the gtk stack. See NB #39857
4333 2008-08-12 Christian Dywan <christian@imendio.com>
4335 * src/hildon-picker-dialog.c
4336 * src/hildon-touch-selector.c: Fix warnings about unused and
4337 uninitialized variables.
4339 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4341 * examples/Makefile.am
4342 * examples/hildon-check-button-example.c: Example of the hildon
4345 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4347 * src/hildon-window.h
4348 * src/hildon-window.c (hildon_window_class_init)
4349 (hildon_window_unset_program): Don't make
4350 hildon_window_unset_program a virtual function anymore.
4352 * src/hildon-stackable-window.c: Update documentation
4354 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4357 * doc/hildon-docs.sgml
4358 * doc/visual_index.xml
4359 * src/hildon-defines.c
4361 * src/hildon-helper.c
4362 * src/hildon-range-editor.c: Lots of documentation fixes.
4364 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4366 * examples/hildon-picker-button-multicolumn-example.c
4367 (create_touch_selector): Fix compilation warning.
4369 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4371 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4372 (hildon_pannable_area_button_release_cb)
4373 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4375 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4377 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4380 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4382 * src/hildon-bread-crumb-trail.h
4383 * src/hildon-date-editor.c
4384 * src/hildon-date-selector.c
4385 * src/hildon-pannable-area.c
4386 * src/hildon-picker-dialog.c
4387 * src/hildon-time-selector.c
4388 * src/hildon-touch-selector-entry.c
4389 * src/hildon-touch-selector.c
4390 * src/hildon-touch-selector.h: Misc documentation fixes
4392 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4394 * examples/hildon-date-editor-example.c (main): Updated date
4397 * examples/hildon-note-example.c (on_confirmation_clicked):
4398 Updated confirmation note example.
4400 * src/hildon-date-editor.c
4401 * src/hildon-note.c: Updated sample programs in documentation.
4404 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4406 * src/hildon-date-button.h:
4407 * src/hildon-picker-button.h:
4408 * src/hildon-time-button.c:
4409 * src/hildon-time-button.h:
4411 Some declarations changes to allow gtk-doc to document the widgets
4414 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4416 * src/hildon-date-button.c: Document the widget.
4417 * src/hildon-time-button.c: Document the widget.
4419 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4421 * src/hildon-picker-button.c: Document the widget.
4422 * src/hildon-touch-selector-entry.c: Document the widget.
4424 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4426 * doc/hildon-docs.sgml
4429 * src/hildon-check-button.h
4430 * src/hildon-check-button.c: New functions to create the Hildon
4434 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4436 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4438 * src/hildon-button.h
4439 * src/hildon-button.c
4440 (hildon_button_add_title_size_group)
4441 (hildon_button_add_value_size_group)
4442 (hildon_button_add_image_size_group)
4443 (hildon_button_add_size_groups): New functions to set size groups
4444 for the button labels and image.
4445 (hildon_button_new_full): Removed
4447 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4449 * src/hildon-time-selector.c
4450 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4451 in order to avoid a crash if gconf is not available
4453 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4455 * src/hildon-button.c (hildon_button_set_arrangement)
4456 (hildon_button_construct_child): Don't construct the button child
4457 before setting the arrangement.
4459 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4461 * src/hildon-program-private.h
4462 * src/hildon-program.c
4463 * src/hildon-program.h
4464 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4465 (hildon_program_peek_window_stack)
4466 (hildon_program_pop_window_stack)
4467 (hildon_program_go_to_root_window): HildonProgram now has a
4468 separate list for stackable windows. Functions are provided to
4469 manage that list with a stack-like API.
4471 * src/hildon-stackable-window.c: Stackable window management is
4472 now much simpler with the new HildonProgram API. Windows no
4473 longer need to be manually added to the program, they're
4474 automatically pushed to the top of the stack when shown.
4476 * examples/hildon-stackable-window-example.c: Updated example to
4477 reflect the API changes.
4479 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-touch-selector.c: Comment out unimplemented
4482 hildon_touch_selector_insert_column() to avoid a compile warning.
4484 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4486 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4487 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4488 (hildon_touch_selector_set_column_selection_mode),
4489 (_hildon_touch_selector_set_model),
4490 (hildon_touch_selector_set_model):
4492 Complete review of HildonTouchSelector documentation.
4494 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4496 * doc/hildon-docs.sgml
4500 * src/hildon-gtk.c: Convenience functions for standard Gtk
4501 widgets, used to easily perform frequent operations.
4503 * src/hildon-button-helpers.h
4504 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4506 * src/hildon-helper.h
4507 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4508 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4510 * src/hildon-button.h
4511 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4513 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4515 * src/hildon-button.c (hildon_button_init)
4516 (hildon_button_set_arrangement, hildon_button_construct_child):
4517 Pack the image and the labels inside the same GtkAlignment so
4518 gtk_button_set_alignment() can be used
4520 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4522 * src/hildon-button.h
4523 * src/hildon-button.c
4524 (hildon_button_init, hildon_button_set_image)
4525 (hildon_button_set_image_position)
4526 (hildon_button_construct_child): New functions to add an image to
4529 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4531 * src/hildon-date-button.c
4532 * src/hildon-picker-button.c
4533 * src/hildon-time-button.c
4534 * src/hildon-button.c:
4535 (hildon_button_class_init): "size-flags" renamed to "size"
4536 (hildon_button_set_title): Hide the title label if set to NULL.
4538 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4540 HildonButtonFlags split into HildonButtonArrangement (to set the
4541 button layout) and HildonSizeType (which can be used for any
4544 * src/hildon-button.h
4545 * src/hildon-button.c
4546 (hildon_button_class_init)
4547 (hildon_button_set_arrangement)
4548 (hildon_button_set_property): New "size-flags"
4549 property. "arrangement-flags" renamed to "arrangement".
4550 (hildon_button_new, hildon_button_new_with_text)
4551 (hildon_button_new_full): Constructors updated to reflect type changes.
4553 * src/hildon-helper.h
4554 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4555 to set the size of a widget.
4559 * src/hildon-button-helpers.c
4560 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4562 * src/hildon-date-button.c
4563 * src/hildon-date-button.h
4564 * src/hildon-picker-button.c
4565 * src/hildon-picker-button.h
4566 * src/hildon-time-button.c
4567 * src/hildon-time-button.h: Updated widgets to reflect
4568 HildonButton API changes.
4570 * examples/hildon-button-example.c
4571 * examples/hildon-date-button-example.c
4572 * examples/hildon-picker-button-example.c
4573 * examples/hildon-picker-button-multicolumn-example.c
4574 * examples/hildon-time-button-example.c
4575 * examples/hildon-touch-selector-entry-example.c
4576 * examples/hildon-touch-selector-example.c: Updated examples to
4577 reflect HildonButton API changes.
4579 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4581 * doc/hildon-docs.sgml:
4583 * examples/Makefile.am:
4584 * examples/hildon-touch-selector-entry-example.c:
4586 * src/hildon-touch-selector-entry.c:
4587 * src/hildon-touch-selector-entry.h:
4590 Moved HildonTouchSelectorEntry from sandbox. Added its
4591 documentation and examples.
4593 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4595 * src/hildon-touch-selector.h:
4596 * examples/hildon-picker-button-multicolumn-example.c:
4597 (hildon_touch_selector_append_text_column): Add a gboolean
4598 parameter to determine if text must be centered in the column.
4600 * src/hildon-date-selector.c: (hildon_date_selector_init):
4601 * src/hildon-time-selector.c: (hildon_time_selector_init):
4602 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4603 (create_touch_selector): Update widgets and example to reflect
4606 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4608 * src/hildon-touch-selector.c:
4609 (hildon_touch_selector_set_active_iter): Set also the cursor in
4612 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4614 * doc/hildon-docs.sgml
4617 * src/hildon-toggle-button.c
4618 * src/hildon-toggle-button.h
4619 * src/hildon.h: Removed HildonToggleButton widget, a derived
4620 class is not necessary for this.
4622 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4624 * src/hildon-pannable-area.c,
4625 (hildon_pannable_area_realize),
4626 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4629 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4631 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4632 "done" button the default widget for the dialog.
4634 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-touch-selector.c:
4637 (hildon_touch_selector_class_init),
4638 (hildon_touch_selector_get_property),
4639 (_hildon_touch_selector_set_model),
4640 (_hildon_touch_selector_has_multiple_selection),
4641 (hildon_touch_selector_has_multiple_selection):
4642 Add a "has-multiple-selection" property with a virtual
4643 has_multiple_selection() method to allow derived classes to
4644 override the default value for it. See the method and property
4645 documentation for details.
4647 * src/hildon-touch-selector.h: Add the new API.
4649 * src/hildon-picker-dialog.c: (requires_done_button): Call
4650 hildon_touch_selector_has_multiple_selection() instead of
4651 determining the need for a button itself.
4653 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4655 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4656 (_hildon_touch_selector_set_model),
4657 (hildon_touch_selector_set_model): Move working code to
4658 _hildon_touch_selector_set_mode(). Call the class method instead.
4660 * src/hildon-touch-selector.h: Add (*set_model) to
4661 HildonTouchSelectorClass.
4663 Make hildon_touch_selector_set_model() a virtual method, so that
4664 derived classes can extend it and do fancy stuff with the model.
4666 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4668 * configure.ac: Set back the tarname in AC_INIT to hildon.
4670 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4674 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4675 instead of libesd (NB#86876). Volume handling is still an open issue.
4677 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4680 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4682 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4683 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4684 derived class to ease placement of an entry widget in
4685 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4686 end, where the selector columns are packed now.
4688 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-picker-button.c: Removed the simple _text() API.
4691 * src/hildon-picker-button.h: Likewise.
4693 * src/hildon-touch-selector.h:
4694 * src/hildon-touch-selector.c:
4695 (hildon_touch_selector_new_text),
4696 (hildon_touch_selector_append_text),
4697 (hildon_touch_selector_prepend_text),
4698 (hildon_touch_selector_insert_text):
4700 Moved the simple _text() API from HildonPickerButton to
4701 HildonTouchPicker, to provide better escalability and not to tie
4702 that API to HildonPickerButton.
4704 * examples/hildon-picker-button-example.c: (main): Example updated.
4706 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4708 * src/hildon-button.c: Updated documentation.
4710 * examples/hildon-button-example.c: Add the posibility to create
4711 the buttons using horizontal layout for title and value.
4713 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-app-menu-private.h
4716 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4717 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4718 GtkSizeGroup for the filters, use the 'homogeneous' property of
4721 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4723 * examples/hildon-button-example.c: Updated example.
4725 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4727 * doc/hildon-docs.sgml:
4730 Update documentation.
4732 * examples/Makefile.am: Update renamed examples.
4734 * examples/hildon-picker-button-multicolumn-example.c:
4735 (create_touch_selector), (main): Update after the rename.
4737 * examples/hildon-touch-picker-example.c: Removed.
4738 * examples/hildon-touch-selector-example.c: (value_changed),
4739 (create_selector), (get_visible_content), (main): Renamed from
4740 hildon-touch-picker-example.c
4742 * src/Makefile.am: Updated renamed files.
4744 * src/hildon-date-button.c: (hildon_date_button_init),
4745 (hildon_date_button_get_date), (hildon_date_button_set_date):
4746 * src/hildon-date-selector.c: (hildon_date_selector_init),
4747 (_custom_print_func), (_update_day_model),
4748 (_manage_selector_change_cb),
4749 (hildon_date_selector_select_current_date),
4750 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4751 * src/hildon-date-selector.h:
4752 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4753 (hildon_picker_button_set_property),
4754 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4755 (hildon_picker_button_init), (hildon_picker_button_new_text),
4756 (hildon_picker_button_append_text),
4757 (hildon_picker_button_prepend_text),
4758 (hildon_picker_button_insert_text),
4759 (hildon_picker_button_set_selector),
4760 (hildon_picker_button_get_selector):
4761 * src/hildon-picker-button.h:
4762 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4763 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4764 (_update_title_on_selector_changed_cb), (requires_done_button),
4765 (_hildon_picker_dialog_set_selector),
4766 (hildon_picker_dialog_set_selector),
4767 (hildon_picker_dialog_get_selector):
4768 * src/hildon-picker-dialog.h:
4769 * src/hildon-time-button.c: (hildon_time_button_init),
4770 (hildon_time_button_get_time), (hildon_time_button_set_time):
4771 * src/hildon-time-selector.c: (hildon_time_selector_init),
4772 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4773 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4774 * src/hildon-time-selector.h:
4777 Massive code updates after the rename.
4779 * src/hildon-touch-picker.c: Removed.
4780 * src/hildon-touch-picker.h: Removed.
4782 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4783 (hildon_touch_selector_init), (hildon_touch_selector_map),
4784 (hildon_touch_selector_remove), (_default_print_func),
4785 (_selection_changed_cb), (_create_new_column),
4786 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4787 (hildon_touch_selector_append_text_column),
4788 (hildon_touch_selector_remove_column),
4789 (hildon_touch_selector_set_column_attributes),
4790 (hildon_touch_selector_insert_column),
4791 (hildon_touch_selector_get_num_columns),
4792 (hildon_touch_selector_get_column_selection_mode),
4793 (hildon_touch_selector_set_column_selection_mode),
4794 (hildon_touch_selector_set_print_func),
4795 (hildon_touch_selector_get_print_func),
4796 (hildon_touch_selector_get_active_iter),
4797 (hildon_touch_selector_set_active_iter),
4798 (hildon_touch_selector_get_selected_rows),
4799 (hildon_touch_selector_get_model),
4800 (hildon_touch_selector_set_model),
4801 (hildon_touch_selector_get_current_text),
4802 (_hildon_touch_selector_center_on_selected_items):
4803 * src/hildon-touch-selector.h: Renamed from
4804 hildon-touch-picker.[ch]
4806 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4807 references, code examples, and related documentation.
4809 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4811 * doc/hildon-docs.sgml
4814 * src/hildon-toggle-button.c
4815 * src/hildon-toggle-button.h
4816 * src/hildon.h: New HildonToggleButton widget.
4818 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4820 * src/hildon-button.c: Add API documentation.
4821 (hildon_button_set_size_groups): Check input parameters
4823 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4825 * src/hildon-pannable-area.c
4826 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4827 effect after reaching the movement thredshold. This way we start
4828 using the distance after passing the thredshold.
4830 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4832 * src/hildon-button.c: (hildon_button_set_property): Use the
4833 appropriate g_value_get_flags() method.
4835 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4837 * doc/hildon-docs.sgml:
4840 Add the touch pickers, picker dialogs, and picker button widgets
4841 to the documentation.
4843 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4845 * src/hildon-button.c: (hildon_button_set_property),
4846 (hildon_button_class_init): Make "arrangement-flags" a proper
4847 G_TYPE_FLAGS derived property.
4849 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4851 * examples/Makefile.am: Add below examples.
4852 * examples/hildon-date-button-example.c:
4853 * examples/hildon-picker-button-example.c:
4854 * examples/hildon-picker-button-multicolumn-example.c:
4855 * examples/hildon-time-button-example.c:
4856 * examples/hildon-touch-picker-example.c:
4858 Add examples for the recently added touch pickers,
4859 picker dialogs, and picker button widgets.
4861 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4863 * src/hildon-button.c: Add some API documentation
4865 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-button.h
4868 * src/hildon-button.c
4870 (hildon_button_new_with_text): New constructor to create a button
4871 with no text at all.
4872 (hildon_button_init, hildon_button_set_arrangement)
4873 (hildon_button_set_title, hildon_button_set_value)
4874 (hildon_button_set_text)
4875 (hildon_button_construct_child): Hide the value when it's not used
4876 so the rest of the text is properly aligned.
4877 Allow creating buttons with arbitrary widgets inside (not just
4878 title/value labels).
4880 * examples/hildon-button-example.c (vertical_buttons_window)
4881 (horizontal_buttons_window): Update example to use new API.
4883 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4885 * src/Makefile.am: Added HildonTimeButton.
4886 * src/hildon-time-button.c: Added missing LGPL header.
4887 * src/hildon-time-button.h: Added missing LGPL header.
4888 * src/hildon.h: Add hildon-time-button.h
4890 Copied HildonTimeButton from sandbox to trunk. Future work on this
4891 widget must take place in trunk.
4893 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4895 * src/Makefile.am: Added HildonDateButton.
4896 * src/hildon-date-button.c: Update includes.
4897 * src/hildon.h: Add hildon-date-button.h
4899 Copied HildonDateButton from sandbox to trunk. Future work on this
4900 widget must take place in trunk.
4902 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4904 * src/Makefile.am: Added HildonPickerButton.
4905 * src/hildon-picker-button.h: Update includes.
4906 * src/hildon.h: Add hildon-picker-button.h
4908 Copied HildonPickerButton from sandbox to trunk. Future work on
4909 this widget must take place in trunk.
4911 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4913 * src/Makefile.am: Added HildonPickerDialog.
4914 * src/hildon-picker-dialog.c: Update includes.
4915 * src/hildon.h: Add hildon-picker-dialog.h
4917 Copied HildonPickerDialog from sandbox to trunk. Future work
4918 on this widget must take place in trunk.
4920 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4922 * src/Makefile.am: Added HildonTimeSelector.
4923 * src/hildon.h: Add hildon-time-selector.h
4925 Copied HildonTimeSelector widget from sandbox to trunk. Future
4926 work on this widget must happen in trunk.
4928 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4930 * src/Makefile.am: Added HildonDateSelector.
4931 * src/hildon.h: Add hildon-date-selector.h
4933 Copied HildonDateSelector widget from sandbox to trunk. Future
4934 work on this widget must happen in trunk.
4936 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4938 * src/Makefile.am: Added HildonTouchPicker.
4939 * src/hildon-touch-picker.c: Update includes.
4940 * src/hildon.h: Add hildon-touch-picker.h
4942 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4943 on this widget must happen in trunk.
4945 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4947 * src/hildon-pannable-area.c:
4948 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4950 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4952 * examples/hildon-app-menu-example.c (main): Let the window
4955 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4957 * src/hildon-pannable-area.c
4958 (hildon_pannable_area_class_init): Set the min value of the
4959 overshoot properties to zero, which points out that not
4960 overshooting allowed.
4962 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4964 Modified the procedure to get the widget at a point inside the
4965 pannable area when using the movement type signals. Now the user
4966 has to call a function to get the child, that way we just
4967 calculate the child in case the user really want to use it and not
4970 * src/hildon-marshalers.list: Modified the marshallers, now we do
4971 not have the widget as a parameter.
4973 * src/hildon-pannable-area.c
4974 (hildon_pannable_area_motion_notify_cb),
4975 (hildon_pannable_area_class_init),
4976 (hildon_pannable_get_child_widget_at): Removed the widget
4977 parameter from the signal callback. We have also refactored the
4978 emission of the signals.
4980 * src/hildon-pannable-area.h: Added a new method to the API to
4981 calculate a widget at a point inside the pannable area,
4982 hildon_pannable_get_child_widget_at.
4984 * examples/hildon-pannable-area-example-4.c
4985 (horizontal_movement): Modified the example to use the new API,
4986 added condition to control which widget is under the event. This
4987 way we can avoid scrolling laterally over other widgets.
4989 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4991 * src/hildon-pannable-area.c
4992 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4993 modes, we stop getting the pointer events due to returning the
4994 callback without properly calling the get pointer again. Fixed
4995 also an error using the hscroll and vscroll.
4997 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4999 * src/hildon-app-menu-private.h
5000 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5001 (hildon_app_menu_button_release, hildon_app_menu_init)
5002 (hildon_app_menu_class_init): Don't hide the menu on button
5003 release if the user didn't press outside first.
5005 * src/hildon-window.h
5006 * src/hildon-window.c (hildon_window_toggle_menu)
5007 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5008 hildon_window_toggle_menu a virtual function for the stackable
5009 window to override it.
5011 * src/hildon-stackable-window.h
5012 * src/hildon-stackable-window-private.h
5013 * src/hildon-stackable-window.c
5014 (hildon_stackable_window_realize)
5015 (hildon_stackable_window_finalize)
5016 (hildon_stackable_window_class_init)
5017 (hildon_stackable_window_init)
5018 (hildon_stackable_window_set_main_menu): New function to set the
5019 app menu of a HildonStackableWindow.
5021 * examples/hildon-app-menu-example.c: Remove the button to show
5022 the app menu, now it'll be shown when clicking on the title bar
5025 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5027 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5028 set the widget name if the arrangement flags do not specify
5031 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5033 * src/hildon-button.c: (hildon_button_set_property),
5034 (hildon_button_class_init), (hildon_button_new_full),
5035 (hildon_button_set_arrangement): Added "arrangement-flags"
5038 Make the HildonButtonFlags a construction-only property, to allow
5039 subclasses to set them properly.
5041 2008-07-21 Tim Janik <timj@imendio.com>
5043 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5044 insertion position after backspace, so additional digits are appended,
5047 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5049 * src/hildon-pannable-area.c,
5050 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5051 TODO list, it was complete and removed the g_debug and g_print
5054 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5056 Added the movement modes to the hildon-pannable-area, with this
5057 modes the developers can control in which directions the widget
5058 can scroll. They can also connect to signals in order to do
5059 something when that happens, allowing applications scroll. There
5060 is an example uploaded showing how to use it.
5062 * examples/Makefile.am:
5063 * examples/hildon-pannable-area-example-4.c: Added this example of
5064 an application using the modes.
5066 * src/hildon-marshalers.list: Added a new marshaller for the new
5069 * src/hildon-pannable-area.h: Added new enumerations and flags in
5070 order to control the movement modes and the new signals to warn
5071 about the movements in the area.
5073 * src/hildon-pannable-area.c:
5074 (hildon_pannable_axis_scroll),
5075 (hildon_pannable_area_scroll),
5076 (hildon_pannable_area_motion_notify_cb),
5077 (hildon_pannable_area_get_property),
5078 (hildon_pannable_area_set_property),
5079 (hildon_pannable_area_map),
5080 (hildon_pannable_area_class_init),
5081 (hildon_pannable_area_init),
5082 (hildon_pannable_area_jump_to): Added the modes to control the
5083 movement in the widget. We have added properties to control it,
5084 signals to warn about the movements and refactored some code.
5086 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5088 Changes required in order to allow vfast_factor set to zero to
5091 * src/hildon-pannable-area.c:
5092 (hildon_pannable_area_button_press_cb): Changed the condition, it
5093 is required for not allowing click when vfast_factor is zero.
5094 (hildon_pannable_area_timeout): Initialized velocity variables
5095 when we stop moving, it was less than 1 but not zero and we need
5096 to check zero in some situations.
5097 (hildon_pannable_area_class_init): Changed the default value of
5098 the speed factor, now the button_press is just sent in case the
5099 speed is 2 per cent of the max speed.
5100 (hildon_pannable_area_init): Initialization with 0.
5102 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5104 * src/hildon-pannable-area.c,
5105 (hildon_pannable_area_get_topmost): replaced
5106 gdk_window_get_children with gdk_window_peek_children, this way we
5107 do not have to free the list because it is not a copy.
5109 (hildon_pannable_axis_scroll),
5110 (hildon_pannable_area_scroll),
5111 (hildon_pannable_area_timeout),
5112 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5113 two parameters that were only used inside the
5114 hildon_pannable_area_scroll function.
5116 * examples/hildon-pannable-area-example.c,
5117 (get_sawtooth_label): Fixed small memory leak.
5119 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5121 More checks for the case where the overshoot is bigger than the
5124 * src/hildon-pannable-area.c:
5125 (hildon_pannable_draw_vscroll),
5126 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5127 to draw the slider of the scrollbar under the other scrollbar.
5128 (hildon_pannable_area_expose_event): added new checks to control
5129 the drawing of the overshooting area rectangle, in case it is too
5130 big for the area of the widget.
5131 (hildon_pannable_area_size_allocate): add more checks to avoid
5132 setting a position to the child widget outside the area.
5134 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5136 * src/hildon-pannable-area.c
5137 (hildon_pannable_area_size_allocate): Added conditions to control
5138 when overshooting is bigger than the allocated space for the
5139 children, this avoids negative allocations.
5141 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5143 * doc/hildon-docs.sgml
5145 * examples/Makefile.am
5146 * examples/hildon-button-example.c
5148 * src/hildon-button.c
5149 * src/hildon-button.h
5150 * src/hildon.h: Initial version of the new HildonButton widget,
5153 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5155 * src/hildon-pannable-area.c:
5156 (hildon_pannable_area_button_press_cb),
5157 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5158 (hildon_pannable_area_motion_notify_cb),
5159 (hildon_pannable_area_button_release_cb),
5160 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5161 (hildon_pannable_area_jump_to_child):
5163 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5165 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5167 * examples/Makefile.am
5168 * examples/hildon-pannable-area-touch-grid-example.c
5169 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5170 the Hildon Touch List and Hildon Touch Grid using the
5171 HildonPannableArea widget.
5173 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5175 * src/hildon-pannable-area.c,
5176 (hildon_pannable_area_button_press_cb),
5177 (hildon_pannable_area_refresh),
5178 (hildon_pannable_area_scroll),
5179 (hildon_pannable_area_motion_notify_cb),
5180 (hildon_pannable_area_button_release_cb),
5181 (hildon_pannable_area_expose_event),
5182 (hildon_pannable_area_add),
5183 (hildon_pannable_area_remove),
5184 (hildon_pannable_area_realize),
5185 (hildon_pannable_area_size_allocate),
5186 (hildon_pannable_area_class_init),
5187 (hildon_pannable_area_init),
5188 (hildon_pannable_area_scroll_to_child),
5189 (hildon_pannable_area_jump_to_child): Fixed the problem of
5190 removing the child from the GtkBin, we have rearranged the widget
5191 hierarchy, now there is no GtkAlignment which was not doing
5192 anything interesting but breaking some of the assumptions of
5193 GtkContainer. Now developers if they want to add a GtkAlignment
5194 they could, but it is not inside the area.
5196 We had to review the whole allocation/expose process, now it is
5197 improved and we save at least three signals which would be saving
5198 some time when rendering the widget. The allocation of the
5199 scrollbars is now made in the allocate method as usual.
5201 We have also added some conditions in order to control when there
5202 is no child of the pannable area. Maybe we will need more work
5205 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5207 * src/hildon-pannable-area.c,
5208 (hildon_pannable_area_dispose): Released the fade-out timeout when
5209 disposing the widget.
5211 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5213 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5214 zero, we are going to use that property in order to deactivate the
5216 (hildon_pannable_axis_scroll),
5217 (hildon_pannable_area_size_allocate): Added conditions to control
5218 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5219 call, now it is called in all situations and we can remove calls
5220 in the allocate method.
5221 (hildon_pannable_area_map): Control the situation when
5222 overshoot_max is zero, we do not need the timeout.
5223 (hildon_pannable_area_class_init): Added documentation in order to
5224 point out that setting zero to overshoot_max means deactivate
5227 NOTE: removed trailing whitespaces from my previous comments of
5230 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5232 * src/hildon-pannable-area.c
5233 (hildon_pannable_area_get_property),
5234 (hildon_pannable_area_set_property),
5235 (hildon_pannable_area_map),
5236 (hildon_pannable_area_class_init),
5237 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5238 to cause the widget give a hint about its panning abilities upon
5241 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5243 * src/hildon-pannable-area.c: Several documentation improvements.
5245 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5247 * src/hildon-program.c
5248 * src/hildon-stackable-window.c: Update documentation.
5250 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5252 * src/hildon-stackable-window.c (get_previous_window_if_last):
5253 Renamed get_last_window()
5254 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5255 (hildon_stackable_window_unset_program):
5257 (get_previous_window_if_last):
5258 Detect if the window hasn't been added to a HildonProgram.
5260 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5262 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5264 * src/hildon-pannable-area.c
5265 (hildon_pannable_area_button_press_cb),
5266 (hildon_pannable_axis_scroll),
5267 (hildon_pannable_area_scroll),
5268 (hildon_pannable_area_timeout),
5269 (hildon_pannable_calculate_vel_factor),
5270 (hildon_pannable_area_get_property),
5271 (hildon_pannable_area_set_property),
5272 (hildon_pannable_area_class_init),
5273 (hildon_pannable_area_init),
5274 (hildon_pannable_area_scroll_to),
5275 (hildon_pannable_area_jump_to),
5276 (hildon_pannable_area_scroll_to_child),
5277 (hildon_pannable_area_jump_to_child):
5278 * src/hildon-pannable-area.h: Added the new API functions:
5279 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5280 hildon_pannable_area_scroll_to_child,
5281 hildon_pannable_area_jump_to_child
5284 * examples/Makefile.am
5285 * examples/hildon-pannable-area-example-2.c
5286 * examples/hildon-pannable-area-example-3.c: Added these two new
5287 examples in order to test and show how the new APIs work.
5289 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5291 * examples/hildon-stackable-window-example.c (new_window):
5292 * src/Makefile.am (noinst_HEADERS):
5293 * src/hildon-program.c (hildon_program_go_to_root_window):
5294 * src/hildon-program.h:
5295 * src/hildon-stackable-window-private.h:
5296 * src/hildon-stackable-window.c:
5297 * src/hildon-stackable-window.h:
5298 Create hildon-stackable-window-private.h
5299 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5301 * examples/hildon-app-menu-example.c (create_menu):
5302 * examples/hildon-hvolumebar-insensitive-example.c (main):
5303 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5304 * examples/hildon-toolbar-seekbar-example.c (main):
5305 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5306 * src/hildon-banner.c (hildon_banner_set_property):
5307 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5308 Fix compilation warnings
5310 * src/hildon-window.c:
5313 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5315 * src/hildon-stackable-window.c
5316 (hildon_stackable_window_unset_program):
5317 Calculate correctly whether to show the previous window if the
5318 last one is removed from the stack.
5319 (hildon_stackable_window_go_to_root_window):
5320 Send delete events starting from the topmost window.
5321 Stop if one of the windows is not destroyed.
5323 (hildon_stackable_window_delete_event)
5324 (hildon_stackable_window_class_init):
5325 Ignore the delete event if the window is not the topmost one.
5327 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5329 * src/hildon-pannable-area.c
5330 (hildon_pannable_area_expose_event): Fixed a problem when
5331 selecting the background color of the scrollbars.
5333 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5335 * examples/hildon-stackable-window-example.c
5336 * src/hildon-stackable-window.c
5337 * src/hildon-stackable-window.h
5338 hildon_stackable_window_go_home() renamed to
5339 hildon_stackable_window_go_to_root_window()
5340 Send delete events to windows rather than closing them with
5341 gtk_widget_destroy()
5343 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5345 * src/hildon-pannable-area.c
5346 (hildon_pannable_area_button_release_cb): Fix overshooting in
5349 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5351 * src/hildon-pannable-area.c
5352 (hildon_pannable_area_init): Initially show the scroll indicators.
5353 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5355 Add initial effect showing the widget is pannable.
5357 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5359 * src/hildon-pannable-area.c
5360 (hildon_pannable_area_class_init)
5361 (hildon_pannable_area_set_property)
5362 (hildon_pannable_area_get_property)
5363 (hildon_pannable_area_button_press_cb):
5364 New 'velocity_fast_factor' property to decide which velocity is
5367 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5369 * src/hildon-pannable-area.c
5370 (hildon_pannable_draw_hscroll)
5371 (hildon_pannable_draw_vscroll):
5372 Use float variables to calculate the size of the scrollbars to
5373 avoid error propagation and resizing during scrolling.
5375 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5377 * src/hildon-pannable-area.c
5378 (hildon_pannable_draw_vscroll)
5379 (hildon_pannable_draw_hscroll):
5380 Define a minimum size for the scroll bars
5382 * src/hildon-stackable-window.c
5383 (hildon_stackable_window_go_home): Fix compilation warning
5384 (get_last_window): Minor optimizations
5385 (hildon_stackable_window_class_init): Fix initialization of
5388 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5390 * src/hildon-stackable-window.c: Fixed typos in doc
5392 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5394 * src/hildon-pannable-area.c
5395 (hildon_pannable_area_scroll):
5396 Calculate here whether we need to scroll instead of using the booleans
5397 that tell us whether to /draw/ the scrolling bars.
5399 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5401 * src/hildon-app-menu.h
5403 * src/hildon-app-menu.c
5404 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5405 multiple filter groups related code and API. Now we support only
5407 * examples/hildon-app-menu-example.c:
5409 Update to reflect API changes.
5411 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5413 * src/hildon-stackable-window.c
5414 (hildon_stackable_window_class_init):
5415 Add hildon_stackable_window_realize.
5416 (hildon_stackable_window_realize):
5417 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5418 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5419 to apply theming and behavior specific to HildonStackableWindow
5422 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5424 * src/hildon-note.c (hildon_note_button_release):
5425 Close information notes also when tapping on them
5427 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5429 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5430 ELASTICITY, refactor and review, fix some issues with drawing
5433 * src/hildon-pannable-area.c:
5434 (hildon_pannable_area_button_press_cb): removed the conditions to
5435 avoid clicks when overshooting. It is not required
5437 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5438 define. Refatored and reviewed the code, now we do not need to
5439 manage velocity in motion_notify.
5441 (hildon_pannable_area_motion_notify_cb): We have moved the code
5442 that controls the area_scroll to the axis_scroll function and get
5443 rid of duplicated code.
5445 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5447 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5449 (hildon_pannable_draw_vscroll),
5450 (hildon_pannable_draw_hscroll): Fixed the problems with the
5451 scrollbar drawing, now we do not use two surfaces, it is easier
5452 and saves resources.
5454 (hildon_pannable_area_get_property): Style modification.
5456 (hildon_pannable_area_class_init): Changed some default values.
5458 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5460 * src/hildon-stackable-window.c: Fix some typos in the
5463 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-dialog.c:
5466 Change indentation style
5469 (hildon_note_button_release):
5470 Use root coordinates to check if the release event happened
5473 * src/hildon-app-menu.c
5474 (hildon_app_menu_button_release):
5475 Remove unnecessary check
5477 * examples/hildon-app-menu-example.c
5479 Add cast to fix warning
5481 * src/hildon-app-menu.c
5482 (hildon_app_menu_class_init):
5483 New inner-border style property.
5484 Set all default spacings to 16
5485 (hildon_app_menu_init):
5486 Use vertical-spacing to set the space between filter buttons and
5487 regular menu buttons.
5488 Set the default container border using the inner-border value.
5490 * examples/hildon-app-menu-example.c
5492 Don't set the menu border explicitly, now we have the inner-border
5493 style property for that.
5495 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5497 * src/hildon-app-menu.c (hildon_app_menu_init):
5498 Make the window modal
5500 * src/hildon-note.c (hildon_note_map)
5501 * src/hildon-app-menu.c (hildon_app_menu_map):
5502 Destroy the grab window if we're unable to grab the pointer
5504 * src/hildon-app-menu-private.h
5505 * src/hildon-app-menu.c
5506 (hildon_app_menu_init, hildon_app_menu_finalize)
5507 (hildon_app_menu_map, hildon_app_menu_unmap)
5508 (hildon_app_menu_button_release)
5509 (grab_transfer_window_get):
5510 Bring back the grab window
5511 (hildon_app_menu_realize):
5512 Decorate the window, set WM hint for Matchbox
5514 * src/hildon-note.c (hildon_note_realize):
5515 * src/hildon-banner.c (hildon_banner_realize):
5516 Add WM hints for Matchbox
5518 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5520 * src/hildon-app-menu-private.h
5521 * src/hildon-app-menu.c
5522 (hildon_app_menu_init, hildon_app_menu_finalize)
5523 (hildon_app_menu_map, hildon_app_menu_unmap)
5524 (hildon_app_menu_button_release):
5525 Remove the grab window, it's not needed anymore
5527 * src/hildon-program.c
5528 Fixed typo in documentation
5530 * src/hildon-app-menu.h
5531 * src/hildon-app-menu.c
5532 * examples/hildon-app-menu-example.c
5533 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5535 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5538 Added new transfer_window and close_if_pressed_outside private
5540 (hildon_note_rebuild):
5541 Don't add a cancel button to the information note. It will be
5542 closed when tapping outside
5543 Remove the comment about the OK button in the documentation
5544 (hildon_note_realize):
5545 Set the notification type hint
5546 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5547 Grab/ungrab pointer and keyboard if the note has to be closed when
5549 (hildon_note_button_release):
5550 Close the note when tapping outside (if applicable)
5552 * src/hildon-app-menu.c
5553 Grab/ungrab pointer and keyboard on map/unmap
5554 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5555 Close the menu on button release, not button press
5557 * src/hildon-banner.c
5558 (hildon_banner_set_property)
5559 (hildon_banner_check_position):
5560 Make the banner use the full width of the screen
5561 (hildon_banner_show_information)
5562 (hildon_banner_show_information_with_markup):
5563 Don't display an icon by default
5565 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5567 Added fading scrollbars and adapted all the overshooting code to
5568 horizontal scrolling. We have also fixed bugs with overshooting
5569 and current fading implementation.
5571 * src/hildon-pannable-area.c
5572 (hildon_pannable_area_scroll_indicator_fade): Time out function
5573 used to change the transparency of the scrollbars.
5575 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5576 control and fixed a problem with fading, we now remove the fade
5577 timeout before adding a new one.
5579 (hildon_pannable_axis_scroll):
5580 (hildon_pannable_area_scroll):
5581 (hildon_pannable_area_timeout): Added this functions so we can use
5582 the scroll code both for vertical and horizontal.
5584 (hildon_pannable_area_motion_notify_cb):
5585 (hildon_pannable_area_button_release_cb): Added the horizontal
5586 scrolling control, fixed a problem with the overshooting timeout.
5588 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5589 painting of the scrolls.
5591 (hildon_pannable_draw_vscroll):
5592 (hildon_pannable_draw_hscroll):
5593 (hildon_pannable_area_expose_event):
5594 Draw both scrollbars and rectangles in the overshooting area.
5596 (hildon_pannable_area_get_property):
5597 (hildon_pannable_area_set_property):
5598 Modified the overshoot property to overshoot_max
5600 (hildon_pannable_area_map):
5601 Replaced the comments symbols.
5603 (hildon_pannable_area_size_allocate):
5604 (hildon_pannable_area_class_init):
5605 (hildon_pannable_area_init): Added horizontal scroll, fading
5606 effect properties, fixed a problem when overshooting in the bottom
5609 * examples/hildon-pannable-area-example.c:
5610 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5611 looks better in the example.
5613 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5615 * src/hildon-window.c
5616 * src/hildon-window.h
5617 (hildon_window_class_init)
5618 (hildon_window_unset_program)
5619 (hildon_window_unset_program_real):
5620 Make unset_program a virtual function
5622 * src/hildon-stackable-window.c
5623 * src/hildon-stackable-window.h
5624 Added hildon_stackable_window_go_home()
5626 * examples/Makefile.am
5627 * examples/hildon-stackable-window-example.c
5628 HildonStackableWindow example
5630 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5632 * hildon-pannable-area.c: Added the overshoot property and removed
5633 the OVERSHOOT define. Fixed an indent style error.
5634 (hildon_pannable_area_motion_notify_cb):
5635 (hildon_pannable_area_get_property):
5636 (hildon_pannable_area_set_property): Add overshoot property.
5638 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5641 (hildon_pannable_area_class_init): Installed the new property.
5643 * hildon-pannable-area-example.c: Added a sawtooth function, this
5644 way it is easier to check the movement in the pannable.
5645 (get_sawtooth_label): Added this function.
5646 (main): Now we get the labels from the new get_sawtooth_label
5649 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5651 * src/hildon-app-menu.h
5652 * src/hildon-app-menu.c
5653 Renamed API variables for consistency
5655 (hildon_app_menu_popup): Use also the default window size to
5656 decide where to place the menu
5658 (hildon_app_menu_init, hildon_app_menu_class_init): New
5659 external-border style property
5661 2008-05-26 Michael Natterer <mitch@imendio.com>
5663 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5664 widget_class->tap_and_hold_setup signal slot doesn't exist any
5665 longer, stop overriding it.
5667 (hildon_time_editor_init): g_signal_connect() to the
5668 tap-and-hold-setup signal instead.
5670 (hildon_time_editor_entry_keypress): add cast to fix warning.
5672 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5674 * doc/hildon-docs.sgml
5676 * examples/Makefile.am
5677 * examples/hildon-app-menu-example.c
5679 * src/hildon-app-menu-private.h
5680 * src/hildon-app-menu.c
5681 * src/hildon-app-menu.h
5683 New HildonAppMenu widget
5685 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5687 Rearranged the inheritance of the pannable area, now it inherits
5688 from GtkBin. This will allow us to control the event_window and
5689 the allocation process of the widget, required for some effects.
5691 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5692 GtkBin structures. * src/hildon-pannable-area.c: Added the
5693 event_window variable.
5694 (hildon_pannable_area_button_press_cb):
5695 (hildon_pannable_area_button_release_cb):
5696 (hildon_pannable_area_motion_notify_cb):
5697 Changed the signature of the method, now we override the event
5698 callback instead of connecting to the signal.
5700 (hildon_pannable_area_realize):
5701 (hildon_pannable_area_unrealize):
5702 (hildon_pannable_area_map):
5703 (hildon_pannable_area_unmap):
5704 (hildon_pannable_area_size_allocate):
5705 Added functions to control the widget construction. We add a
5706 INPUT_ONLY window and we put it over the widgets inside the
5707 container, this event_window handles the events.
5709 (hildon_pannable_area_class_init):
5710 Replaced the signal connections with overrides of the event
5713 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5715 Bouncing effect added when touching the borders, you can change
5716 the elasticity of the border changing the ELASTICITY define.
5718 * src/hildon-pannable-area.c: Added ELASTICITY define.
5719 (hildon_pannable_area_timeout): Added inverse velocity when
5720 touching the border of the child widget, that causes a bounce.
5722 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5724 Improved performance, we now do not go to the X server in order to
5725 get the list of window children. Apparently the effect is the
5726 same, we have to be careful and check if this breaks something in
5729 * src/hildon-pannable-area.c:
5730 (get_ordered_children): Removed this function.
5731 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5732 the children windows function with gdk_window_get_children.
5734 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5736 * src/hildon-pannable-area.c:
5737 (hildon_pannable_area_dispose): Fixed a crash when closing the
5738 window and kinetics is activated.
5740 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5742 * src/hildon-pannable-area.h
5743 * src/hildon-pannable-area.c
5744 Changed indentation style to meet the one used in Hildon
5746 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5748 Reviewed the interaction of the AUTO mode, now we use the time
5749 attribute of the events and calculate the velocity in the motion,
5750 doing a gimp like calculation. The velocity is calculated in each
5751 motion event using the last velocity and the current one, the
5752 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5754 * src/hildon-pannable-area.c: Replaced the time based algorithm
5756 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5757 timeout for the AUTO mode when we are still moving the cursor. We
5758 added also the velocity calculation in this function.
5759 (hildon_pannable_area_button_release_cb): launch the timeout in
5760 case we are in AUTO mode. There are still some constants here that
5761 come from the old implementation that should be reviewed and
5764 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5766 * doc/hildon-docs.sgml
5769 * src/hildon-stackable-window.c
5770 * src/hildon-stackable-window.h
5772 New HildonStackableWindow widget
5774 * examples/hildon-dialog-example.c
5775 * examples/hildon-pannable-area-example.c
5778 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5780 * src/hildon-dialog.c
5781 (hildon_dialog_new_with_buttons): New constructor.
5783 * examples/hildon-dialog-example.c
5784 (main): Update the example to use the new
5785 hildon_dialog_new_with_buttons().
5787 * examples/hildon-pannable-area-example.c
5788 (main): Update example.
5790 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5792 * doc/hildon-docs.sgml
5794 Added HildonPannableArea to the documentation.
5796 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5798 * doc/visual_index.xml
5799 Fix reference to HildonLoginDialog in documentation
5801 * doc/hildon-docs.sgml
5803 * examples/Makefile.am
5804 * examples/hildon-dialog-example.c
5806 * src/hildon-dialog.c
5807 * src/hildon-dialog.h
5809 New HildonDialog widget.
5811 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5813 * src/hildon-pannable-area.c
5814 Merge latest changes (r4318, r4342) from libmokoui trunk
5816 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5818 * examples/Makefile.am
5819 * examples/hildon-pannable-area-example.c
5821 * src/hildon-pannable-area.c
5822 * src/hildon-pannable-area.h
5824 New HildonPannableArea widget.
5826 2008-04-15 18:05:19 <timj@imendio.com>
5828 * src/hildon-banner.c: revert the recent change, that introduced
5829 gtk_window_present() calls. this reopens:
5830 Bug 78481 - [freetest] information banners are hidden under browser menu
5831 But resolves another variant of:
5832 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5834 2008-04-15 13:21:13 <timj@imendio.com>
5836 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5837 recreated its layout, spotted by Kris. this fixes all remaining
5838 artefacts and stability issues with the banner code. in particular:
5839 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5841 2008-04-14 16:52:59 <timj@imendio.com>
5843 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5844 operating on unrealized widgets, fixes:
5845 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5847 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5849 2008-04-09 Kristian Rietveld <kris@imendio.com>
5851 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5852 makes banner disappear.
5853 Fixes: NB#79182: info banner flickering with certain message lengts.
5855 * src/hildon-banner.c (hildon_banner_constructor),
5856 (hildon_banner_init), (hildon_banner_set_text),
5857 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5858 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5859 FALSE, reset size requests of label and banner,
5860 (force_to_wrap_truncated): when the text is too wide, always enforce
5861 the maximum possible width instead of recalculating it from the
5862 layout; enforce the maximum banner height of 3 lines,
5863 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5864 nicer wrapping and no truncated chars if space gets tight.
5866 * src/hildon-banner-private.h: add has_been_wrapped and
5867 has_been_truncated fields.
5869 2008-04-07 Sven Herzberg <sven@imendio.com>
5871 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5872 local values in hildon_date_editor_size_allocate
5874 * src/hildon-date-editor.c: moved the real allocation code into the
5877 2008-04-07 Sven Herzberg <sven@imendio.com>
5879 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5880 local values in hildon_date_editor_size_allocate
5882 * src/hildon-date-editor.c: merged the two if() branches together
5884 2008-04-07 Sven Herzberg <sven@imendio.com>
5886 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5887 local values in hildon_date_editor_size_allocate
5889 * src/hildon-date-editor.c: changed the arguments of the if()
5892 2008-04-07 Sven Herzberg <sven@imendio.com>
5894 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5895 local values in hildon_date_editor_size_allocate
5897 * src/hildon-date-editor.c: split the calculation of the allocation
5898 from the real allocation
5900 2008-03-27 Michael Natterer <mitch@imendio.com>
5902 Fixes: NB#81696: The passcode is not overwritten even after
5905 * src/hildon-code-dialog.c
5906 (hildon_code_dialog_button_clicked)
5907 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5908 because that doesn't overwrite selected text. Instead, emit the
5909 "commit" signal on the entry's im_context so the entry's normal
5910 insert logic is triggered. Set the cursor to the end of the entry
5911 after each insert operation so that we *only* insert in the middle
5912 of the text if something was selected.
5914 2008-03-27 Michael Natterer <mitch@imendio.com>
5916 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5917 selector cannot be opened
5919 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5920 when the popup color selector is created. Please connect to this
5921 signal in order to set the dialog's help ID.
5923 2008-03-25 Sven Herzberg <sven@imendio.com>
5925 Fixes: MB#1212: Hide info banners (infoprints) on click
5927 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5928 extracted the close event simulation into an extra function
5929 (hildon_banner_button_press_event): simulate a close event and destroy
5930 the widget if the event wasn't handled
5931 (hildon_banner_class_init): added the button_press_event handler
5932 (hildon_banner_init): added button-press events to the widget
5934 2008-03-25 Sven Herzberg <sven@imendio.com>
5936 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5937 Patch from: Mohammad Anwari <mdamt@maemo.org>
5939 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5940 instead of the right in RTL mode
5941 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5942 breadcrumb button list in RTL mode
5943 * src/hildon-caption.c: mirror the appearance of the caption widget in
5945 * src/hildon-date-editor.c: mirror appearance of the date editor in
5947 * src/hildon-time-editor.c: mirror appearance of the time editor in
5949 * src/hildon-window.c: fix the position of the popup in RTL mode
5951 2008-03-25 Sven Herzberg <sven@imendio.com>
5953 Amendment to the fix of NB#22072. Fix compilation.
5955 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5957 2008-03-19 Sven Herzberg <sven@imendio.com>
5959 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5962 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5963 timeout id properly when the timeout will disappear this leaves no
5964 artifacts around in the destroy(); there will only be the timeout
5965 created by hildon_banner_ensure_timeout() and adding a new timeout
5966 will also work if the timeout gets removed because the timeout_handler
5969 2008-03-19 Michael Natterer <mitch@imendio.com>
5971 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5973 * src/hildon-volumebar.c
5974 * src/hildon-vvolumebar.c
5975 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5976 the widget becomes focussable at all.
5978 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5979 set the focus to wither the mute button or the volumebar.
5981 Remove own "can-focus" property and instead listen to
5982 notify::can-focus in order to update the widget's state.
5984 Implement GtkWidget::focus() and make sure we can also *leave* the
5985 widget, not only enter it, depending on volumebar orientation and
5986 requested focus direction.
5988 Clean up set_mute() to cooperate nicely with all the above.
5990 2008-03-04 Michael Natterer <mitch@imendio.com>
5992 Fixes: NB#78481: information banners are hidden under browser menu
5994 * src/hildon-banner.c: call gtk_window_present() on the banners so
5995 they are risen if they are already visible.
5997 2008-03-03 Sven Herzberg <sven@imendio.com>
5999 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6001 * examples/hildon-window-menu-example.c: (main): extended the window
6002 menu example to serve as a testcase for automatically added
6003 accelerator groups, too
6004 * src/hildon-window.c: (hildon_window_add_accel_group),
6005 (hildon_window_set_menu): added patch by Tommi Komulainen
6007 2008-03-03 Sven Herzberg <sven@imendio.com>
6009 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6011 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6012 knowledge about the border allocators used within GTK+
6014 2008-02-26 Sven Herzberg <sven@imendio.com>
6016 Fixes: MB#2981: Build with asserts broken
6018 * src/hildon-date-editor.c,
6019 * src/hildon-number-editor.c,
6020 * src/hildon-time-editor.c,
6021 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6022 the proper GType instance check
6024 2008-02-25 Sven Herzberg <sven@imendio.com>
6026 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6028 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6029 * examples/hildon-window-menu-example.c: (main): explicitly show
6031 * src/hildon-window.c:
6032 (hildon_window_set_main_menu): moved most of the code from set_menu()
6033 to this place; skipped the call to gtk_widget_show_all(); also didn't
6034 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6035 (hildon_window_set_menu): removed most of the code, just keep the
6036 questionable gtk_widget_show_all()
6037 * src/hildon-window.h: added the new function and deprecate the old
6040 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6046 * debian/changelog: Updating.
6048 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6051 * pkgconfig/Makefile.am:
6052 * pkgconfig/hildon.pc.in:
6055 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6056 use newly created API_MAJOR_VERSION.
6058 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6064 * debian/changelog: Updating.
6066 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6068 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6070 Add outer_border style property, we use it but don't define it (!).
6074 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6076 * examples/hildon-bread-crumb-trail-example.c (main):
6080 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6082 Fix logic for the bread crumb trail node removal.
6086 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6092 * debian/changelog: Updating.
6094 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6096 Patch by Alejandro to get/set passwords dialogs accesibility.
6098 * hildon-1/src/hildon-get-password-dialog.c:
6099 * hildon-1/src/hildon-set-password-dialog.c:
6100 Set atk_set_name to the passwd entries in order to allow
6101 accessibility by name on this entries.
6103 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6108 * debian/control: Updating gtk dep.
6110 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6112 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6113 USE_MAEMO_GTK is enabled.
6115 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6117 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6118 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6120 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6126 * debian/changelog: Updating.
6128 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6130 * examples/Makefile.am:
6131 * examples/hildon-logical-color-example.c:
6132 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6133 applied + adding a test case. Fixes: NB#71660.
6135 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6137 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6138 to be visible, fixes warning on map for windows without toolbars.
6140 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6142 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6143 2.11.0, add a check for that besides the MAEMO_GTK check.
6145 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6151 * debian/changelog: Updating.
6153 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6155 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6156 visibility. Fixes: NB#70842 and MB#615.
6158 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6160 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6161 set the separator as no-show-all so it doesn't unintentionally appear when
6162 someone does a show_all.
6164 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6166 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6167 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6168 toplevel item. Fixes: NB#62031
6170 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6172 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6173 fix the name of the function in the docs.
6175 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6181 * debian/changelog: Updating.
6183 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6185 * examples/hildon-banner-long-example.c: Adding a test-case for long
6188 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6190 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6192 * src/hildon-color-chooser-dialog.c:
6193 * src/hildon-color-chooser.c:
6194 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6195 memory leaks in font selector and color selector. Fixes: NB#70499 and
6198 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6200 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6202 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6204 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6205 little bit bigger. Fixes: #NB63694.
6207 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6213 * debian/changelog: Updating.
6215 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6218 * doc/hildon-docs.sgml:
6219 * doc/images/bread-crumb-trail.png:
6220 * doc/images/calendar-popup.png:
6221 * doc/images/caption.png:
6222 * doc/images/code-dialog.png:
6223 * doc/images/color-button.png:
6224 * doc/images/color-chooser-dialog.png:
6225 * doc/images/color-chooser.png:
6226 * doc/images/controlbar.png:
6227 * doc/images/date-editor.png:
6228 * doc/images/font-selection-dialog.png:
6229 * doc/images/get-password-dialog.png:
6230 * doc/images/hvolumebar.png:
6231 * doc/images/login-dialog.png:
6232 * doc/images/note.png:
6233 * doc/images/number-editor.png:
6234 * doc/images/range-editor.png:
6235 * doc/images/seekbar.png:
6236 * doc/images/set-password-dialog.png:
6237 * doc/images/sort-dialog.png:
6238 * doc/images/time-editor.png:
6239 * doc/images/time-picker.png:
6240 * doc/images/vvolumebar.png:
6241 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6242 Adding the bread-crumb-trial and helpers to the documentation.
6244 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6246 * examples/hildon-find-toolbar-example.c:
6247 * src/hildon-find-toolbar.c:
6248 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6249 actually continue firing the other handlers if connected. Adding a new
6251 hildon_find_toolbar_get_last_index that gets the index of the most
6252 recently added (last) item. Fixes: NB#52301.
6254 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6256 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6257 behaviour. Fixes: NB#68610.
6259 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6261 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6264 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6266 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6267 when realizing the banner. Should make the infonbanner effect a bit more
6270 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6272 * src/hildon-volumebar.c:
6273 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6274 hildon_volumebar_set_range_insensitive_message and
6275 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6277 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6279 * src/hildon-window.c: Fixing the border freeing on destroy.
6281 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6283 * src/hildon-code-dialog-private.h:
6284 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6285 kw keyboard support in HildonCodeDialog.
6287 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6293 * debian/changelog: Updating.
6295 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6297 * src/hildon-date-editor.c:
6298 * src/hildon-number-editor.c:
6299 * src/hildon-private.c:
6300 * src/hildon-private.h:
6301 * src/hildon-time-editor.c:
6302 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6303 handling in subclassed composite widgets. Fixes: NB#66628.
6305 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6307 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6308 from destroy_ callback as it introduces problems in async dbus signal
6309 handlers. Fixes NB#66673.
6311 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6313 * examples/hildon-hvolumebar-example.c:
6314 * src/hildon-volumebar.c: Improving the focus handling in the
6315 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6316 set_property accessor so that "mute" property can be actually set. I'm
6317 scared that nobody noticed it's totally broken.
6319 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6321 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6324 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6326 * src/hildon-calendar.c:
6327 * src/hildon-number-editor.c:
6328 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6329 matches the spec of 6 chars per second. Fixes: NB#60489.
6331 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6333 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6334 gtk_style_lookup_color sometime returns FALSE even though color was
6335 found and values were filled properly. Weird. Removing the warning for the
6338 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6340 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6341 expand vertically. Adding some extra space to the find toolbar buttons to
6342 make them thumbable. Fixes NB#66060.
6344 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6346 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6347 popup with "Ok" and "Cancel". Fixes NB#59299.
6349 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6351 * src/hildon-calendar.c: Process all window updates before executing next
6352 timeout. Fixes: NB#54146.
6354 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6360 * debian/changelog: Updating.
6362 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6364 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6365 the client event and ignore it, since we use the delete event to close
6368 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6370 * src/hildon-helper.c: Remove the bogus warning about color not being
6371 found. Fixes NB#58352.
6373 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6375 * examples/Makefile.am:
6376 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6377 HildonSeekbar widget inside a toolbar.
6379 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6381 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6382 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6383 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6384 don't want to be closed by non-temporary windows on map.
6386 Also use G_DEFINE_TYPE instead of manually typed code.
6388 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6395 * debian/rules: Updating.
6397 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6399 * examples/Makefile.am:
6400 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6401 bug NB#61128. Strangely it works.
6403 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6405 * src/hildon-date-editor.c: When the date editor entry has been changed
6406 but the numbers of characters < max, turn off the skip validation flag.
6407 Prevents a situation when we enter first a valid year and later re-write
6408 it with an invalid one. Fixes NB#60154.
6410 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6412 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6413 code dialog. Fixes NB#64355.
6415 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6417 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6418 switching the page. Fixes NB#49374.
6420 * examples/Makefile.am:
6421 * examples/hildon-wizard-dialog-example.c: Adding an example for
6422 HildonWizardDialog that shows how to handle manual sensitivity setting on
6425 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6429 * src/hildon-version.h.in:
6430 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6432 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6434 * src/hildon-volumebar.c: Updating the docs.
6436 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6442 * debian/changelog: Updating.
6444 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6446 * src/hildon-find-toolbar.c:
6447 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6448 selected item: hildon_find_toolbar_set_active,
6449 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6450 hildon_find_toolbar_get_active_iter . They correspond to respective
6451 GtkComboBox functions.
6453 * examples/Makefile.am:
6454 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6457 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6459 * examples/Makefile.am:
6460 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6463 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6464 when font size > 32 and we pack a focusable widget inside. Actually using
6465 the default response would work too, but since we don't show default
6466 response state in any way (no theming) it would not be visible to the
6467 user. Fixes NB#63430.
6469 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6471 * src/hildon-date-editor.c: Adding the missing variable setter in the
6472 set_property handler. Fixes NB#54182.
6474 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6476 * src/hildon-window.h: Changing the long key press time from 1500ms to
6477 800ms as requested in NB#63700. I have a bad feeling about this, let's
6478 see... Fixes NB#63700.
6480 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6482 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6483 hildon_time_picker_map, hildon_time_picker_realize,
6484 hildon_time_picker_style_set): Split the contents of map to more
6485 appropriate functions; set window decorations on realize and update
6486 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6488 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6493 * debian/changelog: Updating.
6495 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6497 * src/Makefile.am: fixed installation of the header files
6499 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6505 * debian/changelog: Updating.
6507 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6509 * configure.ac: Removing some remaining of --enable-xan.
6511 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6513 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6514 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6516 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6517 2.10.12-osso6 because the move-focus signal needs to be available in
6520 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6522 * examples/Makefile.am:
6523 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6524 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6525 fine. Prolly NB#61128 is fixed now.
6527 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6529 * src/hildon-volumebar.c:
6530 * src/hildon-volumebar.h: Adding the
6531 hildon_volumebar_set_range_insensitive_message and
6532 hildon_volumebar_set_range_insensitive_messagef functions to set
6533 insensitive message on the slider of the volumebar. Fixes NB#61129.
6535 * examples/Makefile.am:
6536 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6537 test the new insensitive messsage functionality on HildonVolumebar.
6539 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6541 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6544 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6546 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6547 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6548 button on after clearing the trail.
6550 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6552 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6554 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6556 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6557 by splitting the installed headers in generated and non-generated groups. Use
6558 only the non-generated headers to create the hildon-enum-types.h file.
6560 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6562 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6564 * src/hildon-window.c: Hide the window before performing the destroy.
6565 Should make the app closing a little tiny bit more snappy.
6567 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6569 * src/hildon-seekbar.c: add gtkrange.h header
6570 * src/hildon-caption.c: remove unused variable
6572 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6574 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6577 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6583 * debian/changelog: Updating.
6585 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6587 * src/hildon-window.c (hildon_window_window_state_event,
6588 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6589 escape timeout on focus-out-event rather than notify::is-topmost; the
6590 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6592 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6594 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6595 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6597 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6599 * src/hildon-window: actually, you need to use the macro always, there's
6600 no private pointer in the instance structure. We should have cleaned this up
6601 when we had the chance...
6603 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6605 * src/hildon-window.c: do not get the private date from HildonWindow before
6606 it passes the g_return_if_fail check. Once it's passed the test, there's no
6607 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6608 if you are only going to access the data once. Whitespace cleanups.
6610 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6612 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6613 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6615 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6621 * debian/changelog: Updating.
6623 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6625 * src/hildon-window.c: When destroying the window, remove (if exists) the
6626 escape timeout handler. Fixes #NB59276.
6628 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6630 * src/hildon-banner.c: When realizing the widget, set the window
6631 transiency. Setting the transiency in the gobject constructor is not
6632 good, as the widget is not realized at that point. Fixes: #NB56624.
6634 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6636 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6637 Add padding for future expansions.
6639 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6641 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6642 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6643 will fake an activation on the previous to the last item of the trail, so
6644 the effect can be overrided by the developer as usual.
6645 Also change the callback for the back button to do the same thing, so its
6646 effect can be overrided too. Fixes: NB#58982
6648 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6650 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6651 HildonCaption. Fixes NB#52379.
6653 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6655 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6656 the internal state of the trail after the user has had the chance of executing
6657 his handler for the signal. Specifically, it may happen that the activated button
6658 is removed and the user still lets the default handler run. This would segfault
6661 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6663 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6664 scrollbar to the preview dialog. Fixes NB#54147.
6666 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6668 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6669 max/min year properties can be altered, so the client can modify it
6670 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6672 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6674 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6675 hildonlike by default. Fixing a problem with disappearing arrows when
6676 scrolling through months and years. Fixes NB#54127.
6678 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6680 * examples/hildon-date-editor-example.c: Adding error callback to the date
6683 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6689 * configure.ac: Updating.
6691 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6693 * configure.ac: Adding a special '--enable-xan' configure option that
6694 turns off the -Werror compilation setting. Usefull for development.
6696 * src/hildon-calendar.c:
6697 * src/hildon-number-editor.c:
6698 * src/hildon-time-picker.c: Adding the 5* multiplier to
6701 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6703 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6704 instead of g_object_ref + gtk_object_sink.
6706 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6712 * debian/changelog: Updating.
6714 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6716 * src/hildon-color-chooser-dialog.c:
6717 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6718 straight from Tommi labs.
6720 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6722 * examples/hildon-finger-example.c: Correcting the header file path.
6724 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6725 the changed signal. Fixes a small memory leak.
6727 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6731 * src/hildon-banner.c: Importing several usefull fixes from the
6732 ubuntu-mobile branch.
6734 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6736 * examples/Makefile.am:
6737 * examples/hildon-finger-example.c: Adding a finger-checking code
6740 * src/hildon-font-selection-dialog.c: Do not allocate the color
6741 structure using the g_new. Fixes NB#54061.
6743 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6745 * src/hildon-helper.c: Correcting tabs in file.
6747 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6749 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6750 control the visibility of the children.
6752 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6754 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6760 * debian/changelog: Updating.
6762 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6764 * src/hildon-bread-crumb-trail.c:
6765 (hildon_bread_crumb_trail_size_allocate):
6767 Make the back button always a square.
6769 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6771 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6772 from the .c file as it's a private file.
6774 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6776 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6777 uses slightly bigger height.
6779 * src/hildon-font-selection-dialog.c: Adding some checks before
6780 freeing memory in the font selection dialog.
6782 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6784 * src/hildon-font-selection-dialog.c: Adding a small check when
6787 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6788 buttons sensitivity on page switching.
6790 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6792 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6793 internal details of adding a bread crumb to the trail.
6795 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6801 * debian/changelog: Updating.
6803 * src/hildon-bread-crumb-trail.h:
6804 * src/hildon-bread-crumb.h: Changing the API guard to
6805 HILDON_ENABLE_UNSTABLE_API.
6807 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6815 * src/hildon-helper.h: Updating.
6817 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6825 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6829 * src/hildon-helper.h: Small fix to make the package actually compile.
6831 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6833 * src/hildon-bread-crumb-trail.h:
6834 * src/hildon-bread-crumb.h:
6836 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6837 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6839 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6841 * examples/hildon-bread-crumb-trail-example.c:
6843 * src/hildon-bread-crumb-trail.c:
6844 * src/hildon-bread-crumb-trail.h:
6845 * src/hildon-bread-crumb.c:
6846 * src/hildon-bread-crumb.h:
6847 * src/hildon-marshalers.list:
6848 * src/hildon-bread-crumb-widget.c:
6849 * src/hildon-bread-crumb-widget.h:
6851 Slight change in the widget design. The bread crumb trail API is
6852 unchanged, but HildonBreadCrumb is now an interface. A *private*
6853 implementation, hildon-bread-crumb-widget, is provided and used
6854 internally by the trail for the push_text/push_icon functions.
6856 The generic push API is still available, so anyone can implement
6857 and use its own bread crumb widget.
6859 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6861 * debian/rules: Fixing the shlibs.
6863 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6865 * src/hildon-banner.c: Fixing a problem with timed banners having
6866 their parrent destroyed before they are.
6868 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6870 * src/hildon-bread-crumb.c:
6871 * src/hildon-bread-crumb.h:
6873 Make the get_natural_size function a vfunc.
6875 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6877 * src/hildon-bread-crumb.c:
6878 * src/hildon-bread-crumb-trail.c:
6882 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6889 * debian/changelog: Updating for release.
6891 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6893 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6894 don't leak the pango layout.
6896 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6899 * examples/hildon-bread-crumb-trail-example.c:
6903 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6905 * debian/changelog: Removing the bug-fixed entries that were actually
6906 resolved as WONTFIX.
6908 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6911 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6913 * src/hildon-bread-crumb-trail.c:
6914 * src/hildon-bread-crumb-trail.h:
6915 * src/hildon-bread-crumb.c:
6916 * src/hildon-bread-crumb.h:
6920 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6922 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6923 until it's passed the type check.
6925 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6927 * examples/hildon-bread-crumb-trail-example.c
6931 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6933 * examples/Makefile.am
6934 * examples/hildon-bread-crumb-trail-example.c
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
6941 New HildonBreadCrumbTrail widget.
6943 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6945 * src/hildon-range-editor.c (hildon_range_editor_init),
6946 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6947 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6948 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6949 hildon_time_editor_class_init, hildon_time_editor_init),
6950 src/hildon-get-password-dialog.c (invalid_input,
6951 hildon_get_password_set_property, hildon_get_password_get_property,
6952 create_contents, hildon_get_password_dialog_set_max_characters),
6953 src/hildon-set-password-dialog.c (create_contents),
6954 src/hildon-date-editor.c (hildon_date_editor_init),
6955 src/hildon-login-dialog.c (hildon_login_dialog_init),
6956 src/hildon-number-editor.c (hildon_number_editor_init),
6957 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6958 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6959 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6960 configure option and adding the respective checks in the code.
6961 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6962 hildon_calendar_drag_data_received): fixed some build warnings.
6964 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6966 * debian/changelog: A 1.0.0 release notes.