1 2009-03-12 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-button.c (hildon_button_class_init): Don't make
4 "title" and "value" construction properties, to prevent them from
5 overwriting labels set from derived classes.
7 * src/hildon-picker-button.c
8 (hildon_picker_button_set_selector): Allow setting a NULL selector.
9 (hildon_picker_button_class_init): Make touch-selector a
10 construction property.
12 * src/hildon-date-button.c (hildon_date_button_class_init)
13 (+hildon_date_button_constructed): Add a default date selector if
16 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
18 * src/hildon-touch-selector.c: Small documentation fixes.
20 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
22 Based on a patch by Daniel Borgmann (danielb@openismus.com)
24 * src/hildon-entry.c (hildon_entry_refresh_contents),
25 (hildon_entry_get_text), (hildon_entry_init): Do not use the
26 widget name, set the logical color directly instead and a boolean
27 showing_placeholder instead.
28 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
29 use the widget name here either.
31 Fixes: NB#105678 (HildonTextView should use logical colours
32 instead of setting widget name)
34 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
36 Patch by Daniel Elster (danielk@openismus.com)
38 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
39 Add user_data parameter.
40 (hildon_touch_selector_set_print_func_full): New function akin
41 hildon_touch_selector_set_print_func() but with support for user
42 data and a destroy callback.
43 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
44 to clean up the print function user data.
45 (hildon_touch_selector_class_init): Install dispose function.
46 (HildonTouchSelectorPrivate::print_user_data),
47 (HildonTouchSelectorPrivate::print_destroy_func): New private
49 (hildon_touch_selector_init): Initialize new private members.
50 (hildon_touch_selector_get_current_text): Pass along user data
51 to the print function.
52 (_default_print_func): Add dummy user_data to parameter list.
53 * hildon-date-selector.c (_custom_print_func): ditto,
54 * hildon-time-selector.c (_custom_print_func): ditto,
55 * hildon-touch-selector-entry.c
56 (hildon_touch_selector_entry_print_func): ditto.
58 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
60 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
62 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
64 2009-03-12 Alejandro G. Castro <alex@igalia.com>
66 * src/hildon-pannable-area.c,
67 (hildon_pannable_area_init),
68 (hildon_pannable_area_button_press_cb),
69 (hildon_pannable_area_motion_notify_cb): We have added code to
70 handle the leave and enter events when using the motion events.
72 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
74 2009-03-11 Alberto Garcia <agarcia@igalia.com>
76 * src/hildon-date-button.c (hildon_date_button_get_date)
77 (hildon_date_button_set_date): Make sure that the button has a
80 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
82 2009-03-11 Alejandro G. Castro <alex@igalia.com>
84 * src/hildon-pannable-area.c,
85 (hildon_pannable_area_class_init),
86 (hildon_pannable_area_calculate_velocity): Modify the use of the
87 force and adapt the value.
89 2009-03-10 Alberto Garcia <agarcia@igalia.com>
91 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
92 (hildon_app_menu_class_init): Hide the menu if it receives a
93 delete-event, but don't destroy it
95 Fixes: NB#104485 (Not able to address the call when application
96 menu is opened at background)
98 2009-03-10 Alberto Garcia <agarcia@igalia.com>
100 * src/hildon-app-menu.c
101 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
102 Remove the "external-border" style property, let the menu take its
103 natural size (or the one set by the window manager)
104 (hildon_app_menu_repack_items):
105 Don't reshow the menu, avoid flickers.
107 Partially fixes NB#94957 (Smoothly opened application menu)
109 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
114 * configure.ac: Bump version.
115 * debian/changelog: Updates.
117 2009-03-10 Alejandro G. Castro <alex@igalia.com>
119 * src/hildon-pannable-area.c,
120 (hildon_pannable_area_motion_notify_cb): We control that the
121 direction error margin is used just in case the movement is
122 allowed in the other direction.
124 Fixes: NB#105012 (buttons inside a pannable area not getting
125 release event when dragging/releasing)
127 2009-03-10 Alejandro G. Castro <alex@igalia.com>
129 * src/hildon-pannable-area.c,
130 (hildon_pannable_area_class_init),
131 (hildon_pannable_area_get_property),
132 (hildon_pannable_area_set_property),
133 (hildon_pannable_area_initial_effect),
134 (hildon_pannable_axis_scroll),
135 (hildon_pannable_area_button_release_cb): Reviewed the
136 overshooting effect, now it has its own max
137 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
140 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
145 * configure.ac: Bump version.
146 * debian/changelog: Updates.
148 2009-03-09 Alejandro G. Castro <alex@igalia.com>
150 * src/hildon-pannable-area.c,
151 (hildon_pannable_area_class_init): Changed the max speed, now
152 users can launch the widget very fast. Reduced the default force,
153 that way it is easier to control the launch speed.
155 2009-03-09 Alejandro G. Castro <alex@igalia.com>
157 * src/hildon-pannable-area.c,
158 (hildon_pannable_area_button_release_cb): Removed this check
159 because it causes problems when the device is overloaded.
161 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
163 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
164 add a current_text field to store the text entered in the
165 touch selector entry.
166 (_clean_current_selection): clean up the current text as well.
167 (_save_current_selection), (_restore_current_selection):
168 Save/restore the text in the entry if the selector is a
169 HildonTouchSelectorEntry.
171 Fixes: NB#102541 (value entered in the touch selector entry is not
172 shown when opened for second time)
174 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
176 * doc/hildon-sections.txt:
177 * src/hildon-touch-selector-entry.c
178 (+hildon_touch_selector_entry_get_entry):
179 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
181 Fixes: NB#104815 (I need accessor to the entry inside
182 HildonTouchSelectorEntry)
184 2009-03-06 Alberto Garcia <agarcia@igalia.com>
186 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
187 (hildon_app_menu_class_init):
188 New "filter-vertical-spacing" style property.
190 2009-03-06 Alberto Garcia <agarcia@igalia.com>
192 * src/hildon-find-toolbar.c
193 (hildon_find_toolbar_emit_close)
194 (hildon_find_toolbar_emit_invalid_input)
195 (hildon_find_toolbar_entry_activate):
196 Use g_signal_emit() instead of g_signal_emit_by_name()
198 2009-03-06 Alberto Garcia <agarcia@igalia.com>
200 Patch by Mox Soini (ext-mox.soini@nokia.com)
202 * tests/TEST-CASES.txt
203 * tests/check-hildon-banner.c
204 * tests/check-hildon-note.c
205 * src/hildon-banner.c
206 * src/hildon-code-dialog.c
207 * src/hildon-date-editor.c (real_set_calendar_icon_state)
208 * src/hildon-time-editor.c
209 * examples/hildon-lookup-example.c (main):
210 Replace obsolete icon names with new ones.
212 * src/hildon-find-toolbar-private.h:
213 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
214 (-hildon_find_toolbar_emit_search):
215 Remove find button and change icon of close button.
217 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
219 2009-03-05 Alberto Garcia <agarcia@igalia.com>
221 * src/hildon-time-button.c (hildon_time_button_new_step):
222 Use the "touch-selector" property to set the selector directly
223 when creating the object.
225 2009-03-05 Alejandro G. Castro <alex@igalia.com>
227 Added a new example application that allows tuning the pannable
228 area and replaced defines with properties in order to simplify the
229 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
230 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
231 PROP_DIRECTION_ERROR_MARGIN.
233 * examples/hildon-pannable-area-tuning-example.c: New example
235 * src/hildon-pannable-area.c,
236 (hildon_pannable_area_class_init),
237 (hildon_pannable_area_init),
238 (hildon_pannable_area_get_property),
239 (hildon_pannable_area_set_property),
240 (hildon_pannable_area_launch_fade_timeout),
241 (hildon_pannable_area_adjust_value_changed),
242 (hildon_pannable_axis_scroll),
243 (hildon_pannable_area_motion_notify_cb),
244 (hildon_pannable_area_scroll_cb),
245 (hildon_pannable_area_button_release_cb): We have converted some
246 of the defines that control the widget to properties to simplify
249 2009-03-05 Alberto Garcia <agarcia@igalia.com>
251 * src/hildon-app-menu.c (hildon_app_menu_map)
252 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
253 so it's closed if a new window appears.
255 Fixes: NB#104485 (Not able to address the call when application
256 menu is opened at background)
258 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
260 * src/hildon-color-button.c (hildon_color_button_get_property):Add
261 missing 'break' statement in in 'case' construct to avoid
264 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
266 * src/hildon-touch-selector-entry.c
267 (hildon_touch_selector_entry_get_property),
268 (hildon_touch_selector_entry_set_property): Add missing 'break'
269 statements in in 'case' constructs to avoid incorrect warnings.
271 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
273 * src/hildon-time-editor.c
274 (hildon_time_editor_get_time_separators): Do not crash if
275 the first label is NULL.
277 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
279 * src/hildon-date-selector.c (_month_days): Check for month to be
280 strictly less than 12, since otherwise we may overrun the array.
282 2009-03-04 Alberto Garcia <agarcia@igalia.com>
284 * src/hildon-date-button.c (+hildon_date_button_new_full)
285 (hildon_date_button_new, hildon_date_button_new_with_year_range)
286 (hildon_date_button_init): Set the date selector using a
287 construction property, to make it happen after HildonButton's
288 "value" property is set.
290 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
291 current date by default)
293 2009-03-04 Alberto Garcia <agarcia@igalia.com>
295 * doc/hildon-sections.txt
296 * src/hildon-program.c
297 * src/hildon-stackable-window.c
298 * src/hildon-window.c:
299 Documentation updates
301 2009-03-04 Alberto Garcia <agarcia@igalia.com>
303 * src/hildon-window-stack.c (hildon_window_stack_get_default)
304 (hildon_window_stack_new, +hildon_window_stack_set_property)
305 (+hildon_window_stack_get_property)
306 (hildon_window_stack_class_init)
307 (+hildon_window_stack_set_window_group)
308 (+hildon_window_stack_get_window_group):
309 Make the window group a construction property.
311 2009-03-04 Alberto Garcia <agarcia@igalia.com>
313 * doc/hildon-sections.txt
314 * src/hildon-stackable-window-private.h
315 * src/hildon-stackable-window.h
316 * src/hildon-stackable-window.c
317 (-hildon_stackable_window_set_app_menu)
318 (-hildon_stackable_window_get_app_menu)
319 (-hildon_stackable_window_toggle_menu)
320 (-hildon_stackable_window_finalize)
321 (hildon_stackable_window_class_init)
322 (hildon_stackable_window_init)
323 * src/hildon-window-private.h
324 * src/hildon-window.h
325 * src/hildon-window.c (hildon_window_init)
326 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
327 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
328 (hildon_window_get_main_menu, hildon_window_set_main_menu)
329 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
330 Moved all HildonAppMenu code to HildonWindow. The menu does not
331 require a HildonStackableWindow anymore.
333 * src/hildon-app-menu.c
334 * src/hildon-program.c
335 * examples/hildon-app-menu-example.c (main):
336 Update examples and documentation to reflect HildonAppMenu
339 2009-03-04 Alberto Garcia <agarcia@igalia.com>
341 * src/hildon-remote-texture.c
342 * src/hildon-animation-actor.c:
343 Don't include unused private headers.
345 2009-03-04 Alberto Garcia <agarcia@igalia.com>
347 * src/hildon-program-private.h
348 * src/hildon-program.c
349 (hildon_program_set_common_menu)
350 (hildon_program_get_common_menu)
351 (hildon_program_set_common_app_menu)
352 (hildon_program_get_common_app_menu):
353 Change common menu pointers from GtkWidget* to GtkMenu* and
354 HildonAppMenu* to avoid unnecessary casts.
356 2009-03-03 Alberto Garcia <agarcia@igalia.com>
358 * src/hildon-window.c (hildon_window_set_main_menu):
359 Removed incorrect 'Since:' tag
361 2009-03-03 Alejandro G. Castro <alex@igalia.com>
363 * src/hildon-pannable-area.c,
364 (hildon_pannable_area_calculate_velocity): We use now the
365 RATIO_TOLERANCE here to check the distance, fixed typo in the
367 (hildon_pannable_area_motion_notify_cb): We have to set the type
368 and time even if we are not sending the motion.
370 2009-03-02 Alberto Garcia <agarcia@igalia.com>
372 * doc/hildon-sections.txt
373 * src/hildon-app-menu.h
374 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
375 (+hildon_app_menu_get_filters): New methods to get the contents of
378 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
381 2009-03-02 Alberto Garcia <agarcia@igalia.com>
383 * src/hildon-app-menu.c (hildon_app_menu_popup):
386 2009-03-02 Alberto Garcia <agarcia@igalia.com>
388 * src/hildon-window.h
389 * src/hildon-window.c (+hildon_window_get_main_menu)
390 (hildon_window_get_menu): Created hildon_window_get_main_menu()
391 and deprecated hildon_window_get_menu().
393 * src/hildon-stackable-window.h
394 * src/hildon-stackable-window.c
395 (+hildon_stackable_window_set_app_menu)
396 (+hildon_stackable_window_get_app_menu)
397 (hildon_stackable_window_set_main_menu): Created
398 hildon_stackable_window_{get,set}_app_menu() and deprecated
399 hildon_stackable_window_set_main_menu().
401 * doc/hildon-sections.txt
402 * examples/hildon-app-menu-example.c (main)
403 * src/hildon-app-menu.c
404 * src/hildon-program.c:
405 Updated examples and documentation.
407 Fixes: NB#103758 (No way to obtain a menu from a
408 HildonStackableWindow)
410 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
415 * configure.ac: Bump version.
416 * debian/changelog: Updates.
418 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
420 * examples/hildon-remote-texture-example.c: Include
421 hildon-remote-texture.h explicitely.
422 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
423 applications not defining _XOPEN_SOURCE which don't require this header.
425 2009-02-27 Alberto Garcia <agarcia@igalia.com>
427 * doc/hildon-sections.txt
428 * src/hildon-app-menu.h
429 * src/hildon-app-menu.c (+hildon_app_menu_popup):
430 New function to pop up a HildonAppMenu
432 * src/hildon-stackable-window.c
433 (hildon_stackable_window_toggle_menu):
434 Use hildon_app_menu_popup() to show the menu.
436 2009-02-27 Alberto Garcia <agarcia@igalia.com>
438 * src/hildon-app-menu.c (hildon_app_menu_show)
439 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
440 menu if there's another window between it and its parent window.
442 Fixes: NB#100468 (Application menu window is launched even when a
443 new secondary-window/dialog is pending to be shown/realized)
445 2009-02-27 Alberto Garcia <agarcia@igalia.com>
447 * src/hildon-window-stack.c (hildon_window_stack_push)
448 (hildon_window_stack_pop_and_push):
449 Don't forget to push/pop the first window.
450 Reverse the window list before calling _push_list()
452 2009-02-27 Alberto Garcia <agarcia@igalia.com>
454 * src/hildon-picker-button.h
455 * src/hildon-picker-button.c (hildon_picker_button_class_init):
456 Remove "value_changed" slot to avoid ABI breakage
458 2009-02-26 Alejandro G. Castro <alex@igalia.com>
460 * src/hildon-pannable-area.c,
461 (hildon_pannable_area_realize),
462 (hildon_pannable_area_unrealize),
463 (hildon_pannable_draw_vscroll),
464 (hildon_pannable_draw_hscroll): Changed the method to handle the
465 GC used to draw the transparent scrollbar, this way we avoid
466 creating the GC all the time when drawing the scrollbars.
468 2009-02-26 Alejandro G. Castro <alex@igalia.com>
470 * src/hildon-pannable-area.c,
471 (hildon_pannable_area_init),
472 (hildon_pannable_area_remove): Removed some unnecessary casts.
473 (hildon_pannable_area_dispose): Disconnected some signals before
474 releasing the adjustments.
476 2009-02-26 Alberto Garcia <agarcia@igalia.com>
478 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
479 Make sure that all widgets contained in the toolbar are shown.
481 2009-02-25 Alberto Garcia <agarcia@igalia.com>
483 * doc/hildon-sections.txt
484 * src/hildon-picker-button.h
485 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
486 (_selection_changed, hildon_picker_button_on_dialog_response)
487 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
488 New hildon_picker_button_value_changed() method.
491 * src/hildon-picker-button-private.h
492 * src/hildon-picker-button.c (hildon_picker_button_init)
493 (+hildon_picker_button_disable_value_changed): Add protected
494 function for disabling the "value-changed" signal.
496 * src/hildon-date-button.c (hildon_date_button_set_date):
497 Don't emit "value-changed" for each one of the three columns.
499 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
500 before actual change of values)
502 2009-02-24 Alejandro G. Castro <alex@igalia.com>
504 * src/hildon-pannable-area.c,
505 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
506 for the treeview overshooting.
508 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
510 * src/hildon-banner.c (+hildon_banner_bind_style):
511 Renamed from hildon_banner_bind_label_style(), now naming the
512 banner itself as well.
513 (hildon_banner_show_information),
514 (hildon_banner_show_information_with_markup),
515 (hildon_banner_show_animation), (hildon_banner_show_progress):
516 Name the widgets and labels, based on their type.
518 See NB#98597 (Hildon Note and Hildon Banner should use themeable
521 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
523 * src/hildon-note.c (hildon_note_set_property): call
524 hildon_note_rename() on HildonNote:note-type set.
525 (hildon_note_rename): Name the note and its label, based on the
526 HildonNote:note-type property.
528 See NB#98597 (Hildon Note and Hildon Banner should use themeable
531 2009-02-24 Alejandro G. Castro <alex@igalia.com>
533 * src/hildon-pannable-area.c,
534 (hildon_pannable_area_class_init),
535 (hildon_pannable_area_motion_notify_cb): Reviewed the default
536 panning parameters, increased SPS and deceleration factor. Added
537 also a margin to control fake directions.
539 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
541 Patch by Sven Herzberg (sven@imendio.com)
543 * configure.ac: Add missing AM_PROG_CC_C_0
544 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
546 See NB#101420 (Update unit tests and fix make check)
548 2009-02-23 Alejandro G. Castro <alex@igalia.com>
550 This patch was applied before but reverted because it caused
551 problems, we have changed the main condition and tested the
552 regressions we detected before and they work ok. We have done a
553 complete review of the topmost algorithm in order to get a more
556 * src/hildon-pannable-area.c,
557 (hildon_pannable_area_get_topmost): Added a new parameter to
558 filter the the windows that do not include those events.
559 (hildon_pannable_area_button_press_cb),
560 (hildon_pannable_area_button_release_cb),
561 (hildon_pannable_get_child_widget_at): Reviewed the call the the
562 topmost function, we have added the new parameter.
564 Fixes: NB#97458 (Pannable area prevents propagation of button
567 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
569 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
570 if all columns in the selector have an item selected.
571 (_on_dialog_response): Stop "response" signal emission if there is
572 any selector column without selected items.
574 Fixes: NB#101889 (Picker dialog should not close when nothing is
575 selected in multiple selection list)
577 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-font-selection-dialog.c
580 (hildon_font_selection_dialog_class_init),
581 (hildon_font_selection_dialog_init): Remove the preview
582 button and dialog, since previewing with default theming is likely
583 to be overcomplicated. The :preview property has now no effect.
584 Update documentation blurbs to inform about this.
586 Fixes: NB#92297 (Preview content is not clearly visible for
589 2009-02-20 Alejandro G. Castro <alex@igalia.com>
591 Reviewed the geometry that handles the children size and
592 scrollbar, now it tries a size and reviews the results depending
593 on the scrollbars visibility.
595 * src/hildon-pannable-area.c,
596 (hildon_pannable_area_realize): Fixed a typo.
597 (hildon_pannable_area_child_allocate_calculate): Added this
598 function to calculate the child allocation.
599 (hildon_pannable_area_size_allocate): Reviewed the allocation
601 (hildon_pannable_area_check_scrollbars),
602 (hildon_pannable_area_refresh): Refactored refresh function, this
603 way we can call the code handling the scrollbars without causing a
604 size_request, it is interesting in the allocate.
605 (hildon_pannable_area_init): Replace the callbacks of the
606 value_changed and changed signals to propertly deal with the
608 (hildon_pannable_area_grab_notify),
609 (hildon_pannable_area_initial_effect),
610 (hildon_pannable_area_launch_fade_timeout),
611 (hildon_pannable_area_adjust_changed),
612 (hildon_pannable_area_adjust_value_changed),
613 (hildon_pannable_area_redraw),
614 (hildon_pannable_area_button_press_cb),
615 (hildon_pannable_area_button_release_cb),
616 (hildon_pannable_area_scroll_cb),
617 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
618 code and use the new functions adjust_changed and
619 adjust_value_changed.
621 Fixes: NB#101603 (Focus is not even for the text entry boxes in
622 Contact editor dialog)
624 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
629 * configure.ac: Bump version.
630 * debian/changelog: Updates.
632 2009-02-20 Alejandro G. Castro <alex@igalia.com>
634 * src/hildon-pannable-area.c,
635 (hildon_pannable_area_get_topmost),
636 (hildon_pannable_area_button_press_cb),
637 (hildon_pannable_area_button_release_cb),
638 (hildon_pannable_get_child_widget_at): Reverted the patch for the
639 topmost function adding the event mask. We have to try a
640 differente approach because it is still causing problems (NB#9745,
643 2009-02-19 Alberto Garcia <agarcia@igalia.com>
645 * src/hildon-banner.c:
646 Update the maximum width of timed banners.
647 (force_to_wrap_truncated): Enforce the maximum text width if the
650 Fixes: NB#102413 (The text margins (wrapping) in information
651 banner should be HILDON_MARGIN_TRIPLE)
653 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
655 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
657 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
658 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
659 bound when calculating the scroll indicator position.
661 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
662 treat ->lower correctly)
664 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
666 * src/hildon-caption.c (hildon_caption_class_init): Remove the
667 expose event handling, since it is not necessary to draw the focus
670 Fixes: NB#102467 (Do not show highlight on the text in
673 2009-02-18 Alberto Garcia <agarcia@igalia.com>
675 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
676 full height of the toolbar for the button and the label.
678 2009-02-18 Alberto Garcia <agarcia@igalia.com>
680 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
681 padding before the label and after the button.
683 2009-02-18 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
687 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
688 Add a GtkVSeparator between the button and the back arrow.
689 Let the button have automatic size.
690 Set a name to the widget for theming handling.
692 Fixes: NB#101793 (Make edit toolbar the same height as window
693 title bar (use title area theming))
695 2009-02-18 Alberto Garcia <agarcia@igalia.com>
697 * src/hildon-helper.c (attach_new_color_element): Fix memory
700 Fixes: NB#102262 (memory leak in hildon_button_set_style())
702 2009-02-18 Alberto Garcia <agarcia@igalia.com>
704 * examples/hildon-button-example.c (common_buttons_window): Don't
707 2009-02-18 Alberto Garcia <agarcia@igalia.com>
709 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
710 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
712 2009-02-18 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-gtk.c: Check that the window is realized.
716 Fixes: NB#102225 (Crash setting the progress indicator to a non
719 2009-02-17 Alberto Garcia <agarcia@igalia.com>
721 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
722 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
723 instead of modifying the one in the widget style.
725 Fixes: NB#101043 (Second row of all the command button are
726 displayed in transparent mode.)
728 2009-02-17 Alberto Garcia <agarcia@igalia.com>
730 * src/hildon-date-button.c
731 * src/hildon-time-button.c: Add gettext macros
733 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-date-button.c (hildon_date_button_new):
736 * src/hildon-time-button.c (hildon_time_button_new_step):
737 Use new logical strings to set the button default title.
739 Fixes: NB#99915 (Date and Time options are not localised in Date
742 2009-02-16 Alejandro G. Castro <alex@igalia.com>
744 * src/hildon-pannable-area.c
745 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
746 the PANNING_THRESHOLD.
748 2009-02-16 Alejandro G. Castro <alex@igalia.com>
750 * src/hildon-pannable-area.c,
751 (hildon_pannable_area_class_init): Increased the maximum speed.
752 (hildon_pannable_area_get_property),
753 (hildon_pannable_area_set_property),
754 (hildon_pannable_area_timeout): Added a new low friction mode, it
755 allows the user avoid friction when launching the widget fast
756 enough. It is interesting to traverse long lists.
758 2009-02-16 Alberto Garcia <agarcia@igalia.com>
760 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
761 (+hildon_stackable_window_delete_event): Ignore delete events if
762 the window is not the topmost one.
764 Fixes: NB#101698 (Back button long press and delete-event handling)
766 2009-02-16 Alejandro G. Castro <alex@igalia.com>
768 * src/hildon-pannable-area.c,
769 (hildon_pannable_area_motion_notify_cb): Removed the use of the
770 gtk-dnd-drag-threshold, it was too big. We have defined our own
771 dnd define and set a smaller value: PANNIG_THRESHOLD.
773 2009-02-16 Alberto Garcia <agarcia@igalia.com>
775 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
776 user-defined icons, use always the default one.
778 Fixes: NB#101916 (Do not allow custom icons on animation banner)
780 2009-02-13 Alejandro G. Castro <alex@igalia.com>
782 This patch was applied before but reverted because it caused
783 problems, we have changed the main condition and tested the
784 regressions we detected before and they work ok.
786 * src/hildon-pannable-area.c,
787 (hildon_pannable_area_get_topmost): Added a new parameter to
788 filter the the windows that do not include those events. Added
789 also a condition when finding the window to filter windows that do
790 not ask for those events.
791 (hildon_pannable_area_button_press_cb),
792 (hildon_pannable_area_button_release_cb),
793 (hildon_pannable_get_child_widget_at): Reviewed the call the the
794 topmost function, we have added the new parameter.
796 Fixes: NB#97458 (Pannable area prevents propagation of button
799 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
801 * tests/check-hildon-color-button.c (START_TEST): do not leak
804 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
806 * src/hildon-font-selection-dialog.c
807 (hildon_font_selection_dialog_get_preview_text): Return NULL
808 instead of FALSE on the g_return_val_if_fail().
810 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
812 * src/hildon-time-selector.c (hildon_time_selector_set_time):
813 * src/hildon-date-selector.c
814 (hildon_date_selector_select_current_date):
815 Do not compare unsigned integers to be greater than or equal 0,
816 because it's always TRUE.
818 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
820 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
821 (hildon_date_selector_constructor): Do not select the current
822 date until we are handle the "changed" signal, to avoid having bogus
823 elements in the days model.
825 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
827 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
828 for num_days, since _month_days() can return a negative value.
830 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
832 * src/hildon-caption.c (hildon_caption_size_allocate):
833 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
834 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
836 Initialize allocation variables to 0, to avoid eventually using
837 unitialized variables.
839 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-bread-crumb-trail.c
842 (hildon_bread_crumb_trail_size_allocate):
843 * src/hildon-calendar.c (hildon_calendar_set_background):
844 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
845 * src/hildon-range-editor.c (hildon_range_editor_get_range):
846 * src/hildon-seekbar.c (hildon_seekbar_init):
847 * src/hildon-time-editor.c (hildon_time_editor_get_time):
848 * src/hildon-time-selector.c (hildon_time_selector_finalize):
849 * src/hildon-touch-selector-entry.c
850 (hildon_touch_selector_get_text_from_model):
851 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
852 * src/hildon-window.c (hildon_window_finalize):
854 Remove many unused variables.
856 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
858 * src/hildon-seekbar.c: (hildon_seekbar_init),
859 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
861 Remove unnecessary g_assert() calls.
863 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
865 * src/hildon-caption.c: (hildon_caption_expose),
866 (hildon_caption_set_property), (hildon_caption_init),
867 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
868 (hildon_caption_size_request), (hildon_caption_size_allocate),
869 (hildon_caption_forall), (hildon_caption_set_separator),
870 (hildon_caption_activate), (hildon_caption_set_child_expand),
871 (hildon_caption_set_label_text),
872 (hildon_caption_get_label_alignment):
874 Remove unnecessary g_assert() calls.
876 2009-02-12 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-banner.c
879 (hildon_banner_map, hildon_banner_init): Make banner temporary
880 before mapping it to avoid closing other temporary windows, but
881 make it non-temporary afterwards to avoid being closed by other
882 non-temporary windows.
883 (-hildon_banner_client_event, hildon_banner_init):
884 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
886 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
889 2009-02-11 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
894 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
896 * src/hildon-remote-texture.c
897 * src/hildon-remote-texture.h
898 * src/hildon-remote-texture-private.h
899 * examples/hildon-remote-texture-example.c:
900 Updates/fixes to remote-texture and its example.
902 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
904 Patch by Mox Soini (ext-mox.soini@nokia.com)
906 * src/hildon-code-dialog.c: Update logical id.
907 * src/hildon-set-password-dialog.c: Update logical id.
909 Fixes: NB#100646 (Logical strings is shown for ok in set
910 password,Password needed dialogs)
912 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
915 * src/hildon-remote-texture.c
916 * src/hildon-remote-texture.h
917 * src/hildon-remote-texture-private.h
919 Added remote texture widget (for Clutter shared memory textures)
921 * examples/hildon-remote-texture-example.c
922 * examples/Makefile.am
923 Added example file for remote texture usage
925 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
927 * configure.ac: post release version bump.
928 * debian/changelog: version bump.
930 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
935 * configure.ac: Bump version.
936 * debian/changelog: Updates.
938 2009-02-06 Alberto Garcia <agarcia@igalia.com>
940 * src/hildon-date-selector.c (hildon_date_selector_init)
941 (hildon_date_selector_constructor): Don't connect to the "changed"
942 signal until the selector is completely constructed.
944 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
946 * src/hildon-touch-selector.c: (_create_new_column),
947 (hildon_touch_selector_append_column),
948 (hildon_touch_selector_set_column_selection_mode),
949 (hildon_touch_selector_set_active),
950 (hildon_touch_selector_select_iter):
951 Emit the HildonTouchSelector::changed signal every time selection
952 is changed in any of the methods above. This behavior was already
953 documented but not fully functional.
955 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
956 selection is programmatically changed)
958 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
960 * doc/hildon-sections.txt: Remove obsolete icon
961 sizes from here as well.
963 2009-02-05 Alberto Garcia <agarcia@igalia.com>
965 * examples/hildon-stackable-window-example.c (add_window): Remove
968 2009-02-05 Alberto Garcia <agarcia@igalia.com>
970 * src/hildon-app-menu.c
971 (hildon_app_menu_show): Check whether the parent window of a menu
972 is topmost before popping it up.
974 Fixes: NB#100468 (Application menu window is launched even when a
975 new secondary-window/dialog is pending to be shown/realized.)
977 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
979 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
982 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
984 Patch by Mox Soini (ext-mox.soini@nokia.com)
986 * src/hildon-banner.c: (hildon_banner_show_animation):
987 use stylus size instead of obsolete note size.
988 * src/hildon-defines.h: Update icon sizes.
990 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
992 * src/hildon-touch-selector-entry.c:
993 (hildon_touch_selector_entry_init): Disable unsupported
995 (hildon_touch_selector_entry_get_text_column): Emit a warning
996 if an unsupported input modes is used and explicitile state
997 these modes in the documentation.
999 Fixes: NB#99802 (Hildon touch selector entry not working properly
1000 for some of the input modes)
1002 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1004 * src/hildon-pannable-area.c,
1005 (hildon_pannable_area_init): Added the changed signal handlers of
1008 Fixes: NB#100320 (HildonPannableArea does not listen to
1009 GtkAdjustment "change" signals)
1011 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1013 * doc/hildon-sections.txt
1014 * src/hildon-window-private.h
1015 * src/hildon-window.h
1016 * src/hildon-window.c (hildon_window_init)
1017 (hildon_window_realize, hildon_window_unrealize)
1018 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1019 (hildon_window_size_request, hildon_window_size_allocate)
1020 (hildon_window_forall, hildon_window_show_all)
1021 (hildon_window_destroy, +paint_edit_toolbar)
1022 (+hildon_window_set_edit_toolbar):
1023 New hildon_window_set_edit_toolbar() method, to add a
1024 HildonEditToolbar to a window without having to pack it manually.
1026 Reorganize hildon_window_size_allocate()
1028 * src/hildon-edit-toolbar.c: Update documentation.
1030 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1031 example to use the new API.
1033 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1035 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1037 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1038 Remove from stack before calling parent's hide.
1040 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1042 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1043 window is removed from the middle of the stack, update the
1044 transiency of the previous one.
1046 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1049 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1052 block/unblock the signal handler if it's not actually being used.
1053 Fixes some critical warnings.
1055 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1057 Based on a patch by Iván Gómez (igomez@igalia.com)
1059 * src/hildon-banner.c
1063 * src/hildon-pannable-area.c
1064 * src/hildon-picker-dialog.c
1065 * src/hildon-wizard-dialog.h
1066 * src/hildon-wizard-dialog.c: Documentation updates.
1068 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1069 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1071 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1073 * configure.ac: post release version bump.
1074 * debian/changelog: version bump.
1076 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1081 * configure.ac: Bump version.
1082 * debian/changelog: Updates.
1084 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1086 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1087 a stock icon nor change the relief of the back arrow.
1089 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1090 graphics from theme)
1092 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1094 * src/hildon-button.c (hildon_button_set_alignment): Use
1095 priv->alignment if the button has no child yet.
1097 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1099 * src/hildon-button.c: (hildon_button_init): Set the
1100 button style during initialization to give it the proper
1103 Fixes: NB#99713 (HildonButton value label color is wrong)
1105 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1107 * src/hildon-touch-selector.c: Document
1108 hildon_touch_selector_center_on_selected()
1110 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1113 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1114 all menu items, but not the menu itself.
1115 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1116 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1117 items after adding them to the menu so keyboard accelerators work.
1118 (hildon_app_menu_show): Don't show the menu if it contains items
1119 but none of them are visible.
1121 * examples/hildon-app-menu-example.c (create_menu): Use
1122 gtk_widget_show_all() to show all menu items.
1124 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1126 * src/hildon-picker-dialog.c:
1127 (-_update_title_on_selector_changed_cb),
1128 (-_dialog_update_title): Removed.
1129 (_select_on_selector_changed_cb), (_on_dialog_response),
1130 (on_selector_columns_changed): Do not update the dialog title.
1131 (setup_interaction_mode): Do not connect to
1132 HildonTouchSelector::changed signal if there's a "done" button, as
1133 the dialog title doesn't need to be updated.
1135 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1138 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1140 Patch by Kristian Rietveld (kris@imendio.com)
1142 * src/hildon-touch-selector.c: (_create_new_column): Use new
1143 GtkTreeView::hildon-row-tapped signal to react to user interactions
1144 instead of ::changed.
1146 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1147 with some dynamic tree model)
1149 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1151 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1152 (+screen_size_changed, +label_size_request)
1153 (hildon_note_class_init): Make the Hildon information note have a
1154 minimum height, and make its text hvae a maximum width.
1156 Fixes: NB#98614 (Hildon information note (background) should have
1157 minimum height and maximum text width)
1159 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-banner.h
1162 * src/hildon-banner.c (hildon_banner_show_information)
1163 (hildon_banner_show_informationf)
1164 (hildon_banner_show_information_with_markup): Update documentation
1165 to reflect that the icon_name parameter is not used anymore.
1166 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1167 Remove all code from these functions and mark them as deprecated.
1168 (hildon_banner_show_progress): Mark as deprecated.
1170 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1172 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1174 * src/hildon-pannable-area.c,
1175 (hildon_pannable_area_class_init),
1176 (tranparency_color),
1177 (hildon_pannable_draw_vscroll),
1178 (hildon_pannable_draw_hscroll),
1179 (hildon_pannable_area_expose_event): Added a new way to render the
1180 scrollbars of the pannable area avoiding using cairo at all. This
1181 way we improve the performance of the pannable area rendering. The
1182 cairo rendering procedure is still in the code, we can control
1183 which one to use changing the value of the define
1184 USE_CAIRO_SCROLLBARS.
1186 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1188 * configure.ac: post release version bump.
1189 * debian/changelog: version bump.
1191 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1196 * configure.ac: Bump version.
1197 * debian/changelog: Updates.
1199 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1202 banners instead of destroying them when they receive a button
1205 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1207 Reverted commit 34028, it was causing regressions, probably the
1208 topmost condition is not correct, we have to check it in more
1209 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1210 propagation of button press events)
1212 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1214 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1215 that the selection is not empty before attempting to retrieve the
1216 current ampm selection.
1218 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1220 * src/hildon-picker-button.c:
1221 (hildon_picker_button_on_dialog_response): Directly update the
1222 button contents when required instead of calling _selection_changed.
1224 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1226 * src/hildon-program.c (hildon_program_update_top_most): Update
1227 'is-topmost' property also when wm_hints is not set.
1229 Fixes: NB#98383 (is-topmost signal is not emitted when task
1230 switcher is clicked.)
1232 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1234 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1238 * src/hildon-animation-actor.c,
1239 * src/hildon-animation-actor.h: Added the animation actor class,
1240 this widget represents an animation actor for WM-assisted
1241 animation effects in the Hildon framework.
1243 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1245 * src/hildon-window-stack-private.h
1246 * src/hildon-window-stack.c
1247 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1248 Avoid calling gtk_widget_show() again indirectly from
1249 hildon_stackable_window_show()
1251 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1253 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1256 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1258 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1259 (hildon_time_selector_init): Move the construction of the hours and
1260 ampm columns to the constructor to preserve the order the columns
1263 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1265 * src/hildon-picker-dialog.c:
1266 (hildon_picker_dialog_class_init): Connect a realize method.
1267 (+hildon_picker_dialog_realize): Setup the interaction mode here
1269 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1270 yet, do it during the realize instead.
1271 (_on_dialog_response):
1272 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1273 if the widget is not realized, to avoid the dialog response before it
1276 Avoid premature responses in the HildonPickerDialog that can cause it
1277 to be hidden before it's even shown.
1279 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1282 (on_selector_columns_changed), (requires_done_button),
1283 (+prepare_action_area), (setup_interaction_mode),
1284 (_hildon_picker_dialog_set_selector):
1286 Split the interaction mode setup into preparation of the
1287 action area (prepare_action_area()) and the connection of
1288 the signals in setup_interaction_mode() and update the code to
1291 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1293 * src/hildon-pannable-area.c,
1294 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1295 per second to 15, we will check if this is ok regarding
1298 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1300 * src/hildon-pannable-area.c,
1301 (hildon_pannable_axis_scroll): Avoid resize if we already have
1302 reached overshoot_max.
1304 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1306 * src/hildon-pannable-area.c,
1307 (hildon_pannable_area_init),
1308 (hildon_pannable_area_realize),
1309 (hildon_pannable_area_size_allocate),
1310 (hildon_pannable_area_map),
1311 (hildon_pannable_area_unmap),
1312 (hildon_pannable_draw_vscroll),
1313 (hildon_pannable_draw_hscroll),
1314 (hildon_pannable_area_expose_event),
1315 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1316 pannable are to avoid the expose events go to the window and
1317 redraw the window. We save this way that part of the stack and the
1318 paint_boxes. We had to change the positions of the elements when
1321 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1323 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1324 * src/hildon-color-chooser-dialog.c:
1325 (hildon_color_chooser_dialog_init):
1326 * src/hildon-font-selection-dialog.c:
1327 (hildon_font_selection_dialog_init),
1328 (hildon_font_selection_dialog_show_preview):
1329 * src/hildon-get-password-dialog.c:
1330 * src/hildon-login-dialog.c:
1331 * src/hildon-set-password-dialog.c:
1332 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1333 * src/hildon-time-picker.c: (hildon_time_picker_init):
1335 Remove obsolete logical string IDs and update to the appropriate ones.
1337 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1339 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1341 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1342 that happens if the window hasn't been realized yet.
1344 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1345 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1347 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1350 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1353 Fixes: NB#98537 (Device hangs in account settings dialog)
1355 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1357 * configure.ac: post release version bump.
1358 * debian/changelog: version bump
1360 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1365 * configure.ac: Bump version.
1366 * debian/changelog: Updates.
1368 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1370 Added a new function to the HildonTimeButton widget that allows to
1371 change the step of the minutes in the selector associated with the
1372 button: hildon_time_button_new_step
1374 * src/hildon-time-button.c,
1375 (hildon_time_button_init),
1376 (hildon_time_button_new),
1377 (hildon_time_button_new_step):
1378 * src/hildon-time-button.h: Added the new function and refactored
1380 * examples/hildon-time-button-example.c,
1381 (main): We have replaced the function without parameters with the
1382 function with the steps set to 5
1384 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1386 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1388 * src/hildon-time-selector.c,
1389 (hildon_time_selector_class_init),
1390 (hildon_time_selector_constructor),
1391 (hildon_time_selector_get_property),
1392 (hildon_time_selector_set_property),
1393 (_create_minutes_model),
1394 (hildon_time_selector_new_step),
1395 (hildon_time_selector_set_time),
1396 * src/hildon-time-selector.h: Added a new property to the
1397 HildonTimeSelector (minutes-step), we use that property to control
1398 the steps between the minutes in the list of the selector. We have
1399 added a new function to the API to create a widget changing the
1400 step: hildon_time_selector_new_step.
1402 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1404 * src/hildon-time-selector.c,
1405 (hildon_time_selector_class_init),
1406 (hildon_time_selector_constructor),
1407 (hildon_time_selector_init): Overrided the construct function when
1408 creating the time selector object. We have moved the minutes model
1409 handling code from the init to the new construction function:
1410 hildon_time_selector_constructor.
1412 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1414 * examples/hildon-date-button-example.c: (main): Use the new
1415 hildon_date_button_new_with_year_range() method in the example.
1416 * src/hildon-date-button.c:
1417 (+hildon_date_button_new_with_year_range): New public method
1418 to conveniently create a HildonDateButton with a custom year range
1419 in its HildonDateSelector.
1420 * src/hildon-date-button.h: Add the new public method definition.
1422 Fixes: NB#97908 (Not possible to change the year range in
1423 HildonDateSelector/HildonDateButton)
1425 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-date-selector.c:
1428 (+hildon_date_selector_set_property),
1429 (+hildon_date_selector_get_property),
1430 (hildon_date_selector_class_init): Install new properties "min-year"
1431 and "max-year" to define boundaries for the year column.
1432 (_create_year_model): Use the boundary properties to populate the model.
1433 (+hildon_date_selector_new_with_year_range): New public method to
1434 create a HildonDateSelector with a user defined year range.
1435 (hildon_date_selector_select_current_date): Use the new boundaries to
1436 calculate the iterator of current year.
1437 * src/hildon-date-selector.h: Add the new public method definition.
1439 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1442 Install a constructor method.
1443 (+hildon_date_selector_construct_ui): construct the widget.
1444 (+hildon_date_selector_constructor): new constructor.
1445 (+hildon_date_selector_init): move out widget construction code to
1446 the new constructor.
1448 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1451 that there's actually a month or year selected before obtaining them.
1452 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1453 of the HildonTouchSelector::changed signal, as it was emitted on every
1454 single item selection.
1456 Fix some warnings and possible crashers due to the selection restoring.
1458 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1460 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1461 the signal handlers only after creating the dialog instead of on every
1464 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1466 * src/hildon-button.c (hildon_button_init)
1467 * src/hildon-check-button.c (hildon_check_button_init)
1468 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1469 focus when clicked by default.
1471 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1473 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1476 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1478 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1479 Alejandro G. Castro (alex@igalia.com)
1481 * src/hildon-picker-dialog.c:
1482 (hildon_picker_dialog_class_init): install new "center-on-show"
1484 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1485 (hildon_picker_dialog_set_property): add setter code for the new
1487 (hildon_picker_dialog_get_property): add getter code for the new
1489 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1490 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1493 Fixes: NB#92849 (Selected item is not always visible when
1494 HildonTouchSelector is shown)
1496 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1498 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1499 Alejandro G. Castro (alex@igalia.com)
1501 * src/hildon-touch-selector.c:
1502 (_create_new_column): Do not connect to the "realize" signal of the
1504 (hildon_touch_selector_append_column): center on the selected items
1505 when a new column is appended.
1506 (hildon_touch_selector_select_iter): Factor out the code to select a
1507 column to hildon_touch_selector_scroll_to().
1508 (+search_nearest_element): Method to retrieve the nearest selected
1509 element to the visible area of the pannable area in a column.
1510 (+on_realize_cb): scroll to the initially selected item.
1511 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1512 the pannable area is realized, otherwise delay this until it is.
1513 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1514 selected items of a given column.
1515 (+hildon_touch_selector_center_on_selected): Public method to center
1516 all columns on the nearest selected item.
1517 * src/hildon-touch-selector.h: Add definition for
1518 hildon_touch_selector_center_on_selected().
1520 Implement public API to ensure visibility of all selected items in
1521 a HildonTouchSelector.
1523 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1525 Fixed a problem in the fading when calling the scroll_to API, and
1526 improve scrollbar fading handling.
1528 * src/hildon-pannable-area.c,
1529 (hildon_pannable_area_grab_notify): avoid the timeout when the
1531 (hildon_pannable_area_button_press_cb),
1532 (hildon_pannable_area_motion_notify_cb): Code style changes.
1533 (hildon_pannable_area_button_release_cb): Review the conditions
1534 when releasing the mouse button to avoid unrequired fading
1536 (hildon_pannable_area_scroll_to): Do not calculate and set the
1537 velocity if the scroll is not required.
1539 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1541 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1542 Don't check whether the new selector is NULL: it cannot be.
1543 Hold a reference to the selector while doing the replacement.
1545 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1547 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1548 unnecessary size_request in a removed widget.
1550 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1552 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1553 an unnecessary reference tracking that was leaking.
1555 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1557 Added delayed motion notify event handling, this way we can
1558 discard redrawing if more than 25 events arrive per second.
1560 * src/hildon-pannable-area.c,
1561 (hildon_pannable_area_init): Initialized the new private atributes
1562 controlling this timeout
1563 (hildon_pannable_area_dispose): Remove the timeout that controls
1564 the motion notify events.
1565 (hildon_pannable_area_scroll): Added a condition to control the
1566 use of the acceleration.
1567 (hildon_pannable_area_motion_event_scroll_timeout),
1568 (hildon_pannable_area_motion_event_scroll): Added this two
1569 functions, they handle the motion notify events inside the
1571 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1572 to the scroll method with the new function.
1573 (hildon_pannable_area_button_release_cb): We have to remove the
1574 timeout handler and move to the last position if the last motion
1575 events were not handled.
1577 Fixes: NB#97028 (Pannable area updates on every motion event)
1579 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1581 * src/hildon-pannable-area.c,
1582 (hildon_pannable_area_get_topmost): Added a new parameter to
1583 filter the the windows that do not include those events. Added
1584 also a condition when finding the window to filter windows that do
1585 not ask for those events.
1586 (hildon_pannable_area_button_press_cb),
1587 (hildon_pannable_area_button_release_cb),
1588 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1589 topmost function, we have added the new parameter.
1591 Fixes: NB#97458 (Pannable area prevents propagation of button
1594 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1596 * src/hildon-pannable-area.c,
1597 (hildon_pannable_area_initial_effect): Added controls before
1598 launching the timeout and the idle functions.
1599 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1600 of the method, in some situations it can return with TRUE and 0 in
1602 (hildon_pannable_area_button_press_cb): We do not need to set
1603 DELAY for fading out here.
1605 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1607 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1610 post-cleaning if the selection is not NULL.
1612 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1615 all items before restoring the selection.
1617 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1619 * src/hildon-touch-selector.c:
1620 (+hildon_touch_selector_unselect_all):
1621 * src/hildon-touch-selector.h: New API to unselect all items in a
1622 column of the touch selector.
1624 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1626 * src/hildon-pannable-area.c,
1627 (hildon_pannable_area_redraw): Added a call to the refresh
1628 function inside the redraw because apparently in some cases the
1629 change in the adjustment does not imply a size allocate.
1631 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1632 despite the view not being scrollable)
1634 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1636 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1637 leak. Check for NULL before attempting to set the window title.
1639 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1641 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1642 whether to show or not the 'Done' button each time the dialog is
1643 shown, as it depends on the HildonTouchSelector selection mode.
1645 Fixes: NB#96226 (In multiple selection mode Done button is shown
1646 sometimes in listpicker)
1648 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1651 for the number of columns in the HildonTouchSelector more than once.
1653 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1655 * src/hildon-touch-selector.c: Minor documentation fixes.
1657 * src/hildon-picker-dialog.c (+_dialog_update_title)
1658 (_select_on_selector_changed_cb)
1659 (_update_title_on_selector_changed_cb)
1660 (on_selector_columns_changed): Update dialog title when there's no
1661 'Done' button and also when the number of columns in the selector
1665 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1666 (+_selection_changed, hildon_picker_button_on_dialog_response)
1667 (hildon_picker_button_selector_selection_changed)
1668 (+hildon_picker_button_selector_columns_changed)
1669 (hildon_picker_button_set_selector): Update button value and emit
1670 'value-changed' when the number of columns in the selector
1674 Fixes: NB#96225 (Dialog titles are not shown according to the
1675 values selected in the list picker)
1677 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1680 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1681 New "arrow-width" and "arrow-height" style properties to set the
1682 size of the arrow button.
1683 Set name of arrow button ("hildon-edit-toolbar-arrow").
1685 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1686 graphics from theme)
1688 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1690 * src/hildon-picker-button.c:
1691 (hildon_picker_button_selector_selection_changed): Use
1692 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1693 the dialog is present.
1695 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1696 the selection is accepted in the dialog)
1698 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-color-chooser.h
1701 * src/hildon-color-chooser-dialog.h:
1702 Added G_BEGIN_DECLS and G_END_DECLS
1704 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1706 (_clean_current_selection): plug a leak in the list.
1708 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-picker-dialog.c:
1711 (+free_path_list): Method to free a GList of GtkTreePaths.
1712 (_clean_current_selection), (_save_current_selection),
1713 (_restore_current_selection): Save the current selection in
1714 as a list of lists, to support multiple selection properly.
1716 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1718 patch by Claudio Saavedra (csaavedra@igalia.com)
1720 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1721 Store the press position.
1722 (+hildon_text_view_button_release_event): If the release position is
1723 close enough to the press position, move the cursor here. Otherwise,
1725 (hildon_text_view_class_init): Override GtkTextView press, release, and
1726 motion event handlers, disabling this way text selection through
1727 pointer interaction, and allowing the container widget to handle the
1730 Fixes: NB#95828 (HildonTextView functionality)
1732 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1734 Based on a patch by Iván Gómez (igomez@igalia.com)
1736 * src/hildon-button.[ch]
1737 * src/hildon-calendar.c
1738 * src/hildon-check-button.c
1739 * src/hildon-date-editor.c
1740 * src/hildon-date-selector.c
1741 * src/hildon-picker-button.c
1742 * src/hildon-time-editor.c
1743 * src/hildon-time-selector.c
1744 * src/hildon-touch-selector.[ch]:
1745 Documentation updates
1747 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1749 * src/hildon-pannable-area.c,
1750 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1751 threshold, it was required due to X events handling.
1753 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-pannable-area.c,
1756 (hildon_pannable_area_grab_notify),
1757 (hildon_pannable_area_initial_effect),
1758 (hildon_pannable_area_button_press_cb),
1759 (hildon_pannable_area_button_release_cb),
1760 (hildon_pannable_area_scroll_cb),
1761 (hildon_pannable_area_scroll_to): Review the timeout management of
1762 the scrollbar, the frecuency was incorrectly set.
1764 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-picker-button.c:
1767 (+hildon_picker_button_on_dialog_response),
1768 (hildon_picker_button_clicked): Present the dialog instead of
1769 running it with gtk_dialog_run().
1771 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1774 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1776 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1777 (hildon_app_menu_finalize): When a window is hidden it doesn't
1778 emit notify::is-topmost, so make sure than the menu also
1779 disappears in that case.
1780 (parent_window_topmost_notify): Renamed from parent_window_hidden
1782 Fixes: NB#94460 (stackable window's menu is not closed when its
1785 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1787 * src/hildon-touch-selector-entry.c:
1788 (+hildon_touch_selector_entry_set_input_mode),
1789 (+hildon_touch_selector_entry_get_input_mode):
1790 * src/hildon-touch-selector-entry.h: New methods to access the input
1791 mode in the selector's entry.
1793 Fixes: NB#93410 (API required for setting IM mode in
1794 HildonTouchSelectorEntry)
1796 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1798 * configure.ac: post release version bump.
1799 * debian/changelog: version bump
1801 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1806 * configure.ac: Bump version.
1807 * debian/changelog: Updates.
1809 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-touch-selector.c:
1812 (_hildon_touch_selector_has_multiple_selection): No need
1813 to initialize the variables here.
1815 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1817 * src/hildon-note-private.h
1818 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1819 (hildon_note_finalize, hildon_note_rebuild): Close information
1820 notes when they receive a button press.
1822 Fixes: NB#89890 (Information notes does not get disappeared after
1825 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1827 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1828 mark from the wizard title, as it's not really necessary. Also,
1829 do not display the page title if not set.
1831 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1833 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1834 (parent_window_hidden): Use the window's "is-topmost" property to
1835 detect when to hide the menu.
1837 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1839 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1840 (hildon_app_menu_finalize): If the parent window of the menu is
1841 hidden, hide the menu too.
1843 Fixes: NB#94460 (stackable window's menu is not closed when its
1846 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1849 * debian/libhildon1-examples.install
1851 * examples/Makefile.am:
1852 Use dh_install to install all examples.
1853 Use DEB_SRCDIR instead of defining SOURCE_DIR
1855 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1857 * configure.ac: post release version bump.
1858 * debian/changelog: version bump
1860 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1865 * configure.ac: bump version
1866 * debian/changelog: updates
1867 * debian/control: bump gtk+ dependency
1869 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1871 patch by Christian Dywan (christian@imendio.com)
1873 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1874 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1876 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1878 * src/hildon-check-button.c (hildon_check_button_init)
1879 (hildon_check_button_class_init, hildon_check_button_style_set)
1880 (hildon_check_button_apply_style):
1881 New "checkbox-size" style property.
1883 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1884 larger / configurable size)
1886 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1888 * configure.ac: post release version bump.
1889 * debian/changelog: version bump
1891 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1896 * configure.ac: bump version
1897 * debian/changelog: updates
1899 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1901 * doc/hildon-sections.txt
1902 * src/hildon-pannable-area.c
1903 * src/hildon-program.c
1904 * src/hildon-time-editor.c
1905 * src/hildon-touch-selector-entry.c:
1907 More documentation updates.
1909 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1911 * doc/hildon-sections.txt
1912 * src/hildon-caption.c
1913 * src/hildon-code-dialog.c
1914 * src/hildon-color-button.c
1915 * src/hildon-controlbar.c
1916 * src/hildon-date-editor.c
1917 * src/hildon-date-selector.c
1918 * src/hildon-edit-toolbar.c
1919 * src/hildon-find-toolbar.c
1920 * src/hildon-font-selection-dialog.c
1922 * src/hildon-program.c
1923 * src/hildon-range-editor.c
1924 * src/hildon-seekbar.c
1925 * src/hildon-time-editor.c
1926 * src/hildon-time-selector.c
1927 * src/hildon-volumebar-range.c
1928 * src/hildon-volumebar.c
1929 * src/hildon-vvolumebar.c
1930 * src/hildon-weekday-picker.c
1931 * src/hildon-window.c
1932 * src/hildon-wizard-dialog.c:
1934 Lots of documentation fixes.
1936 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1938 Patch contributed by Iván Gómez (igomez@igalia.com)
1940 * src/hildon-check-button.c:
1941 * src/hildon-date-button.c:
1942 * src/hildon-date-selector.c:
1943 * src/hildon-dialog.c:
1944 * src/hildon-edit-toolbar.c:
1945 * src/hildon-entry.c:
1946 * src/hildon-picker-button.c:
1947 * src/hildon-program.c:
1948 * src/hildon-text-view.c:
1949 * src/hildon-time-button.c:
1950 * src/hildon-touch-selector-entry.c:
1951 * src/hildon-window-stack.c:
1953 Add more "since" tags to the new API.
1955 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1957 * doc/hildon-sections.txt: Add below method.
1958 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1959 version for the hildonized scale.
1960 * src/hildon-gtk.h: Add the definition.
1962 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1964 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1966 * doc/hildon-sections.txt: Add missing entries for new methods.
1968 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1970 Added API to pannable are in order to get its adjustments. We
1971 added two properties to manage the values we had in the private
1974 * src/hildon-pannable-area.c:
1975 (hildon_pannable_area_class_init): Added hadjustment and
1976 vadjustment properties in order to expose horizontal and vertical
1978 (hildon_pannable_area_get_property),
1979 (hildon_pannable_area_set_property): Added code to handle the new
1981 (hildon_pannable_area_get_hadjustment),
1982 (hildon_pannable_area_get_vadjustment): API functions to get the
1984 * src/hildon-pannable-area.h:
1985 (hildon_pannable_area_get_hadjustment),
1986 (hildon_pannable_area_get_vadjustment): API functions to get the
1989 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1991 Fixed some leaks, after valgrinding.
1993 * src/hildon-touch-selector.c:
1994 (_default_print_func): Fixed a leak.
1995 (hildon_touch_selector_append_column): Fixed a leak.
1996 * src/hildon-date-button.c:
1997 (hildon_date_button_init): Fixed a leak.
1998 * src/hildon-date-selector.c
1999 (hildon_date_selector_finalize): Fixed a leak.
2001 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2003 Based on a patch by Christian Dywan (christian@imendio.com)
2005 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2007 * src/hildon-gtk.h: Add definition.
2009 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2011 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2013 * src/hildon-picker-button.c: (hildon_picker_button_init),
2014 (hildon_picker_button_new): Set the HildonButton::style property
2015 in the init method, to propagate the value to the derived classes.
2017 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2019 * src/hildon-button.c: (hildon_button_class_init): Do not make
2020 the "style" property a construct property.
2022 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2024 * src/hildon-wizard-dialog.h
2025 * src/hildon-wizard-dialog.c
2026 (hildon_wizard_dialog_set_forward_page_func)
2027 * src/hildon-pannable-area.h
2028 * src/hildon-pannable-area.c
2029 (hildon_pannable_area_set_size_request_policy):
2030 Documentation fixes.
2032 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2034 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2036 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2038 * doc/hildon-sections.txt: Added sections file.
2040 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/*.[ch]: Updates.
2045 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2047 * examples/hildon-progress-indicator-example.c: new file
2048 * examples/Makefile.am: include the new example program
2050 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2052 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2054 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2056 * configure.ac: post release version bump
2057 * debian/changelog: version bump
2059 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2064 * configure.ac: bump version
2065 * debian/changelog: updates
2066 * debian/control: bump gtk+ dependency
2068 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-dialog.c: Mark as deprecated.
2071 * src/hildon-dialog.h: Mark as deprecated.
2072 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2073 from HildonDialog and still work, even if
2074 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2075 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2077 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2078 maemo changes) instead)
2080 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2082 * src/hildon-pannable_area.h:
2083 * src/hildon-pannable_area.c:
2084 (hildon_pannable_area_class_init),
2085 (hildon_pannable_area_set_property),
2086 (hildon_pannable_area_get_property),
2087 (hildon_pannable_area_size_request),
2088 (hildon_pannable_area_get_size_request_policy),
2089 (hildon_pannable_area_set_size_request_policy): Added new API
2090 allowing applications to control the request policy. Now they can
2091 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2092 children allocation (HILDON_MOVEMENT_CHILDREN).
2094 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2098 (hildon_gtk_tree_view_set_ui_mode)
2099 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2100 mode of treeviews and iconviews.
2102 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/hildon-touch-selector-entry.c:
2105 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2106 of a GtkEntry to get proper theming.
2108 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2109 widget, not GtkEntry)
2111 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2113 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2114 no HildonWizardDialogPageFunc.
2116 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2118 Patch contributed by Iván Gómez (igomez@igalia.com)
2120 * src/hildon-app-menu.c:
2121 * src/hildon-button.c:
2122 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2123 * src/hildon-stackable-window.c:
2124 * src/hildon-time-selector.c:
2125 * src/hildon-touch-selector.c:
2126 * src/hildon-window.c:
2128 Add more "since" tags to the new API in hildon 2.2.
2130 2008-12-05 Tim Janik <timj@imendio.com>
2132 Patch contributed by Christian Dywan (christian@imendio.com)
2134 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2135 HildonSizeType, which are supplied by Gtk+ now.
2137 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2139 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2140 (with maemo changes) instead)
2142 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2144 Patch contributed by Iván Gómez (igomez@igalia.com)
2146 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2149 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2151 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2152 (some_page_func), (main): Update the example to use a
2153 HildonWizardDialogPageFunc function.
2155 * src/hildon-wizard-dialog-private.h: Add private data for
2156 the HildonWizardDialogPageFunc function usage.
2158 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2159 (destroy), (hildon_wizard_dialog_init), (response),
2160 (hildon_wizard_dialog_set_forward_page_func):
2161 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2162 that applications can use to stop a HildonWizardDialog to jump to
2165 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2168 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-program.h
2171 * src/hildon-program-private.h
2172 * src/hildon-program.c (hildon_program_init)
2173 (hildon_program_set_common_app_menu)
2174 (hildon_program_get_common_app_menu):
2175 New API for setting a common HildonAppMenu for all
2176 HildonStackableWindows registered with the HildonProgram.
2178 * src/hildon-stackable-window.c
2179 (hildon_stackable_window_toggle_menu):
2180 Use the common HildonAppMenu if a window doesn't have a specific
2183 * src/hildon-app-menu-private.h
2184 * src/hildon-app-menu.c
2185 (hildon_app_menu_get_parent_window):
2186 Function to obtain the window a HildonAppMenu is attached to.
2187 (hildon_app_menu_set_parent_window):
2188 Hide the menu if the parent window is set to NULL.
2190 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2192 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2193 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2194 search widget to popup.
2196 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2198 * configure.ac: post release version bump
2199 * debian/changelog: version bump
2201 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2206 * configure.ac: bump version
2207 * debian/changelog: updates
2209 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2211 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2213 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2214 (hildon_window_stack_window_realized)
2215 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2216 Set the leader GdkWindow when a window is stacked and realized,
2217 unset it when it's unstacked.
2218 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2220 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2222 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2224 * src/hildon-stackable-window.h
2225 * src/hildon-window-stack.h:
2226 Protect definition of HildonWindowStack using the preprocessor.
2228 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2230 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2231 Fix warning if all menu items are hidden.
2233 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2235 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2237 * src/hildon-controlbar.c:
2238 * src/hildon-hvolumebar.c:
2239 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2240 Multiple scale size defines updates.
2242 Fixes: NB#94322 (Scale Updates)
2244 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2246 * examples/hildon-app-menu-example.c (create_menu)
2247 Show items after adding them to the menu, as in the future the
2248 menu will no longer call gtk_widget_show() on the added items.
2250 * src/hildon-app-menu.c:
2251 Update example as explained above.
2253 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2255 * src/hildon-app-menu.c
2256 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2257 Make sure that all menu items have finger height.
2259 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2261 * src/hildon-picker-dialog.c:
2262 (_on_dialog_response), (_save_current_selection),
2263 (_restore_current_selection), (_clean_current_selection),
2264 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2265 Defined new functions in order to save the current internal selector
2266 selection previous open the dialog, in case that the use cancel the
2267 interaction, so the widget restores the previous selection.
2269 Fixes: NB#92032 (In calendar application, date values in 'new event'
2272 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2274 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2276 * src/hildon-button.c: Add a reference to the button examples in
2277 hildon-button-example.c
2279 * examples/hildon-button-example.c: Added examples of the most
2280 common button layouts.
2282 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2284 * src/hildon-app-menu.c (hildon_app_menu_show)
2285 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2287 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2289 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2291 * src/hildon-picker-dialog.c:
2292 (hildon_picker_dialog_init): Initialize the signal id for
2293 HildonTouchSelector::columns-changed.
2294 (+on_selector_columns_changed): Set up the interaction mode everytime a
2295 column is added or removed from the HildonTouchSelector.
2296 (_hildon_picker_dialog_set_selector): Connect to
2297 HildonTouchSelector::columns-changed and keep track of it.
2299 Make sure to update the interaction mode of the dialog everytime a
2300 column is added or removed in the HildonTouchSelector.
2302 Fixes: NB#93228 (Done button is not shown always in listpicker)
2304 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2306 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2307 a new ::columns-changed signal.
2308 (hildon_touch_selector_append_column): Emit ::columns-changed.
2309 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2311 Add a ::columns-changed signal, emitted when the number of columns in a
2312 HildonTouchSelector changes.
2314 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2317 (_hildon_picker_dialog_set_selector): Factor out the code
2318 to set up the dialog interaction mode.
2320 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2323 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2324 to signal_changed_id.
2326 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2328 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2331 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2333 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2334 Updated the logical ids related to ampm format, as now it is required to
2335 show it correctly localized even on languages with no default
2336 abbreviations for am or pm
2337 (_check_am_pm_format): check correctly the 24h format gconf property
2339 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2341 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2343 * src/hildon-button.c: Documentation updates.
2345 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2347 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2348 * src/hildon-caption.c: (hildon_caption_class_init):
2349 * src/hildon-color-button.c: (hildon_color_button_class_init):
2350 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2351 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2352 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2353 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2355 Remove deprecated GTK+ marshalers and replace them with the ones
2356 provided by GLib, for those available, add a marshaler for
2357 BOOLEAN:VOID, which is not available in GLib, and use it.
2359 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2362 the text from the previous column if there is no
2363 HildonTouchSelectorColumn::text-property set.
2365 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-button.h
2368 * src/hildon-button.c (hildon_button_set_property)
2369 (hildon_button_get_property, hildon_button_class_init)
2370 (hildon_button_set_style, hildon_button_get_style):
2371 New "style" property to change the visual appearance of the
2374 * src/hildon-picker-button.c (hildon_picker_button_new):
2375 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2377 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2378 HildonButton look like PickerButton)
2380 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2382 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2383 column while building the default string.
2385 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2388 scroll indicator by default.
2390 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2392 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-main.c: Fix the documentation for hildon_init()
2396 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2398 * doc/hildon-docs.sgml
2402 * src/hildon-window-stack-private.h
2403 * src/hildon-window-stack.h
2404 * src/hildon-window-stack.c:
2405 New HildonWindowStack object, that adds support for multiple
2406 stacks of windows per process.
2408 * src/hildon-stackable-window-private.h
2409 * src/hildon-stackable-window.h
2410 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2411 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2412 (hildon_stackable_window_show, hildon_stackable_window_hide)
2413 (hildon_stackable_window_class_init)
2414 (hildon_stackable_window_init):
2415 Use HildonWindowStack for stack management.
2417 * src/hildon-program.c (hildon_program_pop_window_stack)
2418 (hildon_program_peek_window_stack)
2419 (hildon_program_go_to_root_window):
2420 Add a fallback implementation to the deprecated functions using
2423 * examples/hildon-stackable-window-example.c:
2424 Use the new HildonWindowStack API.
2426 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2428 * src/hildon-stackable-window-private.h
2429 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2430 (hildon_stackable_window_hide, hildon_stackable_window_init):
2431 Remove all window stack management.
2433 * src/hildon-program-private.h
2434 * src/hildon-program.h
2435 * src/hildon-program.c (hildon_program_init)
2436 (hildon_program_pop_window_stack)
2437 (hildon_program_peek_window_stack)
2438 (hildon_program_go_to_root_window):
2439 Remove all window stack management and mark functions as
2442 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-app-menu.c (hildon_app_menu_realize):
2445 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2447 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2449 * configure.ac: post release version bump
2450 * debian/changelog: version bump
2452 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2457 * configure.ac: bump version
2458 * debian/changelog: updates
2460 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2462 Based on initial code by Christian Dywan (christian@imendio.com)
2464 * doc/hildon-docs.sgml: Add section for hildon-main.
2465 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2466 * src/Makefile.am: Add new hildon-main.[ch]
2467 * src/hildon-defines.h: Update the icon sizes.
2468 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2469 new library initialization files and register icon sizes.
2470 * src/hildon-main.h: New declarations.
2471 * src/hildon.h: Include hildon-main.h
2473 Add new initialization functions to the library. These methods
2474 will register the hildon specific icon sizes and can be used in the
2475 future for other hildon specific bits.
2477 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2479 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2481 * src/hildon-window.c: (hildon_window_realize),
2482 (hildon_window_notify), (-hildon_window_update_title): Do not set
2483 the application name in the window title.
2485 Fixes: NB#89754 (Applications shouldn't display their names in the
2488 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2490 * src/hildon-note-private.h:
2491 * src/hildon-note.c: (hildon_note_set_property),
2492 (hildon_note_get_property), (hildon_note_class_init),
2493 (hildon_note_init), (hildon_note_finalize),
2494 (hildon_note_new_confirmation_with_icon_name),
2495 (hildon_note_new_information_with_icon_name):
2497 No need to mark as deprecated the actual code. Revert
2498 to avoid missing symbols in widgets using deprecated API.
2500 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2502 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2504 * src/hildon-volumebar.h
2505 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2506 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2508 * src/hildon-helper.h
2509 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2510 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2512 * examples/Makefile.am:
2513 Deprecate hildon-insensitive-example
2515 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2517 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2519 * examples/hildon-pannable-area-buttons-scroll-example.c:
2520 Make all buttons finger height
2522 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2524 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2526 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2527 update the day model only if it is really required, and to avoid the
2528 full-reconstruction aproach. Now it only add or remove the required days.
2530 The purpose of this is avoid superfluous HildonTouchSelector::changed
2533 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2534 with strange parameters)
2536 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2538 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2540 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2541 the WINDOW_TYPE property.
2543 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2545 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2548 Fix dependency to allow parallel compilation with make -jX
2550 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2552 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2553 color frame and some minor tweaks to make it more consistent with
2556 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2557 highlighted but not visible)
2559 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2561 * examples/Makefile.am: Fixed typo in the Makefile.am.
2563 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2565 Reviewed the use of MAEMO_GTK define, now we add the define in the
2566 compilation line, and we also add it to the pc file.
2568 * configure.ac: Added MAEMO_GTK define to the compilation command
2569 and removed it from the config.h.
2571 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2572 do not have to take care about this define if the library was
2576 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2578 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2580 * examples/Makefile.am,
2581 * examples/hildon-pannable-area-buttons-scroll-example.c,
2582 * examples/hildon-pannable-area-gesture-signals-example.c,
2583 * examples/hildon-pannable-area-scroll-jump-example.c,
2584 * examples/hildon-pannable-area-tree-view-example.c:
2585 Renamed the pannable area examples, now they have more meaningful
2588 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2590 * src/hildon-touch-selector.c:
2591 (hildon_touch_selector_set_column_selection_mode): Used of
2592 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2593 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2594 to avoid re-seting the same selection mode.
2596 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2597 breaks HildonPickerDialog)
2599 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2601 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2602 conditional in the Makefile.am
2604 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2607 Remove unused methods.
2609 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2611 * src/hildon-button.c (hildon_button_init):
2612 Make button images center-aligned by default
2614 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2617 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2618 activated, we have to think about how to deal with both defines
2619 MAEMO_GTK and MAEMO_CHANGES.
2621 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2623 * examples/hildon-app-menu-example.c (create_menu): Make all
2624 buttons finger size.
2626 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2628 Fixed the compilation without maemo gtk adding ifdefs with
2629 MAEMO_GTK define to the code, we have to check this version more
2632 * examples/Makefile.am: Added control to avoid some examples that
2633 just make sense with maemo gtk.
2636 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2637 hildon modes with the define.
2639 * examples/hildon-edit-toolbar-example.c,
2640 (create_icon_view): Create the icon view without hildon-gtk
2641 helpers if we are not using maemo gtk.
2643 * src/hildon-touch-selector.c,
2644 (_create_new_column): Create the treeview without hildon-gtk
2645 helpers if we are not using maemo gtk.
2647 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2649 * src/hildon-pnnable-area.c,
2650 (hildon_pannable_area_dispose),
2651 (hildon_pannable_area_button_press_cb),
2652 (hildon_pannable_area_child_mapped),
2653 (hildon_pannable_area_add),
2654 (hildon_pannable_area_remove): Added code to control the position
2655 of the event_window when adding and removing children from the
2656 pannable. We have to raise the event window when the child is
2659 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2660 selection mode using custom widget inside pannable)
2662 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2664 * configure.ac: post release version bump
2665 * debian/changelog: version bump
2667 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2672 * configure.ac: bump version
2673 * debian/changelog: updates
2675 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2677 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2678 search mode, in order to avoid lose the focus on the treeview when
2679 a hw key (like enter) is pressed.
2681 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2682 in HildonDateSelector dialog)
2684 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2686 * debian/rules: Added --enable-maintainer-mode
2687 * Makefile.am: Added ACLOCAL_AMFLAGS
2689 This allows to properly regenerate the Makefiles if you modify the
2690 configure.ac or any Makefile.am.
2692 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2694 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2695 properties, not needed at all.
2697 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2701 * src/hildon-note.c: (hildon_note_set_property),
2702 (hildon_note_get_property), (hildon_note_class_init),
2703 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2704 (hildon_note_new_confirmation_add_buttons): Remove icons.
2705 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2706 (hildon_note_new_information_with_icon_name): Deprecate.
2707 (hildon_note_new_confirmation): Act directly, without calling
2708 the deprecated constructor.
2709 (hildon_note_new_information): Act directly, without calling
2710 the deprecated constructor.
2711 * src/hildon-note.h: Mark deprecate methods as such.
2712 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2713 not run tests on the deprecated methods if built with deprecation
2716 Fixes: NB#91688 (Never show icons in information notes/confirmation
2719 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2722 (hildon_app_menu_key_press): Remove leftover usage of the
2723 private structure in HildonAppMenu struct.
2724 * src/hildon-app-menu.h: Remove leftover private structure
2725 from the HildonAppMenu struct.
2727 Fixes a crasher when using the HildonAppMenu.
2729 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-picker-dialog.c: Use appropriate logical id
2732 for the default "Done" text.
2734 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2736 * configure.ac: post release version bump
2737 * debian/changelog: version bump
2739 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2741 Modified the way to scroll to the current selection just when the touch
2742 selector is shown on the screen, avoiding a g_idle. Added too a property
2743 to configure this behaviour. See hildon_pannable_area_jump_to_child
2744 documentation for more information.
2746 * src/hildon-touch-selector.c
2747 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2748 Added 'initial-scroll' property
2749 (hildon_touch_selector_set_property): Added
2750 (hildon_touch_selector_map): Removed as not required anymore
2751 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2752 only a concrete column, instead of iterate along all the columns
2754 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2759 * configure.ac: bump version
2760 * debian/changelog: updates
2762 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2765 compilation time warnings.
2767 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2770 the default value for HildonPannableArea::mov-mode to
2771 HILDON_PANNABLE_AREA_MODE_VERT.
2773 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2775 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2777 Reverting following commit:
2779 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-app-menu-private.h
2782 * src/hildon-app-menu.[ch]
2783 * src/hildon-button.[ch]
2784 * src/hildon-check-button.[ch]
2785 * src/hildon-entry.[ch]
2786 * src/hildon-pannable-area.[ch]
2787 * src/hildon-text-view.[ch]:
2788 Added private field to the object's structure.
2790 because it causes an ABI breakage. We will need to introduce these
2791 changes later at some point. See NB#91636 for an extensive
2792 explanation and status.
2794 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2796 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2798 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2799 remove special cases that are no longer necessary.
2801 Fixes: NB#91016 (Change toolbar sizes, simplification)
2803 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2806 is shown in the cancel note.
2808 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2811 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2812 (hildon_seekbar_init): Remove steppers, remove expose event.
2813 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2815 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2817 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2819 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2820 label font to "SmallSystemFont" for vertically arranged buttons.
2822 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2825 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2827 * src/hildon-check-button.c
2828 (hildon_check_button_set_active, hildon_check_button_clicked):
2829 Don't access private parts directly, use getters instead.
2831 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2833 * src/hildon-check-button.c (hildon_check_button_new):
2834 Align the contents of the check button to the left.
2836 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2838 * src/hildon-pannable-area.c,
2839 (hildon_pannable_area_scroll_to),
2840 (hildon_pannable_area_jump_to),
2841 (hildon_pannable_area_scroll_to_child),
2842 (hildon_pannable_area_jump_to_child): Replace the mapped
2843 precondition of these functions with the realized, it is the
2844 correct state of the widget in this case. Changed the
2845 documentation according to this modification.
2847 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2849 Added a new EXTRA_CFLAGS option to add the deprecated define to
2850 the compilation command. This way we can avoid using the define in
2851 the documentation compilation.
2853 * configure.ac: Defined EXTRA_CFLAGS.
2855 * examples/Makefile.am:
2857 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2859 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2861 * src/hildon-picker-dialog.c:
2862 Defined a utility macro with the desired touch selector height
2863 Removed currently unused separator, and title_label variables from
2865 (hildon_picker_dialog_init): Removed code related to the creation
2866 of unused private variables title_label and separator.
2867 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2868 to ensure correct visualization of the touch selector inside the dialog.
2869 * src/hildon-touch-selector.c
2870 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2871 ensure a concrete height of the widget.
2873 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2876 * tests/Makefile.am:
2878 Remove spurious whitespaces.
2880 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2882 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2883 compilation warning after the cancel button removal.
2885 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2887 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2889 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2890 Makefile.am, that way we can choose not to compile some examples
2891 and tests of the deprecated widgets.
2893 * examples/Makefile.am: Divided the sources in deprecated and
2896 * src/Makefile.am: Added undef statement of the deprecated
2897 symbol to the enums file generation process.
2899 * src/hildon-color-chooser-dialog.c
2900 * src/hildon-color-chooser-dialog.h
2901 * src/hildon-color-button.c
2902 * src/hildon-color-button.h
2903 * src/hildon-color-chooser.c
2904 * src/hildon-color-chooser.h
2905 * src/hildon-controlbar.c
2906 * src/hildon-controlbar.h
2907 * src/hildon-date-editor.c
2908 * src/hildon-date-editor.h
2909 * src/hildon-hvolumebar.c
2910 * src/hildon-hvolumebar.h
2911 * src/hildon-private.c
2912 * src/hildon-private.h
2913 * src/hildon-range-editor.c
2914 * src/hildon-range-editor.h
2915 * src/hildon-seekbar.c
2916 * src/hildon-seekbar.h
2917 * src/hildon-time-editor.c
2918 * src/hildon-time-editor.h
2919 * src/hildon-time-picker.c
2920 * src/hildon-time-picker.h
2921 * src/hildon-volumebar.c
2922 * src/hildon-volumebar.h
2923 * src/hildon-vvolumebar.c
2924 * src/hildon-vvolumebar.h
2925 * src/hildon-bread-crumb-trail.h
2926 * src/hildon-bread-crumb-trail.c
2927 * src/hildon-calendar-popup.c
2928 * src/hildon-calendar-popup.h
2929 * src/hildon-weekday-picker.c:
2930 * src/hildon-weekday-picker.h:
2931 * src/hildon-bread-crumb-widget.c:
2932 * src/hildon-bread-crumb-widget.h:
2933 * src/hildon-bread-crumb.c:
2934 * src/hildon-bread-crumb.h:
2935 * src/hildon-calendar.c:
2936 * src/hildon-calendar.h:
2937 * src/hildon-caption.c:
2938 * src/hildon-code-dialog.c:
2939 * src/hildon-code-dialog.h:
2940 * src/hildon-font-selection-dialog.c:
2941 * src/hildon-font-selection-dialog.h:
2942 * src/hildon-get-password-dialog.c:
2943 * src/hildon-get-password-dialog.h:
2944 * src/hildon-login-dialog.c:
2945 * src/hildon-login-dialog.h:
2946 * src/hildon-number-editor.c:
2947 * src/hildon-number-editor.h:
2948 * src/hildon-set-password-dialog.c:
2949 * src/hildon-set-password-dialog.h:
2950 * src/hildon-sort-dialog.c:
2951 * src/hildon-sort-dialog.h: This is the list of deprecated
2954 * src/hildon-touch-selector.c:
2955 * src/hildon-window.c: Added undef statement to avoid compilation
2958 * tests/Makefile.am: Divided the sources in deprecated and
2961 * tests/check_test.c,
2962 (configure_tests): Marked the deprecated code that was adding
2963 suites with deprecated tests.
2965 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2967 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2969 * src/hildon-touch-selector.c: (_default_print_func): Do not
2970 duplicate a string returned by gtk_tree_model_get(), it is already
2973 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2976 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2978 * src/hildon-pannable-area.c
2979 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2980 method, it had problems when adding a widget with viewport the
2981 second time. Now checks if it already has a viewport and uses it.
2983 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2986 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2988 * src/hildon-pannable-area.c,
2989 (hildon_pannable_area_scroll_to),
2990 (hildon_pannable_area_jump_to),
2991 (hildon_pannable_area_scroll_to_child),
2992 (hildon_pannable_area_jump_to_child): Added a precondition to the
2993 scroll and jump to functions: the widget must be mapped before we
2994 can safely call these functions. We have also added documentation
2995 to the functions to explain how to use them in this situation.
2998 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3000 Reviewed the threading handling of the pannable widget, we have
3001 used the gdk_threads_add_timeout function instead of the usual
3002 glib handlers. This avoids some problems with the threads.
3004 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3005 (hildon_pannable_area_initial_effect),
3006 (hildon_pannable_area_scroll_indicator_fade),
3007 (hildon_pannable_area_button_press_cb),
3008 (hildon_pannable_area_timeout),
3009 (hildon_pannable_area_motion_notify_cb),
3010 (hildon_pannable_area_button_release_cb),
3011 (hildon_pannable_area_scroll_cb),
3012 (hildon_pannable_area_scroll_to): Removed the
3013 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3014 gdk_threads_add_timeout.
3016 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3018 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3023 * configure.ac: bump version
3024 * debian/changelog: updates
3026 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3029 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3030 * src/hildon-color-chooser-dialog.c:
3031 (hildon_color_chooser_dialog_init):
3032 * src/hildon-font-selection-dialog.c:
3033 (hildon_font_selection_dialog_init):
3034 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3036 Remove all cancel/close-like dialogs, as these are not going to be
3039 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3041 * src/hildon-note.c: (hildon_note_rebuild),
3042 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3045 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3047 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3049 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3050 sure all buttons are shown, even the Cancel/Close-like ones.
3052 Fixes: NB#90861 (Custom Confirmation dialogs should be
3053 protected from cancel button removal)
3055 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3057 * debian/control: Change libhildon1-examples dependency from libhildon1
3059 * debian/libhildon1-examples.install
3061 * Makefile.am: Modified the final install directory for the examples on
3062 package libhildon1-examples
3063 * Makefile.static: Update clean target in order to remove all the binary
3066 Changes suggested by Claudio after review new libhildon1-examples package
3068 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3070 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3071 * src/hildon-touch-selector.c: Ditto.
3073 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3075 * debian/control: Added new package libhildon1-examples, in order to pack
3076 the current hildon examples as documentation
3077 * debian/rules: Not to compress .c files, modify some includes on the
3078 examples (as normally are compiled locally, but when installed it will
3079 require to include the installed libhildon1 library), and rename
3081 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3082 install all the example files on the new example package
3083 * examples/Makefile.static: Added static makefile that can be used to
3084 compile the examples, once installed the new example package
3085 * examples: Most of the examples were modified in order to grant that
3086 all use only '#include "hildon.h"', in order to be easy to prepare
3087 it on the example package
3089 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3092 * debian/libhildon1-dev.install
3093 * debian/libhildon1-doc.install:
3094 Move all gtk-doc files to a separate libhildon1-doc package.
3096 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3098 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3100 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3102 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3104 * debian/rules: Fixed a error in order to avoid unnecessary calls
3105 to autogen.sh on package building
3107 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3109 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3111 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3113 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3116 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-picker-button.c
3119 (hildon_picker_button_finalize):
3120 Free priv->done_button_text
3122 * src/hildon-time-button.c
3123 (hildon_time_button_set_time)
3124 * src/hildon-picker-button.c
3125 (hildon_picker_button_clicked)
3126 (hildon_picker_button_selector_selection_changed)
3127 (hildon_picker_button_set_selector)
3128 * src/hildon-date-button.c
3129 (hildon_date_button_set_date):
3130 Free strings returned by hildon_touch_selector_get_current_text()
3132 * src/hildon-button.c (hildon_button_construct_child):
3133 Fix leaks in priv->image and priv->label_box
3135 Fixes: NB#90535 (Memory leak in picker button)
3137 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3139 * src/hildon-button.c: (hildon_button_get_property): Do not access
3140 private elements directly, use getters instead.
3142 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-app-menu-private.h
3145 * src/hildon-app-menu.c
3146 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3147 Store the menu's parent window.
3149 * src/hildon-stackable-window.c
3150 (hildon_stackable_window_toggle_menu)
3151 (hildon_stackable_window_finalize):
3152 Set the menu's parent window when the menu is shown, unset it when
3155 * src/hildon-app-menu.c
3156 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3157 (hildon_app_menu_class_init):
3158 Send unhandled keyboard accelerators to the parent window.
3160 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3162 * src/hildon-stackable-window.c
3163 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3165 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3167 * configure.ac: post release version bump
3169 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3172 * configure.ac: Bump version
3173 * debian/changelog: Updates
3174 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3177 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3179 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3182 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3183 GtkMenu with Hildon style.
3185 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-picker-button.c:
3188 (hildon_picker_button_set_done_button_text): Set the dialog's
3189 done button text here as well.
3191 Fixes: NB#90232 (Picker button does not set the label on done button
3192 for the second time)
3194 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3199 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3201 * src/hildon-app-menu.c (hildon_app_menu_insert)
3202 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3203 the HildonAppMenu to be activatable using keyboard accelerators
3204 when the menu is not being shown.
3206 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3208 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3210 * src/hildon-stackable-window.c
3211 (hildon_stackable_window_show):
3212 Don't hide old windows automatically when new windows are shown:
3213 this is now a task for the window manager.
3214 (hildon_stackable_window_class_init)
3215 (hildon_stackable_window_hide):
3216 Remove windows from the stack everytime they're hidden.
3217 (hildon_stackable_window_realize):
3218 Don't change the _NET_WM_WINDOW_TYPE property. Use
3219 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3220 it as a stackable window.
3222 * src/hildon-program.c
3223 (hildon_program_pop_window_stack):
3224 Just hide the window to remove it from the stack.
3225 (hildon_program_go_to_root_window):
3226 Don't call gtk_widget_show(), this is now a task for the window
3229 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3231 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3233 * src/hildon-button.c
3234 (hildon_button_construct_child):
3235 Don't pack anything in the button until text or image are
3236 set. This allows adding a custom child after creating the button
3237 with hildon_button_new().
3238 (hildon_button_finalize, hildon_button_class_init)
3239 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3240 alignment and the label box even when they're not packed in the
3243 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3245 * src/hildon-touch-selector.h:
3246 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3247 currently the type definition was using GTK_TYPE_VBOX
3248 * src/hildon-touch-selector.c:
3249 Added some implementation notes in order to clarify that any other widget
3250 added without the column related API will not be included on the
3251 selection logic, and how the widget is freed, as some people ask about
3253 (hildon_touch_selector_remove): Reimplemented in order to free properly
3254 the column related data when you remove the private hbox.
3255 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3256 to get a proper HildonTouchSelectorColumn documentation
3258 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3260 * src/hildon-touch-selector-entry.c:
3261 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3262 text in the GtkEntry and there is no item selected. Fixes a
3265 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3267 * src/hildon-app-menu-private.h
3268 * src/hildon-app-menu.[ch]
3269 * src/hildon-button.[ch]
3270 * src/hildon-check-button.[ch]
3271 * src/hildon-entry.[ch]
3272 * src/hildon-pannable-area.[ch]
3273 * src/hildon-text-view.[ch]:
3274 Added private field to the object's structure.
3276 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3278 * configure.ac: post-release version bump
3280 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3284 * configure.ac: pre-release version bump
3286 * debian/changelog: updates.
3288 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3290 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3291 Disconnect the handler for HildonTouchSelector::changed.
3293 (hildon_picker_button_selector_selection_changed): Update the button
3294 value if the selection change was not triggered by the
3297 (hildon_picker_button_set_selector): connect to
3298 HildonTouchSelector::changed.
3300 Fixes: NB#89650 (Picker button is not updated, when selection in
3301 selector has changed)
3303 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3305 * src/hildon-picker-dialog.c
3306 (hildon_picker_dialog_realize): Removed as not required
3307 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3308 * src/hildon-picker-button.c
3309 (_current_selector_empty): New function, checks if the selector is empty
3310 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3311 if the current selector is empty, in order to avoid to show the dialog
3312 close the dialog in this case (and shows a g_warning).
3314 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3316 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3318 * src/hildon-pannable-area.c,
3319 (hildon_pannable_area_scroll): Added clause to stop movement when
3320 the child of pannable is smaller than one page.
3321 (hildon_pannable_area_scroll_to): Added conditions to avoid
3322 starting the scrolling movement if the child is smaller than one
3323 page, the complete child is in the screen, we do not have to move.
3325 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3327 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3329 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3330 this is managed automatically by the widget when the size of the
3333 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-picker-button.c
3336 (hildon_picker_button_set_done_button_text): Make a copy of the
3337 text, and free the previous value.
3339 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3341 * src/hildon-touch-selector-entry.c:
3342 (hildon_touch_selector_entry_print_func): Return the selected row's
3343 text if the entry is empty.
3345 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3348 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3350 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3352 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3355 * src/hildon-check-button.h
3356 * src/hildon-check-button.c
3357 * examples/hildon-check-button-example.c:
3358 HildonCheckButton is now a new widget. 'toggled' signal added.
3360 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3362 * src/hildon-program-private.h
3363 * src/hildon-program.c (hildon_program_init)
3364 (hildon_program_finalize): Removed unused variables group_leader
3365 and name from HildonProgramPrivate.
3367 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3369 * src/hildon-check-button.c (hildon_check_button_set_active)
3370 (hildon_check_button_get_active, hildon_check_button_new): Use
3371 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3373 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3375 * src/hildon-touch-selector.h
3376 (hildon_touch_selector_set_column_attributes): added deprecation
3377 guard HILDON_DISABLE_DEPRECATED
3378 * src/hildon-time-selector.c
3379 (hildon_time_selector_set_time)
3380 (hildon_time_selector_get_time): Fixed a typo on documentation
3381 * src/hildon-touch-selector.c: update HildonTouchSelector and
3382 HildonTouchSelectorColumn documentation
3383 * src/hildon-touch-selector-entry.c: update "text-column" property
3385 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3386 to be added to the general documentation.
3388 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3390 * examples/hildon-pannable-area-example-4.c,
3392 * examples/hildon-pannable-area-example.c,
3393 (main): Modified the code in order to use the container add, with
3394 viewport treeviews could have problems if they are really big.
3396 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3398 * src/hildon-weekday-picker.c,
3399 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3400 the agreement regarding deprecation in the library.
3402 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3404 * examples/hildon-picker-button-multicolumn-example.c:
3405 (main): Use custom "done" button text.
3407 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3408 (hildon_picker_button_set_property),
3409 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3410 (hildon_picker_button_init),
3411 (+hildon_picker_button_get_done_button_text),
3412 (+hildon_picker_button_set_done_button_text): New methods to customize
3413 the "done" button label in the launched HildonPickerDialog. Also,
3416 * src/hildon-picker-button.h: add the public API.
3418 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3420 * src/hildon-date-selector.h:
3421 * src/hildon-picker-dialog.h:
3422 * src/hildon-time-selector.h:
3423 * src/hildon-touch-selector-column.h:
3424 * src/hildon-touch-selector.h:
3426 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3427 declarations. Fixes gtk-doc warnings.
3429 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3431 * src/hildon-picker-dialog.h
3432 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3433 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3435 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3436 long text is set as label for done button)
3438 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3440 * src/hildon-dialog.c (hildon_dialog_add_button):
3441 Set fixed width to all buttons in the HildonDialog.
3443 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3445 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3447 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3448 Set widget name using class name plus "-finger" or "-thumb".
3450 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3452 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3453 'clicked' when the state of the button is manually changed.
3455 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3457 * src/hildon-app-menu.c (hildon_app_menu_realize)
3458 (hildon_app_menu_unrealize, hildon_app_menu_init)
3459 (hildon_app_menu_class_init, item_visibility_changed):
3460 Change the menu layout when the size of the screen changes.
3461 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3462 Show warning only when changing the number of colums using the
3465 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3467 * debian/compat: Set to 5
3468 * debian/control: Update dependencies.
3469 * debian/libhildon1-dbg.install: Remove.
3470 * debian/libhildon1-dev.install: Update according to cdbs paths.
3471 * debian/libhildon1.install: Update according to cdbs paths.
3472 * debian/rules: Switch to cdbs.
3474 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3477 'item' variable renamed to 'filter'
3479 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3481 * src/hildon-app-menu.c (hildon_app_menu_insert)
3482 (hildon_app_menu_add_filter, remove_item_from_list)
3483 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3484 Don't leak hidden items when the menu is destroyed.
3486 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3488 * src/hildon-app-menu.c (hildon_app_menu_insert)
3489 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3490 (hildon_app_menu_set_columns, item_visibility_changed)
3491 (filter_visibility_changed, hildon_app_menu_repack_filters)
3492 (hildon_app_menu_repack_items):
3493 Repack items and filters separately.
3495 Don't repack all items, change only the ones that are needed to
3498 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3500 * src/Makefile.am: added hildon-touch-selector-column.h
3502 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3504 * src/hildon-touch-selector.c: added the property "text-column" to the
3505 class HildonTouchSelectorColumn, and related get/set functions
3506 (_default_printf_func): updated to use "text-column" property
3507 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3508 "text-column" in his documentation, as this is now included on
3509 HildonTouchSelectorColumn. The get/set_property can still be used,
3510 working as a wrapper to the concrete column "text-column" property
3511 (_text_column_modified): callback added in order to handle the signal
3512 "notify::text-column" of the concrete HildonTouchSelectorColumn
3513 (hildon_touch_selector_entry_get_text_column)
3514 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3515 modified in order to use the HildonTouchSelectorColumn "text-column"
3517 * src/hildon-time-selector.c:
3518 * src/hildon-date-selector.c:
3519 * examples/hildon-touch-selector-example.c
3520 * examples/hildon-touch-selector-multi-cells-example.c
3521 * examples/hildon-picker-button-multicolumn-example.c
3522 Set the right value to "text-column" property on the creation of a new
3523 column using hildon_touch_selector_append_column()
3525 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3527 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3529 * src/hildon-app-menu.c
3530 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3531 updating the layout of the menu, don't create all widgets again,
3532 just repack the items in their new places.
3534 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3536 * src/hildon-time-selector.c
3537 (hildon_time_selector_get_time)
3538 (hildon_time_selector_set_time)
3539 Added documentation of these public methods
3541 * src/hildon-date-button.h
3542 * src/hildon-touch-selector-column.h
3543 * src/hildon-time-button.h
3544 * src/hildon-picker-dialog.h
3545 * src/hildon-time-selector.h
3546 * src/hildon-picker-button.h
3547 * src/hildon-touch-selector.h
3548 * src/hildon-time-picker.h
3549 * src/hildon-date-selector.h
3550 * src/hildon-touch-selector-entry.h
3551 Modified in order to use hildon-widgets code style
3553 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3555 Added deprecated support to the compilation process using
3556 HILDON_DISABLE_DEPRECATED
3558 * configure.ac: Added the --disable-deprecated to the configure
3561 * src/hildon-weekday-picker.c:
3562 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3563 to use the deprecated support. We will update the other deprecated
3564 widgets status in a new patch.
3566 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3568 * configure.ac: Fixed typo with fatal warnings support, the
3569 variable name was not correct
3571 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-app-menu.c
3574 * src/hildon-program.c: Update documentation.
3576 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3578 * configure.ac: Post-release version bump.
3580 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3585 * configure.ac: Pre-release version bump.
3586 * debian/changelog: Updates.
3588 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3590 * NEWS: Update news for previous releases.
3592 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3594 * examples/hildon-touch-selector-multi-cells-example.c:
3595 (create_selector): Update the example to use
3596 hildon_touch_selector_append_column() with a NULL renderer and set
3597 the renderers later.
3598 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3599 passed a NULL renderer. This is documented behavior now.
3601 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3602 This must be used if the developer wants full control on the layout of
3603 the renderers to be added to the column.
3605 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3607 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3609 * src/hildon-touch-selector.c: Documentation fixes.
3611 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3613 * src/hildon-wizard-dialog-private.h: Remove image and box.
3614 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3615 (hildon_wizard_dialog_set_property), (response): Completely remove
3616 image/icon support, and the containers required for the layout.
3618 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3620 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3622 * src/hildon-app-menu.c: Updated documentation.
3624 * src/hildon-stackable-window.c
3625 (hildon_stackable_window_set_main_menu): Unref the old menu after
3626 ref'ing the new one.
3628 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3630 * src/hildon-stackable-window.c
3631 (hildon_stackable_window_set_main_menu): Unref the previous menu
3632 instead of destroying it.
3634 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3635 floating reference and set has_user_ref_count to FALSE to make
3636 HildonAppMenu act like a normal ref-counted widget and not a
3639 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3642 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3644 * src/hildon-touch-selector-column.h: new file
3645 * src/hildon-touch-selector.h
3646 * src/hildon-touch-selector.c
3647 Implemented GtkCellLayout interface, in order to allow to configure
3648 the cell layout on each individual selector column
3649 (hildon_touch_selector_set_column_attributes): marked as deprecated
3650 * examples/hildon-touch-selector-multi-cells-example.c
3651 Example of how to use the GtkCellLayout interface on the selector
3653 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3655 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-app-menu.h
3658 * src/hildon-app-menu.c
3659 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3660 (hildon_app_menu_append, hildon_app_menu_prepend):
3661 New methods to prepend, insert and move items in the menu.
3663 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3665 * src/hildon-wizard-dialog.c:
3667 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3669 (create_title): Update logical IDs and related code.
3670 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3672 * src/hildon-wizard-dialog.h: Note that
3673 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3674 point, as it is not used anymore.
3676 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3678 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3680 * src/hildon-note.c:
3681 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3682 shown. Do not display an icon in confirmation notes nor information
3684 (hildon_note_set_button_text): Update logical ID for cancel button.
3686 Fixes: NB#88850 (Update HildonNote button strings + signals)
3688 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-stackable-window.c
3691 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3693 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3695 * src/hildon-app-menu-private.h
3696 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3697 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3698 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3699 temporary property 'columns' to change the number of columns.
3701 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3703 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3705 * examples/hildon-note-example.c: (on_information_clicked),
3706 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3707 debugging information.
3708 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3710 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3711 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3712 in order to close: this will be handled by the WM from now on.
3714 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3716 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3718 * src/hildon-app-menu-private.h
3719 * src/hildon-app-menu.c
3720 (hildon_app_menu_append, hildon_app_menu_add_filter)
3721 (button_visibility_changed, hildon_app_menu_apply_style)
3722 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3723 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3724 layout everytime a button (item or filter) is shown or hidden.
3726 * src/hildon-stackable-window.c
3727 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3730 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3732 * src/hildon-touch-selector.c:
3733 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3734 that the treeview inside the touch selector is in fremantle hildon mode
3735 * examples/hildon-date-button-example.c
3736 * examples/hildon-picker-button-multicolumn-example.c
3737 * examples/hildon-touch-selector-entry-example.c
3738 * examples/hildon-touch-selector-example.c
3739 * examples/hildon-time-button-example.c
3740 * examples/hildon-picker-button-example.c:
3741 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3743 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3745 * examples/hildon-text-view-example.c: (main): Remove the
3746 gtkrc bits, now handled by the theme.
3748 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3750 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3753 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3755 * po/Makefile.am: Install properly the mo files.
3756 * po/en_GB.po: Update translation, to ease testing purposes.
3758 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3760 * examples/hildon-picker-button-example.c: (main): Select an item
3761 in the selector before setting it to the button.
3763 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3766 Update button's value if the selector has an item active.
3768 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3769 'value' with the selector)
3771 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3773 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3774 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3775 (hildon_picker_button_class_init): Plug the finalize method.
3776 (hildon_picker_button_set_selector): If there's a previously set
3777 selector, unref'it before setting a new one.
3779 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3780 HildonTouchSelector)
3782 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3784 * src/hildon-touch-selector-entry.c:
3785 (hildon_touch_selector_entry_changed): Check if there is no text
3786 selected before setting the entry text.
3789 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3791 * src/hildon-touch-selector.h
3792 * src/hildon-touch-selector.c
3793 (hildon_touch_selector_get_active)
3794 (hildon_touch_selector_set_active): New methods to set/get the
3795 index of the selected item.
3797 * src/hildon-picker-button.h
3798 * src/hildon-picker-button.c
3799 (hildon_picker_button_get_active)
3800 (hildon_picker_button_set_active): New methods to set/get the
3801 index of the selected item.
3803 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3805 * configure.ac: post-release version bump.
3807 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3811 * configure.ac: Pre-release version bump.
3812 * debian/changelog: Updates.
3813 * debian/control: Add myself as maintainer and depend on l10n
3816 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3818 * src/hildon-window.c
3819 (hildon_window_set_main_menu)
3820 * src/hildon-stackable-window.c
3821 (hildon_stackable_window_set_main_menu):
3822 Updated documentation.
3824 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3826 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3827 Don't free selector->priv manually.
3830 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3833 (hildon_gtk_window_set_progress_indicator):
3834 * src/hildon-gtk.h: Added the new API
3835 hildon_gtk_window_set_progress_indicator, it changes the state of
3836 the window progress hint.
3838 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3840 * src/hildon-button.c
3841 * src/hildon-stackable-window.c: Minor documentation updates.
3843 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-stackable-window.c: Updated documentation.
3847 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3849 * src/hildon-defines.h: Update margins definitions
3850 to the Fremantle sizes.
3853 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3855 * src/hildon-touch-selector.c,
3856 (_hildon_touch_selector_set_model): Cleaning the code after
3857 review, removed g_print and #if 0 from the code.
3859 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3861 * src/hildon-edit-toolbar.c: Update documentation.
3863 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3865 * src/hildon-check-button.h
3866 * src/hildon-check-button.c
3867 (hildon_check_button_set_label, hildon_check_button_get_label)
3868 * examples/hildon-check-button-example.c
3869 (button_clicked_cb):
3870 Removed deprecated methods.
3872 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3874 * src/hildon-text-view.c:
3875 Add sample code to the documentation.
3877 * src/hildon-entry.h
3878 * src/hildon-text-view.h:
3879 Minor cosmetic changes.
3881 * src/hildon-entry.c:
3882 Add sample code to the documentation.
3883 (hildon_entry_init, hildon_entry_refresh_contents):
3884 Don't allow NULL values in the placeholder.
3886 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3888 * doc/hildon-docs.sgml
3890 * examples/Makefile.am
3891 * examples/hildon-text-view-example.c
3893 * src/hildon-text-view.c
3894 * src/hildon-text-view.h
3896 New HildonTextView widget, with example.
3898 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3900 * po/POTFILES.in: Add missing files with translatable strings.
3901 Partially fixes NB#88287.
3903 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3905 * examples/hildon-pannable-area-example-2.c: (main): No need to
3906 set the cellrenderer height inside hildon touch lists, the theme does
3909 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3911 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3912 they are integrated in the theme.
3914 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3916 * examples/hildon-entry-example.c: Update the example adding
3917 widgets to modify the text and the placeholder of the HildonEntry.
3919 * src/hildon-entry.c: Show the placeholder everytime the widget
3920 is empty and loses the focus.
3922 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3924 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3926 * src/hildon-pannable-area.c,
3927 (hildon_pannable_area_size_request): Fixed bug in height
3928 requisition, avoid increasing size and add border twice.
3930 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3932 * configure.ac: postrelease version bump.
3934 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3938 * configure.ac: Prerelease version bump.
3939 * debian/changelog: update.
3940 * debian/rules: make -dbg package contain useful debugging symbols.
3942 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3944 * src/hildon-dialog.h
3945 * src/hildon-dialog.c
3946 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3947 New methods to add buttons with finger size.
3948 (hildon_dialog_new_with_buttons):
3949 Create buttons with finger size.
3951 * examples/hildon-dialog-example.c (main): Use HildonDialog
3952 methods to add buttons.
3954 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3956 * src/hildon-entry.c: Updated HildonButton documentation.
3958 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3960 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3961 button value label with (FALSE, FALSE) to prevent NB#88126 from
3964 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3966 * examples/hildon-pannable-area-example.c,
3967 (main): Removed examples panning a vbox inside a pannable
3968 area. Check bug NB#87965
3970 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3972 Patch contributed by Kris Rietveld (kris@imendio.com)
3974 * src/hildon-pannable-area.c,
3975 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3976 get_size and get_position, this saves an X server roundtrip.
3978 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3980 * doc/hildon-docs.sgml
3982 * examples/Makefile.am
3983 * examples/hildon-entry-example.c
3985 * src/hildon-entry.c
3986 * src/hildon-entry.h
3988 New HildonEntry widget, with example.
3990 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3992 * src/hildon-button.c (hildon_button_construct_child): Pack the
3993 image with expand == fill == FALSE. This is a workaround for a bug
3996 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3998 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3999 labels for the text column, to make it more look more dynamic.
4001 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4003 * src/hildon-time-selector.c
4004 Define gettext auxiliar macro N_
4005 (_create_minutes_model)
4006 (_create_hours_model)
4007 (_create_ampm_model): use of strftime in order to fill the model
4008 * src/hildon-date-selector.c
4009 (hildon_date_selector_finalize):
4010 (_locales_init): remove the logic related to get the name of the months
4011 using nl_langinfo, as it is not required anymore
4013 (_create_year_model)
4014 (_create_month_model)
4015 (_update_day_model): use of strftime in order to fill the model properly
4018 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4020 * src/hildon-button.h
4021 * src/hildon-button.c (hildon_button_get_image): New method to
4024 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-touch-selector.c:
4027 (hildon_touch_selector_remove_column): Remove from the correct parent
4028 and also remove the list element and free it.
4031 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4033 * src/hildon-time-selector.c
4034 (_create_hours_model): change the range on 12h ampm format in order to use
4035 a 12-11 range instead of previous 01-12 range
4036 (hildon_time_selector_set_time): change the way to select the current time
4037 on 12h ampm format, due the change on the range
4038 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4041 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4043 * src/hildon-touch-selector.c
4044 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4045 in order to allow use this function on multiple row selection mode if
4046 the column is different that the first one
4049 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4051 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4052 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4054 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4056 * src/hildon-date-selector.h: clean some comments, now on the .c
4057 * src/hildon-date-selector.c
4058 (hildon_date_selector_select_month): first implementation
4059 (hildon_date_selector_select_day): added documentation, reimplemented
4060 using hildon_date_selector_select_current_date to avoid repeat code
4063 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4065 Reviewed interaction logic based on device experiences, refactored
4068 * src/hildon-pannable-area.c,
4069 (hildon_pannable_area_class_init): Updated default vmax speed.
4070 (hildon_pannable_area_calculate_velocity): Added this function, it
4071 avoids duplicate valocity calculation. Adjusted calculation to
4072 avoid problems with zero dist events.
4074 (hildon_pannable_area_motion_notify_cb): Now we use the
4075 calculate_velocity function.
4077 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4079 * src/hildon-date-selector.c
4080 (hildon_date_selector_select_current_date): fix the day range check
4081 as it failed using the last day of the current month
4084 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4086 * src/hildon-touch-selector.c
4087 (hildon_touch_selector_get_num_columns): added a parameter validation
4090 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4092 * examples/Makefile.am
4093 * examples/hildon-edit-toolbar-example.c: Example of the
4094 HildonEditToolbar widget.
4096 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4098 * configure.ac: postrelease version bump.
4100 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4104 * configure.ac: prerelease version bump.
4105 * debian/changelog: update.
4107 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4109 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4110 renderer to display stock icons in the touch list. Also, set the sizes
4111 to the recommended in the style guide.
4113 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4114 * src/hildon-touch-selector.h
4115 (hildon_touch_selector_set_active_iter): renamed, now is
4116 hildon_touch_selector_select_iter
4117 (hildon_touch_selector_get_active_iter): renamed, now is
4118 hildon_touch_selector_get_selected
4119 (hildon_touch_selector_unselect_iter): added
4120 * src/hildon-touch-selector.c
4121 Update after API modification (methods renamed)
4122 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4123 order to avoid problems selecting multiple elements on the column
4124 (hildon_touch_selector_unselect_iter): added the implementation
4125 * src/hildon-time-selector.c
4126 * src/hildon-date-selector.c
4127 * src/hildon-touch-selector-entry.c
4128 Update methods calls after hildon-touch-selector.h API modification (methods
4131 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4133 * src/hildon-stackable-window.c
4134 (hildon_stackable_window_finalize): Call the parent class's finalize.
4136 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4138 * examples/hildon-touch-selector-example.c: (create_selector): Use
4139 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4142 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4144 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4145 set a cell background color, to respect theming.
4147 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4149 * doc/hildon-docs.sgml
4152 * src/hildon-edit-toolbar.c
4153 * src/hildon-edit-toolbar.h
4154 * src/hildon.h: New HildonEditToolbar widget.
4156 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4158 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4161 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4162 * src/hildon-touch-selector.c
4163 (_create_new_column): use g_object_set instead of two g_object_set_property
4165 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4166 * src/hildon-touch-selector.c
4167 (_create_new_column): use of hildon_gtk_tree_view_new to create
4168 the treeview, instead of use directly g_object_new
4169 (_create_new_column): update the property name "vindicator-mode" for the
4170 new one "vscrollbar-policy"
4171 * examples/hildon-date-button-example.c
4172 * examples/hildon-picker-button-multicolumn-example.c
4173 * examples/hildon-touch-selector-entry-example.c
4174 * examples/hildon-touch-selector-example.c
4175 * examples/hildon-time-button-example.c
4176 * examples/hildon-picker-button-example.c
4177 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4178 to all the treeviews inside a pannable area.
4180 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4182 * src/hildon-button.h
4183 * src/hildon-button.c (hildon_button_init)
4184 (hildon_button_set_arrangement, hildon_button_set_alignment)
4185 (hildon_button_set_title_alignment)
4186 (hildon_button_set_value_alignment)
4187 (hildon_button_set_image_alignment)
4188 (hildon_button_construct_child): New methods to set the alignment
4189 of the individual components of the button (title, value,
4190 image). Also, new method to alter the xscale and yscale properties
4191 of the GtkAlignment inside the button, so more complex layouts can
4194 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4196 * src/hildon-button.c (hildon_button_style_set)
4197 (hildon_button_class_init, hildon_button_set_arrangement)
4198 (hildon_button_construct_child): Apply style properties
4199 correctly. Use the 'image-spacing' style property too.
4201 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4204 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4207 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4209 * src/hildon-pannable-area.c,
4210 (hildon_pannable_area_size_request): Fixed problem with
4211 pannable-area size_request.
4213 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4215 Added management for the grab-focus to a child widget, like a
4216 range, we need to fade out the scrollbar when releasing.
4218 * src/hildon-pannable-area.c,
4219 (hildon_pannable_area_init): Connected the grab-focus signal to
4221 (hildon_pannable_area_grab_notify): Added this function in order
4222 to manage the situation when the grab-focus ends. We have to
4223 fade-out the scrollbar.
4225 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4227 * src/hildon-app-menu.c: Minor documentation update.
4229 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4231 * src/hildon-app-menu.c
4232 * examples/hildon-app-menu-example.c (create_menu): Update
4233 examples and documentation to explain how to connect callbacks.
4235 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4237 * examples/hildon-button-example.c
4238 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4239 hildon_stackable_window_new instead of gtk_window_new
4241 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4243 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4244 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4245 (hildon_pannable_area_set_property),
4246 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4247 (hildon_pannable_area_unrealize),
4248 (hildon_pannable_area_size_request),
4249 (hildon_pannable_area_size_allocate),
4250 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4251 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4252 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4253 (hildon_pannable_area_initial_effect),
4254 (hildon_pannable_area_redraw),
4255 (hildon_pannable_area_scroll_indicator_fade),
4256 (hildon_pannable_area_expose_event),
4257 (hildon_pannable_area_get_topmost), (synth_crossing),
4258 (hildon_pannable_area_button_press_cb),
4259 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4260 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4261 (hildon_pannable_area_motion_notify_cb),
4262 (hildon_pannable_area_button_release_cb),
4263 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4264 (hildon_pannable_area_remove),
4265 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4266 chage the code layout to a more GtkWidget like. Review the use of
4269 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4271 * examples/hildon-pannable-area-example-4.c,
4272 (main): Modified the name of the hindicator_mode to
4275 * src/hildon-pannable-area.c,
4276 (hildon_pannable_area_class_init),
4277 (hildon_pannable_area_motion_notify_cb),
4278 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4279 we have reduced the amount of signals and managed reviewed its
4280 rationale. Changed the default decelerate value.
4282 (hildon_pannable_area_add),
4283 (hildon_pannable_area_redraw): Refactored functions.
4285 (hildon_pannable_area_init),
4286 (hildon_pannable_area_get_property),
4287 (hildon_pannable_area_set_property):
4288 (hildon_pannable_draw_vscroll),
4289 (hildon_pannable_draw_hscroll),
4290 (hildon_pannable_area_initial_effect),
4291 (hildon_pannable_area_expose_event),
4292 (hildon_pannable_area_scroll),
4293 (hildon_pannable_area_button_press_cb),
4294 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4295 and vindicator_mode with hscrollbar_policy and
4296 vscrollbar_policy. Replaced hscroll and vscroll with
4297 hscroll_visible and vscroll_visible.
4299 (hildon_pannable_area_refresh): Refactor the function, remove
4300 variables and check the calls to this function, added resize
4301 conditions in case the children change their layout.
4303 (hildon_pannable_area_size_request): Added more detailed
4304 size_request calculation.
4307 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4309 * src/hildon-color-chooser.c
4310 (init_borders): use the correct gtk_border_free instead of g_free, to
4311 avoid a crash when this widget is used (ie: the three color selection
4314 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4316 * src/hildon-check-button.c,
4317 (hildon_check_button_set_active): Fixed problem when setting the
4318 active value, the widget was not redrawn.
4320 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4322 * src/hildon-pannable-area.c,
4323 (hildon_pannable_area_refresh),
4324 (hildon_pannable_area_scroll),
4325 (hildon_pannable_area_motion_notify_cb): Small code style change.
4327 (hildon_pannable_area_class_init): Default initial_hint set to
4328 FALSE, it is not in the specs.
4330 (hildon_pannable_area_initial_effect),
4331 (hildon_pannable_area_expose_event),
4332 (hildon_pannable_area_map),
4333 (hildon_pannable_area_init): Moved the launching point of the
4334 initial effect, it was in map but the sizes where not correct in
4335 that method so we do not know if we have the reproduce it. Now it
4336 is placed in the expose_event method and uses a variable to
4337 reproduce it just once.
4339 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4341 * src/hildon-pannable-area.c,
4342 (hildon_pannable_draw_vscroll),
4343 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4344 position allowed for the scrollbars.
4346 (hildon_pannable_area_size_allocate): Small style change.
4348 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4350 * src/hildon-pannable-area.c,
4351 (hildon_pannable_area_scroll_indicator_fade),
4352 (hildon_pannable_area_button_press_cb),
4353 (hildon_pannable_area_button_release_cb),
4354 (hildon_pannable_area_scroll_cb),
4355 (hildon_pannable_area_expose_event),
4356 (hildon_pannable_area_init): Added the define parameter
4357 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4358 and refactor the fade variable.
4360 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4362 * src/hildon-pannable-area.c,
4363 (hildon_pannable_area_redraw),
4364 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4365 lines, we were reimplemeting the redraw code.
4367 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4369 * src/hildon-pannable-area.c,
4370 (hildon_pannable_area_scroll_cb),
4371 (hildon_pannable_area_realize),
4372 (hildon_pannable_area_class_init): Added scroll_event management
4373 for pannable area, now we can scroll the usual desktop method.
4375 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4376 initialization of the parameters should depend on idle_id.
4378 (hildon_pannable_area_init),
4379 (hildon_pannable_area_map): Small code style modifications
4381 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4383 * src/hildon-pannable-area.c
4384 (hildon_pannable_area_button_press_cb),
4385 (hildon_pannable_area_motion_notify_cb),
4386 (hildon_pannable_area_button_release_cb),
4387 (hildon_pannable_area_size_allocate),
4388 (hildon_pannable_area_scroll_to): Improved the timeouts
4389 management, we avoid creating them each time.
4391 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4393 * src/hildon-pannable-area.c:
4394 (hildon_pannable_area_refresh),
4395 (hildon_pannable_area_motion_notify_cb),
4396 (hildon_pannable_area_class_init):
4397 * src/hildon-pannable-area.h:
4398 * src/hildon-touch-selector.c
4399 (_create_new_column):
4400 * examples/hildon-pannable-area-example-4.c:
4401 (horizontal_movement),
4402 (vertical_movement),
4404 Replaced the names of enums in the HildonPannableArea:
4405 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4406 HILDON_MOVEMENT_MODE_*
4407 - HILDON_PANNABLE_AREA_MOV_* ->
4409 - Removed HildonPannableAreaIndicatorMode, now we
4412 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4414 * examples/hildon-pannable-area-touch-grid-example.c
4415 * examples/hildon-pannable-area-touch-list-example.c: Fix
4416 compilation warnings.
4418 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4420 * src/hildon-gtk.c (hildon_gtk_button_new)
4421 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4422 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4423 images overriding the value of the "gtk-button-images" setting.
4425 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4427 * src/hildon-check-button.c (hildon_check_button_new):
4428 Instead of using a custom container, display the label and the
4429 checkbox using the standard GtkButton API.
4431 * examples/hildon-check-button-example.c (main): Don't use
4432 hildon_check_button_set_label() anymore
4434 * src/hildon-check-button.h
4435 * src/hildon-check-button.c
4436 (hildon_check_button_set_label, hildon_check_button_get_label):
4437 Set as deprecated, now we're using gtk_button_{get,set}_label()
4439 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4441 * src/hildon-pannable-area.c,
4442 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4443 GtkTreeview first line we detected it after the inclusion of the
4444 GtkWindowImpl in gtk+. We now check if the window is visible, not
4445 just if the pointer is over the window.
4446 (hildon_pannable_axis_scroll),
4447 (hildon_pannable_area_expose_event): Small style changes.
4449 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-button.c: Update documentation.
4453 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4455 * examples/hildon-button-example.c: Add a switch to show images in
4458 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4460 * doc/hildon-docs.sgml: Some docs reorganization.
4462 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4464 * examples/hildon-pannable-area-touch-list-example.c
4466 * examples/hildon-pannable-area-touch-grid-example.c
4467 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4468 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4469 Fix memory leak when setting the tree model.
4471 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4475 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4477 * doc/hildon.types: Remove duplicated hildon_window_get_type
4478 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4479 documentation comment.
4481 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4483 * doc/Makefile.am: Complete list of private headers.
4485 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4487 * doc/hildon-docs.sgml
4488 * src/hildon-app-menu.c
4489 * src/hildon-bread-crumb.c
4490 * src/hildon-button.c
4492 * src/hildon-program.c
4493 * src/hildon-stackable-window.c
4494 * src/hildon-window.c: Lots of documentation updates.
4496 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4498 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4500 * configure.ac: Require Gtk+ 2.12.9 at least
4502 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4504 * src/hildon-pannable-area.c
4505 (hildon_pannable_area_scroll_indicator_fade),
4506 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4507 to protect the return of this timeout callbacks, avoiding deadlocks.
4509 2008-08-12 Christian Dywan <christian@imendio.com>
4512 * src/hildon-*.h: Ensure a consistent include order,
4513 include <gtk/gtk.h> instead of particular files and
4514 only include the topmost header in the gtk stack. See NB #39857
4516 2008-08-12 Christian Dywan <christian@imendio.com>
4518 * src/hildon-picker-dialog.c
4519 * src/hildon-touch-selector.c: Fix warnings about unused and
4520 uninitialized variables.
4522 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4524 * examples/Makefile.am
4525 * examples/hildon-check-button-example.c: Example of the hildon
4528 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-window.h
4531 * src/hildon-window.c (hildon_window_class_init)
4532 (hildon_window_unset_program): Don't make
4533 hildon_window_unset_program a virtual function anymore.
4535 * src/hildon-stackable-window.c: Update documentation
4537 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4540 * doc/hildon-docs.sgml
4541 * doc/visual_index.xml
4542 * src/hildon-defines.c
4544 * src/hildon-helper.c
4545 * src/hildon-range-editor.c: Lots of documentation fixes.
4547 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4549 * examples/hildon-picker-button-multicolumn-example.c
4550 (create_touch_selector): Fix compilation warning.
4552 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4555 (hildon_pannable_area_button_release_cb)
4556 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4558 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4560 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4563 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4565 * src/hildon-bread-crumb-trail.h
4566 * src/hildon-date-editor.c
4567 * src/hildon-date-selector.c
4568 * src/hildon-pannable-area.c
4569 * src/hildon-picker-dialog.c
4570 * src/hildon-time-selector.c
4571 * src/hildon-touch-selector-entry.c
4572 * src/hildon-touch-selector.c
4573 * src/hildon-touch-selector.h: Misc documentation fixes
4575 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4577 * examples/hildon-date-editor-example.c (main): Updated date
4580 * examples/hildon-note-example.c (on_confirmation_clicked):
4581 Updated confirmation note example.
4583 * src/hildon-date-editor.c
4584 * src/hildon-note.c: Updated sample programs in documentation.
4587 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-date-button.h:
4590 * src/hildon-picker-button.h:
4591 * src/hildon-time-button.c:
4592 * src/hildon-time-button.h:
4594 Some declarations changes to allow gtk-doc to document the widgets
4597 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/hildon-date-button.c: Document the widget.
4600 * src/hildon-time-button.c: Document the widget.
4602 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4604 * src/hildon-picker-button.c: Document the widget.
4605 * src/hildon-touch-selector-entry.c: Document the widget.
4607 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4609 * doc/hildon-docs.sgml
4612 * src/hildon-check-button.h
4613 * src/hildon-check-button.c: New functions to create the Hildon
4617 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4619 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-button.h
4622 * src/hildon-button.c
4623 (hildon_button_add_title_size_group)
4624 (hildon_button_add_value_size_group)
4625 (hildon_button_add_image_size_group)
4626 (hildon_button_add_size_groups): New functions to set size groups
4627 for the button labels and image.
4628 (hildon_button_new_full): Removed
4630 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4632 * src/hildon-time-selector.c
4633 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4634 in order to avoid a crash if gconf is not available
4636 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4638 * src/hildon-button.c (hildon_button_set_arrangement)
4639 (hildon_button_construct_child): Don't construct the button child
4640 before setting the arrangement.
4642 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4644 * src/hildon-program-private.h
4645 * src/hildon-program.c
4646 * src/hildon-program.h
4647 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4648 (hildon_program_peek_window_stack)
4649 (hildon_program_pop_window_stack)
4650 (hildon_program_go_to_root_window): HildonProgram now has a
4651 separate list for stackable windows. Functions are provided to
4652 manage that list with a stack-like API.
4654 * src/hildon-stackable-window.c: Stackable window management is
4655 now much simpler with the new HildonProgram API. Windows no
4656 longer need to be manually added to the program, they're
4657 automatically pushed to the top of the stack when shown.
4659 * examples/hildon-stackable-window-example.c: Updated example to
4660 reflect the API changes.
4662 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4664 * src/hildon-touch-selector.c: Comment out unimplemented
4665 hildon_touch_selector_insert_column() to avoid a compile warning.
4667 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4669 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4670 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4671 (hildon_touch_selector_set_column_selection_mode),
4672 (_hildon_touch_selector_set_model),
4673 (hildon_touch_selector_set_model):
4675 Complete review of HildonTouchSelector documentation.
4677 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4679 * doc/hildon-docs.sgml
4683 * src/hildon-gtk.c: Convenience functions for standard Gtk
4684 widgets, used to easily perform frequent operations.
4686 * src/hildon-button-helpers.h
4687 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4689 * src/hildon-helper.h
4690 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4691 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4693 * src/hildon-button.h
4694 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4696 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-button.c (hildon_button_init)
4699 (hildon_button_set_arrangement, hildon_button_construct_child):
4700 Pack the image and the labels inside the same GtkAlignment so
4701 gtk_button_set_alignment() can be used
4703 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4705 * src/hildon-button.h
4706 * src/hildon-button.c
4707 (hildon_button_init, hildon_button_set_image)
4708 (hildon_button_set_image_position)
4709 (hildon_button_construct_child): New functions to add an image to
4712 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-date-button.c
4715 * src/hildon-picker-button.c
4716 * src/hildon-time-button.c
4717 * src/hildon-button.c:
4718 (hildon_button_class_init): "size-flags" renamed to "size"
4719 (hildon_button_set_title): Hide the title label if set to NULL.
4721 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4723 HildonButtonFlags split into HildonButtonArrangement (to set the
4724 button layout) and HildonSizeType (which can be used for any
4727 * src/hildon-button.h
4728 * src/hildon-button.c
4729 (hildon_button_class_init)
4730 (hildon_button_set_arrangement)
4731 (hildon_button_set_property): New "size-flags"
4732 property. "arrangement-flags" renamed to "arrangement".
4733 (hildon_button_new, hildon_button_new_with_text)
4734 (hildon_button_new_full): Constructors updated to reflect type changes.
4736 * src/hildon-helper.h
4737 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4738 to set the size of a widget.
4742 * src/hildon-button-helpers.c
4743 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4745 * src/hildon-date-button.c
4746 * src/hildon-date-button.h
4747 * src/hildon-picker-button.c
4748 * src/hildon-picker-button.h
4749 * src/hildon-time-button.c
4750 * src/hildon-time-button.h: Updated widgets to reflect
4751 HildonButton API changes.
4753 * examples/hildon-button-example.c
4754 * examples/hildon-date-button-example.c
4755 * examples/hildon-picker-button-example.c
4756 * examples/hildon-picker-button-multicolumn-example.c
4757 * examples/hildon-time-button-example.c
4758 * examples/hildon-touch-selector-entry-example.c
4759 * examples/hildon-touch-selector-example.c: Updated examples to
4760 reflect HildonButton API changes.
4762 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4764 * doc/hildon-docs.sgml:
4766 * examples/Makefile.am:
4767 * examples/hildon-touch-selector-entry-example.c:
4769 * src/hildon-touch-selector-entry.c:
4770 * src/hildon-touch-selector-entry.h:
4773 Moved HildonTouchSelectorEntry from sandbox. Added its
4774 documentation and examples.
4776 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4778 * src/hildon-touch-selector.h:
4779 * examples/hildon-picker-button-multicolumn-example.c:
4780 (hildon_touch_selector_append_text_column): Add a gboolean
4781 parameter to determine if text must be centered in the column.
4783 * src/hildon-date-selector.c: (hildon_date_selector_init):
4784 * src/hildon-time-selector.c: (hildon_time_selector_init):
4785 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4786 (create_touch_selector): Update widgets and example to reflect
4789 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4791 * src/hildon-touch-selector.c:
4792 (hildon_touch_selector_set_active_iter): Set also the cursor in
4795 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4797 * doc/hildon-docs.sgml
4800 * src/hildon-toggle-button.c
4801 * src/hildon-toggle-button.h
4802 * src/hildon.h: Removed HildonToggleButton widget, a derived
4803 class is not necessary for this.
4805 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4807 * src/hildon-pannable-area.c,
4808 (hildon_pannable_area_realize),
4809 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4812 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4814 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4815 "done" button the default widget for the dialog.
4817 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4819 * src/hildon-touch-selector.c:
4820 (hildon_touch_selector_class_init),
4821 (hildon_touch_selector_get_property),
4822 (_hildon_touch_selector_set_model),
4823 (_hildon_touch_selector_has_multiple_selection),
4824 (hildon_touch_selector_has_multiple_selection):
4825 Add a "has-multiple-selection" property with a virtual
4826 has_multiple_selection() method to allow derived classes to
4827 override the default value for it. See the method and property
4828 documentation for details.
4830 * src/hildon-touch-selector.h: Add the new API.
4832 * src/hildon-picker-dialog.c: (requires_done_button): Call
4833 hildon_touch_selector_has_multiple_selection() instead of
4834 determining the need for a button itself.
4836 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4838 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4839 (_hildon_touch_selector_set_model),
4840 (hildon_touch_selector_set_model): Move working code to
4841 _hildon_touch_selector_set_mode(). Call the class method instead.
4843 * src/hildon-touch-selector.h: Add (*set_model) to
4844 HildonTouchSelectorClass.
4846 Make hildon_touch_selector_set_model() a virtual method, so that
4847 derived classes can extend it and do fancy stuff with the model.
4849 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4851 * configure.ac: Set back the tarname in AC_INIT to hildon.
4853 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4857 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4858 instead of libesd (NB#86876). Volume handling is still an open issue.
4860 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4863 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4865 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4866 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4867 derived class to ease placement of an entry widget in
4868 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4869 end, where the selector columns are packed now.
4871 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4873 * src/hildon-picker-button.c: Removed the simple _text() API.
4874 * src/hildon-picker-button.h: Likewise.
4876 * src/hildon-touch-selector.h:
4877 * src/hildon-touch-selector.c:
4878 (hildon_touch_selector_new_text),
4879 (hildon_touch_selector_append_text),
4880 (hildon_touch_selector_prepend_text),
4881 (hildon_touch_selector_insert_text):
4883 Moved the simple _text() API from HildonPickerButton to
4884 HildonTouchPicker, to provide better escalability and not to tie
4885 that API to HildonPickerButton.
4887 * examples/hildon-picker-button-example.c: (main): Example updated.
4889 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4891 * src/hildon-button.c: Updated documentation.
4893 * examples/hildon-button-example.c: Add the posibility to create
4894 the buttons using horizontal layout for title and value.
4896 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4898 * src/hildon-app-menu-private.h
4899 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4900 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4901 GtkSizeGroup for the filters, use the 'homogeneous' property of
4904 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4906 * examples/hildon-button-example.c: Updated example.
4908 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4910 * doc/hildon-docs.sgml:
4913 Update documentation.
4915 * examples/Makefile.am: Update renamed examples.
4917 * examples/hildon-picker-button-multicolumn-example.c:
4918 (create_touch_selector), (main): Update after the rename.
4920 * examples/hildon-touch-picker-example.c: Removed.
4921 * examples/hildon-touch-selector-example.c: (value_changed),
4922 (create_selector), (get_visible_content), (main): Renamed from
4923 hildon-touch-picker-example.c
4925 * src/Makefile.am: Updated renamed files.
4927 * src/hildon-date-button.c: (hildon_date_button_init),
4928 (hildon_date_button_get_date), (hildon_date_button_set_date):
4929 * src/hildon-date-selector.c: (hildon_date_selector_init),
4930 (_custom_print_func), (_update_day_model),
4931 (_manage_selector_change_cb),
4932 (hildon_date_selector_select_current_date),
4933 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4934 * src/hildon-date-selector.h:
4935 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4936 (hildon_picker_button_set_property),
4937 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4938 (hildon_picker_button_init), (hildon_picker_button_new_text),
4939 (hildon_picker_button_append_text),
4940 (hildon_picker_button_prepend_text),
4941 (hildon_picker_button_insert_text),
4942 (hildon_picker_button_set_selector),
4943 (hildon_picker_button_get_selector):
4944 * src/hildon-picker-button.h:
4945 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4946 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4947 (_update_title_on_selector_changed_cb), (requires_done_button),
4948 (_hildon_picker_dialog_set_selector),
4949 (hildon_picker_dialog_set_selector),
4950 (hildon_picker_dialog_get_selector):
4951 * src/hildon-picker-dialog.h:
4952 * src/hildon-time-button.c: (hildon_time_button_init),
4953 (hildon_time_button_get_time), (hildon_time_button_set_time):
4954 * src/hildon-time-selector.c: (hildon_time_selector_init),
4955 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4956 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4957 * src/hildon-time-selector.h:
4960 Massive code updates after the rename.
4962 * src/hildon-touch-picker.c: Removed.
4963 * src/hildon-touch-picker.h: Removed.
4965 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4966 (hildon_touch_selector_init), (hildon_touch_selector_map),
4967 (hildon_touch_selector_remove), (_default_print_func),
4968 (_selection_changed_cb), (_create_new_column),
4969 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4970 (hildon_touch_selector_append_text_column),
4971 (hildon_touch_selector_remove_column),
4972 (hildon_touch_selector_set_column_attributes),
4973 (hildon_touch_selector_insert_column),
4974 (hildon_touch_selector_get_num_columns),
4975 (hildon_touch_selector_get_column_selection_mode),
4976 (hildon_touch_selector_set_column_selection_mode),
4977 (hildon_touch_selector_set_print_func),
4978 (hildon_touch_selector_get_print_func),
4979 (hildon_touch_selector_get_active_iter),
4980 (hildon_touch_selector_set_active_iter),
4981 (hildon_touch_selector_get_selected_rows),
4982 (hildon_touch_selector_get_model),
4983 (hildon_touch_selector_set_model),
4984 (hildon_touch_selector_get_current_text),
4985 (_hildon_touch_selector_center_on_selected_items):
4986 * src/hildon-touch-selector.h: Renamed from
4987 hildon-touch-picker.[ch]
4989 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4990 references, code examples, and related documentation.
4992 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4994 * doc/hildon-docs.sgml
4997 * src/hildon-toggle-button.c
4998 * src/hildon-toggle-button.h
4999 * src/hildon.h: New HildonToggleButton widget.
5001 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5003 * src/hildon-button.c: Add API documentation.
5004 (hildon_button_set_size_groups): Check input parameters
5006 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5008 * src/hildon-pannable-area.c
5009 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5010 effect after reaching the movement thredshold. This way we start
5011 using the distance after passing the thredshold.
5013 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5015 * src/hildon-button.c: (hildon_button_set_property): Use the
5016 appropriate g_value_get_flags() method.
5018 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5020 * doc/hildon-docs.sgml:
5023 Add the touch pickers, picker dialogs, and picker button widgets
5024 to the documentation.
5026 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5028 * src/hildon-button.c: (hildon_button_set_property),
5029 (hildon_button_class_init): Make "arrangement-flags" a proper
5030 G_TYPE_FLAGS derived property.
5032 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5034 * examples/Makefile.am: Add below examples.
5035 * examples/hildon-date-button-example.c:
5036 * examples/hildon-picker-button-example.c:
5037 * examples/hildon-picker-button-multicolumn-example.c:
5038 * examples/hildon-time-button-example.c:
5039 * examples/hildon-touch-picker-example.c:
5041 Add examples for the recently added touch pickers,
5042 picker dialogs, and picker button widgets.
5044 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5046 * src/hildon-button.c: Add some API documentation
5048 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-button.h
5051 * src/hildon-button.c
5053 (hildon_button_new_with_text): New constructor to create a button
5054 with no text at all.
5055 (hildon_button_init, hildon_button_set_arrangement)
5056 (hildon_button_set_title, hildon_button_set_value)
5057 (hildon_button_set_text)
5058 (hildon_button_construct_child): Hide the value when it's not used
5059 so the rest of the text is properly aligned.
5060 Allow creating buttons with arbitrary widgets inside (not just
5061 title/value labels).
5063 * examples/hildon-button-example.c (vertical_buttons_window)
5064 (horizontal_buttons_window): Update example to use new API.
5066 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5068 * src/Makefile.am: Added HildonTimeButton.
5069 * src/hildon-time-button.c: Added missing LGPL header.
5070 * src/hildon-time-button.h: Added missing LGPL header.
5071 * src/hildon.h: Add hildon-time-button.h
5073 Copied HildonTimeButton from sandbox to trunk. Future work on this
5074 widget must take place in trunk.
5076 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/Makefile.am: Added HildonDateButton.
5079 * src/hildon-date-button.c: Update includes.
5080 * src/hildon.h: Add hildon-date-button.h
5082 Copied HildonDateButton from sandbox to trunk. Future work on this
5083 widget must take place in trunk.
5085 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5087 * src/Makefile.am: Added HildonPickerButton.
5088 * src/hildon-picker-button.h: Update includes.
5089 * src/hildon.h: Add hildon-picker-button.h
5091 Copied HildonPickerButton from sandbox to trunk. Future work on
5092 this widget must take place in trunk.
5094 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5096 * src/Makefile.am: Added HildonPickerDialog.
5097 * src/hildon-picker-dialog.c: Update includes.
5098 * src/hildon.h: Add hildon-picker-dialog.h
5100 Copied HildonPickerDialog from sandbox to trunk. Future work
5101 on this widget must take place in trunk.
5103 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5105 * src/Makefile.am: Added HildonTimeSelector.
5106 * src/hildon.h: Add hildon-time-selector.h
5108 Copied HildonTimeSelector widget from sandbox to trunk. Future
5109 work on this widget must happen in trunk.
5111 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5113 * src/Makefile.am: Added HildonDateSelector.
5114 * src/hildon.h: Add hildon-date-selector.h
5116 Copied HildonDateSelector widget from sandbox to trunk. Future
5117 work on this widget must happen in trunk.
5119 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5121 * src/Makefile.am: Added HildonTouchPicker.
5122 * src/hildon-touch-picker.c: Update includes.
5123 * src/hildon.h: Add hildon-touch-picker.h
5125 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5126 on this widget must happen in trunk.
5128 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5130 * src/hildon-pannable-area.c:
5131 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5133 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5135 * examples/hildon-app-menu-example.c (main): Let the window
5138 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5140 * src/hildon-pannable-area.c
5141 (hildon_pannable_area_class_init): Set the min value of the
5142 overshoot properties to zero, which points out that not
5143 overshooting allowed.
5145 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5147 Modified the procedure to get the widget at a point inside the
5148 pannable area when using the movement type signals. Now the user
5149 has to call a function to get the child, that way we just
5150 calculate the child in case the user really want to use it and not
5153 * src/hildon-marshalers.list: Modified the marshallers, now we do
5154 not have the widget as a parameter.
5156 * src/hildon-pannable-area.c
5157 (hildon_pannable_area_motion_notify_cb),
5158 (hildon_pannable_area_class_init),
5159 (hildon_pannable_get_child_widget_at): Removed the widget
5160 parameter from the signal callback. We have also refactored the
5161 emission of the signals.
5163 * src/hildon-pannable-area.h: Added a new method to the API to
5164 calculate a widget at a point inside the pannable area,
5165 hildon_pannable_get_child_widget_at.
5167 * examples/hildon-pannable-area-example-4.c
5168 (horizontal_movement): Modified the example to use the new API,
5169 added condition to control which widget is under the event. This
5170 way we can avoid scrolling laterally over other widgets.
5172 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5174 * src/hildon-pannable-area.c
5175 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5176 modes, we stop getting the pointer events due to returning the
5177 callback without properly calling the get pointer again. Fixed
5178 also an error using the hscroll and vscroll.
5180 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5182 * src/hildon-app-menu-private.h
5183 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5184 (hildon_app_menu_button_release, hildon_app_menu_init)
5185 (hildon_app_menu_class_init): Don't hide the menu on button
5186 release if the user didn't press outside first.
5188 * src/hildon-window.h
5189 * src/hildon-window.c (hildon_window_toggle_menu)
5190 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5191 hildon_window_toggle_menu a virtual function for the stackable
5192 window to override it.
5194 * src/hildon-stackable-window.h
5195 * src/hildon-stackable-window-private.h
5196 * src/hildon-stackable-window.c
5197 (hildon_stackable_window_realize)
5198 (hildon_stackable_window_finalize)
5199 (hildon_stackable_window_class_init)
5200 (hildon_stackable_window_init)
5201 (hildon_stackable_window_set_main_menu): New function to set the
5202 app menu of a HildonStackableWindow.
5204 * examples/hildon-app-menu-example.c: Remove the button to show
5205 the app menu, now it'll be shown when clicking on the title bar
5208 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5210 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5211 set the widget name if the arrangement flags do not specify
5214 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5216 * src/hildon-button.c: (hildon_button_set_property),
5217 (hildon_button_class_init), (hildon_button_new_full),
5218 (hildon_button_set_arrangement): Added "arrangement-flags"
5221 Make the HildonButtonFlags a construction-only property, to allow
5222 subclasses to set them properly.
5224 2008-07-21 Tim Janik <timj@imendio.com>
5226 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5227 insertion position after backspace, so additional digits are appended,
5230 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5232 * src/hildon-pannable-area.c,
5233 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5234 TODO list, it was complete and removed the g_debug and g_print
5237 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5239 Added the movement modes to the hildon-pannable-area, with this
5240 modes the developers can control in which directions the widget
5241 can scroll. They can also connect to signals in order to do
5242 something when that happens, allowing applications scroll. There
5243 is an example uploaded showing how to use it.
5245 * examples/Makefile.am:
5246 * examples/hildon-pannable-area-example-4.c: Added this example of
5247 an application using the modes.
5249 * src/hildon-marshalers.list: Added a new marshaller for the new
5252 * src/hildon-pannable-area.h: Added new enumerations and flags in
5253 order to control the movement modes and the new signals to warn
5254 about the movements in the area.
5256 * src/hildon-pannable-area.c:
5257 (hildon_pannable_axis_scroll),
5258 (hildon_pannable_area_scroll),
5259 (hildon_pannable_area_motion_notify_cb),
5260 (hildon_pannable_area_get_property),
5261 (hildon_pannable_area_set_property),
5262 (hildon_pannable_area_map),
5263 (hildon_pannable_area_class_init),
5264 (hildon_pannable_area_init),
5265 (hildon_pannable_area_jump_to): Added the modes to control the
5266 movement in the widget. We have added properties to control it,
5267 signals to warn about the movements and refactored some code.
5269 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5271 Changes required in order to allow vfast_factor set to zero to
5274 * src/hildon-pannable-area.c:
5275 (hildon_pannable_area_button_press_cb): Changed the condition, it
5276 is required for not allowing click when vfast_factor is zero.
5277 (hildon_pannable_area_timeout): Initialized velocity variables
5278 when we stop moving, it was less than 1 but not zero and we need
5279 to check zero in some situations.
5280 (hildon_pannable_area_class_init): Changed the default value of
5281 the speed factor, now the button_press is just sent in case the
5282 speed is 2 per cent of the max speed.
5283 (hildon_pannable_area_init): Initialization with 0.
5285 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5287 * src/hildon-pannable-area.c,
5288 (hildon_pannable_area_get_topmost): replaced
5289 gdk_window_get_children with gdk_window_peek_children, this way we
5290 do not have to free the list because it is not a copy.
5292 (hildon_pannable_axis_scroll),
5293 (hildon_pannable_area_scroll),
5294 (hildon_pannable_area_timeout),
5295 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5296 two parameters that were only used inside the
5297 hildon_pannable_area_scroll function.
5299 * examples/hildon-pannable-area-example.c,
5300 (get_sawtooth_label): Fixed small memory leak.
5302 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5304 More checks for the case where the overshoot is bigger than the
5307 * src/hildon-pannable-area.c:
5308 (hildon_pannable_draw_vscroll),
5309 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5310 to draw the slider of the scrollbar under the other scrollbar.
5311 (hildon_pannable_area_expose_event): added new checks to control
5312 the drawing of the overshooting area rectangle, in case it is too
5313 big for the area of the widget.
5314 (hildon_pannable_area_size_allocate): add more checks to avoid
5315 setting a position to the child widget outside the area.
5317 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5319 * src/hildon-pannable-area.c
5320 (hildon_pannable_area_size_allocate): Added conditions to control
5321 when overshooting is bigger than the allocated space for the
5322 children, this avoids negative allocations.
5324 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5326 * doc/hildon-docs.sgml
5328 * examples/Makefile.am
5329 * examples/hildon-button-example.c
5331 * src/hildon-button.c
5332 * src/hildon-button.h
5333 * src/hildon.h: Initial version of the new HildonButton widget,
5336 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5338 * src/hildon-pannable-area.c:
5339 (hildon_pannable_area_button_press_cb),
5340 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5341 (hildon_pannable_area_motion_notify_cb),
5342 (hildon_pannable_area_button_release_cb),
5343 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5344 (hildon_pannable_area_jump_to_child):
5346 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5348 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5350 * examples/Makefile.am
5351 * examples/hildon-pannable-area-touch-grid-example.c
5352 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5353 the Hildon Touch List and Hildon Touch Grid using the
5354 HildonPannableArea widget.
5356 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5358 * src/hildon-pannable-area.c,
5359 (hildon_pannable_area_button_press_cb),
5360 (hildon_pannable_area_refresh),
5361 (hildon_pannable_area_scroll),
5362 (hildon_pannable_area_motion_notify_cb),
5363 (hildon_pannable_area_button_release_cb),
5364 (hildon_pannable_area_expose_event),
5365 (hildon_pannable_area_add),
5366 (hildon_pannable_area_remove),
5367 (hildon_pannable_area_realize),
5368 (hildon_pannable_area_size_allocate),
5369 (hildon_pannable_area_class_init),
5370 (hildon_pannable_area_init),
5371 (hildon_pannable_area_scroll_to_child),
5372 (hildon_pannable_area_jump_to_child): Fixed the problem of
5373 removing the child from the GtkBin, we have rearranged the widget
5374 hierarchy, now there is no GtkAlignment which was not doing
5375 anything interesting but breaking some of the assumptions of
5376 GtkContainer. Now developers if they want to add a GtkAlignment
5377 they could, but it is not inside the area.
5379 We had to review the whole allocation/expose process, now it is
5380 improved and we save at least three signals which would be saving
5381 some time when rendering the widget. The allocation of the
5382 scrollbars is now made in the allocate method as usual.
5384 We have also added some conditions in order to control when there
5385 is no child of the pannable area. Maybe we will need more work
5388 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5390 * src/hildon-pannable-area.c,
5391 (hildon_pannable_area_dispose): Released the fade-out timeout when
5392 disposing the widget.
5394 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5396 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5397 zero, we are going to use that property in order to deactivate the
5399 (hildon_pannable_axis_scroll),
5400 (hildon_pannable_area_size_allocate): Added conditions to control
5401 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5402 call, now it is called in all situations and we can remove calls
5403 in the allocate method.
5404 (hildon_pannable_area_map): Control the situation when
5405 overshoot_max is zero, we do not need the timeout.
5406 (hildon_pannable_area_class_init): Added documentation in order to
5407 point out that setting zero to overshoot_max means deactivate
5410 NOTE: removed trailing whitespaces from my previous comments of
5413 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5415 * src/hildon-pannable-area.c
5416 (hildon_pannable_area_get_property),
5417 (hildon_pannable_area_set_property),
5418 (hildon_pannable_area_map),
5419 (hildon_pannable_area_class_init),
5420 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5421 to cause the widget give a hint about its panning abilities upon
5424 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5426 * src/hildon-pannable-area.c: Several documentation improvements.
5428 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5430 * src/hildon-program.c
5431 * src/hildon-stackable-window.c: Update documentation.
5433 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5435 * src/hildon-stackable-window.c (get_previous_window_if_last):
5436 Renamed get_last_window()
5437 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5438 (hildon_stackable_window_unset_program):
5440 (get_previous_window_if_last):
5441 Detect if the window hasn't been added to a HildonProgram.
5443 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5445 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5447 * src/hildon-pannable-area.c
5448 (hildon_pannable_area_button_press_cb),
5449 (hildon_pannable_axis_scroll),
5450 (hildon_pannable_area_scroll),
5451 (hildon_pannable_area_timeout),
5452 (hildon_pannable_calculate_vel_factor),
5453 (hildon_pannable_area_get_property),
5454 (hildon_pannable_area_set_property),
5455 (hildon_pannable_area_class_init),
5456 (hildon_pannable_area_init),
5457 (hildon_pannable_area_scroll_to),
5458 (hildon_pannable_area_jump_to),
5459 (hildon_pannable_area_scroll_to_child),
5460 (hildon_pannable_area_jump_to_child):
5461 * src/hildon-pannable-area.h: Added the new API functions:
5462 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5463 hildon_pannable_area_scroll_to_child,
5464 hildon_pannable_area_jump_to_child
5467 * examples/Makefile.am
5468 * examples/hildon-pannable-area-example-2.c
5469 * examples/hildon-pannable-area-example-3.c: Added these two new
5470 examples in order to test and show how the new APIs work.
5472 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5474 * examples/hildon-stackable-window-example.c (new_window):
5475 * src/Makefile.am (noinst_HEADERS):
5476 * src/hildon-program.c (hildon_program_go_to_root_window):
5477 * src/hildon-program.h:
5478 * src/hildon-stackable-window-private.h:
5479 * src/hildon-stackable-window.c:
5480 * src/hildon-stackable-window.h:
5481 Create hildon-stackable-window-private.h
5482 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5484 * examples/hildon-app-menu-example.c (create_menu):
5485 * examples/hildon-hvolumebar-insensitive-example.c (main):
5486 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5487 * examples/hildon-toolbar-seekbar-example.c (main):
5488 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5489 * src/hildon-banner.c (hildon_banner_set_property):
5490 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5491 Fix compilation warnings
5493 * src/hildon-window.c:
5496 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5498 * src/hildon-stackable-window.c
5499 (hildon_stackable_window_unset_program):
5500 Calculate correctly whether to show the previous window if the
5501 last one is removed from the stack.
5502 (hildon_stackable_window_go_to_root_window):
5503 Send delete events starting from the topmost window.
5504 Stop if one of the windows is not destroyed.
5506 (hildon_stackable_window_delete_event)
5507 (hildon_stackable_window_class_init):
5508 Ignore the delete event if the window is not the topmost one.
5510 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5512 * src/hildon-pannable-area.c
5513 (hildon_pannable_area_expose_event): Fixed a problem when
5514 selecting the background color of the scrollbars.
5516 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5518 * examples/hildon-stackable-window-example.c
5519 * src/hildon-stackable-window.c
5520 * src/hildon-stackable-window.h
5521 hildon_stackable_window_go_home() renamed to
5522 hildon_stackable_window_go_to_root_window()
5523 Send delete events to windows rather than closing them with
5524 gtk_widget_destroy()
5526 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5528 * src/hildon-pannable-area.c
5529 (hildon_pannable_area_button_release_cb): Fix overshooting in
5532 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5534 * src/hildon-pannable-area.c
5535 (hildon_pannable_area_init): Initially show the scroll indicators.
5536 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5538 Add initial effect showing the widget is pannable.
5540 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5542 * src/hildon-pannable-area.c
5543 (hildon_pannable_area_class_init)
5544 (hildon_pannable_area_set_property)
5545 (hildon_pannable_area_get_property)
5546 (hildon_pannable_area_button_press_cb):
5547 New 'velocity_fast_factor' property to decide which velocity is
5550 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5552 * src/hildon-pannable-area.c
5553 (hildon_pannable_draw_hscroll)
5554 (hildon_pannable_draw_vscroll):
5555 Use float variables to calculate the size of the scrollbars to
5556 avoid error propagation and resizing during scrolling.
5558 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5560 * src/hildon-pannable-area.c
5561 (hildon_pannable_draw_vscroll)
5562 (hildon_pannable_draw_hscroll):
5563 Define a minimum size for the scroll bars
5565 * src/hildon-stackable-window.c
5566 (hildon_stackable_window_go_home): Fix compilation warning
5567 (get_last_window): Minor optimizations
5568 (hildon_stackable_window_class_init): Fix initialization of
5571 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5573 * src/hildon-stackable-window.c: Fixed typos in doc
5575 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5577 * src/hildon-pannable-area.c
5578 (hildon_pannable_area_scroll):
5579 Calculate here whether we need to scroll instead of using the booleans
5580 that tell us whether to /draw/ the scrolling bars.
5582 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5584 * src/hildon-app-menu.h
5586 * src/hildon-app-menu.c
5587 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5588 multiple filter groups related code and API. Now we support only
5590 * examples/hildon-app-menu-example.c:
5592 Update to reflect API changes.
5594 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5596 * src/hildon-stackable-window.c
5597 (hildon_stackable_window_class_init):
5598 Add hildon_stackable_window_realize.
5599 (hildon_stackable_window_realize):
5600 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5601 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5602 to apply theming and behavior specific to HildonStackableWindow
5605 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5607 * src/hildon-note.c (hildon_note_button_release):
5608 Close information notes also when tapping on them
5610 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5612 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5613 ELASTICITY, refactor and review, fix some issues with drawing
5616 * src/hildon-pannable-area.c:
5617 (hildon_pannable_area_button_press_cb): removed the conditions to
5618 avoid clicks when overshooting. It is not required
5620 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5621 define. Refatored and reviewed the code, now we do not need to
5622 manage velocity in motion_notify.
5624 (hildon_pannable_area_motion_notify_cb): We have moved the code
5625 that controls the area_scroll to the axis_scroll function and get
5626 rid of duplicated code.
5628 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5630 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5632 (hildon_pannable_draw_vscroll),
5633 (hildon_pannable_draw_hscroll): Fixed the problems with the
5634 scrollbar drawing, now we do not use two surfaces, it is easier
5635 and saves resources.
5637 (hildon_pannable_area_get_property): Style modification.
5639 (hildon_pannable_area_class_init): Changed some default values.
5641 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5643 * src/hildon-stackable-window.c: Fix some typos in the
5646 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5648 * src/hildon-dialog.c:
5649 Change indentation style
5652 (hildon_note_button_release):
5653 Use root coordinates to check if the release event happened
5656 * src/hildon-app-menu.c
5657 (hildon_app_menu_button_release):
5658 Remove unnecessary check
5660 * examples/hildon-app-menu-example.c
5662 Add cast to fix warning
5664 * src/hildon-app-menu.c
5665 (hildon_app_menu_class_init):
5666 New inner-border style property.
5667 Set all default spacings to 16
5668 (hildon_app_menu_init):
5669 Use vertical-spacing to set the space between filter buttons and
5670 regular menu buttons.
5671 Set the default container border using the inner-border value.
5673 * examples/hildon-app-menu-example.c
5675 Don't set the menu border explicitly, now we have the inner-border
5676 style property for that.
5678 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5680 * src/hildon-app-menu.c (hildon_app_menu_init):
5681 Make the window modal
5683 * src/hildon-note.c (hildon_note_map)
5684 * src/hildon-app-menu.c (hildon_app_menu_map):
5685 Destroy the grab window if we're unable to grab the pointer
5687 * src/hildon-app-menu-private.h
5688 * src/hildon-app-menu.c
5689 (hildon_app_menu_init, hildon_app_menu_finalize)
5690 (hildon_app_menu_map, hildon_app_menu_unmap)
5691 (hildon_app_menu_button_release)
5692 (grab_transfer_window_get):
5693 Bring back the grab window
5694 (hildon_app_menu_realize):
5695 Decorate the window, set WM hint for Matchbox
5697 * src/hildon-note.c (hildon_note_realize):
5698 * src/hildon-banner.c (hildon_banner_realize):
5699 Add WM hints for Matchbox
5701 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5703 * src/hildon-app-menu-private.h
5704 * src/hildon-app-menu.c
5705 (hildon_app_menu_init, hildon_app_menu_finalize)
5706 (hildon_app_menu_map, hildon_app_menu_unmap)
5707 (hildon_app_menu_button_release):
5708 Remove the grab window, it's not needed anymore
5710 * src/hildon-program.c
5711 Fixed typo in documentation
5713 * src/hildon-app-menu.h
5714 * src/hildon-app-menu.c
5715 * examples/hildon-app-menu-example.c
5716 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5718 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5721 Added new transfer_window and close_if_pressed_outside private
5723 (hildon_note_rebuild):
5724 Don't add a cancel button to the information note. It will be
5725 closed when tapping outside
5726 Remove the comment about the OK button in the documentation
5727 (hildon_note_realize):
5728 Set the notification type hint
5729 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5730 Grab/ungrab pointer and keyboard if the note has to be closed when
5732 (hildon_note_button_release):
5733 Close the note when tapping outside (if applicable)
5735 * src/hildon-app-menu.c
5736 Grab/ungrab pointer and keyboard on map/unmap
5737 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5738 Close the menu on button release, not button press
5740 * src/hildon-banner.c
5741 (hildon_banner_set_property)
5742 (hildon_banner_check_position):
5743 Make the banner use the full width of the screen
5744 (hildon_banner_show_information)
5745 (hildon_banner_show_information_with_markup):
5746 Don't display an icon by default
5748 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5750 Added fading scrollbars and adapted all the overshooting code to
5751 horizontal scrolling. We have also fixed bugs with overshooting
5752 and current fading implementation.
5754 * src/hildon-pannable-area.c
5755 (hildon_pannable_area_scroll_indicator_fade): Time out function
5756 used to change the transparency of the scrollbars.
5758 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5759 control and fixed a problem with fading, we now remove the fade
5760 timeout before adding a new one.
5762 (hildon_pannable_axis_scroll):
5763 (hildon_pannable_area_scroll):
5764 (hildon_pannable_area_timeout): Added this functions so we can use
5765 the scroll code both for vertical and horizontal.
5767 (hildon_pannable_area_motion_notify_cb):
5768 (hildon_pannable_area_button_release_cb): Added the horizontal
5769 scrolling control, fixed a problem with the overshooting timeout.
5771 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5772 painting of the scrolls.
5774 (hildon_pannable_draw_vscroll):
5775 (hildon_pannable_draw_hscroll):
5776 (hildon_pannable_area_expose_event):
5777 Draw both scrollbars and rectangles in the overshooting area.
5779 (hildon_pannable_area_get_property):
5780 (hildon_pannable_area_set_property):
5781 Modified the overshoot property to overshoot_max
5783 (hildon_pannable_area_map):
5784 Replaced the comments symbols.
5786 (hildon_pannable_area_size_allocate):
5787 (hildon_pannable_area_class_init):
5788 (hildon_pannable_area_init): Added horizontal scroll, fading
5789 effect properties, fixed a problem when overshooting in the bottom
5792 * examples/hildon-pannable-area-example.c:
5793 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5794 looks better in the example.
5796 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5798 * src/hildon-window.c
5799 * src/hildon-window.h
5800 (hildon_window_class_init)
5801 (hildon_window_unset_program)
5802 (hildon_window_unset_program_real):
5803 Make unset_program a virtual function
5805 * src/hildon-stackable-window.c
5806 * src/hildon-stackable-window.h
5807 Added hildon_stackable_window_go_home()
5809 * examples/Makefile.am
5810 * examples/hildon-stackable-window-example.c
5811 HildonStackableWindow example
5813 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5815 * hildon-pannable-area.c: Added the overshoot property and removed
5816 the OVERSHOOT define. Fixed an indent style error.
5817 (hildon_pannable_area_motion_notify_cb):
5818 (hildon_pannable_area_get_property):
5819 (hildon_pannable_area_set_property): Add overshoot property.
5821 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5824 (hildon_pannable_area_class_init): Installed the new property.
5826 * hildon-pannable-area-example.c: Added a sawtooth function, this
5827 way it is easier to check the movement in the pannable.
5828 (get_sawtooth_label): Added this function.
5829 (main): Now we get the labels from the new get_sawtooth_label
5832 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5834 * src/hildon-app-menu.h
5835 * src/hildon-app-menu.c
5836 Renamed API variables for consistency
5838 (hildon_app_menu_popup): Use also the default window size to
5839 decide where to place the menu
5841 (hildon_app_menu_init, hildon_app_menu_class_init): New
5842 external-border style property
5844 2008-05-26 Michael Natterer <mitch@imendio.com>
5846 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5847 widget_class->tap_and_hold_setup signal slot doesn't exist any
5848 longer, stop overriding it.
5850 (hildon_time_editor_init): g_signal_connect() to the
5851 tap-and-hold-setup signal instead.
5853 (hildon_time_editor_entry_keypress): add cast to fix warning.
5855 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5857 * doc/hildon-docs.sgml
5859 * examples/Makefile.am
5860 * examples/hildon-app-menu-example.c
5862 * src/hildon-app-menu-private.h
5863 * src/hildon-app-menu.c
5864 * src/hildon-app-menu.h
5866 New HildonAppMenu widget
5868 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5870 Rearranged the inheritance of the pannable area, now it inherits
5871 from GtkBin. This will allow us to control the event_window and
5872 the allocation process of the widget, required for some effects.
5874 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5875 GtkBin structures. * src/hildon-pannable-area.c: Added the
5876 event_window variable.
5877 (hildon_pannable_area_button_press_cb):
5878 (hildon_pannable_area_button_release_cb):
5879 (hildon_pannable_area_motion_notify_cb):
5880 Changed the signature of the method, now we override the event
5881 callback instead of connecting to the signal.
5883 (hildon_pannable_area_realize):
5884 (hildon_pannable_area_unrealize):
5885 (hildon_pannable_area_map):
5886 (hildon_pannable_area_unmap):
5887 (hildon_pannable_area_size_allocate):
5888 Added functions to control the widget construction. We add a
5889 INPUT_ONLY window and we put it over the widgets inside the
5890 container, this event_window handles the events.
5892 (hildon_pannable_area_class_init):
5893 Replaced the signal connections with overrides of the event
5896 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5898 Bouncing effect added when touching the borders, you can change
5899 the elasticity of the border changing the ELASTICITY define.
5901 * src/hildon-pannable-area.c: Added ELASTICITY define.
5902 (hildon_pannable_area_timeout): Added inverse velocity when
5903 touching the border of the child widget, that causes a bounce.
5905 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5907 Improved performance, we now do not go to the X server in order to
5908 get the list of window children. Apparently the effect is the
5909 same, we have to be careful and check if this breaks something in
5912 * src/hildon-pannable-area.c:
5913 (get_ordered_children): Removed this function.
5914 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5915 the children windows function with gdk_window_get_children.
5917 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5919 * src/hildon-pannable-area.c:
5920 (hildon_pannable_area_dispose): Fixed a crash when closing the
5921 window and kinetics is activated.
5923 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-pannable-area.h
5926 * src/hildon-pannable-area.c
5927 Changed indentation style to meet the one used in Hildon
5929 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5931 Reviewed the interaction of the AUTO mode, now we use the time
5932 attribute of the events and calculate the velocity in the motion,
5933 doing a gimp like calculation. The velocity is calculated in each
5934 motion event using the last velocity and the current one, the
5935 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5937 * src/hildon-pannable-area.c: Replaced the time based algorithm
5939 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5940 timeout for the AUTO mode when we are still moving the cursor. We
5941 added also the velocity calculation in this function.
5942 (hildon_pannable_area_button_release_cb): launch the timeout in
5943 case we are in AUTO mode. There are still some constants here that
5944 come from the old implementation that should be reviewed and
5947 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5949 * doc/hildon-docs.sgml
5952 * src/hildon-stackable-window.c
5953 * src/hildon-stackable-window.h
5955 New HildonStackableWindow widget
5957 * examples/hildon-dialog-example.c
5958 * examples/hildon-pannable-area-example.c
5961 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5963 * src/hildon-dialog.c
5964 (hildon_dialog_new_with_buttons): New constructor.
5966 * examples/hildon-dialog-example.c
5967 (main): Update the example to use the new
5968 hildon_dialog_new_with_buttons().
5970 * examples/hildon-pannable-area-example.c
5971 (main): Update example.
5973 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5975 * doc/hildon-docs.sgml
5977 Added HildonPannableArea to the documentation.
5979 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5981 * doc/visual_index.xml
5982 Fix reference to HildonLoginDialog in documentation
5984 * doc/hildon-docs.sgml
5986 * examples/Makefile.am
5987 * examples/hildon-dialog-example.c
5989 * src/hildon-dialog.c
5990 * src/hildon-dialog.h
5992 New HildonDialog widget.
5994 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5996 * src/hildon-pannable-area.c
5997 Merge latest changes (r4318, r4342) from libmokoui trunk
5999 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6001 * examples/Makefile.am
6002 * examples/hildon-pannable-area-example.c
6004 * src/hildon-pannable-area.c
6005 * src/hildon-pannable-area.h
6007 New HildonPannableArea widget.
6009 2008-04-15 18:05:19 <timj@imendio.com>
6011 * src/hildon-banner.c: revert the recent change, that introduced
6012 gtk_window_present() calls. this reopens:
6013 Bug 78481 - [freetest] information banners are hidden under browser menu
6014 But resolves another variant of:
6015 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6017 2008-04-15 13:21:13 <timj@imendio.com>
6019 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6020 recreated its layout, spotted by Kris. this fixes all remaining
6021 artefacts and stability issues with the banner code. in particular:
6022 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6024 2008-04-14 16:52:59 <timj@imendio.com>
6026 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6027 operating on unrealized widgets, fixes:
6028 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6030 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6032 2008-04-09 Kristian Rietveld <kris@imendio.com>
6034 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6035 makes banner disappear.
6036 Fixes: NB#79182: info banner flickering with certain message lengts.
6038 * src/hildon-banner.c (hildon_banner_constructor),
6039 (hildon_banner_init), (hildon_banner_set_text),
6040 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6041 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6042 FALSE, reset size requests of label and banner,
6043 (force_to_wrap_truncated): when the text is too wide, always enforce
6044 the maximum possible width instead of recalculating it from the
6045 layout; enforce the maximum banner height of 3 lines,
6046 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6047 nicer wrapping and no truncated chars if space gets tight.
6049 * src/hildon-banner-private.h: add has_been_wrapped and
6050 has_been_truncated fields.
6052 2008-04-07 Sven Herzberg <sven@imendio.com>
6054 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6055 local values in hildon_date_editor_size_allocate
6057 * src/hildon-date-editor.c: moved the real allocation code into the
6060 2008-04-07 Sven Herzberg <sven@imendio.com>
6062 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6063 local values in hildon_date_editor_size_allocate
6065 * src/hildon-date-editor.c: merged the two if() branches together
6067 2008-04-07 Sven Herzberg <sven@imendio.com>
6069 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6070 local values in hildon_date_editor_size_allocate
6072 * src/hildon-date-editor.c: changed the arguments of the if()
6075 2008-04-07 Sven Herzberg <sven@imendio.com>
6077 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6078 local values in hildon_date_editor_size_allocate
6080 * src/hildon-date-editor.c: split the calculation of the allocation
6081 from the real allocation
6083 2008-03-27 Michael Natterer <mitch@imendio.com>
6085 Fixes: NB#81696: The passcode is not overwritten even after
6088 * src/hildon-code-dialog.c
6089 (hildon_code_dialog_button_clicked)
6090 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6091 because that doesn't overwrite selected text. Instead, emit the
6092 "commit" signal on the entry's im_context so the entry's normal
6093 insert logic is triggered. Set the cursor to the end of the entry
6094 after each insert operation so that we *only* insert in the middle
6095 of the text if something was selected.
6097 2008-03-27 Michael Natterer <mitch@imendio.com>
6099 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6100 selector cannot be opened
6102 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6103 when the popup color selector is created. Please connect to this
6104 signal in order to set the dialog's help ID.
6106 2008-03-25 Sven Herzberg <sven@imendio.com>
6108 Fixes: MB#1212: Hide info banners (infoprints) on click
6110 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6111 extracted the close event simulation into an extra function
6112 (hildon_banner_button_press_event): simulate a close event and destroy
6113 the widget if the event wasn't handled
6114 (hildon_banner_class_init): added the button_press_event handler
6115 (hildon_banner_init): added button-press events to the widget
6117 2008-03-25 Sven Herzberg <sven@imendio.com>
6119 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6120 Patch from: Mohammad Anwari <mdamt@maemo.org>
6122 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6123 instead of the right in RTL mode
6124 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6125 breadcrumb button list in RTL mode
6126 * src/hildon-caption.c: mirror the appearance of the caption widget in
6128 * src/hildon-date-editor.c: mirror appearance of the date editor in
6130 * src/hildon-time-editor.c: mirror appearance of the time editor in
6132 * src/hildon-window.c: fix the position of the popup in RTL mode
6134 2008-03-25 Sven Herzberg <sven@imendio.com>
6136 Amendment to the fix of NB#22072. Fix compilation.
6138 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6140 2008-03-19 Sven Herzberg <sven@imendio.com>
6142 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6145 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6146 timeout id properly when the timeout will disappear this leaves no
6147 artifacts around in the destroy(); there will only be the timeout
6148 created by hildon_banner_ensure_timeout() and adding a new timeout
6149 will also work if the timeout gets removed because the timeout_handler
6152 2008-03-19 Michael Natterer <mitch@imendio.com>
6154 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6156 * src/hildon-volumebar.c
6157 * src/hildon-vvolumebar.c
6158 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6159 the widget becomes focussable at all.
6161 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6162 set the focus to wither the mute button or the volumebar.
6164 Remove own "can-focus" property and instead listen to
6165 notify::can-focus in order to update the widget's state.
6167 Implement GtkWidget::focus() and make sure we can also *leave* the
6168 widget, not only enter it, depending on volumebar orientation and
6169 requested focus direction.
6171 Clean up set_mute() to cooperate nicely with all the above.
6173 2008-03-04 Michael Natterer <mitch@imendio.com>
6175 Fixes: NB#78481: information banners are hidden under browser menu
6177 * src/hildon-banner.c: call gtk_window_present() on the banners so
6178 they are risen if they are already visible.
6180 2008-03-03 Sven Herzberg <sven@imendio.com>
6182 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6184 * examples/hildon-window-menu-example.c: (main): extended the window
6185 menu example to serve as a testcase for automatically added
6186 accelerator groups, too
6187 * src/hildon-window.c: (hildon_window_add_accel_group),
6188 (hildon_window_set_menu): added patch by Tommi Komulainen
6190 2008-03-03 Sven Herzberg <sven@imendio.com>
6192 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6194 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6195 knowledge about the border allocators used within GTK+
6197 2008-02-26 Sven Herzberg <sven@imendio.com>
6199 Fixes: MB#2981: Build with asserts broken
6201 * src/hildon-date-editor.c,
6202 * src/hildon-number-editor.c,
6203 * src/hildon-time-editor.c,
6204 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6205 the proper GType instance check
6207 2008-02-25 Sven Herzberg <sven@imendio.com>
6209 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6211 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6212 * examples/hildon-window-menu-example.c: (main): explicitly show
6214 * src/hildon-window.c:
6215 (hildon_window_set_main_menu): moved most of the code from set_menu()
6216 to this place; skipped the call to gtk_widget_show_all(); also didn't
6217 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6218 (hildon_window_set_menu): removed most of the code, just keep the
6219 questionable gtk_widget_show_all()
6220 * src/hildon-window.h: added the new function and deprecate the old
6223 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6229 * debian/changelog: Updating.
6231 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6234 * pkgconfig/Makefile.am:
6235 * pkgconfig/hildon.pc.in:
6238 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6239 use newly created API_MAJOR_VERSION.
6241 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6247 * debian/changelog: Updating.
6249 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6251 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6253 Add outer_border style property, we use it but don't define it (!).
6257 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6259 * examples/hildon-bread-crumb-trail-example.c (main):
6263 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6265 Fix logic for the bread crumb trail node removal.
6269 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6275 * debian/changelog: Updating.
6277 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6279 Patch by Alejandro to get/set passwords dialogs accesibility.
6281 * hildon-1/src/hildon-get-password-dialog.c:
6282 * hildon-1/src/hildon-set-password-dialog.c:
6283 Set atk_set_name to the passwd entries in order to allow
6284 accessibility by name on this entries.
6286 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6291 * debian/control: Updating gtk dep.
6293 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6295 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6296 USE_MAEMO_GTK is enabled.
6298 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6300 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6301 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6303 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6309 * debian/changelog: Updating.
6311 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6313 * examples/Makefile.am:
6314 * examples/hildon-logical-color-example.c:
6315 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6316 applied + adding a test case. Fixes: NB#71660.
6318 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6320 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6321 to be visible, fixes warning on map for windows without toolbars.
6323 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6325 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6326 2.11.0, add a check for that besides the MAEMO_GTK check.
6328 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6334 * debian/changelog: Updating.
6336 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6338 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6339 visibility. Fixes: NB#70842 and MB#615.
6341 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6343 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6344 set the separator as no-show-all so it doesn't unintentionally appear when
6345 someone does a show_all.
6347 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6349 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6350 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6351 toplevel item. Fixes: NB#62031
6353 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6355 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6356 fix the name of the function in the docs.
6358 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6364 * debian/changelog: Updating.
6366 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6368 * examples/hildon-banner-long-example.c: Adding a test-case for long
6371 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6373 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6375 * src/hildon-color-chooser-dialog.c:
6376 * src/hildon-color-chooser.c:
6377 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6378 memory leaks in font selector and color selector. Fixes: NB#70499 and
6381 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6383 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6385 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6387 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6388 little bit bigger. Fixes: #NB63694.
6390 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6396 * debian/changelog: Updating.
6398 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6401 * doc/hildon-docs.sgml:
6402 * doc/images/bread-crumb-trail.png:
6403 * doc/images/calendar-popup.png:
6404 * doc/images/caption.png:
6405 * doc/images/code-dialog.png:
6406 * doc/images/color-button.png:
6407 * doc/images/color-chooser-dialog.png:
6408 * doc/images/color-chooser.png:
6409 * doc/images/controlbar.png:
6410 * doc/images/date-editor.png:
6411 * doc/images/font-selection-dialog.png:
6412 * doc/images/get-password-dialog.png:
6413 * doc/images/hvolumebar.png:
6414 * doc/images/login-dialog.png:
6415 * doc/images/note.png:
6416 * doc/images/number-editor.png:
6417 * doc/images/range-editor.png:
6418 * doc/images/seekbar.png:
6419 * doc/images/set-password-dialog.png:
6420 * doc/images/sort-dialog.png:
6421 * doc/images/time-editor.png:
6422 * doc/images/time-picker.png:
6423 * doc/images/vvolumebar.png:
6424 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6425 Adding the bread-crumb-trial and helpers to the documentation.
6427 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6429 * examples/hildon-find-toolbar-example.c:
6430 * src/hildon-find-toolbar.c:
6431 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6432 actually continue firing the other handlers if connected. Adding a new
6434 hildon_find_toolbar_get_last_index that gets the index of the most
6435 recently added (last) item. Fixes: NB#52301.
6437 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6439 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6440 behaviour. Fixes: NB#68610.
6442 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6444 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6447 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6449 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6450 when realizing the banner. Should make the infonbanner effect a bit more
6453 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6455 * src/hildon-volumebar.c:
6456 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6457 hildon_volumebar_set_range_insensitive_message and
6458 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6460 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6462 * src/hildon-window.c: Fixing the border freeing on destroy.
6464 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6466 * src/hildon-code-dialog-private.h:
6467 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6468 kw keyboard support in HildonCodeDialog.
6470 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6476 * debian/changelog: Updating.
6478 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6480 * src/hildon-date-editor.c:
6481 * src/hildon-number-editor.c:
6482 * src/hildon-private.c:
6483 * src/hildon-private.h:
6484 * src/hildon-time-editor.c:
6485 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6486 handling in subclassed composite widgets. Fixes: NB#66628.
6488 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6490 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6491 from destroy_ callback as it introduces problems in async dbus signal
6492 handlers. Fixes NB#66673.
6494 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6496 * examples/hildon-hvolumebar-example.c:
6497 * src/hildon-volumebar.c: Improving the focus handling in the
6498 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6499 set_property accessor so that "mute" property can be actually set. I'm
6500 scared that nobody noticed it's totally broken.
6502 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6504 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6507 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6509 * src/hildon-calendar.c:
6510 * src/hildon-number-editor.c:
6511 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6512 matches the spec of 6 chars per second. Fixes: NB#60489.
6514 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6516 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6517 gtk_style_lookup_color sometime returns FALSE even though color was
6518 found and values were filled properly. Weird. Removing the warning for the
6521 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6523 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6524 expand vertically. Adding some extra space to the find toolbar buttons to
6525 make them thumbable. Fixes NB#66060.
6527 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6529 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6530 popup with "Ok" and "Cancel". Fixes NB#59299.
6532 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6534 * src/hildon-calendar.c: Process all window updates before executing next
6535 timeout. Fixes: NB#54146.
6537 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6543 * debian/changelog: Updating.
6545 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6547 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6548 the client event and ignore it, since we use the delete event to close
6551 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6553 * src/hildon-helper.c: Remove the bogus warning about color not being
6554 found. Fixes NB#58352.
6556 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6558 * examples/Makefile.am:
6559 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6560 HildonSeekbar widget inside a toolbar.
6562 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6564 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6565 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6566 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6567 don't want to be closed by non-temporary windows on map.
6569 Also use G_DEFINE_TYPE instead of manually typed code.
6571 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6578 * debian/rules: Updating.
6580 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6582 * examples/Makefile.am:
6583 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6584 bug NB#61128. Strangely it works.
6586 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6588 * src/hildon-date-editor.c: When the date editor entry has been changed
6589 but the numbers of characters < max, turn off the skip validation flag.
6590 Prevents a situation when we enter first a valid year and later re-write
6591 it with an invalid one. Fixes NB#60154.
6593 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6595 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6596 code dialog. Fixes NB#64355.
6598 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6600 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6601 switching the page. Fixes NB#49374.
6603 * examples/Makefile.am:
6604 * examples/hildon-wizard-dialog-example.c: Adding an example for
6605 HildonWizardDialog that shows how to handle manual sensitivity setting on
6608 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6612 * src/hildon-version.h.in:
6613 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6615 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6617 * src/hildon-volumebar.c: Updating the docs.
6619 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6625 * debian/changelog: Updating.
6627 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6629 * src/hildon-find-toolbar.c:
6630 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6631 selected item: hildon_find_toolbar_set_active,
6632 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6633 hildon_find_toolbar_get_active_iter . They correspond to respective
6634 GtkComboBox functions.
6636 * examples/Makefile.am:
6637 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6640 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6642 * examples/Makefile.am:
6643 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6646 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6647 when font size > 32 and we pack a focusable widget inside. Actually using
6648 the default response would work too, but since we don't show default
6649 response state in any way (no theming) it would not be visible to the
6650 user. Fixes NB#63430.
6652 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6654 * src/hildon-date-editor.c: Adding the missing variable setter in the
6655 set_property handler. Fixes NB#54182.
6657 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6659 * src/hildon-window.h: Changing the long key press time from 1500ms to
6660 800ms as requested in NB#63700. I have a bad feeling about this, let's
6661 see... Fixes NB#63700.
6663 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6665 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6666 hildon_time_picker_map, hildon_time_picker_realize,
6667 hildon_time_picker_style_set): Split the contents of map to more
6668 appropriate functions; set window decorations on realize and update
6669 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6671 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6676 * debian/changelog: Updating.
6678 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6680 * src/Makefile.am: fixed installation of the header files
6682 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6688 * debian/changelog: Updating.
6690 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6692 * configure.ac: Removing some remaining of --enable-xan.
6694 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6696 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6697 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6699 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6700 2.10.12-osso6 because the move-focus signal needs to be available in
6703 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6705 * examples/Makefile.am:
6706 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6707 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6708 fine. Prolly NB#61128 is fixed now.
6710 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6712 * src/hildon-volumebar.c:
6713 * src/hildon-volumebar.h: Adding the
6714 hildon_volumebar_set_range_insensitive_message and
6715 hildon_volumebar_set_range_insensitive_messagef functions to set
6716 insensitive message on the slider of the volumebar. Fixes NB#61129.
6718 * examples/Makefile.am:
6719 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6720 test the new insensitive messsage functionality on HildonVolumebar.
6722 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6724 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6727 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6729 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6730 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6731 button on after clearing the trail.
6733 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6735 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6737 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6739 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6740 by splitting the installed headers in generated and non-generated groups. Use
6741 only the non-generated headers to create the hildon-enum-types.h file.
6743 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6745 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6747 * src/hildon-window.c: Hide the window before performing the destroy.
6748 Should make the app closing a little tiny bit more snappy.
6750 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6752 * src/hildon-seekbar.c: add gtkrange.h header
6753 * src/hildon-caption.c: remove unused variable
6755 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6757 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6760 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6766 * debian/changelog: Updating.
6768 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6770 * src/hildon-window.c (hildon_window_window_state_event,
6771 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6772 escape timeout on focus-out-event rather than notify::is-topmost; the
6773 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6775 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6777 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6778 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6780 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6782 * src/hildon-window: actually, you need to use the macro always, there's
6783 no private pointer in the instance structure. We should have cleaned this up
6784 when we had the chance...
6786 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6788 * src/hildon-window.c: do not get the private date from HildonWindow before
6789 it passes the g_return_if_fail check. Once it's passed the test, there's no
6790 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6791 if you are only going to access the data once. Whitespace cleanups.
6793 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6795 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6796 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6798 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6804 * debian/changelog: Updating.
6806 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6808 * src/hildon-window.c: When destroying the window, remove (if exists) the
6809 escape timeout handler. Fixes #NB59276.
6811 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6813 * src/hildon-banner.c: When realizing the widget, set the window
6814 transiency. Setting the transiency in the gobject constructor is not
6815 good, as the widget is not realized at that point. Fixes: #NB56624.
6817 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6819 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6820 Add padding for future expansions.
6822 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6824 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6825 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6826 will fake an activation on the previous to the last item of the trail, so
6827 the effect can be overrided by the developer as usual.
6828 Also change the callback for the back button to do the same thing, so its
6829 effect can be overrided too. Fixes: NB#58982
6831 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6833 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6834 HildonCaption. Fixes NB#52379.
6836 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6838 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6839 the internal state of the trail after the user has had the chance of executing
6840 his handler for the signal. Specifically, it may happen that the activated button
6841 is removed and the user still lets the default handler run. This would segfault
6844 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6846 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6847 scrollbar to the preview dialog. Fixes NB#54147.
6849 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6851 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6852 max/min year properties can be altered, so the client can modify it
6853 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6855 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6857 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6858 hildonlike by default. Fixing a problem with disappearing arrows when
6859 scrolling through months and years. Fixes NB#54127.
6861 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6863 * examples/hildon-date-editor-example.c: Adding error callback to the date
6866 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6872 * configure.ac: Updating.
6874 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6876 * configure.ac: Adding a special '--enable-xan' configure option that
6877 turns off the -Werror compilation setting. Usefull for development.
6879 * src/hildon-calendar.c:
6880 * src/hildon-number-editor.c:
6881 * src/hildon-time-picker.c: Adding the 5* multiplier to
6884 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6886 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6887 instead of g_object_ref + gtk_object_sink.
6889 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6895 * debian/changelog: Updating.
6897 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6899 * src/hildon-color-chooser-dialog.c:
6900 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6901 straight from Tommi labs.
6903 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6905 * examples/hildon-finger-example.c: Correcting the header file path.
6907 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6908 the changed signal. Fixes a small memory leak.
6910 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6914 * src/hildon-banner.c: Importing several usefull fixes from the
6915 ubuntu-mobile branch.
6917 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6919 * examples/Makefile.am:
6920 * examples/hildon-finger-example.c: Adding a finger-checking code
6923 * src/hildon-font-selection-dialog.c: Do not allocate the color
6924 structure using the g_new. Fixes NB#54061.
6926 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6928 * src/hildon-helper.c: Correcting tabs in file.
6930 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6932 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6933 control the visibility of the children.
6935 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6937 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6943 * debian/changelog: Updating.
6945 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6947 * src/hildon-bread-crumb-trail.c:
6948 (hildon_bread_crumb_trail_size_allocate):
6950 Make the back button always a square.
6952 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6954 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6955 from the .c file as it's a private file.
6957 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6959 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6960 uses slightly bigger height.
6962 * src/hildon-font-selection-dialog.c: Adding some checks before
6963 freeing memory in the font selection dialog.
6965 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6967 * src/hildon-font-selection-dialog.c: Adding a small check when
6970 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6971 buttons sensitivity on page switching.
6973 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6975 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6976 internal details of adding a bread crumb to the trail.
6978 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6984 * debian/changelog: Updating.
6986 * src/hildon-bread-crumb-trail.h:
6987 * src/hildon-bread-crumb.h: Changing the API guard to
6988 HILDON_ENABLE_UNSTABLE_API.
6990 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6998 * src/hildon-helper.h: Updating.
7000 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7008 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7012 * src/hildon-helper.h: Small fix to make the package actually compile.
7014 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7016 * src/hildon-bread-crumb-trail.h:
7017 * src/hildon-bread-crumb.h:
7019 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7020 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7022 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7024 * examples/hildon-bread-crumb-trail-example.c:
7026 * src/hildon-bread-crumb-trail.c:
7027 * src/hildon-bread-crumb-trail.h:
7028 * src/hildon-bread-crumb.c:
7029 * src/hildon-bread-crumb.h:
7030 * src/hildon-marshalers.list:
7031 * src/hildon-bread-crumb-widget.c:
7032 * src/hildon-bread-crumb-widget.h:
7034 Slight change in the widget design. The bread crumb trail API is
7035 unchanged, but HildonBreadCrumb is now an interface. A *private*
7036 implementation, hildon-bread-crumb-widget, is provided and used
7037 internally by the trail for the push_text/push_icon functions.
7039 The generic push API is still available, so anyone can implement
7040 and use its own bread crumb widget.
7042 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7044 * debian/rules: Fixing the shlibs.
7046 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7048 * src/hildon-banner.c: Fixing a problem with timed banners having
7049 their parrent destroyed before they are.
7051 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7053 * src/hildon-bread-crumb.c:
7054 * src/hildon-bread-crumb.h:
7056 Make the get_natural_size function a vfunc.
7058 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7060 * src/hildon-bread-crumb.c:
7061 * src/hildon-bread-crumb-trail.c:
7065 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7072 * debian/changelog: Updating for release.
7074 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7076 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7077 don't leak the pango layout.
7079 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7082 * examples/hildon-bread-crumb-trail-example.c:
7086 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7088 * debian/changelog: Removing the bug-fixed entries that were actually
7089 resolved as WONTFIX.
7091 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7094 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7096 * src/hildon-bread-crumb-trail.c:
7097 * src/hildon-bread-crumb-trail.h:
7098 * src/hildon-bread-crumb.c:
7099 * src/hildon-bread-crumb.h:
7103 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7105 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7106 until it's passed the type check.
7108 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7110 * examples/hildon-bread-crumb-trail-example.c
7114 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7116 * examples/Makefile.am
7117 * examples/hildon-bread-crumb-trail-example.c
7119 * src/hildon-bread-crumb-trail.c
7120 * src/hildon-bread-crumb-trail.h
7121 * src/hildon-bread-crumb.c
7122 * src/hildon-bread-crumb.h
7124 New HildonBreadCrumbTrail widget.
7126 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7128 * src/hildon-range-editor.c (hildon_range_editor_init),
7129 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7130 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7131 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7132 hildon_time_editor_class_init, hildon_time_editor_init),
7133 src/hildon-get-password-dialog.c (invalid_input,
7134 hildon_get_password_set_property, hildon_get_password_get_property,
7135 create_contents, hildon_get_password_dialog_set_max_characters),
7136 src/hildon-set-password-dialog.c (create_contents),
7137 src/hildon-date-editor.c (hildon_date_editor_init),
7138 src/hildon-login-dialog.c (hildon_login_dialog_init),
7139 src/hildon-number-editor.c (hildon_number_editor_init),
7140 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7141 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7142 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7143 configure option and adding the respective checks in the code.
7144 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7145 hildon_calendar_drag_data_received): fixed some build warnings.
7147 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7149 * debian/changelog: A 1.0.0 release notes.