1 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-entry.c (hildon_entry_refresh_contents):
4 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
5 Use "ReversedSecondaryTextColor" for the placeholder text.
7 2009-03-12 Alberto Garcia <agarcia@igalia.com>
9 * src/hildon-text-view.c: Fix compilation warning.
11 2009-03-12 Alberto Garcia <agarcia@igalia.com>
13 * src/hildon-button.c (hildon_button_class_init): Don't make
14 "title" and "value" construction properties, to prevent them from
15 overwriting labels set from derived classes.
17 * src/hildon-picker-button.c
18 (hildon_picker_button_set_selector): Allow setting a NULL selector.
19 (hildon_picker_button_class_init): Make touch-selector a
20 construction property.
22 * src/hildon-date-button.c (hildon_date_button_class_init)
23 (+hildon_date_button_constructed): Add a default date selector if
26 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
28 * src/hildon-touch-selector.c: Small documentation fixes.
30 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
32 Based on a patch by Daniel Borgmann (danielb@openismus.com)
34 * src/hildon-entry.c (hildon_entry_refresh_contents),
35 (hildon_entry_get_text), (hildon_entry_init): Do not use the
36 widget name, set the logical color directly instead and a boolean
37 showing_placeholder instead.
38 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
39 use the widget name here either.
41 Fixes: NB#105678 (HildonTextView should use logical colours
42 instead of setting widget name)
44 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
46 Patch by Daniel Elster (danielk@openismus.com)
48 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
49 Add user_data parameter.
50 (hildon_touch_selector_set_print_func_full): New function akin
51 hildon_touch_selector_set_print_func() but with support for user
52 data and a destroy callback.
53 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
54 to clean up the print function user data.
55 (hildon_touch_selector_class_init): Install dispose function.
56 (HildonTouchSelectorPrivate::print_user_data),
57 (HildonTouchSelectorPrivate::print_destroy_func): New private
59 (hildon_touch_selector_init): Initialize new private members.
60 (hildon_touch_selector_get_current_text): Pass along user data
61 to the print function.
62 (_default_print_func): Add dummy user_data to parameter list.
63 * hildon-date-selector.c (_custom_print_func): ditto,
64 * hildon-time-selector.c (_custom_print_func): ditto,
65 * hildon-touch-selector-entry.c
66 (hildon_touch_selector_entry_print_func): ditto.
68 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
70 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
72 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
74 2009-03-12 Alejandro G. Castro <alex@igalia.com>
76 * src/hildon-pannable-area.c,
77 (hildon_pannable_area_init),
78 (hildon_pannable_area_button_press_cb),
79 (hildon_pannable_area_motion_notify_cb): We have added code to
80 handle the leave and enter events when using the motion events.
82 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
84 2009-03-11 Alberto Garcia <agarcia@igalia.com>
86 * src/hildon-date-button.c (hildon_date_button_get_date)
87 (hildon_date_button_set_date): Make sure that the button has a
90 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
92 2009-03-11 Alejandro G. Castro <alex@igalia.com>
94 * src/hildon-pannable-area.c,
95 (hildon_pannable_area_class_init),
96 (hildon_pannable_area_calculate_velocity): Modify the use of the
97 force and adapt the value.
99 2009-03-10 Alberto Garcia <agarcia@igalia.com>
101 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
102 (hildon_app_menu_class_init): Hide the menu if it receives a
103 delete-event, but don't destroy it
105 Fixes: NB#104485 (Not able to address the call when application
106 menu is opened at background)
108 2009-03-10 Alberto Garcia <agarcia@igalia.com>
110 * src/hildon-app-menu.c
111 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
112 Remove the "external-border" style property, let the menu take its
113 natural size (or the one set by the window manager)
114 (hildon_app_menu_repack_items):
115 Don't reshow the menu, avoid flickers.
117 Partially fixes NB#94957 (Smoothly opened application menu)
119 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
124 * configure.ac: Bump version.
125 * debian/changelog: Updates.
127 2009-03-10 Alejandro G. Castro <alex@igalia.com>
129 * src/hildon-pannable-area.c,
130 (hildon_pannable_area_motion_notify_cb): We control that the
131 direction error margin is used just in case the movement is
132 allowed in the other direction.
134 Fixes: NB#105012 (buttons inside a pannable area not getting
135 release event when dragging/releasing)
137 2009-03-10 Alejandro G. Castro <alex@igalia.com>
139 * src/hildon-pannable-area.c,
140 (hildon_pannable_area_class_init),
141 (hildon_pannable_area_get_property),
142 (hildon_pannable_area_set_property),
143 (hildon_pannable_area_initial_effect),
144 (hildon_pannable_axis_scroll),
145 (hildon_pannable_area_button_release_cb): Reviewed the
146 overshooting effect, now it has its own max
147 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
150 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
155 * configure.ac: Bump version.
156 * debian/changelog: Updates.
158 2009-03-09 Alejandro G. Castro <alex@igalia.com>
160 * src/hildon-pannable-area.c,
161 (hildon_pannable_area_class_init): Changed the max speed, now
162 users can launch the widget very fast. Reduced the default force,
163 that way it is easier to control the launch speed.
165 2009-03-09 Alejandro G. Castro <alex@igalia.com>
167 * src/hildon-pannable-area.c,
168 (hildon_pannable_area_button_release_cb): Removed this check
169 because it causes problems when the device is overloaded.
171 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
173 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
174 add a current_text field to store the text entered in the
175 touch selector entry.
176 (_clean_current_selection): clean up the current text as well.
177 (_save_current_selection), (_restore_current_selection):
178 Save/restore the text in the entry if the selector is a
179 HildonTouchSelectorEntry.
181 Fixes: NB#102541 (value entered in the touch selector entry is not
182 shown when opened for second time)
184 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
186 * doc/hildon-sections.txt:
187 * src/hildon-touch-selector-entry.c
188 (+hildon_touch_selector_entry_get_entry):
189 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
191 Fixes: NB#104815 (I need accessor to the entry inside
192 HildonTouchSelectorEntry)
194 2009-03-06 Alberto Garcia <agarcia@igalia.com>
196 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
197 (hildon_app_menu_class_init):
198 New "filter-vertical-spacing" style property.
200 2009-03-06 Alberto Garcia <agarcia@igalia.com>
202 * src/hildon-find-toolbar.c
203 (hildon_find_toolbar_emit_close)
204 (hildon_find_toolbar_emit_invalid_input)
205 (hildon_find_toolbar_entry_activate):
206 Use g_signal_emit() instead of g_signal_emit_by_name()
208 2009-03-06 Alberto Garcia <agarcia@igalia.com>
210 Patch by Mox Soini (ext-mox.soini@nokia.com)
212 * tests/TEST-CASES.txt
213 * tests/check-hildon-banner.c
214 * tests/check-hildon-note.c
215 * src/hildon-banner.c
216 * src/hildon-code-dialog.c
217 * src/hildon-date-editor.c (real_set_calendar_icon_state)
218 * src/hildon-time-editor.c
219 * examples/hildon-lookup-example.c (main):
220 Replace obsolete icon names with new ones.
222 * src/hildon-find-toolbar-private.h:
223 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
224 (-hildon_find_toolbar_emit_search):
225 Remove find button and change icon of close button.
227 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
229 2009-03-05 Alberto Garcia <agarcia@igalia.com>
231 * src/hildon-time-button.c (hildon_time_button_new_step):
232 Use the "touch-selector" property to set the selector directly
233 when creating the object.
235 2009-03-05 Alejandro G. Castro <alex@igalia.com>
237 Added a new example application that allows tuning the pannable
238 area and replaced defines with properties in order to simplify the
239 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
240 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
241 PROP_DIRECTION_ERROR_MARGIN.
243 * examples/hildon-pannable-area-tuning-example.c: New example
245 * src/hildon-pannable-area.c,
246 (hildon_pannable_area_class_init),
247 (hildon_pannable_area_init),
248 (hildon_pannable_area_get_property),
249 (hildon_pannable_area_set_property),
250 (hildon_pannable_area_launch_fade_timeout),
251 (hildon_pannable_area_adjust_value_changed),
252 (hildon_pannable_axis_scroll),
253 (hildon_pannable_area_motion_notify_cb),
254 (hildon_pannable_area_scroll_cb),
255 (hildon_pannable_area_button_release_cb): We have converted some
256 of the defines that control the widget to properties to simplify
259 2009-03-05 Alberto Garcia <agarcia@igalia.com>
261 * src/hildon-app-menu.c (hildon_app_menu_map)
262 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
263 so it's closed if a new window appears.
265 Fixes: NB#104485 (Not able to address the call when application
266 menu is opened at background)
268 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
270 * src/hildon-color-button.c (hildon_color_button_get_property):Add
271 missing 'break' statement in in 'case' construct to avoid
274 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
276 * src/hildon-touch-selector-entry.c
277 (hildon_touch_selector_entry_get_property),
278 (hildon_touch_selector_entry_set_property): Add missing 'break'
279 statements in in 'case' constructs to avoid incorrect warnings.
281 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
283 * src/hildon-time-editor.c
284 (hildon_time_editor_get_time_separators): Do not crash if
285 the first label is NULL.
287 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
289 * src/hildon-date-selector.c (_month_days): Check for month to be
290 strictly less than 12, since otherwise we may overrun the array.
292 2009-03-04 Alberto Garcia <agarcia@igalia.com>
294 * src/hildon-date-button.c (+hildon_date_button_new_full)
295 (hildon_date_button_new, hildon_date_button_new_with_year_range)
296 (hildon_date_button_init): Set the date selector using a
297 construction property, to make it happen after HildonButton's
298 "value" property is set.
300 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
301 current date by default)
303 2009-03-04 Alberto Garcia <agarcia@igalia.com>
305 * doc/hildon-sections.txt
306 * src/hildon-program.c
307 * src/hildon-stackable-window.c
308 * src/hildon-window.c:
309 Documentation updates
311 2009-03-04 Alberto Garcia <agarcia@igalia.com>
313 * src/hildon-window-stack.c (hildon_window_stack_get_default)
314 (hildon_window_stack_new, +hildon_window_stack_set_property)
315 (+hildon_window_stack_get_property)
316 (hildon_window_stack_class_init)
317 (+hildon_window_stack_set_window_group)
318 (+hildon_window_stack_get_window_group):
319 Make the window group a construction property.
321 2009-03-04 Alberto Garcia <agarcia@igalia.com>
323 * doc/hildon-sections.txt
324 * src/hildon-stackable-window-private.h
325 * src/hildon-stackable-window.h
326 * src/hildon-stackable-window.c
327 (-hildon_stackable_window_set_app_menu)
328 (-hildon_stackable_window_get_app_menu)
329 (-hildon_stackable_window_toggle_menu)
330 (-hildon_stackable_window_finalize)
331 (hildon_stackable_window_class_init)
332 (hildon_stackable_window_init)
333 * src/hildon-window-private.h
334 * src/hildon-window.h
335 * src/hildon-window.c (hildon_window_init)
336 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
337 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
338 (hildon_window_get_main_menu, hildon_window_set_main_menu)
339 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
340 Moved all HildonAppMenu code to HildonWindow. The menu does not
341 require a HildonStackableWindow anymore.
343 * src/hildon-app-menu.c
344 * src/hildon-program.c
345 * examples/hildon-app-menu-example.c (main):
346 Update examples and documentation to reflect HildonAppMenu
349 2009-03-04 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-remote-texture.c
352 * src/hildon-animation-actor.c:
353 Don't include unused private headers.
355 2009-03-04 Alberto Garcia <agarcia@igalia.com>
357 * src/hildon-program-private.h
358 * src/hildon-program.c
359 (hildon_program_set_common_menu)
360 (hildon_program_get_common_menu)
361 (hildon_program_set_common_app_menu)
362 (hildon_program_get_common_app_menu):
363 Change common menu pointers from GtkWidget* to GtkMenu* and
364 HildonAppMenu* to avoid unnecessary casts.
366 2009-03-03 Alberto Garcia <agarcia@igalia.com>
368 * src/hildon-window.c (hildon_window_set_main_menu):
369 Removed incorrect 'Since:' tag
371 2009-03-03 Alejandro G. Castro <alex@igalia.com>
373 * src/hildon-pannable-area.c,
374 (hildon_pannable_area_calculate_velocity): We use now the
375 RATIO_TOLERANCE here to check the distance, fixed typo in the
377 (hildon_pannable_area_motion_notify_cb): We have to set the type
378 and time even if we are not sending the motion.
380 2009-03-02 Alberto Garcia <agarcia@igalia.com>
382 * doc/hildon-sections.txt
383 * src/hildon-app-menu.h
384 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
385 (+hildon_app_menu_get_filters): New methods to get the contents of
388 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
391 2009-03-02 Alberto Garcia <agarcia@igalia.com>
393 * src/hildon-app-menu.c (hildon_app_menu_popup):
396 2009-03-02 Alberto Garcia <agarcia@igalia.com>
398 * src/hildon-window.h
399 * src/hildon-window.c (+hildon_window_get_main_menu)
400 (hildon_window_get_menu): Created hildon_window_get_main_menu()
401 and deprecated hildon_window_get_menu().
403 * src/hildon-stackable-window.h
404 * src/hildon-stackable-window.c
405 (+hildon_stackable_window_set_app_menu)
406 (+hildon_stackable_window_get_app_menu)
407 (hildon_stackable_window_set_main_menu): Created
408 hildon_stackable_window_{get,set}_app_menu() and deprecated
409 hildon_stackable_window_set_main_menu().
411 * doc/hildon-sections.txt
412 * examples/hildon-app-menu-example.c (main)
413 * src/hildon-app-menu.c
414 * src/hildon-program.c:
415 Updated examples and documentation.
417 Fixes: NB#103758 (No way to obtain a menu from a
418 HildonStackableWindow)
420 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
425 * configure.ac: Bump version.
426 * debian/changelog: Updates.
428 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
430 * examples/hildon-remote-texture-example.c: Include
431 hildon-remote-texture.h explicitely.
432 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
433 applications not defining _XOPEN_SOURCE which don't require this header.
435 2009-02-27 Alberto Garcia <agarcia@igalia.com>
437 * doc/hildon-sections.txt
438 * src/hildon-app-menu.h
439 * src/hildon-app-menu.c (+hildon_app_menu_popup):
440 New function to pop up a HildonAppMenu
442 * src/hildon-stackable-window.c
443 (hildon_stackable_window_toggle_menu):
444 Use hildon_app_menu_popup() to show the menu.
446 2009-02-27 Alberto Garcia <agarcia@igalia.com>
448 * src/hildon-app-menu.c (hildon_app_menu_show)
449 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
450 menu if there's another window between it and its parent window.
452 Fixes: NB#100468 (Application menu window is launched even when a
453 new secondary-window/dialog is pending to be shown/realized)
455 2009-02-27 Alberto Garcia <agarcia@igalia.com>
457 * src/hildon-window-stack.c (hildon_window_stack_push)
458 (hildon_window_stack_pop_and_push):
459 Don't forget to push/pop the first window.
460 Reverse the window list before calling _push_list()
462 2009-02-27 Alberto Garcia <agarcia@igalia.com>
464 * src/hildon-picker-button.h
465 * src/hildon-picker-button.c (hildon_picker_button_class_init):
466 Remove "value_changed" slot to avoid ABI breakage
468 2009-02-26 Alejandro G. Castro <alex@igalia.com>
470 * src/hildon-pannable-area.c,
471 (hildon_pannable_area_realize),
472 (hildon_pannable_area_unrealize),
473 (hildon_pannable_draw_vscroll),
474 (hildon_pannable_draw_hscroll): Changed the method to handle the
475 GC used to draw the transparent scrollbar, this way we avoid
476 creating the GC all the time when drawing the scrollbars.
478 2009-02-26 Alejandro G. Castro <alex@igalia.com>
480 * src/hildon-pannable-area.c,
481 (hildon_pannable_area_init),
482 (hildon_pannable_area_remove): Removed some unnecessary casts.
483 (hildon_pannable_area_dispose): Disconnected some signals before
484 releasing the adjustments.
486 2009-02-26 Alberto Garcia <agarcia@igalia.com>
488 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
489 Make sure that all widgets contained in the toolbar are shown.
491 2009-02-25 Alberto Garcia <agarcia@igalia.com>
493 * doc/hildon-sections.txt
494 * src/hildon-picker-button.h
495 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
496 (_selection_changed, hildon_picker_button_on_dialog_response)
497 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
498 New hildon_picker_button_value_changed() method.
501 * src/hildon-picker-button-private.h
502 * src/hildon-picker-button.c (hildon_picker_button_init)
503 (+hildon_picker_button_disable_value_changed): Add protected
504 function for disabling the "value-changed" signal.
506 * src/hildon-date-button.c (hildon_date_button_set_date):
507 Don't emit "value-changed" for each one of the three columns.
509 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
510 before actual change of values)
512 2009-02-24 Alejandro G. Castro <alex@igalia.com>
514 * src/hildon-pannable-area.c,
515 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
516 for the treeview overshooting.
518 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
520 * src/hildon-banner.c (+hildon_banner_bind_style):
521 Renamed from hildon_banner_bind_label_style(), now naming the
522 banner itself as well.
523 (hildon_banner_show_information),
524 (hildon_banner_show_information_with_markup),
525 (hildon_banner_show_animation), (hildon_banner_show_progress):
526 Name the widgets and labels, based on their type.
528 See NB#98597 (Hildon Note and Hildon Banner should use themeable
531 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
533 * src/hildon-note.c (hildon_note_set_property): call
534 hildon_note_rename() on HildonNote:note-type set.
535 (hildon_note_rename): Name the note and its label, based on the
536 HildonNote:note-type property.
538 See NB#98597 (Hildon Note and Hildon Banner should use themeable
541 2009-02-24 Alejandro G. Castro <alex@igalia.com>
543 * src/hildon-pannable-area.c,
544 (hildon_pannable_area_class_init),
545 (hildon_pannable_area_motion_notify_cb): Reviewed the default
546 panning parameters, increased SPS and deceleration factor. Added
547 also a margin to control fake directions.
549 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
551 Patch by Sven Herzberg (sven@imendio.com)
553 * configure.ac: Add missing AM_PROG_CC_C_0
554 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
556 See NB#101420 (Update unit tests and fix make check)
558 2009-02-23 Alejandro G. Castro <alex@igalia.com>
560 This patch was applied before but reverted because it caused
561 problems, we have changed the main condition and tested the
562 regressions we detected before and they work ok. We have done a
563 complete review of the topmost algorithm in order to get a more
566 * src/hildon-pannable-area.c,
567 (hildon_pannable_area_get_topmost): Added a new parameter to
568 filter the the windows that do not include those events.
569 (hildon_pannable_area_button_press_cb),
570 (hildon_pannable_area_button_release_cb),
571 (hildon_pannable_get_child_widget_at): Reviewed the call the the
572 topmost function, we have added the new parameter.
574 Fixes: NB#97458 (Pannable area prevents propagation of button
577 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
580 if all columns in the selector have an item selected.
581 (_on_dialog_response): Stop "response" signal emission if there is
582 any selector column without selected items.
584 Fixes: NB#101889 (Picker dialog should not close when nothing is
585 selected in multiple selection list)
587 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
589 * src/hildon-font-selection-dialog.c
590 (hildon_font_selection_dialog_class_init),
591 (hildon_font_selection_dialog_init): Remove the preview
592 button and dialog, since previewing with default theming is likely
593 to be overcomplicated. The :preview property has now no effect.
594 Update documentation blurbs to inform about this.
596 Fixes: NB#92297 (Preview content is not clearly visible for
599 2009-02-20 Alejandro G. Castro <alex@igalia.com>
601 Reviewed the geometry that handles the children size and
602 scrollbar, now it tries a size and reviews the results depending
603 on the scrollbars visibility.
605 * src/hildon-pannable-area.c,
606 (hildon_pannable_area_realize): Fixed a typo.
607 (hildon_pannable_area_child_allocate_calculate): Added this
608 function to calculate the child allocation.
609 (hildon_pannable_area_size_allocate): Reviewed the allocation
611 (hildon_pannable_area_check_scrollbars),
612 (hildon_pannable_area_refresh): Refactored refresh function, this
613 way we can call the code handling the scrollbars without causing a
614 size_request, it is interesting in the allocate.
615 (hildon_pannable_area_init): Replace the callbacks of the
616 value_changed and changed signals to propertly deal with the
618 (hildon_pannable_area_grab_notify),
619 (hildon_pannable_area_initial_effect),
620 (hildon_pannable_area_launch_fade_timeout),
621 (hildon_pannable_area_adjust_changed),
622 (hildon_pannable_area_adjust_value_changed),
623 (hildon_pannable_area_redraw),
624 (hildon_pannable_area_button_press_cb),
625 (hildon_pannable_area_button_release_cb),
626 (hildon_pannable_area_scroll_cb),
627 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
628 code and use the new functions adjust_changed and
629 adjust_value_changed.
631 Fixes: NB#101603 (Focus is not even for the text entry boxes in
632 Contact editor dialog)
634 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
639 * configure.ac: Bump version.
640 * debian/changelog: Updates.
642 2009-02-20 Alejandro G. Castro <alex@igalia.com>
644 * src/hildon-pannable-area.c,
645 (hildon_pannable_area_get_topmost),
646 (hildon_pannable_area_button_press_cb),
647 (hildon_pannable_area_button_release_cb),
648 (hildon_pannable_get_child_widget_at): Reverted the patch for the
649 topmost function adding the event mask. We have to try a
650 differente approach because it is still causing problems (NB#9745,
653 2009-02-19 Alberto Garcia <agarcia@igalia.com>
655 * src/hildon-banner.c:
656 Update the maximum width of timed banners.
657 (force_to_wrap_truncated): Enforce the maximum text width if the
660 Fixes: NB#102413 (The text margins (wrapping) in information
661 banner should be HILDON_MARGIN_TRIPLE)
663 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
665 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
667 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
668 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
669 bound when calculating the scroll indicator position.
671 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
672 treat ->lower correctly)
674 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
676 * src/hildon-caption.c (hildon_caption_class_init): Remove the
677 expose event handling, since it is not necessary to draw the focus
680 Fixes: NB#102467 (Do not show highlight on the text in
683 2009-02-18 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
686 full height of the toolbar for the button and the label.
688 2009-02-18 Alberto Garcia <agarcia@igalia.com>
690 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
691 padding before the label and after the button.
693 2009-02-18 Alberto Garcia <agarcia@igalia.com>
695 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
697 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
698 Add a GtkVSeparator between the button and the back arrow.
699 Let the button have automatic size.
700 Set a name to the widget for theming handling.
702 Fixes: NB#101793 (Make edit toolbar the same height as window
703 title bar (use title area theming))
705 2009-02-18 Alberto Garcia <agarcia@igalia.com>
707 * src/hildon-helper.c (attach_new_color_element): Fix memory
710 Fixes: NB#102262 (memory leak in hildon_button_set_style())
712 2009-02-18 Alberto Garcia <agarcia@igalia.com>
714 * examples/hildon-button-example.c (common_buttons_window): Don't
717 2009-02-18 Alberto Garcia <agarcia@igalia.com>
719 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
720 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
722 2009-02-18 Alberto Garcia <agarcia@igalia.com>
724 * src/hildon-gtk.c: Check that the window is realized.
726 Fixes: NB#102225 (Crash setting the progress indicator to a non
729 2009-02-17 Alberto Garcia <agarcia@igalia.com>
731 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
732 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
733 instead of modifying the one in the widget style.
735 Fixes: NB#101043 (Second row of all the command button are
736 displayed in transparent mode.)
738 2009-02-17 Alberto Garcia <agarcia@igalia.com>
740 * src/hildon-date-button.c
741 * src/hildon-time-button.c: Add gettext macros
743 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
745 * src/hildon-date-button.c (hildon_date_button_new):
746 * src/hildon-time-button.c (hildon_time_button_new_step):
747 Use new logical strings to set the button default title.
749 Fixes: NB#99915 (Date and Time options are not localised in Date
752 2009-02-16 Alejandro G. Castro <alex@igalia.com>
754 * src/hildon-pannable-area.c
755 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
756 the PANNING_THRESHOLD.
758 2009-02-16 Alejandro G. Castro <alex@igalia.com>
760 * src/hildon-pannable-area.c,
761 (hildon_pannable_area_class_init): Increased the maximum speed.
762 (hildon_pannable_area_get_property),
763 (hildon_pannable_area_set_property),
764 (hildon_pannable_area_timeout): Added a new low friction mode, it
765 allows the user avoid friction when launching the widget fast
766 enough. It is interesting to traverse long lists.
768 2009-02-16 Alberto Garcia <agarcia@igalia.com>
770 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
771 (+hildon_stackable_window_delete_event): Ignore delete events if
772 the window is not the topmost one.
774 Fixes: NB#101698 (Back button long press and delete-event handling)
776 2009-02-16 Alejandro G. Castro <alex@igalia.com>
778 * src/hildon-pannable-area.c,
779 (hildon_pannable_area_motion_notify_cb): Removed the use of the
780 gtk-dnd-drag-threshold, it was too big. We have defined our own
781 dnd define and set a smaller value: PANNIG_THRESHOLD.
783 2009-02-16 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
786 user-defined icons, use always the default one.
788 Fixes: NB#101916 (Do not allow custom icons on animation banner)
790 2009-02-13 Alejandro G. Castro <alex@igalia.com>
792 This patch was applied before but reverted because it caused
793 problems, we have changed the main condition and tested the
794 regressions we detected before and they work ok.
796 * src/hildon-pannable-area.c,
797 (hildon_pannable_area_get_topmost): Added a new parameter to
798 filter the the windows that do not include those events. Added
799 also a condition when finding the window to filter windows that do
800 not ask for those events.
801 (hildon_pannable_area_button_press_cb),
802 (hildon_pannable_area_button_release_cb),
803 (hildon_pannable_get_child_widget_at): Reviewed the call the the
804 topmost function, we have added the new parameter.
806 Fixes: NB#97458 (Pannable area prevents propagation of button
809 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
811 * tests/check-hildon-color-button.c (START_TEST): do not leak
814 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
816 * src/hildon-font-selection-dialog.c
817 (hildon_font_selection_dialog_get_preview_text): Return NULL
818 instead of FALSE on the g_return_val_if_fail().
820 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
822 * src/hildon-time-selector.c (hildon_time_selector_set_time):
823 * src/hildon-date-selector.c
824 (hildon_date_selector_select_current_date):
825 Do not compare unsigned integers to be greater than or equal 0,
826 because it's always TRUE.
828 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
830 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
831 (hildon_date_selector_constructor): Do not select the current
832 date until we are handle the "changed" signal, to avoid having bogus
833 elements in the days model.
835 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
838 for num_days, since _month_days() can return a negative value.
840 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
842 * src/hildon-caption.c (hildon_caption_size_allocate):
843 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
844 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
846 Initialize allocation variables to 0, to avoid eventually using
847 unitialized variables.
849 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-bread-crumb-trail.c
852 (hildon_bread_crumb_trail_size_allocate):
853 * src/hildon-calendar.c (hildon_calendar_set_background):
854 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
855 * src/hildon-range-editor.c (hildon_range_editor_get_range):
856 * src/hildon-seekbar.c (hildon_seekbar_init):
857 * src/hildon-time-editor.c (hildon_time_editor_get_time):
858 * src/hildon-time-selector.c (hildon_time_selector_finalize):
859 * src/hildon-touch-selector-entry.c
860 (hildon_touch_selector_get_text_from_model):
861 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
862 * src/hildon-window.c (hildon_window_finalize):
864 Remove many unused variables.
866 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
868 * src/hildon-seekbar.c: (hildon_seekbar_init),
869 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
871 Remove unnecessary g_assert() calls.
873 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
875 * src/hildon-caption.c: (hildon_caption_expose),
876 (hildon_caption_set_property), (hildon_caption_init),
877 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
878 (hildon_caption_size_request), (hildon_caption_size_allocate),
879 (hildon_caption_forall), (hildon_caption_set_separator),
880 (hildon_caption_activate), (hildon_caption_set_child_expand),
881 (hildon_caption_set_label_text),
882 (hildon_caption_get_label_alignment):
884 Remove unnecessary g_assert() calls.
886 2009-02-12 Alberto Garcia <agarcia@igalia.com>
888 * src/hildon-banner.c
889 (hildon_banner_map, hildon_banner_init): Make banner temporary
890 before mapping it to avoid closing other temporary windows, but
891 make it non-temporary afterwards to avoid being closed by other
892 non-temporary windows.
893 (-hildon_banner_client_event, hildon_banner_init):
894 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
896 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
899 2009-02-11 Alberto Garcia <agarcia@igalia.com>
901 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
904 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
906 * src/hildon-remote-texture.c
907 * src/hildon-remote-texture.h
908 * src/hildon-remote-texture-private.h
909 * examples/hildon-remote-texture-example.c:
910 Updates/fixes to remote-texture and its example.
912 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
914 Patch by Mox Soini (ext-mox.soini@nokia.com)
916 * src/hildon-code-dialog.c: Update logical id.
917 * src/hildon-set-password-dialog.c: Update logical id.
919 Fixes: NB#100646 (Logical strings is shown for ok in set
920 password,Password needed dialogs)
922 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
925 * src/hildon-remote-texture.c
926 * src/hildon-remote-texture.h
927 * src/hildon-remote-texture-private.h
929 Added remote texture widget (for Clutter shared memory textures)
931 * examples/hildon-remote-texture-example.c
932 * examples/Makefile.am
933 Added example file for remote texture usage
935 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
937 * configure.ac: post release version bump.
938 * debian/changelog: version bump.
940 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
945 * configure.ac: Bump version.
946 * debian/changelog: Updates.
948 2009-02-06 Alberto Garcia <agarcia@igalia.com>
950 * src/hildon-date-selector.c (hildon_date_selector_init)
951 (hildon_date_selector_constructor): Don't connect to the "changed"
952 signal until the selector is completely constructed.
954 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
956 * src/hildon-touch-selector.c: (_create_new_column),
957 (hildon_touch_selector_append_column),
958 (hildon_touch_selector_set_column_selection_mode),
959 (hildon_touch_selector_set_active),
960 (hildon_touch_selector_select_iter):
961 Emit the HildonTouchSelector::changed signal every time selection
962 is changed in any of the methods above. This behavior was already
963 documented but not fully functional.
965 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
966 selection is programmatically changed)
968 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
970 * doc/hildon-sections.txt: Remove obsolete icon
971 sizes from here as well.
973 2009-02-05 Alberto Garcia <agarcia@igalia.com>
975 * examples/hildon-stackable-window-example.c (add_window): Remove
978 2009-02-05 Alberto Garcia <agarcia@igalia.com>
980 * src/hildon-app-menu.c
981 (hildon_app_menu_show): Check whether the parent window of a menu
982 is topmost before popping it up.
984 Fixes: NB#100468 (Application menu window is launched even when a
985 new secondary-window/dialog is pending to be shown/realized.)
987 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
989 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
992 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
994 Patch by Mox Soini (ext-mox.soini@nokia.com)
996 * src/hildon-banner.c: (hildon_banner_show_animation):
997 use stylus size instead of obsolete note size.
998 * src/hildon-defines.h: Update icon sizes.
1000 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1002 * src/hildon-touch-selector-entry.c:
1003 (hildon_touch_selector_entry_init): Disable unsupported
1005 (hildon_touch_selector_entry_get_text_column): Emit a warning
1006 if an unsupported input modes is used and explicitile state
1007 these modes in the documentation.
1009 Fixes: NB#99802 (Hildon touch selector entry not working properly
1010 for some of the input modes)
1012 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1014 * src/hildon-pannable-area.c,
1015 (hildon_pannable_area_init): Added the changed signal handlers of
1018 Fixes: NB#100320 (HildonPannableArea does not listen to
1019 GtkAdjustment "change" signals)
1021 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1023 * doc/hildon-sections.txt
1024 * src/hildon-window-private.h
1025 * src/hildon-window.h
1026 * src/hildon-window.c (hildon_window_init)
1027 (hildon_window_realize, hildon_window_unrealize)
1028 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1029 (hildon_window_size_request, hildon_window_size_allocate)
1030 (hildon_window_forall, hildon_window_show_all)
1031 (hildon_window_destroy, +paint_edit_toolbar)
1032 (+hildon_window_set_edit_toolbar):
1033 New hildon_window_set_edit_toolbar() method, to add a
1034 HildonEditToolbar to a window without having to pack it manually.
1036 Reorganize hildon_window_size_allocate()
1038 * src/hildon-edit-toolbar.c: Update documentation.
1040 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1041 example to use the new API.
1043 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1045 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1047 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1048 Remove from stack before calling parent's hide.
1050 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1052 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1053 window is removed from the middle of the stack, update the
1054 transiency of the previous one.
1056 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1059 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1062 block/unblock the signal handler if it's not actually being used.
1063 Fixes some critical warnings.
1065 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1067 Based on a patch by Iván Gómez (igomez@igalia.com)
1069 * src/hildon-banner.c
1073 * src/hildon-pannable-area.c
1074 * src/hildon-picker-dialog.c
1075 * src/hildon-wizard-dialog.h
1076 * src/hildon-wizard-dialog.c: Documentation updates.
1078 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1079 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1081 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1083 * configure.ac: post release version bump.
1084 * debian/changelog: version bump.
1086 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1091 * configure.ac: Bump version.
1092 * debian/changelog: Updates.
1094 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1097 a stock icon nor change the relief of the back arrow.
1099 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1100 graphics from theme)
1102 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1104 * src/hildon-button.c (hildon_button_set_alignment): Use
1105 priv->alignment if the button has no child yet.
1107 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1109 * src/hildon-button.c: (hildon_button_init): Set the
1110 button style during initialization to give it the proper
1113 Fixes: NB#99713 (HildonButton value label color is wrong)
1115 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1117 * src/hildon-touch-selector.c: Document
1118 hildon_touch_selector_center_on_selected()
1120 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1123 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1124 all menu items, but not the menu itself.
1125 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1126 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1127 items after adding them to the menu so keyboard accelerators work.
1128 (hildon_app_menu_show): Don't show the menu if it contains items
1129 but none of them are visible.
1131 * examples/hildon-app-menu-example.c (create_menu): Use
1132 gtk_widget_show_all() to show all menu items.
1134 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1136 * src/hildon-picker-dialog.c:
1137 (-_update_title_on_selector_changed_cb),
1138 (-_dialog_update_title): Removed.
1139 (_select_on_selector_changed_cb), (_on_dialog_response),
1140 (on_selector_columns_changed): Do not update the dialog title.
1141 (setup_interaction_mode): Do not connect to
1142 HildonTouchSelector::changed signal if there's a "done" button, as
1143 the dialog title doesn't need to be updated.
1145 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1148 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1150 Patch by Kristian Rietveld (kris@imendio.com)
1152 * src/hildon-touch-selector.c: (_create_new_column): Use new
1153 GtkTreeView::hildon-row-tapped signal to react to user interactions
1154 instead of ::changed.
1156 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1157 with some dynamic tree model)
1159 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1162 (+screen_size_changed, +label_size_request)
1163 (hildon_note_class_init): Make the Hildon information note have a
1164 minimum height, and make its text hvae a maximum width.
1166 Fixes: NB#98614 (Hildon information note (background) should have
1167 minimum height and maximum text width)
1169 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1171 * src/hildon-banner.h
1172 * src/hildon-banner.c (hildon_banner_show_information)
1173 (hildon_banner_show_informationf)
1174 (hildon_banner_show_information_with_markup): Update documentation
1175 to reflect that the icon_name parameter is not used anymore.
1176 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1177 Remove all code from these functions and mark them as deprecated.
1178 (hildon_banner_show_progress): Mark as deprecated.
1180 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1182 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1184 * src/hildon-pannable-area.c,
1185 (hildon_pannable_area_class_init),
1186 (tranparency_color),
1187 (hildon_pannable_draw_vscroll),
1188 (hildon_pannable_draw_hscroll),
1189 (hildon_pannable_area_expose_event): Added a new way to render the
1190 scrollbars of the pannable area avoiding using cairo at all. This
1191 way we improve the performance of the pannable area rendering. The
1192 cairo rendering procedure is still in the code, we can control
1193 which one to use changing the value of the define
1194 USE_CAIRO_SCROLLBARS.
1196 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1198 * configure.ac: post release version bump.
1199 * debian/changelog: version bump.
1201 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1206 * configure.ac: Bump version.
1207 * debian/changelog: Updates.
1209 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1211 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1212 banners instead of destroying them when they receive a button
1215 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1217 Reverted commit 34028, it was causing regressions, probably the
1218 topmost condition is not correct, we have to check it in more
1219 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1220 propagation of button press events)
1222 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1224 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1225 that the selection is not empty before attempting to retrieve the
1226 current ampm selection.
1228 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1230 * src/hildon-picker-button.c:
1231 (hildon_picker_button_on_dialog_response): Directly update the
1232 button contents when required instead of calling _selection_changed.
1234 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1236 * src/hildon-program.c (hildon_program_update_top_most): Update
1237 'is-topmost' property also when wm_hints is not set.
1239 Fixes: NB#98383 (is-topmost signal is not emitted when task
1240 switcher is clicked.)
1242 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1244 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1248 * src/hildon-animation-actor.c,
1249 * src/hildon-animation-actor.h: Added the animation actor class,
1250 this widget represents an animation actor for WM-assisted
1251 animation effects in the Hildon framework.
1253 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-window-stack-private.h
1256 * src/hildon-window-stack.c
1257 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1258 Avoid calling gtk_widget_show() again indirectly from
1259 hildon_stackable_window_show()
1261 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1263 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1266 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1268 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1269 (hildon_time_selector_init): Move the construction of the hours and
1270 ampm columns to the constructor to preserve the order the columns
1273 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1275 * src/hildon-picker-dialog.c:
1276 (hildon_picker_dialog_class_init): Connect a realize method.
1277 (+hildon_picker_dialog_realize): Setup the interaction mode here
1279 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1280 yet, do it during the realize instead.
1281 (_on_dialog_response):
1282 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1283 if the widget is not realized, to avoid the dialog response before it
1286 Avoid premature responses in the HildonPickerDialog that can cause it
1287 to be hidden before it's even shown.
1289 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1291 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1292 (on_selector_columns_changed), (requires_done_button),
1293 (+prepare_action_area), (setup_interaction_mode),
1294 (_hildon_picker_dialog_set_selector):
1296 Split the interaction mode setup into preparation of the
1297 action area (prepare_action_area()) and the connection of
1298 the signals in setup_interaction_mode() and update the code to
1301 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1303 * src/hildon-pannable-area.c,
1304 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1305 per second to 15, we will check if this is ok regarding
1308 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1310 * src/hildon-pannable-area.c,
1311 (hildon_pannable_axis_scroll): Avoid resize if we already have
1312 reached overshoot_max.
1314 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1316 * src/hildon-pannable-area.c,
1317 (hildon_pannable_area_init),
1318 (hildon_pannable_area_realize),
1319 (hildon_pannable_area_size_allocate),
1320 (hildon_pannable_area_map),
1321 (hildon_pannable_area_unmap),
1322 (hildon_pannable_draw_vscroll),
1323 (hildon_pannable_draw_hscroll),
1324 (hildon_pannable_area_expose_event),
1325 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1326 pannable are to avoid the expose events go to the window and
1327 redraw the window. We save this way that part of the stack and the
1328 paint_boxes. We had to change the positions of the elements when
1331 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1333 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1334 * src/hildon-color-chooser-dialog.c:
1335 (hildon_color_chooser_dialog_init):
1336 * src/hildon-font-selection-dialog.c:
1337 (hildon_font_selection_dialog_init),
1338 (hildon_font_selection_dialog_show_preview):
1339 * src/hildon-get-password-dialog.c:
1340 * src/hildon-login-dialog.c:
1341 * src/hildon-set-password-dialog.c:
1342 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1343 * src/hildon-time-picker.c: (hildon_time_picker_init):
1345 Remove obsolete logical string IDs and update to the appropriate ones.
1347 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1349 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1351 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1352 that happens if the window hasn't been realized yet.
1354 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1355 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1357 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1360 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1363 Fixes: NB#98537 (Device hangs in account settings dialog)
1365 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1367 * configure.ac: post release version bump.
1368 * debian/changelog: version bump
1370 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1375 * configure.ac: Bump version.
1376 * debian/changelog: Updates.
1378 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1380 Added a new function to the HildonTimeButton widget that allows to
1381 change the step of the minutes in the selector associated with the
1382 button: hildon_time_button_new_step
1384 * src/hildon-time-button.c,
1385 (hildon_time_button_init),
1386 (hildon_time_button_new),
1387 (hildon_time_button_new_step):
1388 * src/hildon-time-button.h: Added the new function and refactored
1390 * examples/hildon-time-button-example.c,
1391 (main): We have replaced the function without parameters with the
1392 function with the steps set to 5
1394 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1396 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1398 * src/hildon-time-selector.c,
1399 (hildon_time_selector_class_init),
1400 (hildon_time_selector_constructor),
1401 (hildon_time_selector_get_property),
1402 (hildon_time_selector_set_property),
1403 (_create_minutes_model),
1404 (hildon_time_selector_new_step),
1405 (hildon_time_selector_set_time),
1406 * src/hildon-time-selector.h: Added a new property to the
1407 HildonTimeSelector (minutes-step), we use that property to control
1408 the steps between the minutes in the list of the selector. We have
1409 added a new function to the API to create a widget changing the
1410 step: hildon_time_selector_new_step.
1412 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1414 * src/hildon-time-selector.c,
1415 (hildon_time_selector_class_init),
1416 (hildon_time_selector_constructor),
1417 (hildon_time_selector_init): Overrided the construct function when
1418 creating the time selector object. We have moved the minutes model
1419 handling code from the init to the new construction function:
1420 hildon_time_selector_constructor.
1422 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1424 * examples/hildon-date-button-example.c: (main): Use the new
1425 hildon_date_button_new_with_year_range() method in the example.
1426 * src/hildon-date-button.c:
1427 (+hildon_date_button_new_with_year_range): New public method
1428 to conveniently create a HildonDateButton with a custom year range
1429 in its HildonDateSelector.
1430 * src/hildon-date-button.h: Add the new public method definition.
1432 Fixes: NB#97908 (Not possible to change the year range in
1433 HildonDateSelector/HildonDateButton)
1435 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1437 * src/hildon-date-selector.c:
1438 (+hildon_date_selector_set_property),
1439 (+hildon_date_selector_get_property),
1440 (hildon_date_selector_class_init): Install new properties "min-year"
1441 and "max-year" to define boundaries for the year column.
1442 (_create_year_model): Use the boundary properties to populate the model.
1443 (+hildon_date_selector_new_with_year_range): New public method to
1444 create a HildonDateSelector with a user defined year range.
1445 (hildon_date_selector_select_current_date): Use the new boundaries to
1446 calculate the iterator of current year.
1447 * src/hildon-date-selector.h: Add the new public method definition.
1449 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1451 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1452 Install a constructor method.
1453 (+hildon_date_selector_construct_ui): construct the widget.
1454 (+hildon_date_selector_constructor): new constructor.
1455 (+hildon_date_selector_init): move out widget construction code to
1456 the new constructor.
1458 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1460 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1461 that there's actually a month or year selected before obtaining them.
1462 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1463 of the HildonTouchSelector::changed signal, as it was emitted on every
1464 single item selection.
1466 Fix some warnings and possible crashers due to the selection restoring.
1468 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1470 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1471 the signal handlers only after creating the dialog instead of on every
1474 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-button.c (hildon_button_init)
1477 * src/hildon-check-button.c (hildon_check_button_init)
1478 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1479 focus when clicked by default.
1481 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1483 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1486 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1488 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1489 Alejandro G. Castro (alex@igalia.com)
1491 * src/hildon-picker-dialog.c:
1492 (hildon_picker_dialog_class_init): install new "center-on-show"
1494 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1495 (hildon_picker_dialog_set_property): add setter code for the new
1497 (hildon_picker_dialog_get_property): add getter code for the new
1499 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1500 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1503 Fixes: NB#92849 (Selected item is not always visible when
1504 HildonTouchSelector is shown)
1506 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1508 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1509 Alejandro G. Castro (alex@igalia.com)
1511 * src/hildon-touch-selector.c:
1512 (_create_new_column): Do not connect to the "realize" signal of the
1514 (hildon_touch_selector_append_column): center on the selected items
1515 when a new column is appended.
1516 (hildon_touch_selector_select_iter): Factor out the code to select a
1517 column to hildon_touch_selector_scroll_to().
1518 (+search_nearest_element): Method to retrieve the nearest selected
1519 element to the visible area of the pannable area in a column.
1520 (+on_realize_cb): scroll to the initially selected item.
1521 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1522 the pannable area is realized, otherwise delay this until it is.
1523 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1524 selected items of a given column.
1525 (+hildon_touch_selector_center_on_selected): Public method to center
1526 all columns on the nearest selected item.
1527 * src/hildon-touch-selector.h: Add definition for
1528 hildon_touch_selector_center_on_selected().
1530 Implement public API to ensure visibility of all selected items in
1531 a HildonTouchSelector.
1533 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1535 Fixed a problem in the fading when calling the scroll_to API, and
1536 improve scrollbar fading handling.
1538 * src/hildon-pannable-area.c,
1539 (hildon_pannable_area_grab_notify): avoid the timeout when the
1541 (hildon_pannable_area_button_press_cb),
1542 (hildon_pannable_area_motion_notify_cb): Code style changes.
1543 (hildon_pannable_area_button_release_cb): Review the conditions
1544 when releasing the mouse button to avoid unrequired fading
1546 (hildon_pannable_area_scroll_to): Do not calculate and set the
1547 velocity if the scroll is not required.
1549 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1551 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1552 Don't check whether the new selector is NULL: it cannot be.
1553 Hold a reference to the selector while doing the replacement.
1555 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1558 unnecessary size_request in a removed widget.
1560 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1562 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1563 an unnecessary reference tracking that was leaking.
1565 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1567 Added delayed motion notify event handling, this way we can
1568 discard redrawing if more than 25 events arrive per second.
1570 * src/hildon-pannable-area.c,
1571 (hildon_pannable_area_init): Initialized the new private atributes
1572 controlling this timeout
1573 (hildon_pannable_area_dispose): Remove the timeout that controls
1574 the motion notify events.
1575 (hildon_pannable_area_scroll): Added a condition to control the
1576 use of the acceleration.
1577 (hildon_pannable_area_motion_event_scroll_timeout),
1578 (hildon_pannable_area_motion_event_scroll): Added this two
1579 functions, they handle the motion notify events inside the
1581 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1582 to the scroll method with the new function.
1583 (hildon_pannable_area_button_release_cb): We have to remove the
1584 timeout handler and move to the last position if the last motion
1585 events were not handled.
1587 Fixes: NB#97028 (Pannable area updates on every motion event)
1589 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1591 * src/hildon-pannable-area.c,
1592 (hildon_pannable_area_get_topmost): Added a new parameter to
1593 filter the the windows that do not include those events. Added
1594 also a condition when finding the window to filter windows that do
1595 not ask for those events.
1596 (hildon_pannable_area_button_press_cb),
1597 (hildon_pannable_area_button_release_cb),
1598 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1599 topmost function, we have added the new parameter.
1601 Fixes: NB#97458 (Pannable area prevents propagation of button
1604 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1606 * src/hildon-pannable-area.c,
1607 (hildon_pannable_area_initial_effect): Added controls before
1608 launching the timeout and the idle functions.
1609 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1610 of the method, in some situations it can return with TRUE and 0 in
1612 (hildon_pannable_area_button_press_cb): We do not need to set
1613 DELAY for fading out here.
1615 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1617 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1619 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1620 post-cleaning if the selection is not NULL.
1622 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1624 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1625 all items before restoring the selection.
1627 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1629 * src/hildon-touch-selector.c:
1630 (+hildon_touch_selector_unselect_all):
1631 * src/hildon-touch-selector.h: New API to unselect all items in a
1632 column of the touch selector.
1634 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1636 * src/hildon-pannable-area.c,
1637 (hildon_pannable_area_redraw): Added a call to the refresh
1638 function inside the redraw because apparently in some cases the
1639 change in the adjustment does not imply a size allocate.
1641 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1642 despite the view not being scrollable)
1644 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1646 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1647 leak. Check for NULL before attempting to set the window title.
1649 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1651 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1652 whether to show or not the 'Done' button each time the dialog is
1653 shown, as it depends on the HildonTouchSelector selection mode.
1655 Fixes: NB#96226 (In multiple selection mode Done button is shown
1656 sometimes in listpicker)
1658 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1660 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1661 for the number of columns in the HildonTouchSelector more than once.
1663 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1665 * src/hildon-touch-selector.c: Minor documentation fixes.
1667 * src/hildon-picker-dialog.c (+_dialog_update_title)
1668 (_select_on_selector_changed_cb)
1669 (_update_title_on_selector_changed_cb)
1670 (on_selector_columns_changed): Update dialog title when there's no
1671 'Done' button and also when the number of columns in the selector
1675 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1676 (+_selection_changed, hildon_picker_button_on_dialog_response)
1677 (hildon_picker_button_selector_selection_changed)
1678 (+hildon_picker_button_selector_columns_changed)
1679 (hildon_picker_button_set_selector): Update button value and emit
1680 'value-changed' when the number of columns in the selector
1684 Fixes: NB#96225 (Dialog titles are not shown according to the
1685 values selected in the list picker)
1687 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1689 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1690 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1691 New "arrow-width" and "arrow-height" style properties to set the
1692 size of the arrow button.
1693 Set name of arrow button ("hildon-edit-toolbar-arrow").
1695 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1696 graphics from theme)
1698 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1700 * src/hildon-picker-button.c:
1701 (hildon_picker_button_selector_selection_changed): Use
1702 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1703 the dialog is present.
1705 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1706 the selection is accepted in the dialog)
1708 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-color-chooser.h
1711 * src/hildon-color-chooser-dialog.h:
1712 Added G_BEGIN_DECLS and G_END_DECLS
1714 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1716 (_clean_current_selection): plug a leak in the list.
1718 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1720 * src/hildon-picker-dialog.c:
1721 (+free_path_list): Method to free a GList of GtkTreePaths.
1722 (_clean_current_selection), (_save_current_selection),
1723 (_restore_current_selection): Save the current selection in
1724 as a list of lists, to support multiple selection properly.
1726 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1728 patch by Claudio Saavedra (csaavedra@igalia.com)
1730 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1731 Store the press position.
1732 (+hildon_text_view_button_release_event): If the release position is
1733 close enough to the press position, move the cursor here. Otherwise,
1735 (hildon_text_view_class_init): Override GtkTextView press, release, and
1736 motion event handlers, disabling this way text selection through
1737 pointer interaction, and allowing the container widget to handle the
1740 Fixes: NB#95828 (HildonTextView functionality)
1742 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1744 Based on a patch by Iván Gómez (igomez@igalia.com)
1746 * src/hildon-button.[ch]
1747 * src/hildon-calendar.c
1748 * src/hildon-check-button.c
1749 * src/hildon-date-editor.c
1750 * src/hildon-date-selector.c
1751 * src/hildon-picker-button.c
1752 * src/hildon-time-editor.c
1753 * src/hildon-time-selector.c
1754 * src/hildon-touch-selector.[ch]:
1755 Documentation updates
1757 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1759 * src/hildon-pannable-area.c,
1760 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1761 threshold, it was required due to X events handling.
1763 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1765 * src/hildon-pannable-area.c,
1766 (hildon_pannable_area_grab_notify),
1767 (hildon_pannable_area_initial_effect),
1768 (hildon_pannable_area_button_press_cb),
1769 (hildon_pannable_area_button_release_cb),
1770 (hildon_pannable_area_scroll_cb),
1771 (hildon_pannable_area_scroll_to): Review the timeout management of
1772 the scrollbar, the frecuency was incorrectly set.
1774 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-picker-button.c:
1777 (+hildon_picker_button_on_dialog_response),
1778 (hildon_picker_button_clicked): Present the dialog instead of
1779 running it with gtk_dialog_run().
1781 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1784 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1787 (hildon_app_menu_finalize): When a window is hidden it doesn't
1788 emit notify::is-topmost, so make sure than the menu also
1789 disappears in that case.
1790 (parent_window_topmost_notify): Renamed from parent_window_hidden
1792 Fixes: NB#94460 (stackable window's menu is not closed when its
1795 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1797 * src/hildon-touch-selector-entry.c:
1798 (+hildon_touch_selector_entry_set_input_mode),
1799 (+hildon_touch_selector_entry_get_input_mode):
1800 * src/hildon-touch-selector-entry.h: New methods to access the input
1801 mode in the selector's entry.
1803 Fixes: NB#93410 (API required for setting IM mode in
1804 HildonTouchSelectorEntry)
1806 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1808 * configure.ac: post release version bump.
1809 * debian/changelog: version bump
1811 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1816 * configure.ac: Bump version.
1817 * debian/changelog: Updates.
1819 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1821 * src/hildon-touch-selector.c:
1822 (_hildon_touch_selector_has_multiple_selection): No need
1823 to initialize the variables here.
1825 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1827 * src/hildon-note-private.h
1828 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1829 (hildon_note_finalize, hildon_note_rebuild): Close information
1830 notes when they receive a button press.
1832 Fixes: NB#89890 (Information notes does not get disappeared after
1835 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1837 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1838 mark from the wizard title, as it's not really necessary. Also,
1839 do not display the page title if not set.
1841 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1843 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1844 (parent_window_hidden): Use the window's "is-topmost" property to
1845 detect when to hide the menu.
1847 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1849 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1850 (hildon_app_menu_finalize): If the parent window of the menu is
1851 hidden, hide the menu too.
1853 Fixes: NB#94460 (stackable window's menu is not closed when its
1856 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1859 * debian/libhildon1-examples.install
1861 * examples/Makefile.am:
1862 Use dh_install to install all examples.
1863 Use DEB_SRCDIR instead of defining SOURCE_DIR
1865 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1867 * configure.ac: post release version bump.
1868 * debian/changelog: version bump
1870 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1875 * configure.ac: bump version
1876 * debian/changelog: updates
1877 * debian/control: bump gtk+ dependency
1879 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1881 patch by Christian Dywan (christian@imendio.com)
1883 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1884 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1886 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1888 * src/hildon-check-button.c (hildon_check_button_init)
1889 (hildon_check_button_class_init, hildon_check_button_style_set)
1890 (hildon_check_button_apply_style):
1891 New "checkbox-size" style property.
1893 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1894 larger / configurable size)
1896 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1898 * configure.ac: post release version bump.
1899 * debian/changelog: version bump
1901 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1906 * configure.ac: bump version
1907 * debian/changelog: updates
1909 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1911 * doc/hildon-sections.txt
1912 * src/hildon-pannable-area.c
1913 * src/hildon-program.c
1914 * src/hildon-time-editor.c
1915 * src/hildon-touch-selector-entry.c:
1917 More documentation updates.
1919 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1921 * doc/hildon-sections.txt
1922 * src/hildon-caption.c
1923 * src/hildon-code-dialog.c
1924 * src/hildon-color-button.c
1925 * src/hildon-controlbar.c
1926 * src/hildon-date-editor.c
1927 * src/hildon-date-selector.c
1928 * src/hildon-edit-toolbar.c
1929 * src/hildon-find-toolbar.c
1930 * src/hildon-font-selection-dialog.c
1932 * src/hildon-program.c
1933 * src/hildon-range-editor.c
1934 * src/hildon-seekbar.c
1935 * src/hildon-time-editor.c
1936 * src/hildon-time-selector.c
1937 * src/hildon-volumebar-range.c
1938 * src/hildon-volumebar.c
1939 * src/hildon-vvolumebar.c
1940 * src/hildon-weekday-picker.c
1941 * src/hildon-window.c
1942 * src/hildon-wizard-dialog.c:
1944 Lots of documentation fixes.
1946 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1948 Patch contributed by Iván Gómez (igomez@igalia.com)
1950 * src/hildon-check-button.c:
1951 * src/hildon-date-button.c:
1952 * src/hildon-date-selector.c:
1953 * src/hildon-dialog.c:
1954 * src/hildon-edit-toolbar.c:
1955 * src/hildon-entry.c:
1956 * src/hildon-picker-button.c:
1957 * src/hildon-program.c:
1958 * src/hildon-text-view.c:
1959 * src/hildon-time-button.c:
1960 * src/hildon-touch-selector-entry.c:
1961 * src/hildon-window-stack.c:
1963 Add more "since" tags to the new API.
1965 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1967 * doc/hildon-sections.txt: Add below method.
1968 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1969 version for the hildonized scale.
1970 * src/hildon-gtk.h: Add the definition.
1972 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1974 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1976 * doc/hildon-sections.txt: Add missing entries for new methods.
1978 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1980 Added API to pannable are in order to get its adjustments. We
1981 added two properties to manage the values we had in the private
1984 * src/hildon-pannable-area.c:
1985 (hildon_pannable_area_class_init): Added hadjustment and
1986 vadjustment properties in order to expose horizontal and vertical
1988 (hildon_pannable_area_get_property),
1989 (hildon_pannable_area_set_property): Added code to handle the new
1991 (hildon_pannable_area_get_hadjustment),
1992 (hildon_pannable_area_get_vadjustment): API functions to get the
1994 * src/hildon-pannable-area.h:
1995 (hildon_pannable_area_get_hadjustment),
1996 (hildon_pannable_area_get_vadjustment): API functions to get the
1999 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2001 Fixed some leaks, after valgrinding.
2003 * src/hildon-touch-selector.c:
2004 (_default_print_func): Fixed a leak.
2005 (hildon_touch_selector_append_column): Fixed a leak.
2006 * src/hildon-date-button.c:
2007 (hildon_date_button_init): Fixed a leak.
2008 * src/hildon-date-selector.c
2009 (hildon_date_selector_finalize): Fixed a leak.
2011 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2013 Based on a patch by Christian Dywan (christian@imendio.com)
2015 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2017 * src/hildon-gtk.h: Add definition.
2019 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2021 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2023 * src/hildon-picker-button.c: (hildon_picker_button_init),
2024 (hildon_picker_button_new): Set the HildonButton::style property
2025 in the init method, to propagate the value to the derived classes.
2027 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-button.c: (hildon_button_class_init): Do not make
2030 the "style" property a construct property.
2032 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-wizard-dialog.h
2035 * src/hildon-wizard-dialog.c
2036 (hildon_wizard_dialog_set_forward_page_func)
2037 * src/hildon-pannable-area.h
2038 * src/hildon-pannable-area.c
2039 (hildon_pannable_area_set_size_request_policy):
2040 Documentation fixes.
2042 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2044 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2046 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2048 * doc/hildon-sections.txt: Added sections file.
2050 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/*.[ch]: Updates.
2055 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2057 * examples/hildon-progress-indicator-example.c: new file
2058 * examples/Makefile.am: include the new example program
2060 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2062 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2064 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2066 * configure.ac: post release version bump
2067 * debian/changelog: version bump
2069 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2074 * configure.ac: bump version
2075 * debian/changelog: updates
2076 * debian/control: bump gtk+ dependency
2078 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-dialog.c: Mark as deprecated.
2081 * src/hildon-dialog.h: Mark as deprecated.
2082 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2083 from HildonDialog and still work, even if
2084 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2085 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2087 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2088 maemo changes) instead)
2090 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2092 * src/hildon-pannable_area.h:
2093 * src/hildon-pannable_area.c:
2094 (hildon_pannable_area_class_init),
2095 (hildon_pannable_area_set_property),
2096 (hildon_pannable_area_get_property),
2097 (hildon_pannable_area_size_request),
2098 (hildon_pannable_area_get_size_request_policy),
2099 (hildon_pannable_area_set_size_request_policy): Added new API
2100 allowing applications to control the request policy. Now they can
2101 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2102 children allocation (HILDON_MOVEMENT_CHILDREN).
2104 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2108 (hildon_gtk_tree_view_set_ui_mode)
2109 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2110 mode of treeviews and iconviews.
2112 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2114 * src/hildon-touch-selector-entry.c:
2115 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2116 of a GtkEntry to get proper theming.
2118 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2119 widget, not GtkEntry)
2121 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2123 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2124 no HildonWizardDialogPageFunc.
2126 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2128 Patch contributed by Iván Gómez (igomez@igalia.com)
2130 * src/hildon-app-menu.c:
2131 * src/hildon-button.c:
2132 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2133 * src/hildon-stackable-window.c:
2134 * src/hildon-time-selector.c:
2135 * src/hildon-touch-selector.c:
2136 * src/hildon-window.c:
2138 Add more "since" tags to the new API in hildon 2.2.
2140 2008-12-05 Tim Janik <timj@imendio.com>
2142 Patch contributed by Christian Dywan (christian@imendio.com)
2144 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2145 HildonSizeType, which are supplied by Gtk+ now.
2147 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2149 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2150 (with maemo changes) instead)
2152 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2154 Patch contributed by Iván Gómez (igomez@igalia.com)
2156 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2159 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2161 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2162 (some_page_func), (main): Update the example to use a
2163 HildonWizardDialogPageFunc function.
2165 * src/hildon-wizard-dialog-private.h: Add private data for
2166 the HildonWizardDialogPageFunc function usage.
2168 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2169 (destroy), (hildon_wizard_dialog_init), (response),
2170 (hildon_wizard_dialog_set_forward_page_func):
2171 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2172 that applications can use to stop a HildonWizardDialog to jump to
2175 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2178 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2180 * src/hildon-program.h
2181 * src/hildon-program-private.h
2182 * src/hildon-program.c (hildon_program_init)
2183 (hildon_program_set_common_app_menu)
2184 (hildon_program_get_common_app_menu):
2185 New API for setting a common HildonAppMenu for all
2186 HildonStackableWindows registered with the HildonProgram.
2188 * src/hildon-stackable-window.c
2189 (hildon_stackable_window_toggle_menu):
2190 Use the common HildonAppMenu if a window doesn't have a specific
2193 * src/hildon-app-menu-private.h
2194 * src/hildon-app-menu.c
2195 (hildon_app_menu_get_parent_window):
2196 Function to obtain the window a HildonAppMenu is attached to.
2197 (hildon_app_menu_set_parent_window):
2198 Hide the menu if the parent window is set to NULL.
2200 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2202 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2203 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2204 search widget to popup.
2206 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2208 * configure.ac: post release version bump
2209 * debian/changelog: version bump
2211 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2216 * configure.ac: bump version
2217 * debian/changelog: updates
2219 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2221 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2223 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2224 (hildon_window_stack_window_realized)
2225 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2226 Set the leader GdkWindow when a window is stacked and realized,
2227 unset it when it's unstacked.
2228 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2230 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2232 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2234 * src/hildon-stackable-window.h
2235 * src/hildon-window-stack.h:
2236 Protect definition of HildonWindowStack using the preprocessor.
2238 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2240 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2241 Fix warning if all menu items are hidden.
2243 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2245 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2247 * src/hildon-controlbar.c:
2248 * src/hildon-hvolumebar.c:
2249 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2250 Multiple scale size defines updates.
2252 Fixes: NB#94322 (Scale Updates)
2254 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2256 * examples/hildon-app-menu-example.c (create_menu)
2257 Show items after adding them to the menu, as in the future the
2258 menu will no longer call gtk_widget_show() on the added items.
2260 * src/hildon-app-menu.c:
2261 Update example as explained above.
2263 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2265 * src/hildon-app-menu.c
2266 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2267 Make sure that all menu items have finger height.
2269 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2271 * src/hildon-picker-dialog.c:
2272 (_on_dialog_response), (_save_current_selection),
2273 (_restore_current_selection), (_clean_current_selection),
2274 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2275 Defined new functions in order to save the current internal selector
2276 selection previous open the dialog, in case that the use cancel the
2277 interaction, so the widget restores the previous selection.
2279 Fixes: NB#92032 (In calendar application, date values in 'new event'
2282 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2284 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-button.c: Add a reference to the button examples in
2287 hildon-button-example.c
2289 * examples/hildon-button-example.c: Added examples of the most
2290 common button layouts.
2292 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-app-menu.c (hildon_app_menu_show)
2295 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2297 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2299 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-picker-dialog.c:
2302 (hildon_picker_dialog_init): Initialize the signal id for
2303 HildonTouchSelector::columns-changed.
2304 (+on_selector_columns_changed): Set up the interaction mode everytime a
2305 column is added or removed from the HildonTouchSelector.
2306 (_hildon_picker_dialog_set_selector): Connect to
2307 HildonTouchSelector::columns-changed and keep track of it.
2309 Make sure to update the interaction mode of the dialog everytime a
2310 column is added or removed in the HildonTouchSelector.
2312 Fixes: NB#93228 (Done button is not shown always in listpicker)
2314 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2316 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2317 a new ::columns-changed signal.
2318 (hildon_touch_selector_append_column): Emit ::columns-changed.
2319 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2321 Add a ::columns-changed signal, emitted when the number of columns in a
2322 HildonTouchSelector changes.
2324 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2326 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2327 (_hildon_picker_dialog_set_selector): Factor out the code
2328 to set up the dialog interaction mode.
2330 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2332 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2333 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2334 to signal_changed_id.
2336 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2338 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2341 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2343 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2344 Updated the logical ids related to ampm format, as now it is required to
2345 show it correctly localized even on languages with no default
2346 abbreviations for am or pm
2347 (_check_am_pm_format): check correctly the 24h format gconf property
2349 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2351 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2353 * src/hildon-button.c: Documentation updates.
2355 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2357 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2358 * src/hildon-caption.c: (hildon_caption_class_init):
2359 * src/hildon-color-button.c: (hildon_color_button_class_init):
2360 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2361 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2362 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2363 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2365 Remove deprecated GTK+ marshalers and replace them with the ones
2366 provided by GLib, for those available, add a marshaler for
2367 BOOLEAN:VOID, which is not available in GLib, and use it.
2369 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2372 the text from the previous column if there is no
2373 HildonTouchSelectorColumn::text-property set.
2375 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-button.h
2378 * src/hildon-button.c (hildon_button_set_property)
2379 (hildon_button_get_property, hildon_button_class_init)
2380 (hildon_button_set_style, hildon_button_get_style):
2381 New "style" property to change the visual appearance of the
2384 * src/hildon-picker-button.c (hildon_picker_button_new):
2385 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2387 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2388 HildonButton look like PickerButton)
2390 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2392 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2393 column while building the default string.
2395 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2398 scroll indicator by default.
2400 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2402 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2404 * src/hildon-main.c: Fix the documentation for hildon_init()
2406 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2408 * doc/hildon-docs.sgml
2412 * src/hildon-window-stack-private.h
2413 * src/hildon-window-stack.h
2414 * src/hildon-window-stack.c:
2415 New HildonWindowStack object, that adds support for multiple
2416 stacks of windows per process.
2418 * src/hildon-stackable-window-private.h
2419 * src/hildon-stackable-window.h
2420 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2421 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2422 (hildon_stackable_window_show, hildon_stackable_window_hide)
2423 (hildon_stackable_window_class_init)
2424 (hildon_stackable_window_init):
2425 Use HildonWindowStack for stack management.
2427 * src/hildon-program.c (hildon_program_pop_window_stack)
2428 (hildon_program_peek_window_stack)
2429 (hildon_program_go_to_root_window):
2430 Add a fallback implementation to the deprecated functions using
2433 * examples/hildon-stackable-window-example.c:
2434 Use the new HildonWindowStack API.
2436 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-stackable-window-private.h
2439 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2440 (hildon_stackable_window_hide, hildon_stackable_window_init):
2441 Remove all window stack management.
2443 * src/hildon-program-private.h
2444 * src/hildon-program.h
2445 * src/hildon-program.c (hildon_program_init)
2446 (hildon_program_pop_window_stack)
2447 (hildon_program_peek_window_stack)
2448 (hildon_program_go_to_root_window):
2449 Remove all window stack management and mark functions as
2452 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-app-menu.c (hildon_app_menu_realize):
2455 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2457 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2459 * configure.ac: post release version bump
2460 * debian/changelog: version bump
2462 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2467 * configure.ac: bump version
2468 * debian/changelog: updates
2470 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2472 Based on initial code by Christian Dywan (christian@imendio.com)
2474 * doc/hildon-docs.sgml: Add section for hildon-main.
2475 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2476 * src/Makefile.am: Add new hildon-main.[ch]
2477 * src/hildon-defines.h: Update the icon sizes.
2478 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2479 new library initialization files and register icon sizes.
2480 * src/hildon-main.h: New declarations.
2481 * src/hildon.h: Include hildon-main.h
2483 Add new initialization functions to the library. These methods
2484 will register the hildon specific icon sizes and can be used in the
2485 future for other hildon specific bits.
2487 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2489 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2491 * src/hildon-window.c: (hildon_window_realize),
2492 (hildon_window_notify), (-hildon_window_update_title): Do not set
2493 the application name in the window title.
2495 Fixes: NB#89754 (Applications shouldn't display their names in the
2498 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2500 * src/hildon-note-private.h:
2501 * src/hildon-note.c: (hildon_note_set_property),
2502 (hildon_note_get_property), (hildon_note_class_init),
2503 (hildon_note_init), (hildon_note_finalize),
2504 (hildon_note_new_confirmation_with_icon_name),
2505 (hildon_note_new_information_with_icon_name):
2507 No need to mark as deprecated the actual code. Revert
2508 to avoid missing symbols in widgets using deprecated API.
2510 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2512 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2514 * src/hildon-volumebar.h
2515 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2516 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2518 * src/hildon-helper.h
2519 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2520 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2522 * examples/Makefile.am:
2523 Deprecate hildon-insensitive-example
2525 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2527 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2529 * examples/hildon-pannable-area-buttons-scroll-example.c:
2530 Make all buttons finger height
2532 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2534 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2536 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2537 update the day model only if it is really required, and to avoid the
2538 full-reconstruction aproach. Now it only add or remove the required days.
2540 The purpose of this is avoid superfluous HildonTouchSelector::changed
2543 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2544 with strange parameters)
2546 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2548 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2550 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2551 the WINDOW_TYPE property.
2553 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2555 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2558 Fix dependency to allow parallel compilation with make -jX
2560 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2563 color frame and some minor tweaks to make it more consistent with
2566 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2567 highlighted but not visible)
2569 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2571 * examples/Makefile.am: Fixed typo in the Makefile.am.
2573 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2575 Reviewed the use of MAEMO_GTK define, now we add the define in the
2576 compilation line, and we also add it to the pc file.
2578 * configure.ac: Added MAEMO_GTK define to the compilation command
2579 and removed it from the config.h.
2581 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2582 do not have to take care about this define if the library was
2586 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2588 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2590 * examples/Makefile.am,
2591 * examples/hildon-pannable-area-buttons-scroll-example.c,
2592 * examples/hildon-pannable-area-gesture-signals-example.c,
2593 * examples/hildon-pannable-area-scroll-jump-example.c,
2594 * examples/hildon-pannable-area-tree-view-example.c:
2595 Renamed the pannable area examples, now they have more meaningful
2598 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2600 * src/hildon-touch-selector.c:
2601 (hildon_touch_selector_set_column_selection_mode): Used of
2602 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2603 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2604 to avoid re-seting the same selection mode.
2606 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2607 breaks HildonPickerDialog)
2609 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2611 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2612 conditional in the Makefile.am
2614 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2617 Remove unused methods.
2619 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2621 * src/hildon-button.c (hildon_button_init):
2622 Make button images center-aligned by default
2624 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2627 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2628 activated, we have to think about how to deal with both defines
2629 MAEMO_GTK and MAEMO_CHANGES.
2631 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2633 * examples/hildon-app-menu-example.c (create_menu): Make all
2634 buttons finger size.
2636 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2638 Fixed the compilation without maemo gtk adding ifdefs with
2639 MAEMO_GTK define to the code, we have to check this version more
2642 * examples/Makefile.am: Added control to avoid some examples that
2643 just make sense with maemo gtk.
2646 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2647 hildon modes with the define.
2649 * examples/hildon-edit-toolbar-example.c,
2650 (create_icon_view): Create the icon view without hildon-gtk
2651 helpers if we are not using maemo gtk.
2653 * src/hildon-touch-selector.c,
2654 (_create_new_column): Create the treeview without hildon-gtk
2655 helpers if we are not using maemo gtk.
2657 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2659 * src/hildon-pnnable-area.c,
2660 (hildon_pannable_area_dispose),
2661 (hildon_pannable_area_button_press_cb),
2662 (hildon_pannable_area_child_mapped),
2663 (hildon_pannable_area_add),
2664 (hildon_pannable_area_remove): Added code to control the position
2665 of the event_window when adding and removing children from the
2666 pannable. We have to raise the event window when the child is
2669 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2670 selection mode using custom widget inside pannable)
2672 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2674 * configure.ac: post release version bump
2675 * debian/changelog: version bump
2677 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2682 * configure.ac: bump version
2683 * debian/changelog: updates
2685 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2687 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2688 search mode, in order to avoid lose the focus on the treeview when
2689 a hw key (like enter) is pressed.
2691 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2692 in HildonDateSelector dialog)
2694 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2696 * debian/rules: Added --enable-maintainer-mode
2697 * Makefile.am: Added ACLOCAL_AMFLAGS
2699 This allows to properly regenerate the Makefiles if you modify the
2700 configure.ac or any Makefile.am.
2702 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2704 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2705 properties, not needed at all.
2707 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2711 * src/hildon-note.c: (hildon_note_set_property),
2712 (hildon_note_get_property), (hildon_note_class_init),
2713 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2714 (hildon_note_new_confirmation_add_buttons): Remove icons.
2715 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2716 (hildon_note_new_information_with_icon_name): Deprecate.
2717 (hildon_note_new_confirmation): Act directly, without calling
2718 the deprecated constructor.
2719 (hildon_note_new_information): Act directly, without calling
2720 the deprecated constructor.
2721 * src/hildon-note.h: Mark deprecate methods as such.
2722 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2723 not run tests on the deprecated methods if built with deprecation
2726 Fixes: NB#91688 (Never show icons in information notes/confirmation
2729 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2732 (hildon_app_menu_key_press): Remove leftover usage of the
2733 private structure in HildonAppMenu struct.
2734 * src/hildon-app-menu.h: Remove leftover private structure
2735 from the HildonAppMenu struct.
2737 Fixes a crasher when using the HildonAppMenu.
2739 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2741 * src/hildon-picker-dialog.c: Use appropriate logical id
2742 for the default "Done" text.
2744 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2746 * configure.ac: post release version bump
2747 * debian/changelog: version bump
2749 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2751 Modified the way to scroll to the current selection just when the touch
2752 selector is shown on the screen, avoiding a g_idle. Added too a property
2753 to configure this behaviour. See hildon_pannable_area_jump_to_child
2754 documentation for more information.
2756 * src/hildon-touch-selector.c
2757 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2758 Added 'initial-scroll' property
2759 (hildon_touch_selector_set_property): Added
2760 (hildon_touch_selector_map): Removed as not required anymore
2761 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2762 only a concrete column, instead of iterate along all the columns
2764 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2769 * configure.ac: bump version
2770 * debian/changelog: updates
2772 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2774 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2775 compilation time warnings.
2777 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2779 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2780 the default value for HildonPannableArea::mov-mode to
2781 HILDON_PANNABLE_AREA_MODE_VERT.
2783 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2785 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2787 Reverting following commit:
2789 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-app-menu-private.h
2792 * src/hildon-app-menu.[ch]
2793 * src/hildon-button.[ch]
2794 * src/hildon-check-button.[ch]
2795 * src/hildon-entry.[ch]
2796 * src/hildon-pannable-area.[ch]
2797 * src/hildon-text-view.[ch]:
2798 Added private field to the object's structure.
2800 because it causes an ABI breakage. We will need to introduce these
2801 changes later at some point. See NB#91636 for an extensive
2802 explanation and status.
2804 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2806 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2808 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2809 remove special cases that are no longer necessary.
2811 Fixes: NB#91016 (Change toolbar sizes, simplification)
2813 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2816 is shown in the cancel note.
2818 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2820 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2821 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2822 (hildon_seekbar_init): Remove steppers, remove expose event.
2823 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2825 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2827 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2830 label font to "SmallSystemFont" for vertically arranged buttons.
2832 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2835 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-check-button.c
2838 (hildon_check_button_set_active, hildon_check_button_clicked):
2839 Don't access private parts directly, use getters instead.
2841 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-check-button.c (hildon_check_button_new):
2844 Align the contents of the check button to the left.
2846 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2848 * src/hildon-pannable-area.c,
2849 (hildon_pannable_area_scroll_to),
2850 (hildon_pannable_area_jump_to),
2851 (hildon_pannable_area_scroll_to_child),
2852 (hildon_pannable_area_jump_to_child): Replace the mapped
2853 precondition of these functions with the realized, it is the
2854 correct state of the widget in this case. Changed the
2855 documentation according to this modification.
2857 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2859 Added a new EXTRA_CFLAGS option to add the deprecated define to
2860 the compilation command. This way we can avoid using the define in
2861 the documentation compilation.
2863 * configure.ac: Defined EXTRA_CFLAGS.
2865 * examples/Makefile.am:
2867 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2869 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2871 * src/hildon-picker-dialog.c:
2872 Defined a utility macro with the desired touch selector height
2873 Removed currently unused separator, and title_label variables from
2875 (hildon_picker_dialog_init): Removed code related to the creation
2876 of unused private variables title_label and separator.
2877 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2878 to ensure correct visualization of the touch selector inside the dialog.
2879 * src/hildon-touch-selector.c
2880 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2881 ensure a concrete height of the widget.
2883 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2886 * tests/Makefile.am:
2888 Remove spurious whitespaces.
2890 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2892 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2893 compilation warning after the cancel button removal.
2895 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2897 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2899 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2900 Makefile.am, that way we can choose not to compile some examples
2901 and tests of the deprecated widgets.
2903 * examples/Makefile.am: Divided the sources in deprecated and
2906 * src/Makefile.am: Added undef statement of the deprecated
2907 symbol to the enums file generation process.
2909 * src/hildon-color-chooser-dialog.c
2910 * src/hildon-color-chooser-dialog.h
2911 * src/hildon-color-button.c
2912 * src/hildon-color-button.h
2913 * src/hildon-color-chooser.c
2914 * src/hildon-color-chooser.h
2915 * src/hildon-controlbar.c
2916 * src/hildon-controlbar.h
2917 * src/hildon-date-editor.c
2918 * src/hildon-date-editor.h
2919 * src/hildon-hvolumebar.c
2920 * src/hildon-hvolumebar.h
2921 * src/hildon-private.c
2922 * src/hildon-private.h
2923 * src/hildon-range-editor.c
2924 * src/hildon-range-editor.h
2925 * src/hildon-seekbar.c
2926 * src/hildon-seekbar.h
2927 * src/hildon-time-editor.c
2928 * src/hildon-time-editor.h
2929 * src/hildon-time-picker.c
2930 * src/hildon-time-picker.h
2931 * src/hildon-volumebar.c
2932 * src/hildon-volumebar.h
2933 * src/hildon-vvolumebar.c
2934 * src/hildon-vvolumebar.h
2935 * src/hildon-bread-crumb-trail.h
2936 * src/hildon-bread-crumb-trail.c
2937 * src/hildon-calendar-popup.c
2938 * src/hildon-calendar-popup.h
2939 * src/hildon-weekday-picker.c:
2940 * src/hildon-weekday-picker.h:
2941 * src/hildon-bread-crumb-widget.c:
2942 * src/hildon-bread-crumb-widget.h:
2943 * src/hildon-bread-crumb.c:
2944 * src/hildon-bread-crumb.h:
2945 * src/hildon-calendar.c:
2946 * src/hildon-calendar.h:
2947 * src/hildon-caption.c:
2948 * src/hildon-code-dialog.c:
2949 * src/hildon-code-dialog.h:
2950 * src/hildon-font-selection-dialog.c:
2951 * src/hildon-font-selection-dialog.h:
2952 * src/hildon-get-password-dialog.c:
2953 * src/hildon-get-password-dialog.h:
2954 * src/hildon-login-dialog.c:
2955 * src/hildon-login-dialog.h:
2956 * src/hildon-number-editor.c:
2957 * src/hildon-number-editor.h:
2958 * src/hildon-set-password-dialog.c:
2959 * src/hildon-set-password-dialog.h:
2960 * src/hildon-sort-dialog.c:
2961 * src/hildon-sort-dialog.h: This is the list of deprecated
2964 * src/hildon-touch-selector.c:
2965 * src/hildon-window.c: Added undef statement to avoid compilation
2968 * tests/Makefile.am: Divided the sources in deprecated and
2971 * tests/check_test.c,
2972 (configure_tests): Marked the deprecated code that was adding
2973 suites with deprecated tests.
2975 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2977 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2979 * src/hildon-touch-selector.c: (_default_print_func): Do not
2980 duplicate a string returned by gtk_tree_model_get(), it is already
2983 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2986 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2988 * src/hildon-pannable-area.c
2989 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2990 method, it had problems when adding a widget with viewport the
2991 second time. Now checks if it already has a viewport and uses it.
2993 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2996 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2998 * src/hildon-pannable-area.c,
2999 (hildon_pannable_area_scroll_to),
3000 (hildon_pannable_area_jump_to),
3001 (hildon_pannable_area_scroll_to_child),
3002 (hildon_pannable_area_jump_to_child): Added a precondition to the
3003 scroll and jump to functions: the widget must be mapped before we
3004 can safely call these functions. We have also added documentation
3005 to the functions to explain how to use them in this situation.
3008 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3010 Reviewed the threading handling of the pannable widget, we have
3011 used the gdk_threads_add_timeout function instead of the usual
3012 glib handlers. This avoids some problems with the threads.
3014 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3015 (hildon_pannable_area_initial_effect),
3016 (hildon_pannable_area_scroll_indicator_fade),
3017 (hildon_pannable_area_button_press_cb),
3018 (hildon_pannable_area_timeout),
3019 (hildon_pannable_area_motion_notify_cb),
3020 (hildon_pannable_area_button_release_cb),
3021 (hildon_pannable_area_scroll_cb),
3022 (hildon_pannable_area_scroll_to): Removed the
3023 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3024 gdk_threads_add_timeout.
3026 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3028 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3033 * configure.ac: bump version
3034 * debian/changelog: updates
3036 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3038 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3039 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3040 * src/hildon-color-chooser-dialog.c:
3041 (hildon_color_chooser_dialog_init):
3042 * src/hildon-font-selection-dialog.c:
3043 (hildon_font_selection_dialog_init):
3044 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3046 Remove all cancel/close-like dialogs, as these are not going to be
3049 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3051 * src/hildon-note.c: (hildon_note_rebuild),
3052 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3055 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3057 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3059 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3060 sure all buttons are shown, even the Cancel/Close-like ones.
3062 Fixes: NB#90861 (Custom Confirmation dialogs should be
3063 protected from cancel button removal)
3065 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3067 * debian/control: Change libhildon1-examples dependency from libhildon1
3069 * debian/libhildon1-examples.install
3071 * Makefile.am: Modified the final install directory for the examples on
3072 package libhildon1-examples
3073 * Makefile.static: Update clean target in order to remove all the binary
3076 Changes suggested by Claudio after review new libhildon1-examples package
3078 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3080 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3081 * src/hildon-touch-selector.c: Ditto.
3083 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3085 * debian/control: Added new package libhildon1-examples, in order to pack
3086 the current hildon examples as documentation
3087 * debian/rules: Not to compress .c files, modify some includes on the
3088 examples (as normally are compiled locally, but when installed it will
3089 require to include the installed libhildon1 library), and rename
3091 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3092 install all the example files on the new example package
3093 * examples/Makefile.static: Added static makefile that can be used to
3094 compile the examples, once installed the new example package
3095 * examples: Most of the examples were modified in order to grant that
3096 all use only '#include "hildon.h"', in order to be easy to prepare
3097 it on the example package
3099 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3102 * debian/libhildon1-dev.install
3103 * debian/libhildon1-doc.install:
3104 Move all gtk-doc files to a separate libhildon1-doc package.
3106 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3108 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3112 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3114 * debian/rules: Fixed a error in order to avoid unnecessary calls
3115 to autogen.sh on package building
3117 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3119 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3121 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3123 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3126 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-picker-button.c
3129 (hildon_picker_button_finalize):
3130 Free priv->done_button_text
3132 * src/hildon-time-button.c
3133 (hildon_time_button_set_time)
3134 * src/hildon-picker-button.c
3135 (hildon_picker_button_clicked)
3136 (hildon_picker_button_selector_selection_changed)
3137 (hildon_picker_button_set_selector)
3138 * src/hildon-date-button.c
3139 (hildon_date_button_set_date):
3140 Free strings returned by hildon_touch_selector_get_current_text()
3142 * src/hildon-button.c (hildon_button_construct_child):
3143 Fix leaks in priv->image and priv->label_box
3145 Fixes: NB#90535 (Memory leak in picker button)
3147 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-button.c: (hildon_button_get_property): Do not access
3150 private elements directly, use getters instead.
3152 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3154 * src/hildon-app-menu-private.h
3155 * src/hildon-app-menu.c
3156 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3157 Store the menu's parent window.
3159 * src/hildon-stackable-window.c
3160 (hildon_stackable_window_toggle_menu)
3161 (hildon_stackable_window_finalize):
3162 Set the menu's parent window when the menu is shown, unset it when
3165 * src/hildon-app-menu.c
3166 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3167 (hildon_app_menu_class_init):
3168 Send unhandled keyboard accelerators to the parent window.
3170 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3172 * src/hildon-stackable-window.c
3173 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3175 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3177 * configure.ac: post release version bump
3179 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3182 * configure.ac: Bump version
3183 * debian/changelog: Updates
3184 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3187 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3189 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3192 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3193 GtkMenu with Hildon style.
3195 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3197 * src/hildon-picker-button.c:
3198 (hildon_picker_button_set_done_button_text): Set the dialog's
3199 done button text here as well.
3201 Fixes: NB#90232 (Picker button does not set the label on done button
3202 for the second time)
3204 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3206 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3209 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3211 * src/hildon-app-menu.c (hildon_app_menu_insert)
3212 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3213 the HildonAppMenu to be activatable using keyboard accelerators
3214 when the menu is not being shown.
3216 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3218 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-stackable-window.c
3221 (hildon_stackable_window_show):
3222 Don't hide old windows automatically when new windows are shown:
3223 this is now a task for the window manager.
3224 (hildon_stackable_window_class_init)
3225 (hildon_stackable_window_hide):
3226 Remove windows from the stack everytime they're hidden.
3227 (hildon_stackable_window_realize):
3228 Don't change the _NET_WM_WINDOW_TYPE property. Use
3229 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3230 it as a stackable window.
3232 * src/hildon-program.c
3233 (hildon_program_pop_window_stack):
3234 Just hide the window to remove it from the stack.
3235 (hildon_program_go_to_root_window):
3236 Don't call gtk_widget_show(), this is now a task for the window
3239 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3241 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3243 * src/hildon-button.c
3244 (hildon_button_construct_child):
3245 Don't pack anything in the button until text or image are
3246 set. This allows adding a custom child after creating the button
3247 with hildon_button_new().
3248 (hildon_button_finalize, hildon_button_class_init)
3249 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3250 alignment and the label box even when they're not packed in the
3253 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3255 * src/hildon-touch-selector.h:
3256 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3257 currently the type definition was using GTK_TYPE_VBOX
3258 * src/hildon-touch-selector.c:
3259 Added some implementation notes in order to clarify that any other widget
3260 added without the column related API will not be included on the
3261 selection logic, and how the widget is freed, as some people ask about
3263 (hildon_touch_selector_remove): Reimplemented in order to free properly
3264 the column related data when you remove the private hbox.
3265 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3266 to get a proper HildonTouchSelectorColumn documentation
3268 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3270 * src/hildon-touch-selector-entry.c:
3271 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3272 text in the GtkEntry and there is no item selected. Fixes a
3275 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-app-menu-private.h
3278 * src/hildon-app-menu.[ch]
3279 * src/hildon-button.[ch]
3280 * src/hildon-check-button.[ch]
3281 * src/hildon-entry.[ch]
3282 * src/hildon-pannable-area.[ch]
3283 * src/hildon-text-view.[ch]:
3284 Added private field to the object's structure.
3286 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3288 * configure.ac: post-release version bump
3290 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3294 * configure.ac: pre-release version bump
3296 * debian/changelog: updates.
3298 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3301 Disconnect the handler for HildonTouchSelector::changed.
3303 (hildon_picker_button_selector_selection_changed): Update the button
3304 value if the selection change was not triggered by the
3307 (hildon_picker_button_set_selector): connect to
3308 HildonTouchSelector::changed.
3310 Fixes: NB#89650 (Picker button is not updated, when selection in
3311 selector has changed)
3313 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3315 * src/hildon-picker-dialog.c
3316 (hildon_picker_dialog_realize): Removed as not required
3317 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3318 * src/hildon-picker-button.c
3319 (_current_selector_empty): New function, checks if the selector is empty
3320 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3321 if the current selector is empty, in order to avoid to show the dialog
3322 close the dialog in this case (and shows a g_warning).
3324 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3326 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3328 * src/hildon-pannable-area.c,
3329 (hildon_pannable_area_scroll): Added clause to stop movement when
3330 the child of pannable is smaller than one page.
3331 (hildon_pannable_area_scroll_to): Added conditions to avoid
3332 starting the scrolling movement if the child is smaller than one
3333 page, the complete child is in the screen, we do not have to move.
3335 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3337 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3339 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3340 this is managed automatically by the widget when the size of the
3343 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-picker-button.c
3346 (hildon_picker_button_set_done_button_text): Make a copy of the
3347 text, and free the previous value.
3349 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-touch-selector-entry.c:
3352 (hildon_touch_selector_entry_print_func): Return the selected row's
3353 text if the entry is empty.
3355 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3358 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3360 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3362 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-check-button.h
3366 * src/hildon-check-button.c
3367 * examples/hildon-check-button-example.c:
3368 HildonCheckButton is now a new widget. 'toggled' signal added.
3370 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-program-private.h
3373 * src/hildon-program.c (hildon_program_init)
3374 (hildon_program_finalize): Removed unused variables group_leader
3375 and name from HildonProgramPrivate.
3377 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-check-button.c (hildon_check_button_set_active)
3380 (hildon_check_button_get_active, hildon_check_button_new): Use
3381 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3383 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3385 * src/hildon-touch-selector.h
3386 (hildon_touch_selector_set_column_attributes): added deprecation
3387 guard HILDON_DISABLE_DEPRECATED
3388 * src/hildon-time-selector.c
3389 (hildon_time_selector_set_time)
3390 (hildon_time_selector_get_time): Fixed a typo on documentation
3391 * src/hildon-touch-selector.c: update HildonTouchSelector and
3392 HildonTouchSelectorColumn documentation
3393 * src/hildon-touch-selector-entry.c: update "text-column" property
3395 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3396 to be added to the general documentation.
3398 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3400 * examples/hildon-pannable-area-example-4.c,
3402 * examples/hildon-pannable-area-example.c,
3403 (main): Modified the code in order to use the container add, with
3404 viewport treeviews could have problems if they are really big.
3406 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3408 * src/hildon-weekday-picker.c,
3409 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3410 the agreement regarding deprecation in the library.
3412 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3414 * examples/hildon-picker-button-multicolumn-example.c:
3415 (main): Use custom "done" button text.
3417 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3418 (hildon_picker_button_set_property),
3419 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3420 (hildon_picker_button_init),
3421 (+hildon_picker_button_get_done_button_text),
3422 (+hildon_picker_button_set_done_button_text): New methods to customize
3423 the "done" button label in the launched HildonPickerDialog. Also,
3426 * src/hildon-picker-button.h: add the public API.
3428 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3430 * src/hildon-date-selector.h:
3431 * src/hildon-picker-dialog.h:
3432 * src/hildon-time-selector.h:
3433 * src/hildon-touch-selector-column.h:
3434 * src/hildon-touch-selector.h:
3436 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3437 declarations. Fixes gtk-doc warnings.
3439 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3441 * src/hildon-picker-dialog.h
3442 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3443 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3445 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3446 long text is set as label for done button)
3448 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-dialog.c (hildon_dialog_add_button):
3451 Set fixed width to all buttons in the HildonDialog.
3453 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3455 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3457 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3458 Set widget name using class name plus "-finger" or "-thumb".
3460 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3463 'clicked' when the state of the button is manually changed.
3465 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3467 * src/hildon-app-menu.c (hildon_app_menu_realize)
3468 (hildon_app_menu_unrealize, hildon_app_menu_init)
3469 (hildon_app_menu_class_init, item_visibility_changed):
3470 Change the menu layout when the size of the screen changes.
3471 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3472 Show warning only when changing the number of colums using the
3475 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3477 * debian/compat: Set to 5
3478 * debian/control: Update dependencies.
3479 * debian/libhildon1-dbg.install: Remove.
3480 * debian/libhildon1-dev.install: Update according to cdbs paths.
3481 * debian/libhildon1.install: Update according to cdbs paths.
3482 * debian/rules: Switch to cdbs.
3484 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3486 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3487 'item' variable renamed to 'filter'
3489 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-app-menu.c (hildon_app_menu_insert)
3492 (hildon_app_menu_add_filter, remove_item_from_list)
3493 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3494 Don't leak hidden items when the menu is destroyed.
3496 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3498 * src/hildon-app-menu.c (hildon_app_menu_insert)
3499 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3500 (hildon_app_menu_set_columns, item_visibility_changed)
3501 (filter_visibility_changed, hildon_app_menu_repack_filters)
3502 (hildon_app_menu_repack_items):
3503 Repack items and filters separately.
3505 Don't repack all items, change only the ones that are needed to
3508 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3510 * src/Makefile.am: added hildon-touch-selector-column.h
3512 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3514 * src/hildon-touch-selector.c: added the property "text-column" to the
3515 class HildonTouchSelectorColumn, and related get/set functions
3516 (_default_printf_func): updated to use "text-column" property
3517 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3518 "text-column" in his documentation, as this is now included on
3519 HildonTouchSelectorColumn. The get/set_property can still be used,
3520 working as a wrapper to the concrete column "text-column" property
3521 (_text_column_modified): callback added in order to handle the signal
3522 "notify::text-column" of the concrete HildonTouchSelectorColumn
3523 (hildon_touch_selector_entry_get_text_column)
3524 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3525 modified in order to use the HildonTouchSelectorColumn "text-column"
3527 * src/hildon-time-selector.c:
3528 * src/hildon-date-selector.c:
3529 * examples/hildon-touch-selector-example.c
3530 * examples/hildon-touch-selector-multi-cells-example.c
3531 * examples/hildon-picker-button-multicolumn-example.c
3532 Set the right value to "text-column" property on the creation of a new
3533 column using hildon_touch_selector_append_column()
3535 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3537 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3539 * src/hildon-app-menu.c
3540 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3541 updating the layout of the menu, don't create all widgets again,
3542 just repack the items in their new places.
3544 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3546 * src/hildon-time-selector.c
3547 (hildon_time_selector_get_time)
3548 (hildon_time_selector_set_time)
3549 Added documentation of these public methods
3551 * src/hildon-date-button.h
3552 * src/hildon-touch-selector-column.h
3553 * src/hildon-time-button.h
3554 * src/hildon-picker-dialog.h
3555 * src/hildon-time-selector.h
3556 * src/hildon-picker-button.h
3557 * src/hildon-touch-selector.h
3558 * src/hildon-time-picker.h
3559 * src/hildon-date-selector.h
3560 * src/hildon-touch-selector-entry.h
3561 Modified in order to use hildon-widgets code style
3563 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3565 Added deprecated support to the compilation process using
3566 HILDON_DISABLE_DEPRECATED
3568 * configure.ac: Added the --disable-deprecated to the configure
3571 * src/hildon-weekday-picker.c:
3572 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3573 to use the deprecated support. We will update the other deprecated
3574 widgets status in a new patch.
3576 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3578 * configure.ac: Fixed typo with fatal warnings support, the
3579 variable name was not correct
3581 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3583 * src/hildon-app-menu.c
3584 * src/hildon-program.c: Update documentation.
3586 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3588 * configure.ac: Post-release version bump.
3590 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3595 * configure.ac: Pre-release version bump.
3596 * debian/changelog: Updates.
3598 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3600 * NEWS: Update news for previous releases.
3602 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3604 * examples/hildon-touch-selector-multi-cells-example.c:
3605 (create_selector): Update the example to use
3606 hildon_touch_selector_append_column() with a NULL renderer and set
3607 the renderers later.
3608 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3609 passed a NULL renderer. This is documented behavior now.
3611 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3612 This must be used if the developer wants full control on the layout of
3613 the renderers to be added to the column.
3615 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3617 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3619 * src/hildon-touch-selector.c: Documentation fixes.
3621 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-wizard-dialog-private.h: Remove image and box.
3624 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3625 (hildon_wizard_dialog_set_property), (response): Completely remove
3626 image/icon support, and the containers required for the layout.
3628 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3630 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-app-menu.c: Updated documentation.
3634 * src/hildon-stackable-window.c
3635 (hildon_stackable_window_set_main_menu): Unref the old menu after
3636 ref'ing the new one.
3638 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3640 * src/hildon-stackable-window.c
3641 (hildon_stackable_window_set_main_menu): Unref the previous menu
3642 instead of destroying it.
3644 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3645 floating reference and set has_user_ref_count to FALSE to make
3646 HildonAppMenu act like a normal ref-counted widget and not a
3649 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3652 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3654 * src/hildon-touch-selector-column.h: new file
3655 * src/hildon-touch-selector.h
3656 * src/hildon-touch-selector.c
3657 Implemented GtkCellLayout interface, in order to allow to configure
3658 the cell layout on each individual selector column
3659 (hildon_touch_selector_set_column_attributes): marked as deprecated
3660 * examples/hildon-touch-selector-multi-cells-example.c
3661 Example of how to use the GtkCellLayout interface on the selector
3663 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3665 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3667 * src/hildon-app-menu.h
3668 * src/hildon-app-menu.c
3669 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3670 (hildon_app_menu_append, hildon_app_menu_prepend):
3671 New methods to prepend, insert and move items in the menu.
3673 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3675 * src/hildon-wizard-dialog.c:
3677 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3679 (create_title): Update logical IDs and related code.
3680 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3682 * src/hildon-wizard-dialog.h: Note that
3683 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3684 point, as it is not used anymore.
3686 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3688 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3690 * src/hildon-note.c:
3691 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3692 shown. Do not display an icon in confirmation notes nor information
3694 (hildon_note_set_button_text): Update logical ID for cancel button.
3696 Fixes: NB#88850 (Update HildonNote button strings + signals)
3698 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3700 * src/hildon-stackable-window.c
3701 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3703 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3705 * src/hildon-app-menu-private.h
3706 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3707 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3708 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3709 temporary property 'columns' to change the number of columns.
3711 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3713 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3715 * examples/hildon-note-example.c: (on_information_clicked),
3716 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3717 debugging information.
3718 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3720 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3721 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3722 in order to close: this will be handled by the WM from now on.
3724 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3726 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3728 * src/hildon-app-menu-private.h
3729 * src/hildon-app-menu.c
3730 (hildon_app_menu_append, hildon_app_menu_add_filter)
3731 (button_visibility_changed, hildon_app_menu_apply_style)
3732 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3733 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3734 layout everytime a button (item or filter) is shown or hidden.
3736 * src/hildon-stackable-window.c
3737 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3740 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3742 * src/hildon-touch-selector.c:
3743 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3744 that the treeview inside the touch selector is in fremantle hildon mode
3745 * examples/hildon-date-button-example.c
3746 * examples/hildon-picker-button-multicolumn-example.c
3747 * examples/hildon-touch-selector-entry-example.c
3748 * examples/hildon-touch-selector-example.c
3749 * examples/hildon-time-button-example.c
3750 * examples/hildon-picker-button-example.c:
3751 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3753 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3755 * examples/hildon-text-view-example.c: (main): Remove the
3756 gtkrc bits, now handled by the theme.
3758 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3760 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3763 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3765 * po/Makefile.am: Install properly the mo files.
3766 * po/en_GB.po: Update translation, to ease testing purposes.
3768 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3770 * examples/hildon-picker-button-example.c: (main): Select an item
3771 in the selector before setting it to the button.
3773 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3775 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3776 Update button's value if the selector has an item active.
3778 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3779 'value' with the selector)
3781 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3783 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3784 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3785 (hildon_picker_button_class_init): Plug the finalize method.
3786 (hildon_picker_button_set_selector): If there's a previously set
3787 selector, unref'it before setting a new one.
3789 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3790 HildonTouchSelector)
3792 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3794 * src/hildon-touch-selector-entry.c:
3795 (hildon_touch_selector_entry_changed): Check if there is no text
3796 selected before setting the entry text.
3799 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-touch-selector.h
3802 * src/hildon-touch-selector.c
3803 (hildon_touch_selector_get_active)
3804 (hildon_touch_selector_set_active): New methods to set/get the
3805 index of the selected item.
3807 * src/hildon-picker-button.h
3808 * src/hildon-picker-button.c
3809 (hildon_picker_button_get_active)
3810 (hildon_picker_button_set_active): New methods to set/get the
3811 index of the selected item.
3813 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3815 * configure.ac: post-release version bump.
3817 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3821 * configure.ac: Pre-release version bump.
3822 * debian/changelog: Updates.
3823 * debian/control: Add myself as maintainer and depend on l10n
3826 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3828 * src/hildon-window.c
3829 (hildon_window_set_main_menu)
3830 * src/hildon-stackable-window.c
3831 (hildon_stackable_window_set_main_menu):
3832 Updated documentation.
3834 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3836 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3837 Don't free selector->priv manually.
3840 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3843 (hildon_gtk_window_set_progress_indicator):
3844 * src/hildon-gtk.h: Added the new API
3845 hildon_gtk_window_set_progress_indicator, it changes the state of
3846 the window progress hint.
3848 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-button.c
3851 * src/hildon-stackable-window.c: Minor documentation updates.
3853 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3855 * src/hildon-stackable-window.c: Updated documentation.
3857 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3859 * src/hildon-defines.h: Update margins definitions
3860 to the Fremantle sizes.
3863 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3865 * src/hildon-touch-selector.c,
3866 (_hildon_touch_selector_set_model): Cleaning the code after
3867 review, removed g_print and #if 0 from the code.
3869 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3871 * src/hildon-edit-toolbar.c: Update documentation.
3873 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3875 * src/hildon-check-button.h
3876 * src/hildon-check-button.c
3877 (hildon_check_button_set_label, hildon_check_button_get_label)
3878 * examples/hildon-check-button-example.c
3879 (button_clicked_cb):
3880 Removed deprecated methods.
3882 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3884 * src/hildon-text-view.c:
3885 Add sample code to the documentation.
3887 * src/hildon-entry.h
3888 * src/hildon-text-view.h:
3889 Minor cosmetic changes.
3891 * src/hildon-entry.c:
3892 Add sample code to the documentation.
3893 (hildon_entry_init, hildon_entry_refresh_contents):
3894 Don't allow NULL values in the placeholder.
3896 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3898 * doc/hildon-docs.sgml
3900 * examples/Makefile.am
3901 * examples/hildon-text-view-example.c
3903 * src/hildon-text-view.c
3904 * src/hildon-text-view.h
3906 New HildonTextView widget, with example.
3908 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3910 * po/POTFILES.in: Add missing files with translatable strings.
3911 Partially fixes NB#88287.
3913 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3915 * examples/hildon-pannable-area-example-2.c: (main): No need to
3916 set the cellrenderer height inside hildon touch lists, the theme does
3919 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3921 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3922 they are integrated in the theme.
3924 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3926 * examples/hildon-entry-example.c: Update the example adding
3927 widgets to modify the text and the placeholder of the HildonEntry.
3929 * src/hildon-entry.c: Show the placeholder everytime the widget
3930 is empty and loses the focus.
3932 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3934 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3936 * src/hildon-pannable-area.c,
3937 (hildon_pannable_area_size_request): Fixed bug in height
3938 requisition, avoid increasing size and add border twice.
3940 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3942 * configure.ac: postrelease version bump.
3944 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3948 * configure.ac: Prerelease version bump.
3949 * debian/changelog: update.
3950 * debian/rules: make -dbg package contain useful debugging symbols.
3952 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3954 * src/hildon-dialog.h
3955 * src/hildon-dialog.c
3956 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3957 New methods to add buttons with finger size.
3958 (hildon_dialog_new_with_buttons):
3959 Create buttons with finger size.
3961 * examples/hildon-dialog-example.c (main): Use HildonDialog
3962 methods to add buttons.
3964 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-entry.c: Updated HildonButton documentation.
3968 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3970 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3971 button value label with (FALSE, FALSE) to prevent NB#88126 from
3974 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3976 * examples/hildon-pannable-area-example.c,
3977 (main): Removed examples panning a vbox inside a pannable
3978 area. Check bug NB#87965
3980 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3982 Patch contributed by Kris Rietveld (kris@imendio.com)
3984 * src/hildon-pannable-area.c,
3985 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3986 get_size and get_position, this saves an X server roundtrip.
3988 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3990 * doc/hildon-docs.sgml
3992 * examples/Makefile.am
3993 * examples/hildon-entry-example.c
3995 * src/hildon-entry.c
3996 * src/hildon-entry.h
3998 New HildonEntry widget, with example.
4000 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4002 * src/hildon-button.c (hildon_button_construct_child): Pack the
4003 image with expand == fill == FALSE. This is a workaround for a bug
4006 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4008 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4009 labels for the text column, to make it more look more dynamic.
4011 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4013 * src/hildon-time-selector.c
4014 Define gettext auxiliar macro N_
4015 (_create_minutes_model)
4016 (_create_hours_model)
4017 (_create_ampm_model): use of strftime in order to fill the model
4018 * src/hildon-date-selector.c
4019 (hildon_date_selector_finalize):
4020 (_locales_init): remove the logic related to get the name of the months
4021 using nl_langinfo, as it is not required anymore
4023 (_create_year_model)
4024 (_create_month_model)
4025 (_update_day_model): use of strftime in order to fill the model properly
4028 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4030 * src/hildon-button.h
4031 * src/hildon-button.c (hildon_button_get_image): New method to
4034 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4036 * src/hildon-touch-selector.c:
4037 (hildon_touch_selector_remove_column): Remove from the correct parent
4038 and also remove the list element and free it.
4041 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4043 * src/hildon-time-selector.c
4044 (_create_hours_model): change the range on 12h ampm format in order to use
4045 a 12-11 range instead of previous 01-12 range
4046 (hildon_time_selector_set_time): change the way to select the current time
4047 on 12h ampm format, due the change on the range
4048 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4051 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4053 * src/hildon-touch-selector.c
4054 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4055 in order to allow use this function on multiple row selection mode if
4056 the column is different that the first one
4059 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4061 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4062 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4064 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4066 * src/hildon-date-selector.h: clean some comments, now on the .c
4067 * src/hildon-date-selector.c
4068 (hildon_date_selector_select_month): first implementation
4069 (hildon_date_selector_select_day): added documentation, reimplemented
4070 using hildon_date_selector_select_current_date to avoid repeat code
4073 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4075 Reviewed interaction logic based on device experiences, refactored
4078 * src/hildon-pannable-area.c,
4079 (hildon_pannable_area_class_init): Updated default vmax speed.
4080 (hildon_pannable_area_calculate_velocity): Added this function, it
4081 avoids duplicate valocity calculation. Adjusted calculation to
4082 avoid problems with zero dist events.
4084 (hildon_pannable_area_motion_notify_cb): Now we use the
4085 calculate_velocity function.
4087 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4089 * src/hildon-date-selector.c
4090 (hildon_date_selector_select_current_date): fix the day range check
4091 as it failed using the last day of the current month
4094 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4096 * src/hildon-touch-selector.c
4097 (hildon_touch_selector_get_num_columns): added a parameter validation
4100 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4102 * examples/Makefile.am
4103 * examples/hildon-edit-toolbar-example.c: Example of the
4104 HildonEditToolbar widget.
4106 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4108 * configure.ac: postrelease version bump.
4110 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4114 * configure.ac: prerelease version bump.
4115 * debian/changelog: update.
4117 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4119 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4120 renderer to display stock icons in the touch list. Also, set the sizes
4121 to the recommended in the style guide.
4123 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4124 * src/hildon-touch-selector.h
4125 (hildon_touch_selector_set_active_iter): renamed, now is
4126 hildon_touch_selector_select_iter
4127 (hildon_touch_selector_get_active_iter): renamed, now is
4128 hildon_touch_selector_get_selected
4129 (hildon_touch_selector_unselect_iter): added
4130 * src/hildon-touch-selector.c
4131 Update after API modification (methods renamed)
4132 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4133 order to avoid problems selecting multiple elements on the column
4134 (hildon_touch_selector_unselect_iter): added the implementation
4135 * src/hildon-time-selector.c
4136 * src/hildon-date-selector.c
4137 * src/hildon-touch-selector-entry.c
4138 Update methods calls after hildon-touch-selector.h API modification (methods
4141 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4143 * src/hildon-stackable-window.c
4144 (hildon_stackable_window_finalize): Call the parent class's finalize.
4146 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4148 * examples/hildon-touch-selector-example.c: (create_selector): Use
4149 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4152 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4154 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4155 set a cell background color, to respect theming.
4157 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4159 * doc/hildon-docs.sgml
4162 * src/hildon-edit-toolbar.c
4163 * src/hildon-edit-toolbar.h
4164 * src/hildon.h: New HildonEditToolbar widget.
4166 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4168 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4171 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4172 * src/hildon-touch-selector.c
4173 (_create_new_column): use g_object_set instead of two g_object_set_property
4175 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4176 * src/hildon-touch-selector.c
4177 (_create_new_column): use of hildon_gtk_tree_view_new to create
4178 the treeview, instead of use directly g_object_new
4179 (_create_new_column): update the property name "vindicator-mode" for the
4180 new one "vscrollbar-policy"
4181 * examples/hildon-date-button-example.c
4182 * examples/hildon-picker-button-multicolumn-example.c
4183 * examples/hildon-touch-selector-entry-example.c
4184 * examples/hildon-touch-selector-example.c
4185 * examples/hildon-time-button-example.c
4186 * examples/hildon-picker-button-example.c
4187 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4188 to all the treeviews inside a pannable area.
4190 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4192 * src/hildon-button.h
4193 * src/hildon-button.c (hildon_button_init)
4194 (hildon_button_set_arrangement, hildon_button_set_alignment)
4195 (hildon_button_set_title_alignment)
4196 (hildon_button_set_value_alignment)
4197 (hildon_button_set_image_alignment)
4198 (hildon_button_construct_child): New methods to set the alignment
4199 of the individual components of the button (title, value,
4200 image). Also, new method to alter the xscale and yscale properties
4201 of the GtkAlignment inside the button, so more complex layouts can
4204 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4206 * src/hildon-button.c (hildon_button_style_set)
4207 (hildon_button_class_init, hildon_button_set_arrangement)
4208 (hildon_button_construct_child): Apply style properties
4209 correctly. Use the 'image-spacing' style property too.
4211 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4213 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4214 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4217 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4219 * src/hildon-pannable-area.c,
4220 (hildon_pannable_area_size_request): Fixed problem with
4221 pannable-area size_request.
4223 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4225 Added management for the grab-focus to a child widget, like a
4226 range, we need to fade out the scrollbar when releasing.
4228 * src/hildon-pannable-area.c,
4229 (hildon_pannable_area_init): Connected the grab-focus signal to
4231 (hildon_pannable_area_grab_notify): Added this function in order
4232 to manage the situation when the grab-focus ends. We have to
4233 fade-out the scrollbar.
4235 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4237 * src/hildon-app-menu.c: Minor documentation update.
4239 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4241 * src/hildon-app-menu.c
4242 * examples/hildon-app-menu-example.c (create_menu): Update
4243 examples and documentation to explain how to connect callbacks.
4245 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4247 * examples/hildon-button-example.c
4248 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4249 hildon_stackable_window_new instead of gtk_window_new
4251 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4253 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4254 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4255 (hildon_pannable_area_set_property),
4256 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4257 (hildon_pannable_area_unrealize),
4258 (hildon_pannable_area_size_request),
4259 (hildon_pannable_area_size_allocate),
4260 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4261 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4262 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4263 (hildon_pannable_area_initial_effect),
4264 (hildon_pannable_area_redraw),
4265 (hildon_pannable_area_scroll_indicator_fade),
4266 (hildon_pannable_area_expose_event),
4267 (hildon_pannable_area_get_topmost), (synth_crossing),
4268 (hildon_pannable_area_button_press_cb),
4269 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4270 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4271 (hildon_pannable_area_motion_notify_cb),
4272 (hildon_pannable_area_button_release_cb),
4273 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4274 (hildon_pannable_area_remove),
4275 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4276 chage the code layout to a more GtkWidget like. Review the use of
4279 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4281 * examples/hildon-pannable-area-example-4.c,
4282 (main): Modified the name of the hindicator_mode to
4285 * src/hildon-pannable-area.c,
4286 (hildon_pannable_area_class_init),
4287 (hildon_pannable_area_motion_notify_cb),
4288 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4289 we have reduced the amount of signals and managed reviewed its
4290 rationale. Changed the default decelerate value.
4292 (hildon_pannable_area_add),
4293 (hildon_pannable_area_redraw): Refactored functions.
4295 (hildon_pannable_area_init),
4296 (hildon_pannable_area_get_property),
4297 (hildon_pannable_area_set_property):
4298 (hildon_pannable_draw_vscroll),
4299 (hildon_pannable_draw_hscroll),
4300 (hildon_pannable_area_initial_effect),
4301 (hildon_pannable_area_expose_event),
4302 (hildon_pannable_area_scroll),
4303 (hildon_pannable_area_button_press_cb),
4304 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4305 and vindicator_mode with hscrollbar_policy and
4306 vscrollbar_policy. Replaced hscroll and vscroll with
4307 hscroll_visible and vscroll_visible.
4309 (hildon_pannable_area_refresh): Refactor the function, remove
4310 variables and check the calls to this function, added resize
4311 conditions in case the children change their layout.
4313 (hildon_pannable_area_size_request): Added more detailed
4314 size_request calculation.
4317 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4319 * src/hildon-color-chooser.c
4320 (init_borders): use the correct gtk_border_free instead of g_free, to
4321 avoid a crash when this widget is used (ie: the three color selection
4324 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4326 * src/hildon-check-button.c,
4327 (hildon_check_button_set_active): Fixed problem when setting the
4328 active value, the widget was not redrawn.
4330 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4332 * src/hildon-pannable-area.c,
4333 (hildon_pannable_area_refresh),
4334 (hildon_pannable_area_scroll),
4335 (hildon_pannable_area_motion_notify_cb): Small code style change.
4337 (hildon_pannable_area_class_init): Default initial_hint set to
4338 FALSE, it is not in the specs.
4340 (hildon_pannable_area_initial_effect),
4341 (hildon_pannable_area_expose_event),
4342 (hildon_pannable_area_map),
4343 (hildon_pannable_area_init): Moved the launching point of the
4344 initial effect, it was in map but the sizes where not correct in
4345 that method so we do not know if we have the reproduce it. Now it
4346 is placed in the expose_event method and uses a variable to
4347 reproduce it just once.
4349 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4351 * src/hildon-pannable-area.c,
4352 (hildon_pannable_draw_vscroll),
4353 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4354 position allowed for the scrollbars.
4356 (hildon_pannable_area_size_allocate): Small style change.
4358 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4360 * src/hildon-pannable-area.c,
4361 (hildon_pannable_area_scroll_indicator_fade),
4362 (hildon_pannable_area_button_press_cb),
4363 (hildon_pannable_area_button_release_cb),
4364 (hildon_pannable_area_scroll_cb),
4365 (hildon_pannable_area_expose_event),
4366 (hildon_pannable_area_init): Added the define parameter
4367 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4368 and refactor the fade variable.
4370 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4372 * src/hildon-pannable-area.c,
4373 (hildon_pannable_area_redraw),
4374 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4375 lines, we were reimplemeting the redraw code.
4377 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4379 * src/hildon-pannable-area.c,
4380 (hildon_pannable_area_scroll_cb),
4381 (hildon_pannable_area_realize),
4382 (hildon_pannable_area_class_init): Added scroll_event management
4383 for pannable area, now we can scroll the usual desktop method.
4385 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4386 initialization of the parameters should depend on idle_id.
4388 (hildon_pannable_area_init),
4389 (hildon_pannable_area_map): Small code style modifications
4391 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4393 * src/hildon-pannable-area.c
4394 (hildon_pannable_area_button_press_cb),
4395 (hildon_pannable_area_motion_notify_cb),
4396 (hildon_pannable_area_button_release_cb),
4397 (hildon_pannable_area_size_allocate),
4398 (hildon_pannable_area_scroll_to): Improved the timeouts
4399 management, we avoid creating them each time.
4401 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4403 * src/hildon-pannable-area.c:
4404 (hildon_pannable_area_refresh),
4405 (hildon_pannable_area_motion_notify_cb),
4406 (hildon_pannable_area_class_init):
4407 * src/hildon-pannable-area.h:
4408 * src/hildon-touch-selector.c
4409 (_create_new_column):
4410 * examples/hildon-pannable-area-example-4.c:
4411 (horizontal_movement),
4412 (vertical_movement),
4414 Replaced the names of enums in the HildonPannableArea:
4415 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4416 HILDON_MOVEMENT_MODE_*
4417 - HILDON_PANNABLE_AREA_MOV_* ->
4419 - Removed HildonPannableAreaIndicatorMode, now we
4422 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4424 * examples/hildon-pannable-area-touch-grid-example.c
4425 * examples/hildon-pannable-area-touch-list-example.c: Fix
4426 compilation warnings.
4428 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4430 * src/hildon-gtk.c (hildon_gtk_button_new)
4431 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4432 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4433 images overriding the value of the "gtk-button-images" setting.
4435 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-check-button.c (hildon_check_button_new):
4438 Instead of using a custom container, display the label and the
4439 checkbox using the standard GtkButton API.
4441 * examples/hildon-check-button-example.c (main): Don't use
4442 hildon_check_button_set_label() anymore
4444 * src/hildon-check-button.h
4445 * src/hildon-check-button.c
4446 (hildon_check_button_set_label, hildon_check_button_get_label):
4447 Set as deprecated, now we're using gtk_button_{get,set}_label()
4449 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4451 * src/hildon-pannable-area.c,
4452 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4453 GtkTreeview first line we detected it after the inclusion of the
4454 GtkWindowImpl in gtk+. We now check if the window is visible, not
4455 just if the pointer is over the window.
4456 (hildon_pannable_axis_scroll),
4457 (hildon_pannable_area_expose_event): Small style changes.
4459 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4461 * src/hildon-button.c: Update documentation.
4463 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4465 * examples/hildon-button-example.c: Add a switch to show images in
4468 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4470 * doc/hildon-docs.sgml: Some docs reorganization.
4472 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4474 * examples/hildon-pannable-area-touch-list-example.c
4476 * examples/hildon-pannable-area-touch-grid-example.c
4477 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4478 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4479 Fix memory leak when setting the tree model.
4481 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4485 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4487 * doc/hildon.types: Remove duplicated hildon_window_get_type
4488 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4489 documentation comment.
4491 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4493 * doc/Makefile.am: Complete list of private headers.
4495 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4497 * doc/hildon-docs.sgml
4498 * src/hildon-app-menu.c
4499 * src/hildon-bread-crumb.c
4500 * src/hildon-button.c
4502 * src/hildon-program.c
4503 * src/hildon-stackable-window.c
4504 * src/hildon-window.c: Lots of documentation updates.
4506 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4508 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4510 * configure.ac: Require Gtk+ 2.12.9 at least
4512 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4514 * src/hildon-pannable-area.c
4515 (hildon_pannable_area_scroll_indicator_fade),
4516 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4517 to protect the return of this timeout callbacks, avoiding deadlocks.
4519 2008-08-12 Christian Dywan <christian@imendio.com>
4522 * src/hildon-*.h: Ensure a consistent include order,
4523 include <gtk/gtk.h> instead of particular files and
4524 only include the topmost header in the gtk stack. See NB #39857
4526 2008-08-12 Christian Dywan <christian@imendio.com>
4528 * src/hildon-picker-dialog.c
4529 * src/hildon-touch-selector.c: Fix warnings about unused and
4530 uninitialized variables.
4532 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4534 * examples/Makefile.am
4535 * examples/hildon-check-button-example.c: Example of the hildon
4538 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4540 * src/hildon-window.h
4541 * src/hildon-window.c (hildon_window_class_init)
4542 (hildon_window_unset_program): Don't make
4543 hildon_window_unset_program a virtual function anymore.
4545 * src/hildon-stackable-window.c: Update documentation
4547 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4550 * doc/hildon-docs.sgml
4551 * doc/visual_index.xml
4552 * src/hildon-defines.c
4554 * src/hildon-helper.c
4555 * src/hildon-range-editor.c: Lots of documentation fixes.
4557 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4559 * examples/hildon-picker-button-multicolumn-example.c
4560 (create_touch_selector): Fix compilation warning.
4562 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4565 (hildon_pannable_area_button_release_cb)
4566 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4568 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4570 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4573 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4575 * src/hildon-bread-crumb-trail.h
4576 * src/hildon-date-editor.c
4577 * src/hildon-date-selector.c
4578 * src/hildon-pannable-area.c
4579 * src/hildon-picker-dialog.c
4580 * src/hildon-time-selector.c
4581 * src/hildon-touch-selector-entry.c
4582 * src/hildon-touch-selector.c
4583 * src/hildon-touch-selector.h: Misc documentation fixes
4585 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4587 * examples/hildon-date-editor-example.c (main): Updated date
4590 * examples/hildon-note-example.c (on_confirmation_clicked):
4591 Updated confirmation note example.
4593 * src/hildon-date-editor.c
4594 * src/hildon-note.c: Updated sample programs in documentation.
4597 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/hildon-date-button.h:
4600 * src/hildon-picker-button.h:
4601 * src/hildon-time-button.c:
4602 * src/hildon-time-button.h:
4604 Some declarations changes to allow gtk-doc to document the widgets
4607 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-date-button.c: Document the widget.
4610 * src/hildon-time-button.c: Document the widget.
4612 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4614 * src/hildon-picker-button.c: Document the widget.
4615 * src/hildon-touch-selector-entry.c: Document the widget.
4617 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4619 * doc/hildon-docs.sgml
4622 * src/hildon-check-button.h
4623 * src/hildon-check-button.c: New functions to create the Hildon
4627 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4629 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-button.h
4632 * src/hildon-button.c
4633 (hildon_button_add_title_size_group)
4634 (hildon_button_add_value_size_group)
4635 (hildon_button_add_image_size_group)
4636 (hildon_button_add_size_groups): New functions to set size groups
4637 for the button labels and image.
4638 (hildon_button_new_full): Removed
4640 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4642 * src/hildon-time-selector.c
4643 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4644 in order to avoid a crash if gconf is not available
4646 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4648 * src/hildon-button.c (hildon_button_set_arrangement)
4649 (hildon_button_construct_child): Don't construct the button child
4650 before setting the arrangement.
4652 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4654 * src/hildon-program-private.h
4655 * src/hildon-program.c
4656 * src/hildon-program.h
4657 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4658 (hildon_program_peek_window_stack)
4659 (hildon_program_pop_window_stack)
4660 (hildon_program_go_to_root_window): HildonProgram now has a
4661 separate list for stackable windows. Functions are provided to
4662 manage that list with a stack-like API.
4664 * src/hildon-stackable-window.c: Stackable window management is
4665 now much simpler with the new HildonProgram API. Windows no
4666 longer need to be manually added to the program, they're
4667 automatically pushed to the top of the stack when shown.
4669 * examples/hildon-stackable-window-example.c: Updated example to
4670 reflect the API changes.
4672 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4674 * src/hildon-touch-selector.c: Comment out unimplemented
4675 hildon_touch_selector_insert_column() to avoid a compile warning.
4677 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4679 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4680 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4681 (hildon_touch_selector_set_column_selection_mode),
4682 (_hildon_touch_selector_set_model),
4683 (hildon_touch_selector_set_model):
4685 Complete review of HildonTouchSelector documentation.
4687 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4689 * doc/hildon-docs.sgml
4693 * src/hildon-gtk.c: Convenience functions for standard Gtk
4694 widgets, used to easily perform frequent operations.
4696 * src/hildon-button-helpers.h
4697 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4699 * src/hildon-helper.h
4700 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4701 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4703 * src/hildon-button.h
4704 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4706 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4708 * src/hildon-button.c (hildon_button_init)
4709 (hildon_button_set_arrangement, hildon_button_construct_child):
4710 Pack the image and the labels inside the same GtkAlignment so
4711 gtk_button_set_alignment() can be used
4713 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4715 * src/hildon-button.h
4716 * src/hildon-button.c
4717 (hildon_button_init, hildon_button_set_image)
4718 (hildon_button_set_image_position)
4719 (hildon_button_construct_child): New functions to add an image to
4722 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4724 * src/hildon-date-button.c
4725 * src/hildon-picker-button.c
4726 * src/hildon-time-button.c
4727 * src/hildon-button.c:
4728 (hildon_button_class_init): "size-flags" renamed to "size"
4729 (hildon_button_set_title): Hide the title label if set to NULL.
4731 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4733 HildonButtonFlags split into HildonButtonArrangement (to set the
4734 button layout) and HildonSizeType (which can be used for any
4737 * src/hildon-button.h
4738 * src/hildon-button.c
4739 (hildon_button_class_init)
4740 (hildon_button_set_arrangement)
4741 (hildon_button_set_property): New "size-flags"
4742 property. "arrangement-flags" renamed to "arrangement".
4743 (hildon_button_new, hildon_button_new_with_text)
4744 (hildon_button_new_full): Constructors updated to reflect type changes.
4746 * src/hildon-helper.h
4747 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4748 to set the size of a widget.
4752 * src/hildon-button-helpers.c
4753 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4755 * src/hildon-date-button.c
4756 * src/hildon-date-button.h
4757 * src/hildon-picker-button.c
4758 * src/hildon-picker-button.h
4759 * src/hildon-time-button.c
4760 * src/hildon-time-button.h: Updated widgets to reflect
4761 HildonButton API changes.
4763 * examples/hildon-button-example.c
4764 * examples/hildon-date-button-example.c
4765 * examples/hildon-picker-button-example.c
4766 * examples/hildon-picker-button-multicolumn-example.c
4767 * examples/hildon-time-button-example.c
4768 * examples/hildon-touch-selector-entry-example.c
4769 * examples/hildon-touch-selector-example.c: Updated examples to
4770 reflect HildonButton API changes.
4772 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4774 * doc/hildon-docs.sgml:
4776 * examples/Makefile.am:
4777 * examples/hildon-touch-selector-entry-example.c:
4779 * src/hildon-touch-selector-entry.c:
4780 * src/hildon-touch-selector-entry.h:
4783 Moved HildonTouchSelectorEntry from sandbox. Added its
4784 documentation and examples.
4786 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4788 * src/hildon-touch-selector.h:
4789 * examples/hildon-picker-button-multicolumn-example.c:
4790 (hildon_touch_selector_append_text_column): Add a gboolean
4791 parameter to determine if text must be centered in the column.
4793 * src/hildon-date-selector.c: (hildon_date_selector_init):
4794 * src/hildon-time-selector.c: (hildon_time_selector_init):
4795 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4796 (create_touch_selector): Update widgets and example to reflect
4799 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-touch-selector.c:
4802 (hildon_touch_selector_set_active_iter): Set also the cursor in
4805 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4807 * doc/hildon-docs.sgml
4810 * src/hildon-toggle-button.c
4811 * src/hildon-toggle-button.h
4812 * src/hildon.h: Removed HildonToggleButton widget, a derived
4813 class is not necessary for this.
4815 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4817 * src/hildon-pannable-area.c,
4818 (hildon_pannable_area_realize),
4819 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4822 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4824 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4825 "done" button the default widget for the dialog.
4827 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4829 * src/hildon-touch-selector.c:
4830 (hildon_touch_selector_class_init),
4831 (hildon_touch_selector_get_property),
4832 (_hildon_touch_selector_set_model),
4833 (_hildon_touch_selector_has_multiple_selection),
4834 (hildon_touch_selector_has_multiple_selection):
4835 Add a "has-multiple-selection" property with a virtual
4836 has_multiple_selection() method to allow derived classes to
4837 override the default value for it. See the method and property
4838 documentation for details.
4840 * src/hildon-touch-selector.h: Add the new API.
4842 * src/hildon-picker-dialog.c: (requires_done_button): Call
4843 hildon_touch_selector_has_multiple_selection() instead of
4844 determining the need for a button itself.
4846 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4848 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4849 (_hildon_touch_selector_set_model),
4850 (hildon_touch_selector_set_model): Move working code to
4851 _hildon_touch_selector_set_mode(). Call the class method instead.
4853 * src/hildon-touch-selector.h: Add (*set_model) to
4854 HildonTouchSelectorClass.
4856 Make hildon_touch_selector_set_model() a virtual method, so that
4857 derived classes can extend it and do fancy stuff with the model.
4859 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4861 * configure.ac: Set back the tarname in AC_INIT to hildon.
4863 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4867 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4868 instead of libesd (NB#86876). Volume handling is still an open issue.
4870 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4873 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4875 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4876 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4877 derived class to ease placement of an entry widget in
4878 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4879 end, where the selector columns are packed now.
4881 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4883 * src/hildon-picker-button.c: Removed the simple _text() API.
4884 * src/hildon-picker-button.h: Likewise.
4886 * src/hildon-touch-selector.h:
4887 * src/hildon-touch-selector.c:
4888 (hildon_touch_selector_new_text),
4889 (hildon_touch_selector_append_text),
4890 (hildon_touch_selector_prepend_text),
4891 (hildon_touch_selector_insert_text):
4893 Moved the simple _text() API from HildonPickerButton to
4894 HildonTouchPicker, to provide better escalability and not to tie
4895 that API to HildonPickerButton.
4897 * examples/hildon-picker-button-example.c: (main): Example updated.
4899 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-button.c: Updated documentation.
4903 * examples/hildon-button-example.c: Add the posibility to create
4904 the buttons using horizontal layout for title and value.
4906 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4908 * src/hildon-app-menu-private.h
4909 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4910 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4911 GtkSizeGroup for the filters, use the 'homogeneous' property of
4914 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4916 * examples/hildon-button-example.c: Updated example.
4918 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4920 * doc/hildon-docs.sgml:
4923 Update documentation.
4925 * examples/Makefile.am: Update renamed examples.
4927 * examples/hildon-picker-button-multicolumn-example.c:
4928 (create_touch_selector), (main): Update after the rename.
4930 * examples/hildon-touch-picker-example.c: Removed.
4931 * examples/hildon-touch-selector-example.c: (value_changed),
4932 (create_selector), (get_visible_content), (main): Renamed from
4933 hildon-touch-picker-example.c
4935 * src/Makefile.am: Updated renamed files.
4937 * src/hildon-date-button.c: (hildon_date_button_init),
4938 (hildon_date_button_get_date), (hildon_date_button_set_date):
4939 * src/hildon-date-selector.c: (hildon_date_selector_init),
4940 (_custom_print_func), (_update_day_model),
4941 (_manage_selector_change_cb),
4942 (hildon_date_selector_select_current_date),
4943 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4944 * src/hildon-date-selector.h:
4945 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4946 (hildon_picker_button_set_property),
4947 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4948 (hildon_picker_button_init), (hildon_picker_button_new_text),
4949 (hildon_picker_button_append_text),
4950 (hildon_picker_button_prepend_text),
4951 (hildon_picker_button_insert_text),
4952 (hildon_picker_button_set_selector),
4953 (hildon_picker_button_get_selector):
4954 * src/hildon-picker-button.h:
4955 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4956 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4957 (_update_title_on_selector_changed_cb), (requires_done_button),
4958 (_hildon_picker_dialog_set_selector),
4959 (hildon_picker_dialog_set_selector),
4960 (hildon_picker_dialog_get_selector):
4961 * src/hildon-picker-dialog.h:
4962 * src/hildon-time-button.c: (hildon_time_button_init),
4963 (hildon_time_button_get_time), (hildon_time_button_set_time):
4964 * src/hildon-time-selector.c: (hildon_time_selector_init),
4965 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4966 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4967 * src/hildon-time-selector.h:
4970 Massive code updates after the rename.
4972 * src/hildon-touch-picker.c: Removed.
4973 * src/hildon-touch-picker.h: Removed.
4975 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4976 (hildon_touch_selector_init), (hildon_touch_selector_map),
4977 (hildon_touch_selector_remove), (_default_print_func),
4978 (_selection_changed_cb), (_create_new_column),
4979 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4980 (hildon_touch_selector_append_text_column),
4981 (hildon_touch_selector_remove_column),
4982 (hildon_touch_selector_set_column_attributes),
4983 (hildon_touch_selector_insert_column),
4984 (hildon_touch_selector_get_num_columns),
4985 (hildon_touch_selector_get_column_selection_mode),
4986 (hildon_touch_selector_set_column_selection_mode),
4987 (hildon_touch_selector_set_print_func),
4988 (hildon_touch_selector_get_print_func),
4989 (hildon_touch_selector_get_active_iter),
4990 (hildon_touch_selector_set_active_iter),
4991 (hildon_touch_selector_get_selected_rows),
4992 (hildon_touch_selector_get_model),
4993 (hildon_touch_selector_set_model),
4994 (hildon_touch_selector_get_current_text),
4995 (_hildon_touch_selector_center_on_selected_items):
4996 * src/hildon-touch-selector.h: Renamed from
4997 hildon-touch-picker.[ch]
4999 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5000 references, code examples, and related documentation.
5002 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5004 * doc/hildon-docs.sgml
5007 * src/hildon-toggle-button.c
5008 * src/hildon-toggle-button.h
5009 * src/hildon.h: New HildonToggleButton widget.
5011 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5013 * src/hildon-button.c: Add API documentation.
5014 (hildon_button_set_size_groups): Check input parameters
5016 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5018 * src/hildon-pannable-area.c
5019 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5020 effect after reaching the movement thredshold. This way we start
5021 using the distance after passing the thredshold.
5023 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5025 * src/hildon-button.c: (hildon_button_set_property): Use the
5026 appropriate g_value_get_flags() method.
5028 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5030 * doc/hildon-docs.sgml:
5033 Add the touch pickers, picker dialogs, and picker button widgets
5034 to the documentation.
5036 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5038 * src/hildon-button.c: (hildon_button_set_property),
5039 (hildon_button_class_init): Make "arrangement-flags" a proper
5040 G_TYPE_FLAGS derived property.
5042 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5044 * examples/Makefile.am: Add below examples.
5045 * examples/hildon-date-button-example.c:
5046 * examples/hildon-picker-button-example.c:
5047 * examples/hildon-picker-button-multicolumn-example.c:
5048 * examples/hildon-time-button-example.c:
5049 * examples/hildon-touch-picker-example.c:
5051 Add examples for the recently added touch pickers,
5052 picker dialogs, and picker button widgets.
5054 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5056 * src/hildon-button.c: Add some API documentation
5058 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5060 * src/hildon-button.h
5061 * src/hildon-button.c
5063 (hildon_button_new_with_text): New constructor to create a button
5064 with no text at all.
5065 (hildon_button_init, hildon_button_set_arrangement)
5066 (hildon_button_set_title, hildon_button_set_value)
5067 (hildon_button_set_text)
5068 (hildon_button_construct_child): Hide the value when it's not used
5069 so the rest of the text is properly aligned.
5070 Allow creating buttons with arbitrary widgets inside (not just
5071 title/value labels).
5073 * examples/hildon-button-example.c (vertical_buttons_window)
5074 (horizontal_buttons_window): Update example to use new API.
5076 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5078 * src/Makefile.am: Added HildonTimeButton.
5079 * src/hildon-time-button.c: Added missing LGPL header.
5080 * src/hildon-time-button.h: Added missing LGPL header.
5081 * src/hildon.h: Add hildon-time-button.h
5083 Copied HildonTimeButton from sandbox to trunk. Future work on this
5084 widget must take place in trunk.
5086 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5088 * src/Makefile.am: Added HildonDateButton.
5089 * src/hildon-date-button.c: Update includes.
5090 * src/hildon.h: Add hildon-date-button.h
5092 Copied HildonDateButton from sandbox to trunk. Future work on this
5093 widget must take place in trunk.
5095 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/Makefile.am: Added HildonPickerButton.
5098 * src/hildon-picker-button.h: Update includes.
5099 * src/hildon.h: Add hildon-picker-button.h
5101 Copied HildonPickerButton from sandbox to trunk. Future work on
5102 this widget must take place in trunk.
5104 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5106 * src/Makefile.am: Added HildonPickerDialog.
5107 * src/hildon-picker-dialog.c: Update includes.
5108 * src/hildon.h: Add hildon-picker-dialog.h
5110 Copied HildonPickerDialog from sandbox to trunk. Future work
5111 on this widget must take place in trunk.
5113 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5115 * src/Makefile.am: Added HildonTimeSelector.
5116 * src/hildon.h: Add hildon-time-selector.h
5118 Copied HildonTimeSelector widget from sandbox to trunk. Future
5119 work on this widget must happen in trunk.
5121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5123 * src/Makefile.am: Added HildonDateSelector.
5124 * src/hildon.h: Add hildon-date-selector.h
5126 Copied HildonDateSelector widget from sandbox to trunk. Future
5127 work on this widget must happen in trunk.
5129 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5131 * src/Makefile.am: Added HildonTouchPicker.
5132 * src/hildon-touch-picker.c: Update includes.
5133 * src/hildon.h: Add hildon-touch-picker.h
5135 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5136 on this widget must happen in trunk.
5138 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5140 * src/hildon-pannable-area.c:
5141 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5143 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5145 * examples/hildon-app-menu-example.c (main): Let the window
5148 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5150 * src/hildon-pannable-area.c
5151 (hildon_pannable_area_class_init): Set the min value of the
5152 overshoot properties to zero, which points out that not
5153 overshooting allowed.
5155 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5157 Modified the procedure to get the widget at a point inside the
5158 pannable area when using the movement type signals. Now the user
5159 has to call a function to get the child, that way we just
5160 calculate the child in case the user really want to use it and not
5163 * src/hildon-marshalers.list: Modified the marshallers, now we do
5164 not have the widget as a parameter.
5166 * src/hildon-pannable-area.c
5167 (hildon_pannable_area_motion_notify_cb),
5168 (hildon_pannable_area_class_init),
5169 (hildon_pannable_get_child_widget_at): Removed the widget
5170 parameter from the signal callback. We have also refactored the
5171 emission of the signals.
5173 * src/hildon-pannable-area.h: Added a new method to the API to
5174 calculate a widget at a point inside the pannable area,
5175 hildon_pannable_get_child_widget_at.
5177 * examples/hildon-pannable-area-example-4.c
5178 (horizontal_movement): Modified the example to use the new API,
5179 added condition to control which widget is under the event. This
5180 way we can avoid scrolling laterally over other widgets.
5182 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5184 * src/hildon-pannable-area.c
5185 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5186 modes, we stop getting the pointer events due to returning the
5187 callback without properly calling the get pointer again. Fixed
5188 also an error using the hscroll and vscroll.
5190 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5192 * src/hildon-app-menu-private.h
5193 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5194 (hildon_app_menu_button_release, hildon_app_menu_init)
5195 (hildon_app_menu_class_init): Don't hide the menu on button
5196 release if the user didn't press outside first.
5198 * src/hildon-window.h
5199 * src/hildon-window.c (hildon_window_toggle_menu)
5200 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5201 hildon_window_toggle_menu a virtual function for the stackable
5202 window to override it.
5204 * src/hildon-stackable-window.h
5205 * src/hildon-stackable-window-private.h
5206 * src/hildon-stackable-window.c
5207 (hildon_stackable_window_realize)
5208 (hildon_stackable_window_finalize)
5209 (hildon_stackable_window_class_init)
5210 (hildon_stackable_window_init)
5211 (hildon_stackable_window_set_main_menu): New function to set the
5212 app menu of a HildonStackableWindow.
5214 * examples/hildon-app-menu-example.c: Remove the button to show
5215 the app menu, now it'll be shown when clicking on the title bar
5218 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5220 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5221 set the widget name if the arrangement flags do not specify
5224 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5226 * src/hildon-button.c: (hildon_button_set_property),
5227 (hildon_button_class_init), (hildon_button_new_full),
5228 (hildon_button_set_arrangement): Added "arrangement-flags"
5231 Make the HildonButtonFlags a construction-only property, to allow
5232 subclasses to set them properly.
5234 2008-07-21 Tim Janik <timj@imendio.com>
5236 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5237 insertion position after backspace, so additional digits are appended,
5240 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5242 * src/hildon-pannable-area.c,
5243 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5244 TODO list, it was complete and removed the g_debug and g_print
5247 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5249 Added the movement modes to the hildon-pannable-area, with this
5250 modes the developers can control in which directions the widget
5251 can scroll. They can also connect to signals in order to do
5252 something when that happens, allowing applications scroll. There
5253 is an example uploaded showing how to use it.
5255 * examples/Makefile.am:
5256 * examples/hildon-pannable-area-example-4.c: Added this example of
5257 an application using the modes.
5259 * src/hildon-marshalers.list: Added a new marshaller for the new
5262 * src/hildon-pannable-area.h: Added new enumerations and flags in
5263 order to control the movement modes and the new signals to warn
5264 about the movements in the area.
5266 * src/hildon-pannable-area.c:
5267 (hildon_pannable_axis_scroll),
5268 (hildon_pannable_area_scroll),
5269 (hildon_pannable_area_motion_notify_cb),
5270 (hildon_pannable_area_get_property),
5271 (hildon_pannable_area_set_property),
5272 (hildon_pannable_area_map),
5273 (hildon_pannable_area_class_init),
5274 (hildon_pannable_area_init),
5275 (hildon_pannable_area_jump_to): Added the modes to control the
5276 movement in the widget. We have added properties to control it,
5277 signals to warn about the movements and refactored some code.
5279 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5281 Changes required in order to allow vfast_factor set to zero to
5284 * src/hildon-pannable-area.c:
5285 (hildon_pannable_area_button_press_cb): Changed the condition, it
5286 is required for not allowing click when vfast_factor is zero.
5287 (hildon_pannable_area_timeout): Initialized velocity variables
5288 when we stop moving, it was less than 1 but not zero and we need
5289 to check zero in some situations.
5290 (hildon_pannable_area_class_init): Changed the default value of
5291 the speed factor, now the button_press is just sent in case the
5292 speed is 2 per cent of the max speed.
5293 (hildon_pannable_area_init): Initialization with 0.
5295 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5297 * src/hildon-pannable-area.c,
5298 (hildon_pannable_area_get_topmost): replaced
5299 gdk_window_get_children with gdk_window_peek_children, this way we
5300 do not have to free the list because it is not a copy.
5302 (hildon_pannable_axis_scroll),
5303 (hildon_pannable_area_scroll),
5304 (hildon_pannable_area_timeout),
5305 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5306 two parameters that were only used inside the
5307 hildon_pannable_area_scroll function.
5309 * examples/hildon-pannable-area-example.c,
5310 (get_sawtooth_label): Fixed small memory leak.
5312 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5314 More checks for the case where the overshoot is bigger than the
5317 * src/hildon-pannable-area.c:
5318 (hildon_pannable_draw_vscroll),
5319 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5320 to draw the slider of the scrollbar under the other scrollbar.
5321 (hildon_pannable_area_expose_event): added new checks to control
5322 the drawing of the overshooting area rectangle, in case it is too
5323 big for the area of the widget.
5324 (hildon_pannable_area_size_allocate): add more checks to avoid
5325 setting a position to the child widget outside the area.
5327 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5329 * src/hildon-pannable-area.c
5330 (hildon_pannable_area_size_allocate): Added conditions to control
5331 when overshooting is bigger than the allocated space for the
5332 children, this avoids negative allocations.
5334 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5336 * doc/hildon-docs.sgml
5338 * examples/Makefile.am
5339 * examples/hildon-button-example.c
5341 * src/hildon-button.c
5342 * src/hildon-button.h
5343 * src/hildon.h: Initial version of the new HildonButton widget,
5346 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5348 * src/hildon-pannable-area.c:
5349 (hildon_pannable_area_button_press_cb),
5350 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5351 (hildon_pannable_area_motion_notify_cb),
5352 (hildon_pannable_area_button_release_cb),
5353 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5354 (hildon_pannable_area_jump_to_child):
5356 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5358 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5360 * examples/Makefile.am
5361 * examples/hildon-pannable-area-touch-grid-example.c
5362 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5363 the Hildon Touch List and Hildon Touch Grid using the
5364 HildonPannableArea widget.
5366 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5368 * src/hildon-pannable-area.c,
5369 (hildon_pannable_area_button_press_cb),
5370 (hildon_pannable_area_refresh),
5371 (hildon_pannable_area_scroll),
5372 (hildon_pannable_area_motion_notify_cb),
5373 (hildon_pannable_area_button_release_cb),
5374 (hildon_pannable_area_expose_event),
5375 (hildon_pannable_area_add),
5376 (hildon_pannable_area_remove),
5377 (hildon_pannable_area_realize),
5378 (hildon_pannable_area_size_allocate),
5379 (hildon_pannable_area_class_init),
5380 (hildon_pannable_area_init),
5381 (hildon_pannable_area_scroll_to_child),
5382 (hildon_pannable_area_jump_to_child): Fixed the problem of
5383 removing the child from the GtkBin, we have rearranged the widget
5384 hierarchy, now there is no GtkAlignment which was not doing
5385 anything interesting but breaking some of the assumptions of
5386 GtkContainer. Now developers if they want to add a GtkAlignment
5387 they could, but it is not inside the area.
5389 We had to review the whole allocation/expose process, now it is
5390 improved and we save at least three signals which would be saving
5391 some time when rendering the widget. The allocation of the
5392 scrollbars is now made in the allocate method as usual.
5394 We have also added some conditions in order to control when there
5395 is no child of the pannable area. Maybe we will need more work
5398 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5400 * src/hildon-pannable-area.c,
5401 (hildon_pannable_area_dispose): Released the fade-out timeout when
5402 disposing the widget.
5404 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5406 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5407 zero, we are going to use that property in order to deactivate the
5409 (hildon_pannable_axis_scroll),
5410 (hildon_pannable_area_size_allocate): Added conditions to control
5411 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5412 call, now it is called in all situations and we can remove calls
5413 in the allocate method.
5414 (hildon_pannable_area_map): Control the situation when
5415 overshoot_max is zero, we do not need the timeout.
5416 (hildon_pannable_area_class_init): Added documentation in order to
5417 point out that setting zero to overshoot_max means deactivate
5420 NOTE: removed trailing whitespaces from my previous comments of
5423 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5425 * src/hildon-pannable-area.c
5426 (hildon_pannable_area_get_property),
5427 (hildon_pannable_area_set_property),
5428 (hildon_pannable_area_map),
5429 (hildon_pannable_area_class_init),
5430 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5431 to cause the widget give a hint about its panning abilities upon
5434 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5436 * src/hildon-pannable-area.c: Several documentation improvements.
5438 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5440 * src/hildon-program.c
5441 * src/hildon-stackable-window.c: Update documentation.
5443 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5445 * src/hildon-stackable-window.c (get_previous_window_if_last):
5446 Renamed get_last_window()
5447 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5448 (hildon_stackable_window_unset_program):
5450 (get_previous_window_if_last):
5451 Detect if the window hasn't been added to a HildonProgram.
5453 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5455 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5457 * src/hildon-pannable-area.c
5458 (hildon_pannable_area_button_press_cb),
5459 (hildon_pannable_axis_scroll),
5460 (hildon_pannable_area_scroll),
5461 (hildon_pannable_area_timeout),
5462 (hildon_pannable_calculate_vel_factor),
5463 (hildon_pannable_area_get_property),
5464 (hildon_pannable_area_set_property),
5465 (hildon_pannable_area_class_init),
5466 (hildon_pannable_area_init),
5467 (hildon_pannable_area_scroll_to),
5468 (hildon_pannable_area_jump_to),
5469 (hildon_pannable_area_scroll_to_child),
5470 (hildon_pannable_area_jump_to_child):
5471 * src/hildon-pannable-area.h: Added the new API functions:
5472 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5473 hildon_pannable_area_scroll_to_child,
5474 hildon_pannable_area_jump_to_child
5477 * examples/Makefile.am
5478 * examples/hildon-pannable-area-example-2.c
5479 * examples/hildon-pannable-area-example-3.c: Added these two new
5480 examples in order to test and show how the new APIs work.
5482 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5484 * examples/hildon-stackable-window-example.c (new_window):
5485 * src/Makefile.am (noinst_HEADERS):
5486 * src/hildon-program.c (hildon_program_go_to_root_window):
5487 * src/hildon-program.h:
5488 * src/hildon-stackable-window-private.h:
5489 * src/hildon-stackable-window.c:
5490 * src/hildon-stackable-window.h:
5491 Create hildon-stackable-window-private.h
5492 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5494 * examples/hildon-app-menu-example.c (create_menu):
5495 * examples/hildon-hvolumebar-insensitive-example.c (main):
5496 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5497 * examples/hildon-toolbar-seekbar-example.c (main):
5498 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5499 * src/hildon-banner.c (hildon_banner_set_property):
5500 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5501 Fix compilation warnings
5503 * src/hildon-window.c:
5506 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5508 * src/hildon-stackable-window.c
5509 (hildon_stackable_window_unset_program):
5510 Calculate correctly whether to show the previous window if the
5511 last one is removed from the stack.
5512 (hildon_stackable_window_go_to_root_window):
5513 Send delete events starting from the topmost window.
5514 Stop if one of the windows is not destroyed.
5516 (hildon_stackable_window_delete_event)
5517 (hildon_stackable_window_class_init):
5518 Ignore the delete event if the window is not the topmost one.
5520 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5522 * src/hildon-pannable-area.c
5523 (hildon_pannable_area_expose_event): Fixed a problem when
5524 selecting the background color of the scrollbars.
5526 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5528 * examples/hildon-stackable-window-example.c
5529 * src/hildon-stackable-window.c
5530 * src/hildon-stackable-window.h
5531 hildon_stackable_window_go_home() renamed to
5532 hildon_stackable_window_go_to_root_window()
5533 Send delete events to windows rather than closing them with
5534 gtk_widget_destroy()
5536 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5538 * src/hildon-pannable-area.c
5539 (hildon_pannable_area_button_release_cb): Fix overshooting in
5542 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5544 * src/hildon-pannable-area.c
5545 (hildon_pannable_area_init): Initially show the scroll indicators.
5546 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5548 Add initial effect showing the widget is pannable.
5550 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-pannable-area.c
5553 (hildon_pannable_area_class_init)
5554 (hildon_pannable_area_set_property)
5555 (hildon_pannable_area_get_property)
5556 (hildon_pannable_area_button_press_cb):
5557 New 'velocity_fast_factor' property to decide which velocity is
5560 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5562 * src/hildon-pannable-area.c
5563 (hildon_pannable_draw_hscroll)
5564 (hildon_pannable_draw_vscroll):
5565 Use float variables to calculate the size of the scrollbars to
5566 avoid error propagation and resizing during scrolling.
5568 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5570 * src/hildon-pannable-area.c
5571 (hildon_pannable_draw_vscroll)
5572 (hildon_pannable_draw_hscroll):
5573 Define a minimum size for the scroll bars
5575 * src/hildon-stackable-window.c
5576 (hildon_stackable_window_go_home): Fix compilation warning
5577 (get_last_window): Minor optimizations
5578 (hildon_stackable_window_class_init): Fix initialization of
5581 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5583 * src/hildon-stackable-window.c: Fixed typos in doc
5585 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5587 * src/hildon-pannable-area.c
5588 (hildon_pannable_area_scroll):
5589 Calculate here whether we need to scroll instead of using the booleans
5590 that tell us whether to /draw/ the scrolling bars.
5592 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5594 * src/hildon-app-menu.h
5596 * src/hildon-app-menu.c
5597 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5598 multiple filter groups related code and API. Now we support only
5600 * examples/hildon-app-menu-example.c:
5602 Update to reflect API changes.
5604 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5606 * src/hildon-stackable-window.c
5607 (hildon_stackable_window_class_init):
5608 Add hildon_stackable_window_realize.
5609 (hildon_stackable_window_realize):
5610 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5611 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5612 to apply theming and behavior specific to HildonStackableWindow
5615 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5617 * src/hildon-note.c (hildon_note_button_release):
5618 Close information notes also when tapping on them
5620 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5622 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5623 ELASTICITY, refactor and review, fix some issues with drawing
5626 * src/hildon-pannable-area.c:
5627 (hildon_pannable_area_button_press_cb): removed the conditions to
5628 avoid clicks when overshooting. It is not required
5630 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5631 define. Refatored and reviewed the code, now we do not need to
5632 manage velocity in motion_notify.
5634 (hildon_pannable_area_motion_notify_cb): We have moved the code
5635 that controls the area_scroll to the axis_scroll function and get
5636 rid of duplicated code.
5638 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5640 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5642 (hildon_pannable_draw_vscroll),
5643 (hildon_pannable_draw_hscroll): Fixed the problems with the
5644 scrollbar drawing, now we do not use two surfaces, it is easier
5645 and saves resources.
5647 (hildon_pannable_area_get_property): Style modification.
5649 (hildon_pannable_area_class_init): Changed some default values.
5651 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5653 * src/hildon-stackable-window.c: Fix some typos in the
5656 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5658 * src/hildon-dialog.c:
5659 Change indentation style
5662 (hildon_note_button_release):
5663 Use root coordinates to check if the release event happened
5666 * src/hildon-app-menu.c
5667 (hildon_app_menu_button_release):
5668 Remove unnecessary check
5670 * examples/hildon-app-menu-example.c
5672 Add cast to fix warning
5674 * src/hildon-app-menu.c
5675 (hildon_app_menu_class_init):
5676 New inner-border style property.
5677 Set all default spacings to 16
5678 (hildon_app_menu_init):
5679 Use vertical-spacing to set the space between filter buttons and
5680 regular menu buttons.
5681 Set the default container border using the inner-border value.
5683 * examples/hildon-app-menu-example.c
5685 Don't set the menu border explicitly, now we have the inner-border
5686 style property for that.
5688 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5690 * src/hildon-app-menu.c (hildon_app_menu_init):
5691 Make the window modal
5693 * src/hildon-note.c (hildon_note_map)
5694 * src/hildon-app-menu.c (hildon_app_menu_map):
5695 Destroy the grab window if we're unable to grab the pointer
5697 * src/hildon-app-menu-private.h
5698 * src/hildon-app-menu.c
5699 (hildon_app_menu_init, hildon_app_menu_finalize)
5700 (hildon_app_menu_map, hildon_app_menu_unmap)
5701 (hildon_app_menu_button_release)
5702 (grab_transfer_window_get):
5703 Bring back the grab window
5704 (hildon_app_menu_realize):
5705 Decorate the window, set WM hint for Matchbox
5707 * src/hildon-note.c (hildon_note_realize):
5708 * src/hildon-banner.c (hildon_banner_realize):
5709 Add WM hints for Matchbox
5711 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5713 * src/hildon-app-menu-private.h
5714 * src/hildon-app-menu.c
5715 (hildon_app_menu_init, hildon_app_menu_finalize)
5716 (hildon_app_menu_map, hildon_app_menu_unmap)
5717 (hildon_app_menu_button_release):
5718 Remove the grab window, it's not needed anymore
5720 * src/hildon-program.c
5721 Fixed typo in documentation
5723 * src/hildon-app-menu.h
5724 * src/hildon-app-menu.c
5725 * examples/hildon-app-menu-example.c
5726 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5728 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5731 Added new transfer_window and close_if_pressed_outside private
5733 (hildon_note_rebuild):
5734 Don't add a cancel button to the information note. It will be
5735 closed when tapping outside
5736 Remove the comment about the OK button in the documentation
5737 (hildon_note_realize):
5738 Set the notification type hint
5739 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5740 Grab/ungrab pointer and keyboard if the note has to be closed when
5742 (hildon_note_button_release):
5743 Close the note when tapping outside (if applicable)
5745 * src/hildon-app-menu.c
5746 Grab/ungrab pointer and keyboard on map/unmap
5747 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5748 Close the menu on button release, not button press
5750 * src/hildon-banner.c
5751 (hildon_banner_set_property)
5752 (hildon_banner_check_position):
5753 Make the banner use the full width of the screen
5754 (hildon_banner_show_information)
5755 (hildon_banner_show_information_with_markup):
5756 Don't display an icon by default
5758 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5760 Added fading scrollbars and adapted all the overshooting code to
5761 horizontal scrolling. We have also fixed bugs with overshooting
5762 and current fading implementation.
5764 * src/hildon-pannable-area.c
5765 (hildon_pannable_area_scroll_indicator_fade): Time out function
5766 used to change the transparency of the scrollbars.
5768 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5769 control and fixed a problem with fading, we now remove the fade
5770 timeout before adding a new one.
5772 (hildon_pannable_axis_scroll):
5773 (hildon_pannable_area_scroll):
5774 (hildon_pannable_area_timeout): Added this functions so we can use
5775 the scroll code both for vertical and horizontal.
5777 (hildon_pannable_area_motion_notify_cb):
5778 (hildon_pannable_area_button_release_cb): Added the horizontal
5779 scrolling control, fixed a problem with the overshooting timeout.
5781 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5782 painting of the scrolls.
5784 (hildon_pannable_draw_vscroll):
5785 (hildon_pannable_draw_hscroll):
5786 (hildon_pannable_area_expose_event):
5787 Draw both scrollbars and rectangles in the overshooting area.
5789 (hildon_pannable_area_get_property):
5790 (hildon_pannable_area_set_property):
5791 Modified the overshoot property to overshoot_max
5793 (hildon_pannable_area_map):
5794 Replaced the comments symbols.
5796 (hildon_pannable_area_size_allocate):
5797 (hildon_pannable_area_class_init):
5798 (hildon_pannable_area_init): Added horizontal scroll, fading
5799 effect properties, fixed a problem when overshooting in the bottom
5802 * examples/hildon-pannable-area-example.c:
5803 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5804 looks better in the example.
5806 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5808 * src/hildon-window.c
5809 * src/hildon-window.h
5810 (hildon_window_class_init)
5811 (hildon_window_unset_program)
5812 (hildon_window_unset_program_real):
5813 Make unset_program a virtual function
5815 * src/hildon-stackable-window.c
5816 * src/hildon-stackable-window.h
5817 Added hildon_stackable_window_go_home()
5819 * examples/Makefile.am
5820 * examples/hildon-stackable-window-example.c
5821 HildonStackableWindow example
5823 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5825 * hildon-pannable-area.c: Added the overshoot property and removed
5826 the OVERSHOOT define. Fixed an indent style error.
5827 (hildon_pannable_area_motion_notify_cb):
5828 (hildon_pannable_area_get_property):
5829 (hildon_pannable_area_set_property): Add overshoot property.
5831 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5834 (hildon_pannable_area_class_init): Installed the new property.
5836 * hildon-pannable-area-example.c: Added a sawtooth function, this
5837 way it is easier to check the movement in the pannable.
5838 (get_sawtooth_label): Added this function.
5839 (main): Now we get the labels from the new get_sawtooth_label
5842 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5844 * src/hildon-app-menu.h
5845 * src/hildon-app-menu.c
5846 Renamed API variables for consistency
5848 (hildon_app_menu_popup): Use also the default window size to
5849 decide where to place the menu
5851 (hildon_app_menu_init, hildon_app_menu_class_init): New
5852 external-border style property
5854 2008-05-26 Michael Natterer <mitch@imendio.com>
5856 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5857 widget_class->tap_and_hold_setup signal slot doesn't exist any
5858 longer, stop overriding it.
5860 (hildon_time_editor_init): g_signal_connect() to the
5861 tap-and-hold-setup signal instead.
5863 (hildon_time_editor_entry_keypress): add cast to fix warning.
5865 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5867 * doc/hildon-docs.sgml
5869 * examples/Makefile.am
5870 * examples/hildon-app-menu-example.c
5872 * src/hildon-app-menu-private.h
5873 * src/hildon-app-menu.c
5874 * src/hildon-app-menu.h
5876 New HildonAppMenu widget
5878 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5880 Rearranged the inheritance of the pannable area, now it inherits
5881 from GtkBin. This will allow us to control the event_window and
5882 the allocation process of the widget, required for some effects.
5884 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5885 GtkBin structures. * src/hildon-pannable-area.c: Added the
5886 event_window variable.
5887 (hildon_pannable_area_button_press_cb):
5888 (hildon_pannable_area_button_release_cb):
5889 (hildon_pannable_area_motion_notify_cb):
5890 Changed the signature of the method, now we override the event
5891 callback instead of connecting to the signal.
5893 (hildon_pannable_area_realize):
5894 (hildon_pannable_area_unrealize):
5895 (hildon_pannable_area_map):
5896 (hildon_pannable_area_unmap):
5897 (hildon_pannable_area_size_allocate):
5898 Added functions to control the widget construction. We add a
5899 INPUT_ONLY window and we put it over the widgets inside the
5900 container, this event_window handles the events.
5902 (hildon_pannable_area_class_init):
5903 Replaced the signal connections with overrides of the event
5906 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5908 Bouncing effect added when touching the borders, you can change
5909 the elasticity of the border changing the ELASTICITY define.
5911 * src/hildon-pannable-area.c: Added ELASTICITY define.
5912 (hildon_pannable_area_timeout): Added inverse velocity when
5913 touching the border of the child widget, that causes a bounce.
5915 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5917 Improved performance, we now do not go to the X server in order to
5918 get the list of window children. Apparently the effect is the
5919 same, we have to be careful and check if this breaks something in
5922 * src/hildon-pannable-area.c:
5923 (get_ordered_children): Removed this function.
5924 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5925 the children windows function with gdk_window_get_children.
5927 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5929 * src/hildon-pannable-area.c:
5930 (hildon_pannable_area_dispose): Fixed a crash when closing the
5931 window and kinetics is activated.
5933 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5935 * src/hildon-pannable-area.h
5936 * src/hildon-pannable-area.c
5937 Changed indentation style to meet the one used in Hildon
5939 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5941 Reviewed the interaction of the AUTO mode, now we use the time
5942 attribute of the events and calculate the velocity in the motion,
5943 doing a gimp like calculation. The velocity is calculated in each
5944 motion event using the last velocity and the current one, the
5945 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5947 * src/hildon-pannable-area.c: Replaced the time based algorithm
5949 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5950 timeout for the AUTO mode when we are still moving the cursor. We
5951 added also the velocity calculation in this function.
5952 (hildon_pannable_area_button_release_cb): launch the timeout in
5953 case we are in AUTO mode. There are still some constants here that
5954 come from the old implementation that should be reviewed and
5957 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5959 * doc/hildon-docs.sgml
5962 * src/hildon-stackable-window.c
5963 * src/hildon-stackable-window.h
5965 New HildonStackableWindow widget
5967 * examples/hildon-dialog-example.c
5968 * examples/hildon-pannable-area-example.c
5971 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-dialog.c
5974 (hildon_dialog_new_with_buttons): New constructor.
5976 * examples/hildon-dialog-example.c
5977 (main): Update the example to use the new
5978 hildon_dialog_new_with_buttons().
5980 * examples/hildon-pannable-area-example.c
5981 (main): Update example.
5983 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5985 * doc/hildon-docs.sgml
5987 Added HildonPannableArea to the documentation.
5989 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5991 * doc/visual_index.xml
5992 Fix reference to HildonLoginDialog in documentation
5994 * doc/hildon-docs.sgml
5996 * examples/Makefile.am
5997 * examples/hildon-dialog-example.c
5999 * src/hildon-dialog.c
6000 * src/hildon-dialog.h
6002 New HildonDialog widget.
6004 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6006 * src/hildon-pannable-area.c
6007 Merge latest changes (r4318, r4342) from libmokoui trunk
6009 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6011 * examples/Makefile.am
6012 * examples/hildon-pannable-area-example.c
6014 * src/hildon-pannable-area.c
6015 * src/hildon-pannable-area.h
6017 New HildonPannableArea widget.
6019 2008-04-15 18:05:19 <timj@imendio.com>
6021 * src/hildon-banner.c: revert the recent change, that introduced
6022 gtk_window_present() calls. this reopens:
6023 Bug 78481 - [freetest] information banners are hidden under browser menu
6024 But resolves another variant of:
6025 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6027 2008-04-15 13:21:13 <timj@imendio.com>
6029 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6030 recreated its layout, spotted by Kris. this fixes all remaining
6031 artefacts and stability issues with the banner code. in particular:
6032 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6034 2008-04-14 16:52:59 <timj@imendio.com>
6036 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6037 operating on unrealized widgets, fixes:
6038 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6040 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6042 2008-04-09 Kristian Rietveld <kris@imendio.com>
6044 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6045 makes banner disappear.
6046 Fixes: NB#79182: info banner flickering with certain message lengts.
6048 * src/hildon-banner.c (hildon_banner_constructor),
6049 (hildon_banner_init), (hildon_banner_set_text),
6050 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6051 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6052 FALSE, reset size requests of label and banner,
6053 (force_to_wrap_truncated): when the text is too wide, always enforce
6054 the maximum possible width instead of recalculating it from the
6055 layout; enforce the maximum banner height of 3 lines,
6056 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6057 nicer wrapping and no truncated chars if space gets tight.
6059 * src/hildon-banner-private.h: add has_been_wrapped and
6060 has_been_truncated fields.
6062 2008-04-07 Sven Herzberg <sven@imendio.com>
6064 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6065 local values in hildon_date_editor_size_allocate
6067 * src/hildon-date-editor.c: moved the real allocation code into the
6070 2008-04-07 Sven Herzberg <sven@imendio.com>
6072 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6073 local values in hildon_date_editor_size_allocate
6075 * src/hildon-date-editor.c: merged the two if() branches together
6077 2008-04-07 Sven Herzberg <sven@imendio.com>
6079 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6080 local values in hildon_date_editor_size_allocate
6082 * src/hildon-date-editor.c: changed the arguments of the if()
6085 2008-04-07 Sven Herzberg <sven@imendio.com>
6087 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6088 local values in hildon_date_editor_size_allocate
6090 * src/hildon-date-editor.c: split the calculation of the allocation
6091 from the real allocation
6093 2008-03-27 Michael Natterer <mitch@imendio.com>
6095 Fixes: NB#81696: The passcode is not overwritten even after
6098 * src/hildon-code-dialog.c
6099 (hildon_code_dialog_button_clicked)
6100 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6101 because that doesn't overwrite selected text. Instead, emit the
6102 "commit" signal on the entry's im_context so the entry's normal
6103 insert logic is triggered. Set the cursor to the end of the entry
6104 after each insert operation so that we *only* insert in the middle
6105 of the text if something was selected.
6107 2008-03-27 Michael Natterer <mitch@imendio.com>
6109 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6110 selector cannot be opened
6112 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6113 when the popup color selector is created. Please connect to this
6114 signal in order to set the dialog's help ID.
6116 2008-03-25 Sven Herzberg <sven@imendio.com>
6118 Fixes: MB#1212: Hide info banners (infoprints) on click
6120 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6121 extracted the close event simulation into an extra function
6122 (hildon_banner_button_press_event): simulate a close event and destroy
6123 the widget if the event wasn't handled
6124 (hildon_banner_class_init): added the button_press_event handler
6125 (hildon_banner_init): added button-press events to the widget
6127 2008-03-25 Sven Herzberg <sven@imendio.com>
6129 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6130 Patch from: Mohammad Anwari <mdamt@maemo.org>
6132 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6133 instead of the right in RTL mode
6134 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6135 breadcrumb button list in RTL mode
6136 * src/hildon-caption.c: mirror the appearance of the caption widget in
6138 * src/hildon-date-editor.c: mirror appearance of the date editor in
6140 * src/hildon-time-editor.c: mirror appearance of the time editor in
6142 * src/hildon-window.c: fix the position of the popup in RTL mode
6144 2008-03-25 Sven Herzberg <sven@imendio.com>
6146 Amendment to the fix of NB#22072. Fix compilation.
6148 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6150 2008-03-19 Sven Herzberg <sven@imendio.com>
6152 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6155 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6156 timeout id properly when the timeout will disappear this leaves no
6157 artifacts around in the destroy(); there will only be the timeout
6158 created by hildon_banner_ensure_timeout() and adding a new timeout
6159 will also work if the timeout gets removed because the timeout_handler
6162 2008-03-19 Michael Natterer <mitch@imendio.com>
6164 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6166 * src/hildon-volumebar.c
6167 * src/hildon-vvolumebar.c
6168 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6169 the widget becomes focussable at all.
6171 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6172 set the focus to wither the mute button or the volumebar.
6174 Remove own "can-focus" property and instead listen to
6175 notify::can-focus in order to update the widget's state.
6177 Implement GtkWidget::focus() and make sure we can also *leave* the
6178 widget, not only enter it, depending on volumebar orientation and
6179 requested focus direction.
6181 Clean up set_mute() to cooperate nicely with all the above.
6183 2008-03-04 Michael Natterer <mitch@imendio.com>
6185 Fixes: NB#78481: information banners are hidden under browser menu
6187 * src/hildon-banner.c: call gtk_window_present() on the banners so
6188 they are risen if they are already visible.
6190 2008-03-03 Sven Herzberg <sven@imendio.com>
6192 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6194 * examples/hildon-window-menu-example.c: (main): extended the window
6195 menu example to serve as a testcase for automatically added
6196 accelerator groups, too
6197 * src/hildon-window.c: (hildon_window_add_accel_group),
6198 (hildon_window_set_menu): added patch by Tommi Komulainen
6200 2008-03-03 Sven Herzberg <sven@imendio.com>
6202 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6204 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6205 knowledge about the border allocators used within GTK+
6207 2008-02-26 Sven Herzberg <sven@imendio.com>
6209 Fixes: MB#2981: Build with asserts broken
6211 * src/hildon-date-editor.c,
6212 * src/hildon-number-editor.c,
6213 * src/hildon-time-editor.c,
6214 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6215 the proper GType instance check
6217 2008-02-25 Sven Herzberg <sven@imendio.com>
6219 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6221 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6222 * examples/hildon-window-menu-example.c: (main): explicitly show
6224 * src/hildon-window.c:
6225 (hildon_window_set_main_menu): moved most of the code from set_menu()
6226 to this place; skipped the call to gtk_widget_show_all(); also didn't
6227 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6228 (hildon_window_set_menu): removed most of the code, just keep the
6229 questionable gtk_widget_show_all()
6230 * src/hildon-window.h: added the new function and deprecate the old
6233 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6239 * debian/changelog: Updating.
6241 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6244 * pkgconfig/Makefile.am:
6245 * pkgconfig/hildon.pc.in:
6248 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6249 use newly created API_MAJOR_VERSION.
6251 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6257 * debian/changelog: Updating.
6259 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6261 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6263 Add outer_border style property, we use it but don't define it (!).
6267 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6269 * examples/hildon-bread-crumb-trail-example.c (main):
6273 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6275 Fix logic for the bread crumb trail node removal.
6279 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6285 * debian/changelog: Updating.
6287 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6289 Patch by Alejandro to get/set passwords dialogs accesibility.
6291 * hildon-1/src/hildon-get-password-dialog.c:
6292 * hildon-1/src/hildon-set-password-dialog.c:
6293 Set atk_set_name to the passwd entries in order to allow
6294 accessibility by name on this entries.
6296 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6301 * debian/control: Updating gtk dep.
6303 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6305 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6306 USE_MAEMO_GTK is enabled.
6308 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6310 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6311 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6313 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6319 * debian/changelog: Updating.
6321 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6323 * examples/Makefile.am:
6324 * examples/hildon-logical-color-example.c:
6325 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6326 applied + adding a test case. Fixes: NB#71660.
6328 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6330 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6331 to be visible, fixes warning on map for windows without toolbars.
6333 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6335 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6336 2.11.0, add a check for that besides the MAEMO_GTK check.
6338 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6344 * debian/changelog: Updating.
6346 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6348 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6349 visibility. Fixes: NB#70842 and MB#615.
6351 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6353 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6354 set the separator as no-show-all so it doesn't unintentionally appear when
6355 someone does a show_all.
6357 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6359 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6360 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6361 toplevel item. Fixes: NB#62031
6363 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6365 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6366 fix the name of the function in the docs.
6368 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6374 * debian/changelog: Updating.
6376 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6378 * examples/hildon-banner-long-example.c: Adding a test-case for long
6381 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6383 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6385 * src/hildon-color-chooser-dialog.c:
6386 * src/hildon-color-chooser.c:
6387 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6388 memory leaks in font selector and color selector. Fixes: NB#70499 and
6391 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6393 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6395 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6397 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6398 little bit bigger. Fixes: #NB63694.
6400 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6406 * debian/changelog: Updating.
6408 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6411 * doc/hildon-docs.sgml:
6412 * doc/images/bread-crumb-trail.png:
6413 * doc/images/calendar-popup.png:
6414 * doc/images/caption.png:
6415 * doc/images/code-dialog.png:
6416 * doc/images/color-button.png:
6417 * doc/images/color-chooser-dialog.png:
6418 * doc/images/color-chooser.png:
6419 * doc/images/controlbar.png:
6420 * doc/images/date-editor.png:
6421 * doc/images/font-selection-dialog.png:
6422 * doc/images/get-password-dialog.png:
6423 * doc/images/hvolumebar.png:
6424 * doc/images/login-dialog.png:
6425 * doc/images/note.png:
6426 * doc/images/number-editor.png:
6427 * doc/images/range-editor.png:
6428 * doc/images/seekbar.png:
6429 * doc/images/set-password-dialog.png:
6430 * doc/images/sort-dialog.png:
6431 * doc/images/time-editor.png:
6432 * doc/images/time-picker.png:
6433 * doc/images/vvolumebar.png:
6434 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6435 Adding the bread-crumb-trial and helpers to the documentation.
6437 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6439 * examples/hildon-find-toolbar-example.c:
6440 * src/hildon-find-toolbar.c:
6441 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6442 actually continue firing the other handlers if connected. Adding a new
6444 hildon_find_toolbar_get_last_index that gets the index of the most
6445 recently added (last) item. Fixes: NB#52301.
6447 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6449 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6450 behaviour. Fixes: NB#68610.
6452 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6454 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6457 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6459 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6460 when realizing the banner. Should make the infonbanner effect a bit more
6463 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6465 * src/hildon-volumebar.c:
6466 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6467 hildon_volumebar_set_range_insensitive_message and
6468 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6470 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6472 * src/hildon-window.c: Fixing the border freeing on destroy.
6474 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6476 * src/hildon-code-dialog-private.h:
6477 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6478 kw keyboard support in HildonCodeDialog.
6480 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6486 * debian/changelog: Updating.
6488 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6490 * src/hildon-date-editor.c:
6491 * src/hildon-number-editor.c:
6492 * src/hildon-private.c:
6493 * src/hildon-private.h:
6494 * src/hildon-time-editor.c:
6495 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6496 handling in subclassed composite widgets. Fixes: NB#66628.
6498 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6500 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6501 from destroy_ callback as it introduces problems in async dbus signal
6502 handlers. Fixes NB#66673.
6504 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6506 * examples/hildon-hvolumebar-example.c:
6507 * src/hildon-volumebar.c: Improving the focus handling in the
6508 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6509 set_property accessor so that "mute" property can be actually set. I'm
6510 scared that nobody noticed it's totally broken.
6512 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6514 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6517 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6519 * src/hildon-calendar.c:
6520 * src/hildon-number-editor.c:
6521 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6522 matches the spec of 6 chars per second. Fixes: NB#60489.
6524 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6526 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6527 gtk_style_lookup_color sometime returns FALSE even though color was
6528 found and values were filled properly. Weird. Removing the warning for the
6531 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6533 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6534 expand vertically. Adding some extra space to the find toolbar buttons to
6535 make them thumbable. Fixes NB#66060.
6537 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6539 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6540 popup with "Ok" and "Cancel". Fixes NB#59299.
6542 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6544 * src/hildon-calendar.c: Process all window updates before executing next
6545 timeout. Fixes: NB#54146.
6547 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6553 * debian/changelog: Updating.
6555 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6557 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6558 the client event and ignore it, since we use the delete event to close
6561 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6563 * src/hildon-helper.c: Remove the bogus warning about color not being
6564 found. Fixes NB#58352.
6566 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6568 * examples/Makefile.am:
6569 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6570 HildonSeekbar widget inside a toolbar.
6572 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6574 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6575 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6576 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6577 don't want to be closed by non-temporary windows on map.
6579 Also use G_DEFINE_TYPE instead of manually typed code.
6581 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6588 * debian/rules: Updating.
6590 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6592 * examples/Makefile.am:
6593 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6594 bug NB#61128. Strangely it works.
6596 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6598 * src/hildon-date-editor.c: When the date editor entry has been changed
6599 but the numbers of characters < max, turn off the skip validation flag.
6600 Prevents a situation when we enter first a valid year and later re-write
6601 it with an invalid one. Fixes NB#60154.
6603 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6605 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6606 code dialog. Fixes NB#64355.
6608 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6610 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6611 switching the page. Fixes NB#49374.
6613 * examples/Makefile.am:
6614 * examples/hildon-wizard-dialog-example.c: Adding an example for
6615 HildonWizardDialog that shows how to handle manual sensitivity setting on
6618 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6622 * src/hildon-version.h.in:
6623 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6625 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6627 * src/hildon-volumebar.c: Updating the docs.
6629 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6635 * debian/changelog: Updating.
6637 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6639 * src/hildon-find-toolbar.c:
6640 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6641 selected item: hildon_find_toolbar_set_active,
6642 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6643 hildon_find_toolbar_get_active_iter . They correspond to respective
6644 GtkComboBox functions.
6646 * examples/Makefile.am:
6647 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6650 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6652 * examples/Makefile.am:
6653 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6656 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6657 when font size > 32 and we pack a focusable widget inside. Actually using
6658 the default response would work too, but since we don't show default
6659 response state in any way (no theming) it would not be visible to the
6660 user. Fixes NB#63430.
6662 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6664 * src/hildon-date-editor.c: Adding the missing variable setter in the
6665 set_property handler. Fixes NB#54182.
6667 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6669 * src/hildon-window.h: Changing the long key press time from 1500ms to
6670 800ms as requested in NB#63700. I have a bad feeling about this, let's
6671 see... Fixes NB#63700.
6673 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6675 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6676 hildon_time_picker_map, hildon_time_picker_realize,
6677 hildon_time_picker_style_set): Split the contents of map to more
6678 appropriate functions; set window decorations on realize and update
6679 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6681 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6686 * debian/changelog: Updating.
6688 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6690 * src/Makefile.am: fixed installation of the header files
6692 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6698 * debian/changelog: Updating.
6700 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6702 * configure.ac: Removing some remaining of --enable-xan.
6704 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6706 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6707 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6709 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6710 2.10.12-osso6 because the move-focus signal needs to be available in
6713 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6715 * examples/Makefile.am:
6716 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6717 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6718 fine. Prolly NB#61128 is fixed now.
6720 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6722 * src/hildon-volumebar.c:
6723 * src/hildon-volumebar.h: Adding the
6724 hildon_volumebar_set_range_insensitive_message and
6725 hildon_volumebar_set_range_insensitive_messagef functions to set
6726 insensitive message on the slider of the volumebar. Fixes NB#61129.
6728 * examples/Makefile.am:
6729 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6730 test the new insensitive messsage functionality on HildonVolumebar.
6732 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6734 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6737 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6739 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6740 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6741 button on after clearing the trail.
6743 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6745 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6747 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6749 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6750 by splitting the installed headers in generated and non-generated groups. Use
6751 only the non-generated headers to create the hildon-enum-types.h file.
6753 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6755 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6757 * src/hildon-window.c: Hide the window before performing the destroy.
6758 Should make the app closing a little tiny bit more snappy.
6760 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6762 * src/hildon-seekbar.c: add gtkrange.h header
6763 * src/hildon-caption.c: remove unused variable
6765 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6767 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6770 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6776 * debian/changelog: Updating.
6778 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6780 * src/hildon-window.c (hildon_window_window_state_event,
6781 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6782 escape timeout on focus-out-event rather than notify::is-topmost; the
6783 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6785 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6787 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6788 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6790 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6792 * src/hildon-window: actually, you need to use the macro always, there's
6793 no private pointer in the instance structure. We should have cleaned this up
6794 when we had the chance...
6796 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6798 * src/hildon-window.c: do not get the private date from HildonWindow before
6799 it passes the g_return_if_fail check. Once it's passed the test, there's no
6800 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6801 if you are only going to access the data once. Whitespace cleanups.
6803 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6805 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6806 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6808 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6814 * debian/changelog: Updating.
6816 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6818 * src/hildon-window.c: When destroying the window, remove (if exists) the
6819 escape timeout handler. Fixes #NB59276.
6821 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6823 * src/hildon-banner.c: When realizing the widget, set the window
6824 transiency. Setting the transiency in the gobject constructor is not
6825 good, as the widget is not realized at that point. Fixes: #NB56624.
6827 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6829 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6830 Add padding for future expansions.
6832 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6834 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6835 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6836 will fake an activation on the previous to the last item of the trail, so
6837 the effect can be overrided by the developer as usual.
6838 Also change the callback for the back button to do the same thing, so its
6839 effect can be overrided too. Fixes: NB#58982
6841 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6843 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6844 HildonCaption. Fixes NB#52379.
6846 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6848 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6849 the internal state of the trail after the user has had the chance of executing
6850 his handler for the signal. Specifically, it may happen that the activated button
6851 is removed and the user still lets the default handler run. This would segfault
6854 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6856 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6857 scrollbar to the preview dialog. Fixes NB#54147.
6859 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6861 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6862 max/min year properties can be altered, so the client can modify it
6863 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6865 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6867 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6868 hildonlike by default. Fixing a problem with disappearing arrows when
6869 scrolling through months and years. Fixes NB#54127.
6871 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6873 * examples/hildon-date-editor-example.c: Adding error callback to the date
6876 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6882 * configure.ac: Updating.
6884 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6886 * configure.ac: Adding a special '--enable-xan' configure option that
6887 turns off the -Werror compilation setting. Usefull for development.
6889 * src/hildon-calendar.c:
6890 * src/hildon-number-editor.c:
6891 * src/hildon-time-picker.c: Adding the 5* multiplier to
6894 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6896 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6897 instead of g_object_ref + gtk_object_sink.
6899 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6905 * debian/changelog: Updating.
6907 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6909 * src/hildon-color-chooser-dialog.c:
6910 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6911 straight from Tommi labs.
6913 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6915 * examples/hildon-finger-example.c: Correcting the header file path.
6917 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6918 the changed signal. Fixes a small memory leak.
6920 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6924 * src/hildon-banner.c: Importing several usefull fixes from the
6925 ubuntu-mobile branch.
6927 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6929 * examples/Makefile.am:
6930 * examples/hildon-finger-example.c: Adding a finger-checking code
6933 * src/hildon-font-selection-dialog.c: Do not allocate the color
6934 structure using the g_new. Fixes NB#54061.
6936 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6938 * src/hildon-helper.c: Correcting tabs in file.
6940 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6942 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6943 control the visibility of the children.
6945 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6947 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6953 * debian/changelog: Updating.
6955 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6957 * src/hildon-bread-crumb-trail.c:
6958 (hildon_bread_crumb_trail_size_allocate):
6960 Make the back button always a square.
6962 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6964 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6965 from the .c file as it's a private file.
6967 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6969 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6970 uses slightly bigger height.
6972 * src/hildon-font-selection-dialog.c: Adding some checks before
6973 freeing memory in the font selection dialog.
6975 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6977 * src/hildon-font-selection-dialog.c: Adding a small check when
6980 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6981 buttons sensitivity on page switching.
6983 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6985 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6986 internal details of adding a bread crumb to the trail.
6988 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6994 * debian/changelog: Updating.
6996 * src/hildon-bread-crumb-trail.h:
6997 * src/hildon-bread-crumb.h: Changing the API guard to
6998 HILDON_ENABLE_UNSTABLE_API.
7000 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7008 * src/hildon-helper.h: Updating.
7010 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7018 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7022 * src/hildon-helper.h: Small fix to make the package actually compile.
7024 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7026 * src/hildon-bread-crumb-trail.h:
7027 * src/hildon-bread-crumb.h:
7029 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7030 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7032 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7034 * examples/hildon-bread-crumb-trail-example.c:
7036 * src/hildon-bread-crumb-trail.c:
7037 * src/hildon-bread-crumb-trail.h:
7038 * src/hildon-bread-crumb.c:
7039 * src/hildon-bread-crumb.h:
7040 * src/hildon-marshalers.list:
7041 * src/hildon-bread-crumb-widget.c:
7042 * src/hildon-bread-crumb-widget.h:
7044 Slight change in the widget design. The bread crumb trail API is
7045 unchanged, but HildonBreadCrumb is now an interface. A *private*
7046 implementation, hildon-bread-crumb-widget, is provided and used
7047 internally by the trail for the push_text/push_icon functions.
7049 The generic push API is still available, so anyone can implement
7050 and use its own bread crumb widget.
7052 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7054 * debian/rules: Fixing the shlibs.
7056 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7058 * src/hildon-banner.c: Fixing a problem with timed banners having
7059 their parrent destroyed before they are.
7061 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7063 * src/hildon-bread-crumb.c:
7064 * src/hildon-bread-crumb.h:
7066 Make the get_natural_size function a vfunc.
7068 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7070 * src/hildon-bread-crumb.c:
7071 * src/hildon-bread-crumb-trail.c:
7075 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7082 * debian/changelog: Updating for release.
7084 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7086 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7087 don't leak the pango layout.
7089 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7092 * examples/hildon-bread-crumb-trail-example.c:
7096 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7098 * debian/changelog: Removing the bug-fixed entries that were actually
7099 resolved as WONTFIX.
7101 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7104 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7106 * src/hildon-bread-crumb-trail.c:
7107 * src/hildon-bread-crumb-trail.h:
7108 * src/hildon-bread-crumb.c:
7109 * src/hildon-bread-crumb.h:
7113 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7115 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7116 until it's passed the type check.
7118 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7120 * examples/hildon-bread-crumb-trail-example.c
7124 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7126 * examples/Makefile.am
7127 * examples/hildon-bread-crumb-trail-example.c
7129 * src/hildon-bread-crumb-trail.c
7130 * src/hildon-bread-crumb-trail.h
7131 * src/hildon-bread-crumb.c
7132 * src/hildon-bread-crumb.h
7134 New HildonBreadCrumbTrail widget.
7136 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7138 * src/hildon-range-editor.c (hildon_range_editor_init),
7139 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7140 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7141 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7142 hildon_time_editor_class_init, hildon_time_editor_init),
7143 src/hildon-get-password-dialog.c (invalid_input,
7144 hildon_get_password_set_property, hildon_get_password_get_property,
7145 create_contents, hildon_get_password_dialog_set_max_characters),
7146 src/hildon-set-password-dialog.c (create_contents),
7147 src/hildon-date-editor.c (hildon_date_editor_init),
7148 src/hildon-login-dialog.c (hildon_login_dialog_init),
7149 src/hildon-number-editor.c (hildon_number_editor_init),
7150 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7151 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7152 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7153 configure option and adding the respective checks in the code.
7154 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7155 hildon_calendar_drag_data_received): fixed some build warnings.
7157 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7159 * debian/changelog: A 1.0.0 release notes.