1 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
3 reviewed by: <delete if not using a buddy>
5 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
7 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
12 * configure.ac: Bump version.
13 * debian/changelog: Updates.
15 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
17 * src/hildon-entry.c (hildon_entry_refresh_contents):
18 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
19 Use "ReversedSecondaryTextColor" for the placeholder text.
21 2009-03-12 Alberto Garcia <agarcia@igalia.com>
23 * src/hildon-text-view.c: Fix compilation warning.
25 2009-03-12 Alberto Garcia <agarcia@igalia.com>
27 * src/hildon-button.c (hildon_button_class_init): Don't make
28 "title" and "value" construction properties, to prevent them from
29 overwriting labels set from derived classes.
31 * src/hildon-picker-button.c
32 (hildon_picker_button_set_selector): Allow setting a NULL selector.
33 (hildon_picker_button_class_init): Make touch-selector a
34 construction property.
36 * src/hildon-date-button.c (hildon_date_button_class_init)
37 (+hildon_date_button_constructed): Add a default date selector if
40 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
42 * src/hildon-touch-selector.c: Small documentation fixes.
44 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
46 Based on a patch by Daniel Borgmann (danielb@openismus.com)
48 * src/hildon-entry.c (hildon_entry_refresh_contents),
49 (hildon_entry_get_text), (hildon_entry_init): Do not use the
50 widget name, set the logical color directly instead and a boolean
51 showing_placeholder instead.
52 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
53 use the widget name here either.
55 Fixes: NB#105678 (HildonTextView should use logical colours
56 instead of setting widget name)
58 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
60 Patch by Daniel Elster (danielk@openismus.com)
62 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
63 Add user_data parameter.
64 (hildon_touch_selector_set_print_func_full): New function akin
65 hildon_touch_selector_set_print_func() but with support for user
66 data and a destroy callback.
67 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
68 to clean up the print function user data.
69 (hildon_touch_selector_class_init): Install dispose function.
70 (HildonTouchSelectorPrivate::print_user_data),
71 (HildonTouchSelectorPrivate::print_destroy_func): New private
73 (hildon_touch_selector_init): Initialize new private members.
74 (hildon_touch_selector_get_current_text): Pass along user data
75 to the print function.
76 (_default_print_func): Add dummy user_data to parameter list.
77 * hildon-date-selector.c (_custom_print_func): ditto,
78 * hildon-time-selector.c (_custom_print_func): ditto,
79 * hildon-touch-selector-entry.c
80 (hildon_touch_selector_entry_print_func): ditto.
82 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
84 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
86 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
88 2009-03-12 Alejandro G. Castro <alex@igalia.com>
90 * src/hildon-pannable-area.c,
91 (hildon_pannable_area_init),
92 (hildon_pannable_area_button_press_cb),
93 (hildon_pannable_area_motion_notify_cb): We have added code to
94 handle the leave and enter events when using the motion events.
96 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
98 2009-03-11 Alberto Garcia <agarcia@igalia.com>
100 * src/hildon-date-button.c (hildon_date_button_get_date)
101 (hildon_date_button_set_date): Make sure that the button has a
104 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
106 2009-03-11 Alejandro G. Castro <alex@igalia.com>
108 * src/hildon-pannable-area.c,
109 (hildon_pannable_area_class_init),
110 (hildon_pannable_area_calculate_velocity): Modify the use of the
111 force and adapt the value.
113 2009-03-10 Alberto Garcia <agarcia@igalia.com>
115 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
116 (hildon_app_menu_class_init): Hide the menu if it receives a
117 delete-event, but don't destroy it
119 Fixes: NB#104485 (Not able to address the call when application
120 menu is opened at background)
122 2009-03-10 Alberto Garcia <agarcia@igalia.com>
124 * src/hildon-app-menu.c
125 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
126 Remove the "external-border" style property, let the menu take its
127 natural size (or the one set by the window manager)
128 (hildon_app_menu_repack_items):
129 Don't reshow the menu, avoid flickers.
131 Partially fixes NB#94957 (Smoothly opened application menu)
133 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
138 * configure.ac: Bump version.
139 * debian/changelog: Updates.
141 2009-03-10 Alejandro G. Castro <alex@igalia.com>
143 * src/hildon-pannable-area.c,
144 (hildon_pannable_area_motion_notify_cb): We control that the
145 direction error margin is used just in case the movement is
146 allowed in the other direction.
148 Fixes: NB#105012 (buttons inside a pannable area not getting
149 release event when dragging/releasing)
151 2009-03-10 Alejandro G. Castro <alex@igalia.com>
153 * src/hildon-pannable-area.c,
154 (hildon_pannable_area_class_init),
155 (hildon_pannable_area_get_property),
156 (hildon_pannable_area_set_property),
157 (hildon_pannable_area_initial_effect),
158 (hildon_pannable_axis_scroll),
159 (hildon_pannable_area_button_release_cb): Reviewed the
160 overshooting effect, now it has its own max
161 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
164 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: Bump version.
170 * debian/changelog: Updates.
172 2009-03-09 Alejandro G. Castro <alex@igalia.com>
174 * src/hildon-pannable-area.c,
175 (hildon_pannable_area_class_init): Changed the max speed, now
176 users can launch the widget very fast. Reduced the default force,
177 that way it is easier to control the launch speed.
179 2009-03-09 Alejandro G. Castro <alex@igalia.com>
181 * src/hildon-pannable-area.c,
182 (hildon_pannable_area_button_release_cb): Removed this check
183 because it causes problems when the device is overloaded.
185 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
187 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
188 add a current_text field to store the text entered in the
189 touch selector entry.
190 (_clean_current_selection): clean up the current text as well.
191 (_save_current_selection), (_restore_current_selection):
192 Save/restore the text in the entry if the selector is a
193 HildonTouchSelectorEntry.
195 Fixes: NB#102541 (value entered in the touch selector entry is not
196 shown when opened for second time)
198 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
200 * doc/hildon-sections.txt:
201 * src/hildon-touch-selector-entry.c
202 (+hildon_touch_selector_entry_get_entry):
203 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
205 Fixes: NB#104815 (I need accessor to the entry inside
206 HildonTouchSelectorEntry)
208 2009-03-06 Alberto Garcia <agarcia@igalia.com>
210 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
211 (hildon_app_menu_class_init):
212 New "filter-vertical-spacing" style property.
214 2009-03-06 Alberto Garcia <agarcia@igalia.com>
216 * src/hildon-find-toolbar.c
217 (hildon_find_toolbar_emit_close)
218 (hildon_find_toolbar_emit_invalid_input)
219 (hildon_find_toolbar_entry_activate):
220 Use g_signal_emit() instead of g_signal_emit_by_name()
222 2009-03-06 Alberto Garcia <agarcia@igalia.com>
224 Patch by Mox Soini (ext-mox.soini@nokia.com)
226 * tests/TEST-CASES.txt
227 * tests/check-hildon-banner.c
228 * tests/check-hildon-note.c
229 * src/hildon-banner.c
230 * src/hildon-code-dialog.c
231 * src/hildon-date-editor.c (real_set_calendar_icon_state)
232 * src/hildon-time-editor.c
233 * examples/hildon-lookup-example.c (main):
234 Replace obsolete icon names with new ones.
236 * src/hildon-find-toolbar-private.h:
237 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
238 (-hildon_find_toolbar_emit_search):
239 Remove find button and change icon of close button.
241 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
243 2009-03-05 Alberto Garcia <agarcia@igalia.com>
245 * src/hildon-time-button.c (hildon_time_button_new_step):
246 Use the "touch-selector" property to set the selector directly
247 when creating the object.
249 2009-03-05 Alejandro G. Castro <alex@igalia.com>
251 Added a new example application that allows tuning the pannable
252 area and replaced defines with properties in order to simplify the
253 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
254 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
255 PROP_DIRECTION_ERROR_MARGIN.
257 * examples/hildon-pannable-area-tuning-example.c: New example
259 * src/hildon-pannable-area.c,
260 (hildon_pannable_area_class_init),
261 (hildon_pannable_area_init),
262 (hildon_pannable_area_get_property),
263 (hildon_pannable_area_set_property),
264 (hildon_pannable_area_launch_fade_timeout),
265 (hildon_pannable_area_adjust_value_changed),
266 (hildon_pannable_axis_scroll),
267 (hildon_pannable_area_motion_notify_cb),
268 (hildon_pannable_area_scroll_cb),
269 (hildon_pannable_area_button_release_cb): We have converted some
270 of the defines that control the widget to properties to simplify
273 2009-03-05 Alberto Garcia <agarcia@igalia.com>
275 * src/hildon-app-menu.c (hildon_app_menu_map)
276 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
277 so it's closed if a new window appears.
279 Fixes: NB#104485 (Not able to address the call when application
280 menu is opened at background)
282 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
284 * src/hildon-color-button.c (hildon_color_button_get_property):Add
285 missing 'break' statement in in 'case' construct to avoid
288 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
290 * src/hildon-touch-selector-entry.c
291 (hildon_touch_selector_entry_get_property),
292 (hildon_touch_selector_entry_set_property): Add missing 'break'
293 statements in in 'case' constructs to avoid incorrect warnings.
295 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
297 * src/hildon-time-editor.c
298 (hildon_time_editor_get_time_separators): Do not crash if
299 the first label is NULL.
301 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
303 * src/hildon-date-selector.c (_month_days): Check for month to be
304 strictly less than 12, since otherwise we may overrun the array.
306 2009-03-04 Alberto Garcia <agarcia@igalia.com>
308 * src/hildon-date-button.c (+hildon_date_button_new_full)
309 (hildon_date_button_new, hildon_date_button_new_with_year_range)
310 (hildon_date_button_init): Set the date selector using a
311 construction property, to make it happen after HildonButton's
312 "value" property is set.
314 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
315 current date by default)
317 2009-03-04 Alberto Garcia <agarcia@igalia.com>
319 * doc/hildon-sections.txt
320 * src/hildon-program.c
321 * src/hildon-stackable-window.c
322 * src/hildon-window.c:
323 Documentation updates
325 2009-03-04 Alberto Garcia <agarcia@igalia.com>
327 * src/hildon-window-stack.c (hildon_window_stack_get_default)
328 (hildon_window_stack_new, +hildon_window_stack_set_property)
329 (+hildon_window_stack_get_property)
330 (hildon_window_stack_class_init)
331 (+hildon_window_stack_set_window_group)
332 (+hildon_window_stack_get_window_group):
333 Make the window group a construction property.
335 2009-03-04 Alberto Garcia <agarcia@igalia.com>
337 * doc/hildon-sections.txt
338 * src/hildon-stackable-window-private.h
339 * src/hildon-stackable-window.h
340 * src/hildon-stackable-window.c
341 (-hildon_stackable_window_set_app_menu)
342 (-hildon_stackable_window_get_app_menu)
343 (-hildon_stackable_window_toggle_menu)
344 (-hildon_stackable_window_finalize)
345 (hildon_stackable_window_class_init)
346 (hildon_stackable_window_init)
347 * src/hildon-window-private.h
348 * src/hildon-window.h
349 * src/hildon-window.c (hildon_window_init)
350 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
351 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
352 (hildon_window_get_main_menu, hildon_window_set_main_menu)
353 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
354 Moved all HildonAppMenu code to HildonWindow. The menu does not
355 require a HildonStackableWindow anymore.
357 * src/hildon-app-menu.c
358 * src/hildon-program.c
359 * examples/hildon-app-menu-example.c (main):
360 Update examples and documentation to reflect HildonAppMenu
363 2009-03-04 Alberto Garcia <agarcia@igalia.com>
365 * src/hildon-remote-texture.c
366 * src/hildon-animation-actor.c:
367 Don't include unused private headers.
369 2009-03-04 Alberto Garcia <agarcia@igalia.com>
371 * src/hildon-program-private.h
372 * src/hildon-program.c
373 (hildon_program_set_common_menu)
374 (hildon_program_get_common_menu)
375 (hildon_program_set_common_app_menu)
376 (hildon_program_get_common_app_menu):
377 Change common menu pointers from GtkWidget* to GtkMenu* and
378 HildonAppMenu* to avoid unnecessary casts.
380 2009-03-03 Alberto Garcia <agarcia@igalia.com>
382 * src/hildon-window.c (hildon_window_set_main_menu):
383 Removed incorrect 'Since:' tag
385 2009-03-03 Alejandro G. Castro <alex@igalia.com>
387 * src/hildon-pannable-area.c,
388 (hildon_pannable_area_calculate_velocity): We use now the
389 RATIO_TOLERANCE here to check the distance, fixed typo in the
391 (hildon_pannable_area_motion_notify_cb): We have to set the type
392 and time even if we are not sending the motion.
394 2009-03-02 Alberto Garcia <agarcia@igalia.com>
396 * doc/hildon-sections.txt
397 * src/hildon-app-menu.h
398 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
399 (+hildon_app_menu_get_filters): New methods to get the contents of
402 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
405 2009-03-02 Alberto Garcia <agarcia@igalia.com>
407 * src/hildon-app-menu.c (hildon_app_menu_popup):
410 2009-03-02 Alberto Garcia <agarcia@igalia.com>
412 * src/hildon-window.h
413 * src/hildon-window.c (+hildon_window_get_main_menu)
414 (hildon_window_get_menu): Created hildon_window_get_main_menu()
415 and deprecated hildon_window_get_menu().
417 * src/hildon-stackable-window.h
418 * src/hildon-stackable-window.c
419 (+hildon_stackable_window_set_app_menu)
420 (+hildon_stackable_window_get_app_menu)
421 (hildon_stackable_window_set_main_menu): Created
422 hildon_stackable_window_{get,set}_app_menu() and deprecated
423 hildon_stackable_window_set_main_menu().
425 * doc/hildon-sections.txt
426 * examples/hildon-app-menu-example.c (main)
427 * src/hildon-app-menu.c
428 * src/hildon-program.c:
429 Updated examples and documentation.
431 Fixes: NB#103758 (No way to obtain a menu from a
432 HildonStackableWindow)
434 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
439 * configure.ac: Bump version.
440 * debian/changelog: Updates.
442 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
444 * examples/hildon-remote-texture-example.c: Include
445 hildon-remote-texture.h explicitely.
446 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
447 applications not defining _XOPEN_SOURCE which don't require this header.
449 2009-02-27 Alberto Garcia <agarcia@igalia.com>
451 * doc/hildon-sections.txt
452 * src/hildon-app-menu.h
453 * src/hildon-app-menu.c (+hildon_app_menu_popup):
454 New function to pop up a HildonAppMenu
456 * src/hildon-stackable-window.c
457 (hildon_stackable_window_toggle_menu):
458 Use hildon_app_menu_popup() to show the menu.
460 2009-02-27 Alberto Garcia <agarcia@igalia.com>
462 * src/hildon-app-menu.c (hildon_app_menu_show)
463 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
464 menu if there's another window between it and its parent window.
466 Fixes: NB#100468 (Application menu window is launched even when a
467 new secondary-window/dialog is pending to be shown/realized)
469 2009-02-27 Alberto Garcia <agarcia@igalia.com>
471 * src/hildon-window-stack.c (hildon_window_stack_push)
472 (hildon_window_stack_pop_and_push):
473 Don't forget to push/pop the first window.
474 Reverse the window list before calling _push_list()
476 2009-02-27 Alberto Garcia <agarcia@igalia.com>
478 * src/hildon-picker-button.h
479 * src/hildon-picker-button.c (hildon_picker_button_class_init):
480 Remove "value_changed" slot to avoid ABI breakage
482 2009-02-26 Alejandro G. Castro <alex@igalia.com>
484 * src/hildon-pannable-area.c,
485 (hildon_pannable_area_realize),
486 (hildon_pannable_area_unrealize),
487 (hildon_pannable_draw_vscroll),
488 (hildon_pannable_draw_hscroll): Changed the method to handle the
489 GC used to draw the transparent scrollbar, this way we avoid
490 creating the GC all the time when drawing the scrollbars.
492 2009-02-26 Alejandro G. Castro <alex@igalia.com>
494 * src/hildon-pannable-area.c,
495 (hildon_pannable_area_init),
496 (hildon_pannable_area_remove): Removed some unnecessary casts.
497 (hildon_pannable_area_dispose): Disconnected some signals before
498 releasing the adjustments.
500 2009-02-26 Alberto Garcia <agarcia@igalia.com>
502 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
503 Make sure that all widgets contained in the toolbar are shown.
505 2009-02-25 Alberto Garcia <agarcia@igalia.com>
507 * doc/hildon-sections.txt
508 * src/hildon-picker-button.h
509 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
510 (_selection_changed, hildon_picker_button_on_dialog_response)
511 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
512 New hildon_picker_button_value_changed() method.
515 * src/hildon-picker-button-private.h
516 * src/hildon-picker-button.c (hildon_picker_button_init)
517 (+hildon_picker_button_disable_value_changed): Add protected
518 function for disabling the "value-changed" signal.
520 * src/hildon-date-button.c (hildon_date_button_set_date):
521 Don't emit "value-changed" for each one of the three columns.
523 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
524 before actual change of values)
526 2009-02-24 Alejandro G. Castro <alex@igalia.com>
528 * src/hildon-pannable-area.c,
529 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
530 for the treeview overshooting.
532 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
534 * src/hildon-banner.c (+hildon_banner_bind_style):
535 Renamed from hildon_banner_bind_label_style(), now naming the
536 banner itself as well.
537 (hildon_banner_show_information),
538 (hildon_banner_show_information_with_markup),
539 (hildon_banner_show_animation), (hildon_banner_show_progress):
540 Name the widgets and labels, based on their type.
542 See NB#98597 (Hildon Note and Hildon Banner should use themeable
545 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
547 * src/hildon-note.c (hildon_note_set_property): call
548 hildon_note_rename() on HildonNote:note-type set.
549 (hildon_note_rename): Name the note and its label, based on the
550 HildonNote:note-type property.
552 See NB#98597 (Hildon Note and Hildon Banner should use themeable
555 2009-02-24 Alejandro G. Castro <alex@igalia.com>
557 * src/hildon-pannable-area.c,
558 (hildon_pannable_area_class_init),
559 (hildon_pannable_area_motion_notify_cb): Reviewed the default
560 panning parameters, increased SPS and deceleration factor. Added
561 also a margin to control fake directions.
563 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
565 Patch by Sven Herzberg (sven@imendio.com)
567 * configure.ac: Add missing AM_PROG_CC_C_0
568 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
570 See NB#101420 (Update unit tests and fix make check)
572 2009-02-23 Alejandro G. Castro <alex@igalia.com>
574 This patch was applied before but reverted because it caused
575 problems, we have changed the main condition and tested the
576 regressions we detected before and they work ok. We have done a
577 complete review of the topmost algorithm in order to get a more
580 * src/hildon-pannable-area.c,
581 (hildon_pannable_area_get_topmost): Added a new parameter to
582 filter the the windows that do not include those events.
583 (hildon_pannable_area_button_press_cb),
584 (hildon_pannable_area_button_release_cb),
585 (hildon_pannable_get_child_widget_at): Reviewed the call the the
586 topmost function, we have added the new parameter.
588 Fixes: NB#97458 (Pannable area prevents propagation of button
591 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
593 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
594 if all columns in the selector have an item selected.
595 (_on_dialog_response): Stop "response" signal emission if there is
596 any selector column without selected items.
598 Fixes: NB#101889 (Picker dialog should not close when nothing is
599 selected in multiple selection list)
601 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
603 * src/hildon-font-selection-dialog.c
604 (hildon_font_selection_dialog_class_init),
605 (hildon_font_selection_dialog_init): Remove the preview
606 button and dialog, since previewing with default theming is likely
607 to be overcomplicated. The :preview property has now no effect.
608 Update documentation blurbs to inform about this.
610 Fixes: NB#92297 (Preview content is not clearly visible for
613 2009-02-20 Alejandro G. Castro <alex@igalia.com>
615 Reviewed the geometry that handles the children size and
616 scrollbar, now it tries a size and reviews the results depending
617 on the scrollbars visibility.
619 * src/hildon-pannable-area.c,
620 (hildon_pannable_area_realize): Fixed a typo.
621 (hildon_pannable_area_child_allocate_calculate): Added this
622 function to calculate the child allocation.
623 (hildon_pannable_area_size_allocate): Reviewed the allocation
625 (hildon_pannable_area_check_scrollbars),
626 (hildon_pannable_area_refresh): Refactored refresh function, this
627 way we can call the code handling the scrollbars without causing a
628 size_request, it is interesting in the allocate.
629 (hildon_pannable_area_init): Replace the callbacks of the
630 value_changed and changed signals to propertly deal with the
632 (hildon_pannable_area_grab_notify),
633 (hildon_pannable_area_initial_effect),
634 (hildon_pannable_area_launch_fade_timeout),
635 (hildon_pannable_area_adjust_changed),
636 (hildon_pannable_area_adjust_value_changed),
637 (hildon_pannable_area_redraw),
638 (hildon_pannable_area_button_press_cb),
639 (hildon_pannable_area_button_release_cb),
640 (hildon_pannable_area_scroll_cb),
641 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
642 code and use the new functions adjust_changed and
643 adjust_value_changed.
645 Fixes: NB#101603 (Focus is not even for the text entry boxes in
646 Contact editor dialog)
648 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
653 * configure.ac: Bump version.
654 * debian/changelog: Updates.
656 2009-02-20 Alejandro G. Castro <alex@igalia.com>
658 * src/hildon-pannable-area.c,
659 (hildon_pannable_area_get_topmost),
660 (hildon_pannable_area_button_press_cb),
661 (hildon_pannable_area_button_release_cb),
662 (hildon_pannable_get_child_widget_at): Reverted the patch for the
663 topmost function adding the event mask. We have to try a
664 differente approach because it is still causing problems (NB#9745,
667 2009-02-19 Alberto Garcia <agarcia@igalia.com>
669 * src/hildon-banner.c:
670 Update the maximum width of timed banners.
671 (force_to_wrap_truncated): Enforce the maximum text width if the
674 Fixes: NB#102413 (The text margins (wrapping) in information
675 banner should be HILDON_MARGIN_TRIPLE)
677 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
679 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
681 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
682 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
683 bound when calculating the scroll indicator position.
685 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
686 treat ->lower correctly)
688 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-caption.c (hildon_caption_class_init): Remove the
691 expose event handling, since it is not necessary to draw the focus
694 Fixes: NB#102467 (Do not show highlight on the text in
697 2009-02-18 Alberto Garcia <agarcia@igalia.com>
699 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
700 full height of the toolbar for the button and the label.
702 2009-02-18 Alberto Garcia <agarcia@igalia.com>
704 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
705 padding before the label and after the button.
707 2009-02-18 Alberto Garcia <agarcia@igalia.com>
709 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
711 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
712 Add a GtkVSeparator between the button and the back arrow.
713 Let the button have automatic size.
714 Set a name to the widget for theming handling.
716 Fixes: NB#101793 (Make edit toolbar the same height as window
717 title bar (use title area theming))
719 2009-02-18 Alberto Garcia <agarcia@igalia.com>
721 * src/hildon-helper.c (attach_new_color_element): Fix memory
724 Fixes: NB#102262 (memory leak in hildon_button_set_style())
726 2009-02-18 Alberto Garcia <agarcia@igalia.com>
728 * examples/hildon-button-example.c (common_buttons_window): Don't
731 2009-02-18 Alberto Garcia <agarcia@igalia.com>
733 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
734 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
736 2009-02-18 Alberto Garcia <agarcia@igalia.com>
738 * src/hildon-gtk.c: Check that the window is realized.
740 Fixes: NB#102225 (Crash setting the progress indicator to a non
743 2009-02-17 Alberto Garcia <agarcia@igalia.com>
745 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
746 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
747 instead of modifying the one in the widget style.
749 Fixes: NB#101043 (Second row of all the command button are
750 displayed in transparent mode.)
752 2009-02-17 Alberto Garcia <agarcia@igalia.com>
754 * src/hildon-date-button.c
755 * src/hildon-time-button.c: Add gettext macros
757 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
759 * src/hildon-date-button.c (hildon_date_button_new):
760 * src/hildon-time-button.c (hildon_time_button_new_step):
761 Use new logical strings to set the button default title.
763 Fixes: NB#99915 (Date and Time options are not localised in Date
766 2009-02-16 Alejandro G. Castro <alex@igalia.com>
768 * src/hildon-pannable-area.c
769 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
770 the PANNING_THRESHOLD.
772 2009-02-16 Alejandro G. Castro <alex@igalia.com>
774 * src/hildon-pannable-area.c,
775 (hildon_pannable_area_class_init): Increased the maximum speed.
776 (hildon_pannable_area_get_property),
777 (hildon_pannable_area_set_property),
778 (hildon_pannable_area_timeout): Added a new low friction mode, it
779 allows the user avoid friction when launching the widget fast
780 enough. It is interesting to traverse long lists.
782 2009-02-16 Alberto Garcia <agarcia@igalia.com>
784 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
785 (+hildon_stackable_window_delete_event): Ignore delete events if
786 the window is not the topmost one.
788 Fixes: NB#101698 (Back button long press and delete-event handling)
790 2009-02-16 Alejandro G. Castro <alex@igalia.com>
792 * src/hildon-pannable-area.c,
793 (hildon_pannable_area_motion_notify_cb): Removed the use of the
794 gtk-dnd-drag-threshold, it was too big. We have defined our own
795 dnd define and set a smaller value: PANNIG_THRESHOLD.
797 2009-02-16 Alberto Garcia <agarcia@igalia.com>
799 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
800 user-defined icons, use always the default one.
802 Fixes: NB#101916 (Do not allow custom icons on animation banner)
804 2009-02-13 Alejandro G. Castro <alex@igalia.com>
806 This patch was applied before but reverted because it caused
807 problems, we have changed the main condition and tested the
808 regressions we detected before and they work ok.
810 * src/hildon-pannable-area.c,
811 (hildon_pannable_area_get_topmost): Added a new parameter to
812 filter the the windows that do not include those events. Added
813 also a condition when finding the window to filter windows that do
814 not ask for those events.
815 (hildon_pannable_area_button_press_cb),
816 (hildon_pannable_area_button_release_cb),
817 (hildon_pannable_get_child_widget_at): Reviewed the call the the
818 topmost function, we have added the new parameter.
820 Fixes: NB#97458 (Pannable area prevents propagation of button
823 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
825 * tests/check-hildon-color-button.c (START_TEST): do not leak
828 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
830 * src/hildon-font-selection-dialog.c
831 (hildon_font_selection_dialog_get_preview_text): Return NULL
832 instead of FALSE on the g_return_val_if_fail().
834 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
836 * src/hildon-time-selector.c (hildon_time_selector_set_time):
837 * src/hildon-date-selector.c
838 (hildon_date_selector_select_current_date):
839 Do not compare unsigned integers to be greater than or equal 0,
840 because it's always TRUE.
842 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
844 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
845 (hildon_date_selector_constructor): Do not select the current
846 date until we are handle the "changed" signal, to avoid having bogus
847 elements in the days model.
849 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
852 for num_days, since _month_days() can return a negative value.
854 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
856 * src/hildon-caption.c (hildon_caption_size_allocate):
857 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
858 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
860 Initialize allocation variables to 0, to avoid eventually using
861 unitialized variables.
863 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
865 * src/hildon-bread-crumb-trail.c
866 (hildon_bread_crumb_trail_size_allocate):
867 * src/hildon-calendar.c (hildon_calendar_set_background):
868 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
869 * src/hildon-range-editor.c (hildon_range_editor_get_range):
870 * src/hildon-seekbar.c (hildon_seekbar_init):
871 * src/hildon-time-editor.c (hildon_time_editor_get_time):
872 * src/hildon-time-selector.c (hildon_time_selector_finalize):
873 * src/hildon-touch-selector-entry.c
874 (hildon_touch_selector_get_text_from_model):
875 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
876 * src/hildon-window.c (hildon_window_finalize):
878 Remove many unused variables.
880 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
882 * src/hildon-seekbar.c: (hildon_seekbar_init),
883 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
885 Remove unnecessary g_assert() calls.
887 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
889 * src/hildon-caption.c: (hildon_caption_expose),
890 (hildon_caption_set_property), (hildon_caption_init),
891 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
892 (hildon_caption_size_request), (hildon_caption_size_allocate),
893 (hildon_caption_forall), (hildon_caption_set_separator),
894 (hildon_caption_activate), (hildon_caption_set_child_expand),
895 (hildon_caption_set_label_text),
896 (hildon_caption_get_label_alignment):
898 Remove unnecessary g_assert() calls.
900 2009-02-12 Alberto Garcia <agarcia@igalia.com>
902 * src/hildon-banner.c
903 (hildon_banner_map, hildon_banner_init): Make banner temporary
904 before mapping it to avoid closing other temporary windows, but
905 make it non-temporary afterwards to avoid being closed by other
906 non-temporary windows.
907 (-hildon_banner_client_event, hildon_banner_init):
908 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
910 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
913 2009-02-11 Alberto Garcia <agarcia@igalia.com>
915 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
918 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
920 * src/hildon-remote-texture.c
921 * src/hildon-remote-texture.h
922 * src/hildon-remote-texture-private.h
923 * examples/hildon-remote-texture-example.c:
924 Updates/fixes to remote-texture and its example.
926 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
928 Patch by Mox Soini (ext-mox.soini@nokia.com)
930 * src/hildon-code-dialog.c: Update logical id.
931 * src/hildon-set-password-dialog.c: Update logical id.
933 Fixes: NB#100646 (Logical strings is shown for ok in set
934 password,Password needed dialogs)
936 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
939 * src/hildon-remote-texture.c
940 * src/hildon-remote-texture.h
941 * src/hildon-remote-texture-private.h
943 Added remote texture widget (for Clutter shared memory textures)
945 * examples/hildon-remote-texture-example.c
946 * examples/Makefile.am
947 Added example file for remote texture usage
949 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
951 * configure.ac: post release version bump.
952 * debian/changelog: version bump.
954 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
959 * configure.ac: Bump version.
960 * debian/changelog: Updates.
962 2009-02-06 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-date-selector.c (hildon_date_selector_init)
965 (hildon_date_selector_constructor): Don't connect to the "changed"
966 signal until the selector is completely constructed.
968 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
970 * src/hildon-touch-selector.c: (_create_new_column),
971 (hildon_touch_selector_append_column),
972 (hildon_touch_selector_set_column_selection_mode),
973 (hildon_touch_selector_set_active),
974 (hildon_touch_selector_select_iter):
975 Emit the HildonTouchSelector::changed signal every time selection
976 is changed in any of the methods above. This behavior was already
977 documented but not fully functional.
979 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
980 selection is programmatically changed)
982 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
984 * doc/hildon-sections.txt: Remove obsolete icon
985 sizes from here as well.
987 2009-02-05 Alberto Garcia <agarcia@igalia.com>
989 * examples/hildon-stackable-window-example.c (add_window): Remove
992 2009-02-05 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-app-menu.c
995 (hildon_app_menu_show): Check whether the parent window of a menu
996 is topmost before popping it up.
998 Fixes: NB#100468 (Application menu window is launched even when a
999 new secondary-window/dialog is pending to be shown/realized.)
1001 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1003 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1006 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1008 Patch by Mox Soini (ext-mox.soini@nokia.com)
1010 * src/hildon-banner.c: (hildon_banner_show_animation):
1011 use stylus size instead of obsolete note size.
1012 * src/hildon-defines.h: Update icon sizes.
1014 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1016 * src/hildon-touch-selector-entry.c:
1017 (hildon_touch_selector_entry_init): Disable unsupported
1019 (hildon_touch_selector_entry_get_text_column): Emit a warning
1020 if an unsupported input modes is used and explicitile state
1021 these modes in the documentation.
1023 Fixes: NB#99802 (Hildon touch selector entry not working properly
1024 for some of the input modes)
1026 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1028 * src/hildon-pannable-area.c,
1029 (hildon_pannable_area_init): Added the changed signal handlers of
1032 Fixes: NB#100320 (HildonPannableArea does not listen to
1033 GtkAdjustment "change" signals)
1035 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1037 * doc/hildon-sections.txt
1038 * src/hildon-window-private.h
1039 * src/hildon-window.h
1040 * src/hildon-window.c (hildon_window_init)
1041 (hildon_window_realize, hildon_window_unrealize)
1042 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1043 (hildon_window_size_request, hildon_window_size_allocate)
1044 (hildon_window_forall, hildon_window_show_all)
1045 (hildon_window_destroy, +paint_edit_toolbar)
1046 (+hildon_window_set_edit_toolbar):
1047 New hildon_window_set_edit_toolbar() method, to add a
1048 HildonEditToolbar to a window without having to pack it manually.
1050 Reorganize hildon_window_size_allocate()
1052 * src/hildon-edit-toolbar.c: Update documentation.
1054 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1055 example to use the new API.
1057 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1059 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1061 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1062 Remove from stack before calling parent's hide.
1064 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1066 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1067 window is removed from the middle of the stack, update the
1068 transiency of the previous one.
1070 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1073 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1075 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1076 block/unblock the signal handler if it's not actually being used.
1077 Fixes some critical warnings.
1079 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1081 Based on a patch by Iván Gómez (igomez@igalia.com)
1083 * src/hildon-banner.c
1087 * src/hildon-pannable-area.c
1088 * src/hildon-picker-dialog.c
1089 * src/hildon-wizard-dialog.h
1090 * src/hildon-wizard-dialog.c: Documentation updates.
1092 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1093 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1095 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1097 * configure.ac: post release version bump.
1098 * debian/changelog: version bump.
1100 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1105 * configure.ac: Bump version.
1106 * debian/changelog: Updates.
1108 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1110 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1111 a stock icon nor change the relief of the back arrow.
1113 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1114 graphics from theme)
1116 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1118 * src/hildon-button.c (hildon_button_set_alignment): Use
1119 priv->alignment if the button has no child yet.
1121 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1123 * src/hildon-button.c: (hildon_button_init): Set the
1124 button style during initialization to give it the proper
1127 Fixes: NB#99713 (HildonButton value label color is wrong)
1129 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-touch-selector.c: Document
1132 hildon_touch_selector_center_on_selected()
1134 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1136 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1137 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1138 all menu items, but not the menu itself.
1139 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1140 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1141 items after adding them to the menu so keyboard accelerators work.
1142 (hildon_app_menu_show): Don't show the menu if it contains items
1143 but none of them are visible.
1145 * examples/hildon-app-menu-example.c (create_menu): Use
1146 gtk_widget_show_all() to show all menu items.
1148 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1150 * src/hildon-picker-dialog.c:
1151 (-_update_title_on_selector_changed_cb),
1152 (-_dialog_update_title): Removed.
1153 (_select_on_selector_changed_cb), (_on_dialog_response),
1154 (on_selector_columns_changed): Do not update the dialog title.
1155 (setup_interaction_mode): Do not connect to
1156 HildonTouchSelector::changed signal if there's a "done" button, as
1157 the dialog title doesn't need to be updated.
1159 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1162 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1164 Patch by Kristian Rietveld (kris@imendio.com)
1166 * src/hildon-touch-selector.c: (_create_new_column): Use new
1167 GtkTreeView::hildon-row-tapped signal to react to user interactions
1168 instead of ::changed.
1170 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1171 with some dynamic tree model)
1173 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1176 (+screen_size_changed, +label_size_request)
1177 (hildon_note_class_init): Make the Hildon information note have a
1178 minimum height, and make its text hvae a maximum width.
1180 Fixes: NB#98614 (Hildon information note (background) should have
1181 minimum height and maximum text width)
1183 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1185 * src/hildon-banner.h
1186 * src/hildon-banner.c (hildon_banner_show_information)
1187 (hildon_banner_show_informationf)
1188 (hildon_banner_show_information_with_markup): Update documentation
1189 to reflect that the icon_name parameter is not used anymore.
1190 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1191 Remove all code from these functions and mark them as deprecated.
1192 (hildon_banner_show_progress): Mark as deprecated.
1194 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1196 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1198 * src/hildon-pannable-area.c,
1199 (hildon_pannable_area_class_init),
1200 (tranparency_color),
1201 (hildon_pannable_draw_vscroll),
1202 (hildon_pannable_draw_hscroll),
1203 (hildon_pannable_area_expose_event): Added a new way to render the
1204 scrollbars of the pannable area avoiding using cairo at all. This
1205 way we improve the performance of the pannable area rendering. The
1206 cairo rendering procedure is still in the code, we can control
1207 which one to use changing the value of the define
1208 USE_CAIRO_SCROLLBARS.
1210 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1212 * configure.ac: post release version bump.
1213 * debian/changelog: version bump.
1215 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1220 * configure.ac: Bump version.
1221 * debian/changelog: Updates.
1223 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1225 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1226 banners instead of destroying them when they receive a button
1229 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1231 Reverted commit 34028, it was causing regressions, probably the
1232 topmost condition is not correct, we have to check it in more
1233 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1234 propagation of button press events)
1236 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1238 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1239 that the selection is not empty before attempting to retrieve the
1240 current ampm selection.
1242 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1244 * src/hildon-picker-button.c:
1245 (hildon_picker_button_on_dialog_response): Directly update the
1246 button contents when required instead of calling _selection_changed.
1248 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1250 * src/hildon-program.c (hildon_program_update_top_most): Update
1251 'is-topmost' property also when wm_hints is not set.
1253 Fixes: NB#98383 (is-topmost signal is not emitted when task
1254 switcher is clicked.)
1256 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1258 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1262 * src/hildon-animation-actor.c,
1263 * src/hildon-animation-actor.h: Added the animation actor class,
1264 this widget represents an animation actor for WM-assisted
1265 animation effects in the Hildon framework.
1267 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1269 * src/hildon-window-stack-private.h
1270 * src/hildon-window-stack.c
1271 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1272 Avoid calling gtk_widget_show() again indirectly from
1273 hildon_stackable_window_show()
1275 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1277 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1280 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1282 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1283 (hildon_time_selector_init): Move the construction of the hours and
1284 ampm columns to the constructor to preserve the order the columns
1287 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1289 * src/hildon-picker-dialog.c:
1290 (hildon_picker_dialog_class_init): Connect a realize method.
1291 (+hildon_picker_dialog_realize): Setup the interaction mode here
1293 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1294 yet, do it during the realize instead.
1295 (_on_dialog_response):
1296 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1297 if the widget is not realized, to avoid the dialog response before it
1300 Avoid premature responses in the HildonPickerDialog that can cause it
1301 to be hidden before it's even shown.
1303 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1305 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1306 (on_selector_columns_changed), (requires_done_button),
1307 (+prepare_action_area), (setup_interaction_mode),
1308 (_hildon_picker_dialog_set_selector):
1310 Split the interaction mode setup into preparation of the
1311 action area (prepare_action_area()) and the connection of
1312 the signals in setup_interaction_mode() and update the code to
1315 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1317 * src/hildon-pannable-area.c,
1318 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1319 per second to 15, we will check if this is ok regarding
1322 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1324 * src/hildon-pannable-area.c,
1325 (hildon_pannable_axis_scroll): Avoid resize if we already have
1326 reached overshoot_max.
1328 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1330 * src/hildon-pannable-area.c,
1331 (hildon_pannable_area_init),
1332 (hildon_pannable_area_realize),
1333 (hildon_pannable_area_size_allocate),
1334 (hildon_pannable_area_map),
1335 (hildon_pannable_area_unmap),
1336 (hildon_pannable_draw_vscroll),
1337 (hildon_pannable_draw_hscroll),
1338 (hildon_pannable_area_expose_event),
1339 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1340 pannable are to avoid the expose events go to the window and
1341 redraw the window. We save this way that part of the stack and the
1342 paint_boxes. We had to change the positions of the elements when
1345 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1348 * src/hildon-color-chooser-dialog.c:
1349 (hildon_color_chooser_dialog_init):
1350 * src/hildon-font-selection-dialog.c:
1351 (hildon_font_selection_dialog_init),
1352 (hildon_font_selection_dialog_show_preview):
1353 * src/hildon-get-password-dialog.c:
1354 * src/hildon-login-dialog.c:
1355 * src/hildon-set-password-dialog.c:
1356 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1357 * src/hildon-time-picker.c: (hildon_time_picker_init):
1359 Remove obsolete logical string IDs and update to the appropriate ones.
1361 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1363 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1365 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1366 that happens if the window hasn't been realized yet.
1368 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1369 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1371 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1373 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1374 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1377 Fixes: NB#98537 (Device hangs in account settings dialog)
1379 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1381 * configure.ac: post release version bump.
1382 * debian/changelog: version bump
1384 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1389 * configure.ac: Bump version.
1390 * debian/changelog: Updates.
1392 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1394 Added a new function to the HildonTimeButton widget that allows to
1395 change the step of the minutes in the selector associated with the
1396 button: hildon_time_button_new_step
1398 * src/hildon-time-button.c,
1399 (hildon_time_button_init),
1400 (hildon_time_button_new),
1401 (hildon_time_button_new_step):
1402 * src/hildon-time-button.h: Added the new function and refactored
1404 * examples/hildon-time-button-example.c,
1405 (main): We have replaced the function without parameters with the
1406 function with the steps set to 5
1408 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1410 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1412 * src/hildon-time-selector.c,
1413 (hildon_time_selector_class_init),
1414 (hildon_time_selector_constructor),
1415 (hildon_time_selector_get_property),
1416 (hildon_time_selector_set_property),
1417 (_create_minutes_model),
1418 (hildon_time_selector_new_step),
1419 (hildon_time_selector_set_time),
1420 * src/hildon-time-selector.h: Added a new property to the
1421 HildonTimeSelector (minutes-step), we use that property to control
1422 the steps between the minutes in the list of the selector. We have
1423 added a new function to the API to create a widget changing the
1424 step: hildon_time_selector_new_step.
1426 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1428 * src/hildon-time-selector.c,
1429 (hildon_time_selector_class_init),
1430 (hildon_time_selector_constructor),
1431 (hildon_time_selector_init): Overrided the construct function when
1432 creating the time selector object. We have moved the minutes model
1433 handling code from the init to the new construction function:
1434 hildon_time_selector_constructor.
1436 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1438 * examples/hildon-date-button-example.c: (main): Use the new
1439 hildon_date_button_new_with_year_range() method in the example.
1440 * src/hildon-date-button.c:
1441 (+hildon_date_button_new_with_year_range): New public method
1442 to conveniently create a HildonDateButton with a custom year range
1443 in its HildonDateSelector.
1444 * src/hildon-date-button.h: Add the new public method definition.
1446 Fixes: NB#97908 (Not possible to change the year range in
1447 HildonDateSelector/HildonDateButton)
1449 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1451 * src/hildon-date-selector.c:
1452 (+hildon_date_selector_set_property),
1453 (+hildon_date_selector_get_property),
1454 (hildon_date_selector_class_init): Install new properties "min-year"
1455 and "max-year" to define boundaries for the year column.
1456 (_create_year_model): Use the boundary properties to populate the model.
1457 (+hildon_date_selector_new_with_year_range): New public method to
1458 create a HildonDateSelector with a user defined year range.
1459 (hildon_date_selector_select_current_date): Use the new boundaries to
1460 calculate the iterator of current year.
1461 * src/hildon-date-selector.h: Add the new public method definition.
1463 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1465 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1466 Install a constructor method.
1467 (+hildon_date_selector_construct_ui): construct the widget.
1468 (+hildon_date_selector_constructor): new constructor.
1469 (+hildon_date_selector_init): move out widget construction code to
1470 the new constructor.
1472 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1474 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1475 that there's actually a month or year selected before obtaining them.
1476 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1477 of the HildonTouchSelector::changed signal, as it was emitted on every
1478 single item selection.
1480 Fix some warnings and possible crashers due to the selection restoring.
1482 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1484 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1485 the signal handlers only after creating the dialog instead of on every
1488 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1490 * src/hildon-button.c (hildon_button_init)
1491 * src/hildon-check-button.c (hildon_check_button_init)
1492 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1493 focus when clicked by default.
1495 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1497 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1500 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1502 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1503 Alejandro G. Castro (alex@igalia.com)
1505 * src/hildon-picker-dialog.c:
1506 (hildon_picker_dialog_class_init): install new "center-on-show"
1508 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1509 (hildon_picker_dialog_set_property): add setter code for the new
1511 (hildon_picker_dialog_get_property): add getter code for the new
1513 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1514 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1517 Fixes: NB#92849 (Selected item is not always visible when
1518 HildonTouchSelector is shown)
1520 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1522 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1523 Alejandro G. Castro (alex@igalia.com)
1525 * src/hildon-touch-selector.c:
1526 (_create_new_column): Do not connect to the "realize" signal of the
1528 (hildon_touch_selector_append_column): center on the selected items
1529 when a new column is appended.
1530 (hildon_touch_selector_select_iter): Factor out the code to select a
1531 column to hildon_touch_selector_scroll_to().
1532 (+search_nearest_element): Method to retrieve the nearest selected
1533 element to the visible area of the pannable area in a column.
1534 (+on_realize_cb): scroll to the initially selected item.
1535 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1536 the pannable area is realized, otherwise delay this until it is.
1537 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1538 selected items of a given column.
1539 (+hildon_touch_selector_center_on_selected): Public method to center
1540 all columns on the nearest selected item.
1541 * src/hildon-touch-selector.h: Add definition for
1542 hildon_touch_selector_center_on_selected().
1544 Implement public API to ensure visibility of all selected items in
1545 a HildonTouchSelector.
1547 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1549 Fixed a problem in the fading when calling the scroll_to API, and
1550 improve scrollbar fading handling.
1552 * src/hildon-pannable-area.c,
1553 (hildon_pannable_area_grab_notify): avoid the timeout when the
1555 (hildon_pannable_area_button_press_cb),
1556 (hildon_pannable_area_motion_notify_cb): Code style changes.
1557 (hildon_pannable_area_button_release_cb): Review the conditions
1558 when releasing the mouse button to avoid unrequired fading
1560 (hildon_pannable_area_scroll_to): Do not calculate and set the
1561 velocity if the scroll is not required.
1563 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1566 Don't check whether the new selector is NULL: it cannot be.
1567 Hold a reference to the selector while doing the replacement.
1569 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1571 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1572 unnecessary size_request in a removed widget.
1574 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1577 an unnecessary reference tracking that was leaking.
1579 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1581 Added delayed motion notify event handling, this way we can
1582 discard redrawing if more than 25 events arrive per second.
1584 * src/hildon-pannable-area.c,
1585 (hildon_pannable_area_init): Initialized the new private atributes
1586 controlling this timeout
1587 (hildon_pannable_area_dispose): Remove the timeout that controls
1588 the motion notify events.
1589 (hildon_pannable_area_scroll): Added a condition to control the
1590 use of the acceleration.
1591 (hildon_pannable_area_motion_event_scroll_timeout),
1592 (hildon_pannable_area_motion_event_scroll): Added this two
1593 functions, they handle the motion notify events inside the
1595 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1596 to the scroll method with the new function.
1597 (hildon_pannable_area_button_release_cb): We have to remove the
1598 timeout handler and move to the last position if the last motion
1599 events were not handled.
1601 Fixes: NB#97028 (Pannable area updates on every motion event)
1603 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1605 * src/hildon-pannable-area.c,
1606 (hildon_pannable_area_get_topmost): Added a new parameter to
1607 filter the the windows that do not include those events. Added
1608 also a condition when finding the window to filter windows that do
1609 not ask for those events.
1610 (hildon_pannable_area_button_press_cb),
1611 (hildon_pannable_area_button_release_cb),
1612 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1613 topmost function, we have added the new parameter.
1615 Fixes: NB#97458 (Pannable area prevents propagation of button
1618 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1620 * src/hildon-pannable-area.c,
1621 (hildon_pannable_area_initial_effect): Added controls before
1622 launching the timeout and the idle functions.
1623 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1624 of the method, in some situations it can return with TRUE and 0 in
1626 (hildon_pannable_area_button_press_cb): We do not need to set
1627 DELAY for fading out here.
1629 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1631 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1633 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1634 post-cleaning if the selection is not NULL.
1636 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1638 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1639 all items before restoring the selection.
1641 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1643 * src/hildon-touch-selector.c:
1644 (+hildon_touch_selector_unselect_all):
1645 * src/hildon-touch-selector.h: New API to unselect all items in a
1646 column of the touch selector.
1648 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1650 * src/hildon-pannable-area.c,
1651 (hildon_pannable_area_redraw): Added a call to the refresh
1652 function inside the redraw because apparently in some cases the
1653 change in the adjustment does not imply a size allocate.
1655 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1656 despite the view not being scrollable)
1658 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1660 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1661 leak. Check for NULL before attempting to set the window title.
1663 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1665 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1666 whether to show or not the 'Done' button each time the dialog is
1667 shown, as it depends on the HildonTouchSelector selection mode.
1669 Fixes: NB#96226 (In multiple selection mode Done button is shown
1670 sometimes in listpicker)
1672 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1675 for the number of columns in the HildonTouchSelector more than once.
1677 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1679 * src/hildon-touch-selector.c: Minor documentation fixes.
1681 * src/hildon-picker-dialog.c (+_dialog_update_title)
1682 (_select_on_selector_changed_cb)
1683 (_update_title_on_selector_changed_cb)
1684 (on_selector_columns_changed): Update dialog title when there's no
1685 'Done' button and also when the number of columns in the selector
1689 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1690 (+_selection_changed, hildon_picker_button_on_dialog_response)
1691 (hildon_picker_button_selector_selection_changed)
1692 (+hildon_picker_button_selector_columns_changed)
1693 (hildon_picker_button_set_selector): Update button value and emit
1694 'value-changed' when the number of columns in the selector
1698 Fixes: NB#96225 (Dialog titles are not shown according to the
1699 values selected in the list picker)
1701 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1703 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1704 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1705 New "arrow-width" and "arrow-height" style properties to set the
1706 size of the arrow button.
1707 Set name of arrow button ("hildon-edit-toolbar-arrow").
1709 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1710 graphics from theme)
1712 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-picker-button.c:
1715 (hildon_picker_button_selector_selection_changed): Use
1716 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1717 the dialog is present.
1719 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1720 the selection is accepted in the dialog)
1722 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-color-chooser.h
1725 * src/hildon-color-chooser-dialog.h:
1726 Added G_BEGIN_DECLS and G_END_DECLS
1728 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1730 (_clean_current_selection): plug a leak in the list.
1732 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1734 * src/hildon-picker-dialog.c:
1735 (+free_path_list): Method to free a GList of GtkTreePaths.
1736 (_clean_current_selection), (_save_current_selection),
1737 (_restore_current_selection): Save the current selection in
1738 as a list of lists, to support multiple selection properly.
1740 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1742 patch by Claudio Saavedra (csaavedra@igalia.com)
1744 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1745 Store the press position.
1746 (+hildon_text_view_button_release_event): If the release position is
1747 close enough to the press position, move the cursor here. Otherwise,
1749 (hildon_text_view_class_init): Override GtkTextView press, release, and
1750 motion event handlers, disabling this way text selection through
1751 pointer interaction, and allowing the container widget to handle the
1754 Fixes: NB#95828 (HildonTextView functionality)
1756 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1758 Based on a patch by Iván Gómez (igomez@igalia.com)
1760 * src/hildon-button.[ch]
1761 * src/hildon-calendar.c
1762 * src/hildon-check-button.c
1763 * src/hildon-date-editor.c
1764 * src/hildon-date-selector.c
1765 * src/hildon-picker-button.c
1766 * src/hildon-time-editor.c
1767 * src/hildon-time-selector.c
1768 * src/hildon-touch-selector.[ch]:
1769 Documentation updates
1771 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1773 * src/hildon-pannable-area.c,
1774 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1775 threshold, it was required due to X events handling.
1777 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1779 * src/hildon-pannable-area.c,
1780 (hildon_pannable_area_grab_notify),
1781 (hildon_pannable_area_initial_effect),
1782 (hildon_pannable_area_button_press_cb),
1783 (hildon_pannable_area_button_release_cb),
1784 (hildon_pannable_area_scroll_cb),
1785 (hildon_pannable_area_scroll_to): Review the timeout management of
1786 the scrollbar, the frecuency was incorrectly set.
1788 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1790 * src/hildon-picker-button.c:
1791 (+hildon_picker_button_on_dialog_response),
1792 (hildon_picker_button_clicked): Present the dialog instead of
1793 running it with gtk_dialog_run().
1795 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1798 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1800 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1801 (hildon_app_menu_finalize): When a window is hidden it doesn't
1802 emit notify::is-topmost, so make sure than the menu also
1803 disappears in that case.
1804 (parent_window_topmost_notify): Renamed from parent_window_hidden
1806 Fixes: NB#94460 (stackable window's menu is not closed when its
1809 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-touch-selector-entry.c:
1812 (+hildon_touch_selector_entry_set_input_mode),
1813 (+hildon_touch_selector_entry_get_input_mode):
1814 * src/hildon-touch-selector-entry.h: New methods to access the input
1815 mode in the selector's entry.
1817 Fixes: NB#93410 (API required for setting IM mode in
1818 HildonTouchSelectorEntry)
1820 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1822 * configure.ac: post release version bump.
1823 * debian/changelog: version bump
1825 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1830 * configure.ac: Bump version.
1831 * debian/changelog: Updates.
1833 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-touch-selector.c:
1836 (_hildon_touch_selector_has_multiple_selection): No need
1837 to initialize the variables here.
1839 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1841 * src/hildon-note-private.h
1842 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1843 (hildon_note_finalize, hildon_note_rebuild): Close information
1844 notes when they receive a button press.
1846 Fixes: NB#89890 (Information notes does not get disappeared after
1849 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1851 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1852 mark from the wizard title, as it's not really necessary. Also,
1853 do not display the page title if not set.
1855 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1857 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1858 (parent_window_hidden): Use the window's "is-topmost" property to
1859 detect when to hide the menu.
1861 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1864 (hildon_app_menu_finalize): If the parent window of the menu is
1865 hidden, hide the menu too.
1867 Fixes: NB#94460 (stackable window's menu is not closed when its
1870 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1873 * debian/libhildon1-examples.install
1875 * examples/Makefile.am:
1876 Use dh_install to install all examples.
1877 Use DEB_SRCDIR instead of defining SOURCE_DIR
1879 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1881 * configure.ac: post release version bump.
1882 * debian/changelog: version bump
1884 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1889 * configure.ac: bump version
1890 * debian/changelog: updates
1891 * debian/control: bump gtk+ dependency
1893 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1895 patch by Christian Dywan (christian@imendio.com)
1897 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1898 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1900 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1902 * src/hildon-check-button.c (hildon_check_button_init)
1903 (hildon_check_button_class_init, hildon_check_button_style_set)
1904 (hildon_check_button_apply_style):
1905 New "checkbox-size" style property.
1907 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1908 larger / configurable size)
1910 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1912 * configure.ac: post release version bump.
1913 * debian/changelog: version bump
1915 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1920 * configure.ac: bump version
1921 * debian/changelog: updates
1923 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1925 * doc/hildon-sections.txt
1926 * src/hildon-pannable-area.c
1927 * src/hildon-program.c
1928 * src/hildon-time-editor.c
1929 * src/hildon-touch-selector-entry.c:
1931 More documentation updates.
1933 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1935 * doc/hildon-sections.txt
1936 * src/hildon-caption.c
1937 * src/hildon-code-dialog.c
1938 * src/hildon-color-button.c
1939 * src/hildon-controlbar.c
1940 * src/hildon-date-editor.c
1941 * src/hildon-date-selector.c
1942 * src/hildon-edit-toolbar.c
1943 * src/hildon-find-toolbar.c
1944 * src/hildon-font-selection-dialog.c
1946 * src/hildon-program.c
1947 * src/hildon-range-editor.c
1948 * src/hildon-seekbar.c
1949 * src/hildon-time-editor.c
1950 * src/hildon-time-selector.c
1951 * src/hildon-volumebar-range.c
1952 * src/hildon-volumebar.c
1953 * src/hildon-vvolumebar.c
1954 * src/hildon-weekday-picker.c
1955 * src/hildon-window.c
1956 * src/hildon-wizard-dialog.c:
1958 Lots of documentation fixes.
1960 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1962 Patch contributed by Iván Gómez (igomez@igalia.com)
1964 * src/hildon-check-button.c:
1965 * src/hildon-date-button.c:
1966 * src/hildon-date-selector.c:
1967 * src/hildon-dialog.c:
1968 * src/hildon-edit-toolbar.c:
1969 * src/hildon-entry.c:
1970 * src/hildon-picker-button.c:
1971 * src/hildon-program.c:
1972 * src/hildon-text-view.c:
1973 * src/hildon-time-button.c:
1974 * src/hildon-touch-selector-entry.c:
1975 * src/hildon-window-stack.c:
1977 Add more "since" tags to the new API.
1979 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1981 * doc/hildon-sections.txt: Add below method.
1982 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1983 version for the hildonized scale.
1984 * src/hildon-gtk.h: Add the definition.
1986 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1988 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1990 * doc/hildon-sections.txt: Add missing entries for new methods.
1992 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1994 Added API to pannable are in order to get its adjustments. We
1995 added two properties to manage the values we had in the private
1998 * src/hildon-pannable-area.c:
1999 (hildon_pannable_area_class_init): Added hadjustment and
2000 vadjustment properties in order to expose horizontal and vertical
2002 (hildon_pannable_area_get_property),
2003 (hildon_pannable_area_set_property): Added code to handle the new
2005 (hildon_pannable_area_get_hadjustment),
2006 (hildon_pannable_area_get_vadjustment): API functions to get the
2008 * src/hildon-pannable-area.h:
2009 (hildon_pannable_area_get_hadjustment),
2010 (hildon_pannable_area_get_vadjustment): API functions to get the
2013 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2015 Fixed some leaks, after valgrinding.
2017 * src/hildon-touch-selector.c:
2018 (_default_print_func): Fixed a leak.
2019 (hildon_touch_selector_append_column): Fixed a leak.
2020 * src/hildon-date-button.c:
2021 (hildon_date_button_init): Fixed a leak.
2022 * src/hildon-date-selector.c
2023 (hildon_date_selector_finalize): Fixed a leak.
2025 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2027 Based on a patch by Christian Dywan (christian@imendio.com)
2029 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2031 * src/hildon-gtk.h: Add definition.
2033 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2035 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2037 * src/hildon-picker-button.c: (hildon_picker_button_init),
2038 (hildon_picker_button_new): Set the HildonButton::style property
2039 in the init method, to propagate the value to the derived classes.
2041 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2043 * src/hildon-button.c: (hildon_button_class_init): Do not make
2044 the "style" property a construct property.
2046 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-wizard-dialog.h
2049 * src/hildon-wizard-dialog.c
2050 (hildon_wizard_dialog_set_forward_page_func)
2051 * src/hildon-pannable-area.h
2052 * src/hildon-pannable-area.c
2053 (hildon_pannable_area_set_size_request_policy):
2054 Documentation fixes.
2056 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2058 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2060 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2062 * doc/hildon-sections.txt: Added sections file.
2064 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2067 * src/*.[ch]: Updates.
2069 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2071 * examples/hildon-progress-indicator-example.c: new file
2072 * examples/Makefile.am: include the new example program
2074 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2076 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2078 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2080 * configure.ac: post release version bump
2081 * debian/changelog: version bump
2083 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2088 * configure.ac: bump version
2089 * debian/changelog: updates
2090 * debian/control: bump gtk+ dependency
2092 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-dialog.c: Mark as deprecated.
2095 * src/hildon-dialog.h: Mark as deprecated.
2096 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2097 from HildonDialog and still work, even if
2098 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2099 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2101 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2102 maemo changes) instead)
2104 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2106 * src/hildon-pannable_area.h:
2107 * src/hildon-pannable_area.c:
2108 (hildon_pannable_area_class_init),
2109 (hildon_pannable_area_set_property),
2110 (hildon_pannable_area_get_property),
2111 (hildon_pannable_area_size_request),
2112 (hildon_pannable_area_get_size_request_policy),
2113 (hildon_pannable_area_set_size_request_policy): Added new API
2114 allowing applications to control the request policy. Now they can
2115 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2116 children allocation (HILDON_MOVEMENT_CHILDREN).
2118 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2122 (hildon_gtk_tree_view_set_ui_mode)
2123 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2124 mode of treeviews and iconviews.
2126 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2128 * src/hildon-touch-selector-entry.c:
2129 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2130 of a GtkEntry to get proper theming.
2132 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2133 widget, not GtkEntry)
2135 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2137 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2138 no HildonWizardDialogPageFunc.
2140 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2142 Patch contributed by Iván Gómez (igomez@igalia.com)
2144 * src/hildon-app-menu.c:
2145 * src/hildon-button.c:
2146 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2147 * src/hildon-stackable-window.c:
2148 * src/hildon-time-selector.c:
2149 * src/hildon-touch-selector.c:
2150 * src/hildon-window.c:
2152 Add more "since" tags to the new API in hildon 2.2.
2154 2008-12-05 Tim Janik <timj@imendio.com>
2156 Patch contributed by Christian Dywan (christian@imendio.com)
2158 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2159 HildonSizeType, which are supplied by Gtk+ now.
2161 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2163 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2164 (with maemo changes) instead)
2166 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2168 Patch contributed by Iván Gómez (igomez@igalia.com)
2170 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2173 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2175 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2176 (some_page_func), (main): Update the example to use a
2177 HildonWizardDialogPageFunc function.
2179 * src/hildon-wizard-dialog-private.h: Add private data for
2180 the HildonWizardDialogPageFunc function usage.
2182 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2183 (destroy), (hildon_wizard_dialog_init), (response),
2184 (hildon_wizard_dialog_set_forward_page_func):
2185 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2186 that applications can use to stop a HildonWizardDialog to jump to
2189 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2192 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2194 * src/hildon-program.h
2195 * src/hildon-program-private.h
2196 * src/hildon-program.c (hildon_program_init)
2197 (hildon_program_set_common_app_menu)
2198 (hildon_program_get_common_app_menu):
2199 New API for setting a common HildonAppMenu for all
2200 HildonStackableWindows registered with the HildonProgram.
2202 * src/hildon-stackable-window.c
2203 (hildon_stackable_window_toggle_menu):
2204 Use the common HildonAppMenu if a window doesn't have a specific
2207 * src/hildon-app-menu-private.h
2208 * src/hildon-app-menu.c
2209 (hildon_app_menu_get_parent_window):
2210 Function to obtain the window a HildonAppMenu is attached to.
2211 (hildon_app_menu_set_parent_window):
2212 Hide the menu if the parent window is set to NULL.
2214 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2216 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2217 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2218 search widget to popup.
2220 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2222 * configure.ac: post release version bump
2223 * debian/changelog: version bump
2225 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2230 * configure.ac: bump version
2231 * debian/changelog: updates
2233 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2235 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2237 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2238 (hildon_window_stack_window_realized)
2239 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2240 Set the leader GdkWindow when a window is stacked and realized,
2241 unset it when it's unstacked.
2242 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2244 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2246 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2248 * src/hildon-stackable-window.h
2249 * src/hildon-window-stack.h:
2250 Protect definition of HildonWindowStack using the preprocessor.
2252 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2254 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2255 Fix warning if all menu items are hidden.
2257 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2259 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2261 * src/hildon-controlbar.c:
2262 * src/hildon-hvolumebar.c:
2263 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2264 Multiple scale size defines updates.
2266 Fixes: NB#94322 (Scale Updates)
2268 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2270 * examples/hildon-app-menu-example.c (create_menu)
2271 Show items after adding them to the menu, as in the future the
2272 menu will no longer call gtk_widget_show() on the added items.
2274 * src/hildon-app-menu.c:
2275 Update example as explained above.
2277 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2279 * src/hildon-app-menu.c
2280 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2281 Make sure that all menu items have finger height.
2283 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2285 * src/hildon-picker-dialog.c:
2286 (_on_dialog_response), (_save_current_selection),
2287 (_restore_current_selection), (_clean_current_selection),
2288 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2289 Defined new functions in order to save the current internal selector
2290 selection previous open the dialog, in case that the use cancel the
2291 interaction, so the widget restores the previous selection.
2293 Fixes: NB#92032 (In calendar application, date values in 'new event'
2296 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2298 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-button.c: Add a reference to the button examples in
2301 hildon-button-example.c
2303 * examples/hildon-button-example.c: Added examples of the most
2304 common button layouts.
2306 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2308 * src/hildon-app-menu.c (hildon_app_menu_show)
2309 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2311 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2313 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-picker-dialog.c:
2316 (hildon_picker_dialog_init): Initialize the signal id for
2317 HildonTouchSelector::columns-changed.
2318 (+on_selector_columns_changed): Set up the interaction mode everytime a
2319 column is added or removed from the HildonTouchSelector.
2320 (_hildon_picker_dialog_set_selector): Connect to
2321 HildonTouchSelector::columns-changed and keep track of it.
2323 Make sure to update the interaction mode of the dialog everytime a
2324 column is added or removed in the HildonTouchSelector.
2326 Fixes: NB#93228 (Done button is not shown always in listpicker)
2328 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2331 a new ::columns-changed signal.
2332 (hildon_touch_selector_append_column): Emit ::columns-changed.
2333 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2335 Add a ::columns-changed signal, emitted when the number of columns in a
2336 HildonTouchSelector changes.
2338 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2341 (_hildon_picker_dialog_set_selector): Factor out the code
2342 to set up the dialog interaction mode.
2344 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2347 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2348 to signal_changed_id.
2350 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2352 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2355 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2357 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2358 Updated the logical ids related to ampm format, as now it is required to
2359 show it correctly localized even on languages with no default
2360 abbreviations for am or pm
2361 (_check_am_pm_format): check correctly the 24h format gconf property
2363 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2365 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2367 * src/hildon-button.c: Documentation updates.
2369 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2371 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2372 * src/hildon-caption.c: (hildon_caption_class_init):
2373 * src/hildon-color-button.c: (hildon_color_button_class_init):
2374 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2375 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2376 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2377 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2379 Remove deprecated GTK+ marshalers and replace them with the ones
2380 provided by GLib, for those available, add a marshaler for
2381 BOOLEAN:VOID, which is not available in GLib, and use it.
2383 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2385 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2386 the text from the previous column if there is no
2387 HildonTouchSelectorColumn::text-property set.
2389 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2391 * src/hildon-button.h
2392 * src/hildon-button.c (hildon_button_set_property)
2393 (hildon_button_get_property, hildon_button_class_init)
2394 (hildon_button_set_style, hildon_button_get_style):
2395 New "style" property to change the visual appearance of the
2398 * src/hildon-picker-button.c (hildon_picker_button_new):
2399 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2401 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2402 HildonButton look like PickerButton)
2404 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2406 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2407 column while building the default string.
2409 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2411 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2412 scroll indicator by default.
2414 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2416 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2418 * src/hildon-main.c: Fix the documentation for hildon_init()
2420 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2422 * doc/hildon-docs.sgml
2426 * src/hildon-window-stack-private.h
2427 * src/hildon-window-stack.h
2428 * src/hildon-window-stack.c:
2429 New HildonWindowStack object, that adds support for multiple
2430 stacks of windows per process.
2432 * src/hildon-stackable-window-private.h
2433 * src/hildon-stackable-window.h
2434 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2435 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2436 (hildon_stackable_window_show, hildon_stackable_window_hide)
2437 (hildon_stackable_window_class_init)
2438 (hildon_stackable_window_init):
2439 Use HildonWindowStack for stack management.
2441 * src/hildon-program.c (hildon_program_pop_window_stack)
2442 (hildon_program_peek_window_stack)
2443 (hildon_program_go_to_root_window):
2444 Add a fallback implementation to the deprecated functions using
2447 * examples/hildon-stackable-window-example.c:
2448 Use the new HildonWindowStack API.
2450 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2452 * src/hildon-stackable-window-private.h
2453 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2454 (hildon_stackable_window_hide, hildon_stackable_window_init):
2455 Remove all window stack management.
2457 * src/hildon-program-private.h
2458 * src/hildon-program.h
2459 * src/hildon-program.c (hildon_program_init)
2460 (hildon_program_pop_window_stack)
2461 (hildon_program_peek_window_stack)
2462 (hildon_program_go_to_root_window):
2463 Remove all window stack management and mark functions as
2466 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2468 * src/hildon-app-menu.c (hildon_app_menu_realize):
2469 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2471 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2473 * configure.ac: post release version bump
2474 * debian/changelog: version bump
2476 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2481 * configure.ac: bump version
2482 * debian/changelog: updates
2484 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2486 Based on initial code by Christian Dywan (christian@imendio.com)
2488 * doc/hildon-docs.sgml: Add section for hildon-main.
2489 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2490 * src/Makefile.am: Add new hildon-main.[ch]
2491 * src/hildon-defines.h: Update the icon sizes.
2492 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2493 new library initialization files and register icon sizes.
2494 * src/hildon-main.h: New declarations.
2495 * src/hildon.h: Include hildon-main.h
2497 Add new initialization functions to the library. These methods
2498 will register the hildon specific icon sizes and can be used in the
2499 future for other hildon specific bits.
2501 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2503 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2505 * src/hildon-window.c: (hildon_window_realize),
2506 (hildon_window_notify), (-hildon_window_update_title): Do not set
2507 the application name in the window title.
2509 Fixes: NB#89754 (Applications shouldn't display their names in the
2512 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2514 * src/hildon-note-private.h:
2515 * src/hildon-note.c: (hildon_note_set_property),
2516 (hildon_note_get_property), (hildon_note_class_init),
2517 (hildon_note_init), (hildon_note_finalize),
2518 (hildon_note_new_confirmation_with_icon_name),
2519 (hildon_note_new_information_with_icon_name):
2521 No need to mark as deprecated the actual code. Revert
2522 to avoid missing symbols in widgets using deprecated API.
2524 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2526 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2528 * src/hildon-volumebar.h
2529 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2530 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2532 * src/hildon-helper.h
2533 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2534 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2536 * examples/Makefile.am:
2537 Deprecate hildon-insensitive-example
2539 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2541 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2543 * examples/hildon-pannable-area-buttons-scroll-example.c:
2544 Make all buttons finger height
2546 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2548 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2550 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2551 update the day model only if it is really required, and to avoid the
2552 full-reconstruction aproach. Now it only add or remove the required days.
2554 The purpose of this is avoid superfluous HildonTouchSelector::changed
2557 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2558 with strange parameters)
2560 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2562 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2564 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2565 the WINDOW_TYPE property.
2567 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2569 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2572 Fix dependency to allow parallel compilation with make -jX
2574 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2576 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2577 color frame and some minor tweaks to make it more consistent with
2580 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2581 highlighted but not visible)
2583 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2585 * examples/Makefile.am: Fixed typo in the Makefile.am.
2587 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2589 Reviewed the use of MAEMO_GTK define, now we add the define in the
2590 compilation line, and we also add it to the pc file.
2592 * configure.ac: Added MAEMO_GTK define to the compilation command
2593 and removed it from the config.h.
2595 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2596 do not have to take care about this define if the library was
2600 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2602 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2604 * examples/Makefile.am,
2605 * examples/hildon-pannable-area-buttons-scroll-example.c,
2606 * examples/hildon-pannable-area-gesture-signals-example.c,
2607 * examples/hildon-pannable-area-scroll-jump-example.c,
2608 * examples/hildon-pannable-area-tree-view-example.c:
2609 Renamed the pannable area examples, now they have more meaningful
2612 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2614 * src/hildon-touch-selector.c:
2615 (hildon_touch_selector_set_column_selection_mode): Used of
2616 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2617 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2618 to avoid re-seting the same selection mode.
2620 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2621 breaks HildonPickerDialog)
2623 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2625 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2626 conditional in the Makefile.am
2628 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2631 Remove unused methods.
2633 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-button.c (hildon_button_init):
2636 Make button images center-aligned by default
2638 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2641 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2642 activated, we have to think about how to deal with both defines
2643 MAEMO_GTK and MAEMO_CHANGES.
2645 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2647 * examples/hildon-app-menu-example.c (create_menu): Make all
2648 buttons finger size.
2650 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2652 Fixed the compilation without maemo gtk adding ifdefs with
2653 MAEMO_GTK define to the code, we have to check this version more
2656 * examples/Makefile.am: Added control to avoid some examples that
2657 just make sense with maemo gtk.
2660 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2661 hildon modes with the define.
2663 * examples/hildon-edit-toolbar-example.c,
2664 (create_icon_view): Create the icon view without hildon-gtk
2665 helpers if we are not using maemo gtk.
2667 * src/hildon-touch-selector.c,
2668 (_create_new_column): Create the treeview without hildon-gtk
2669 helpers if we are not using maemo gtk.
2671 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2673 * src/hildon-pnnable-area.c,
2674 (hildon_pannable_area_dispose),
2675 (hildon_pannable_area_button_press_cb),
2676 (hildon_pannable_area_child_mapped),
2677 (hildon_pannable_area_add),
2678 (hildon_pannable_area_remove): Added code to control the position
2679 of the event_window when adding and removing children from the
2680 pannable. We have to raise the event window when the child is
2683 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2684 selection mode using custom widget inside pannable)
2686 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2688 * configure.ac: post release version bump
2689 * debian/changelog: version bump
2691 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2696 * configure.ac: bump version
2697 * debian/changelog: updates
2699 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2701 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2702 search mode, in order to avoid lose the focus on the treeview when
2703 a hw key (like enter) is pressed.
2705 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2706 in HildonDateSelector dialog)
2708 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2710 * debian/rules: Added --enable-maintainer-mode
2711 * Makefile.am: Added ACLOCAL_AMFLAGS
2713 This allows to properly regenerate the Makefiles if you modify the
2714 configure.ac or any Makefile.am.
2716 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2718 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2719 properties, not needed at all.
2721 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2723 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2725 * src/hildon-note.c: (hildon_note_set_property),
2726 (hildon_note_get_property), (hildon_note_class_init),
2727 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2728 (hildon_note_new_confirmation_add_buttons): Remove icons.
2729 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2730 (hildon_note_new_information_with_icon_name): Deprecate.
2731 (hildon_note_new_confirmation): Act directly, without calling
2732 the deprecated constructor.
2733 (hildon_note_new_information): Act directly, without calling
2734 the deprecated constructor.
2735 * src/hildon-note.h: Mark deprecate methods as such.
2736 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2737 not run tests on the deprecated methods if built with deprecation
2740 Fixes: NB#91688 (Never show icons in information notes/confirmation
2743 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2746 (hildon_app_menu_key_press): Remove leftover usage of the
2747 private structure in HildonAppMenu struct.
2748 * src/hildon-app-menu.h: Remove leftover private structure
2749 from the HildonAppMenu struct.
2751 Fixes a crasher when using the HildonAppMenu.
2753 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2755 * src/hildon-picker-dialog.c: Use appropriate logical id
2756 for the default "Done" text.
2758 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2760 * configure.ac: post release version bump
2761 * debian/changelog: version bump
2763 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2765 Modified the way to scroll to the current selection just when the touch
2766 selector is shown on the screen, avoiding a g_idle. Added too a property
2767 to configure this behaviour. See hildon_pannable_area_jump_to_child
2768 documentation for more information.
2770 * src/hildon-touch-selector.c
2771 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2772 Added 'initial-scroll' property
2773 (hildon_touch_selector_set_property): Added
2774 (hildon_touch_selector_map): Removed as not required anymore
2775 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2776 only a concrete column, instead of iterate along all the columns
2778 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2783 * configure.ac: bump version
2784 * debian/changelog: updates
2786 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2788 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2789 compilation time warnings.
2791 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2793 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2794 the default value for HildonPannableArea::mov-mode to
2795 HILDON_PANNABLE_AREA_MODE_VERT.
2797 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2799 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2801 Reverting following commit:
2803 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-app-menu-private.h
2806 * src/hildon-app-menu.[ch]
2807 * src/hildon-button.[ch]
2808 * src/hildon-check-button.[ch]
2809 * src/hildon-entry.[ch]
2810 * src/hildon-pannable-area.[ch]
2811 * src/hildon-text-view.[ch]:
2812 Added private field to the object's structure.
2814 because it causes an ABI breakage. We will need to introduce these
2815 changes later at some point. See NB#91636 for an extensive
2816 explanation and status.
2818 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2820 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2822 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2823 remove special cases that are no longer necessary.
2825 Fixes: NB#91016 (Change toolbar sizes, simplification)
2827 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2830 is shown in the cancel note.
2832 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2834 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2835 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2836 (hildon_seekbar_init): Remove steppers, remove expose event.
2837 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2839 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2841 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2843 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2844 label font to "SmallSystemFont" for vertically arranged buttons.
2846 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2849 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-check-button.c
2852 (hildon_check_button_set_active, hildon_check_button_clicked):
2853 Don't access private parts directly, use getters instead.
2855 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-check-button.c (hildon_check_button_new):
2858 Align the contents of the check button to the left.
2860 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2862 * src/hildon-pannable-area.c,
2863 (hildon_pannable_area_scroll_to),
2864 (hildon_pannable_area_jump_to),
2865 (hildon_pannable_area_scroll_to_child),
2866 (hildon_pannable_area_jump_to_child): Replace the mapped
2867 precondition of these functions with the realized, it is the
2868 correct state of the widget in this case. Changed the
2869 documentation according to this modification.
2871 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2873 Added a new EXTRA_CFLAGS option to add the deprecated define to
2874 the compilation command. This way we can avoid using the define in
2875 the documentation compilation.
2877 * configure.ac: Defined EXTRA_CFLAGS.
2879 * examples/Makefile.am:
2881 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2883 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2885 * src/hildon-picker-dialog.c:
2886 Defined a utility macro with the desired touch selector height
2887 Removed currently unused separator, and title_label variables from
2889 (hildon_picker_dialog_init): Removed code related to the creation
2890 of unused private variables title_label and separator.
2891 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2892 to ensure correct visualization of the touch selector inside the dialog.
2893 * src/hildon-touch-selector.c
2894 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2895 ensure a concrete height of the widget.
2897 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2900 * tests/Makefile.am:
2902 Remove spurious whitespaces.
2904 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2906 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2907 compilation warning after the cancel button removal.
2909 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2911 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2913 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2914 Makefile.am, that way we can choose not to compile some examples
2915 and tests of the deprecated widgets.
2917 * examples/Makefile.am: Divided the sources in deprecated and
2920 * src/Makefile.am: Added undef statement of the deprecated
2921 symbol to the enums file generation process.
2923 * src/hildon-color-chooser-dialog.c
2924 * src/hildon-color-chooser-dialog.h
2925 * src/hildon-color-button.c
2926 * src/hildon-color-button.h
2927 * src/hildon-color-chooser.c
2928 * src/hildon-color-chooser.h
2929 * src/hildon-controlbar.c
2930 * src/hildon-controlbar.h
2931 * src/hildon-date-editor.c
2932 * src/hildon-date-editor.h
2933 * src/hildon-hvolumebar.c
2934 * src/hildon-hvolumebar.h
2935 * src/hildon-private.c
2936 * src/hildon-private.h
2937 * src/hildon-range-editor.c
2938 * src/hildon-range-editor.h
2939 * src/hildon-seekbar.c
2940 * src/hildon-seekbar.h
2941 * src/hildon-time-editor.c
2942 * src/hildon-time-editor.h
2943 * src/hildon-time-picker.c
2944 * src/hildon-time-picker.h
2945 * src/hildon-volumebar.c
2946 * src/hildon-volumebar.h
2947 * src/hildon-vvolumebar.c
2948 * src/hildon-vvolumebar.h
2949 * src/hildon-bread-crumb-trail.h
2950 * src/hildon-bread-crumb-trail.c
2951 * src/hildon-calendar-popup.c
2952 * src/hildon-calendar-popup.h
2953 * src/hildon-weekday-picker.c:
2954 * src/hildon-weekday-picker.h:
2955 * src/hildon-bread-crumb-widget.c:
2956 * src/hildon-bread-crumb-widget.h:
2957 * src/hildon-bread-crumb.c:
2958 * src/hildon-bread-crumb.h:
2959 * src/hildon-calendar.c:
2960 * src/hildon-calendar.h:
2961 * src/hildon-caption.c:
2962 * src/hildon-code-dialog.c:
2963 * src/hildon-code-dialog.h:
2964 * src/hildon-font-selection-dialog.c:
2965 * src/hildon-font-selection-dialog.h:
2966 * src/hildon-get-password-dialog.c:
2967 * src/hildon-get-password-dialog.h:
2968 * src/hildon-login-dialog.c:
2969 * src/hildon-login-dialog.h:
2970 * src/hildon-number-editor.c:
2971 * src/hildon-number-editor.h:
2972 * src/hildon-set-password-dialog.c:
2973 * src/hildon-set-password-dialog.h:
2974 * src/hildon-sort-dialog.c:
2975 * src/hildon-sort-dialog.h: This is the list of deprecated
2978 * src/hildon-touch-selector.c:
2979 * src/hildon-window.c: Added undef statement to avoid compilation
2982 * tests/Makefile.am: Divided the sources in deprecated and
2985 * tests/check_test.c,
2986 (configure_tests): Marked the deprecated code that was adding
2987 suites with deprecated tests.
2989 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2991 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-touch-selector.c: (_default_print_func): Do not
2994 duplicate a string returned by gtk_tree_model_get(), it is already
2997 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3000 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3002 * src/hildon-pannable-area.c
3003 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3004 method, it had problems when adding a widget with viewport the
3005 second time. Now checks if it already has a viewport and uses it.
3007 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3010 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3012 * src/hildon-pannable-area.c,
3013 (hildon_pannable_area_scroll_to),
3014 (hildon_pannable_area_jump_to),
3015 (hildon_pannable_area_scroll_to_child),
3016 (hildon_pannable_area_jump_to_child): Added a precondition to the
3017 scroll and jump to functions: the widget must be mapped before we
3018 can safely call these functions. We have also added documentation
3019 to the functions to explain how to use them in this situation.
3022 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3024 Reviewed the threading handling of the pannable widget, we have
3025 used the gdk_threads_add_timeout function instead of the usual
3026 glib handlers. This avoids some problems with the threads.
3028 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3029 (hildon_pannable_area_initial_effect),
3030 (hildon_pannable_area_scroll_indicator_fade),
3031 (hildon_pannable_area_button_press_cb),
3032 (hildon_pannable_area_timeout),
3033 (hildon_pannable_area_motion_notify_cb),
3034 (hildon_pannable_area_button_release_cb),
3035 (hildon_pannable_area_scroll_cb),
3036 (hildon_pannable_area_scroll_to): Removed the
3037 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3038 gdk_threads_add_timeout.
3040 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3042 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3047 * configure.ac: bump version
3048 * debian/changelog: updates
3050 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3053 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3054 * src/hildon-color-chooser-dialog.c:
3055 (hildon_color_chooser_dialog_init):
3056 * src/hildon-font-selection-dialog.c:
3057 (hildon_font_selection_dialog_init):
3058 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3060 Remove all cancel/close-like dialogs, as these are not going to be
3063 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-note.c: (hildon_note_rebuild),
3066 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3069 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3071 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3074 sure all buttons are shown, even the Cancel/Close-like ones.
3076 Fixes: NB#90861 (Custom Confirmation dialogs should be
3077 protected from cancel button removal)
3079 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3081 * debian/control: Change libhildon1-examples dependency from libhildon1
3083 * debian/libhildon1-examples.install
3085 * Makefile.am: Modified the final install directory for the examples on
3086 package libhildon1-examples
3087 * Makefile.static: Update clean target in order to remove all the binary
3090 Changes suggested by Claudio after review new libhildon1-examples package
3092 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3095 * src/hildon-touch-selector.c: Ditto.
3097 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3099 * debian/control: Added new package libhildon1-examples, in order to pack
3100 the current hildon examples as documentation
3101 * debian/rules: Not to compress .c files, modify some includes on the
3102 examples (as normally are compiled locally, but when installed it will
3103 require to include the installed libhildon1 library), and rename
3105 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3106 install all the example files on the new example package
3107 * examples/Makefile.static: Added static makefile that can be used to
3108 compile the examples, once installed the new example package
3109 * examples: Most of the examples were modified in order to grant that
3110 all use only '#include "hildon.h"', in order to be easy to prepare
3111 it on the example package
3113 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3116 * debian/libhildon1-dev.install
3117 * debian/libhildon1-doc.install:
3118 Move all gtk-doc files to a separate libhildon1-doc package.
3120 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3122 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3124 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3126 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3128 * debian/rules: Fixed a error in order to avoid unnecessary calls
3129 to autogen.sh on package building
3131 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3133 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3135 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3137 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3140 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3142 * src/hildon-picker-button.c
3143 (hildon_picker_button_finalize):
3144 Free priv->done_button_text
3146 * src/hildon-time-button.c
3147 (hildon_time_button_set_time)
3148 * src/hildon-picker-button.c
3149 (hildon_picker_button_clicked)
3150 (hildon_picker_button_selector_selection_changed)
3151 (hildon_picker_button_set_selector)
3152 * src/hildon-date-button.c
3153 (hildon_date_button_set_date):
3154 Free strings returned by hildon_touch_selector_get_current_text()
3156 * src/hildon-button.c (hildon_button_construct_child):
3157 Fix leaks in priv->image and priv->label_box
3159 Fixes: NB#90535 (Memory leak in picker button)
3161 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-button.c: (hildon_button_get_property): Do not access
3164 private elements directly, use getters instead.
3166 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-app-menu-private.h
3169 * src/hildon-app-menu.c
3170 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3171 Store the menu's parent window.
3173 * src/hildon-stackable-window.c
3174 (hildon_stackable_window_toggle_menu)
3175 (hildon_stackable_window_finalize):
3176 Set the menu's parent window when the menu is shown, unset it when
3179 * src/hildon-app-menu.c
3180 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3181 (hildon_app_menu_class_init):
3182 Send unhandled keyboard accelerators to the parent window.
3184 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3186 * src/hildon-stackable-window.c
3187 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3189 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3191 * configure.ac: post release version bump
3193 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3196 * configure.ac: Bump version
3197 * debian/changelog: Updates
3198 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3201 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3203 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3206 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3207 GtkMenu with Hildon style.
3209 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3211 * src/hildon-picker-button.c:
3212 (hildon_picker_button_set_done_button_text): Set the dialog's
3213 done button text here as well.
3215 Fixes: NB#90232 (Picker button does not set the label on done button
3216 for the second time)
3218 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3220 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3223 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3225 * src/hildon-app-menu.c (hildon_app_menu_insert)
3226 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3227 the HildonAppMenu to be activatable using keyboard accelerators
3228 when the menu is not being shown.
3230 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3232 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3234 * src/hildon-stackable-window.c
3235 (hildon_stackable_window_show):
3236 Don't hide old windows automatically when new windows are shown:
3237 this is now a task for the window manager.
3238 (hildon_stackable_window_class_init)
3239 (hildon_stackable_window_hide):
3240 Remove windows from the stack everytime they're hidden.
3241 (hildon_stackable_window_realize):
3242 Don't change the _NET_WM_WINDOW_TYPE property. Use
3243 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3244 it as a stackable window.
3246 * src/hildon-program.c
3247 (hildon_program_pop_window_stack):
3248 Just hide the window to remove it from the stack.
3249 (hildon_program_go_to_root_window):
3250 Don't call gtk_widget_show(), this is now a task for the window
3253 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3255 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-button.c
3258 (hildon_button_construct_child):
3259 Don't pack anything in the button until text or image are
3260 set. This allows adding a custom child after creating the button
3261 with hildon_button_new().
3262 (hildon_button_finalize, hildon_button_class_init)
3263 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3264 alignment and the label box even when they're not packed in the
3267 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3269 * src/hildon-touch-selector.h:
3270 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3271 currently the type definition was using GTK_TYPE_VBOX
3272 * src/hildon-touch-selector.c:
3273 Added some implementation notes in order to clarify that any other widget
3274 added without the column related API will not be included on the
3275 selection logic, and how the widget is freed, as some people ask about
3277 (hildon_touch_selector_remove): Reimplemented in order to free properly
3278 the column related data when you remove the private hbox.
3279 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3280 to get a proper HildonTouchSelectorColumn documentation
3282 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3284 * src/hildon-touch-selector-entry.c:
3285 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3286 text in the GtkEntry and there is no item selected. Fixes a
3289 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3291 * src/hildon-app-menu-private.h
3292 * src/hildon-app-menu.[ch]
3293 * src/hildon-button.[ch]
3294 * src/hildon-check-button.[ch]
3295 * src/hildon-entry.[ch]
3296 * src/hildon-pannable-area.[ch]
3297 * src/hildon-text-view.[ch]:
3298 Added private field to the object's structure.
3300 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3302 * configure.ac: post-release version bump
3304 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3308 * configure.ac: pre-release version bump
3310 * debian/changelog: updates.
3312 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3314 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3315 Disconnect the handler for HildonTouchSelector::changed.
3317 (hildon_picker_button_selector_selection_changed): Update the button
3318 value if the selection change was not triggered by the
3321 (hildon_picker_button_set_selector): connect to
3322 HildonTouchSelector::changed.
3324 Fixes: NB#89650 (Picker button is not updated, when selection in
3325 selector has changed)
3327 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3329 * src/hildon-picker-dialog.c
3330 (hildon_picker_dialog_realize): Removed as not required
3331 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3332 * src/hildon-picker-button.c
3333 (_current_selector_empty): New function, checks if the selector is empty
3334 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3335 if the current selector is empty, in order to avoid to show the dialog
3336 close the dialog in this case (and shows a g_warning).
3338 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3340 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3342 * src/hildon-pannable-area.c,
3343 (hildon_pannable_area_scroll): Added clause to stop movement when
3344 the child of pannable is smaller than one page.
3345 (hildon_pannable_area_scroll_to): Added conditions to avoid
3346 starting the scrolling movement if the child is smaller than one
3347 page, the complete child is in the screen, we do not have to move.
3349 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3351 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3353 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3354 this is managed automatically by the widget when the size of the
3357 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3359 * src/hildon-picker-button.c
3360 (hildon_picker_button_set_done_button_text): Make a copy of the
3361 text, and free the previous value.
3363 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3365 * src/hildon-touch-selector-entry.c:
3366 (hildon_touch_selector_entry_print_func): Return the selected row's
3367 text if the entry is empty.
3369 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3372 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3374 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3376 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-check-button.h
3380 * src/hildon-check-button.c
3381 * examples/hildon-check-button-example.c:
3382 HildonCheckButton is now a new widget. 'toggled' signal added.
3384 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3386 * src/hildon-program-private.h
3387 * src/hildon-program.c (hildon_program_init)
3388 (hildon_program_finalize): Removed unused variables group_leader
3389 and name from HildonProgramPrivate.
3391 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3393 * src/hildon-check-button.c (hildon_check_button_set_active)
3394 (hildon_check_button_get_active, hildon_check_button_new): Use
3395 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3397 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3399 * src/hildon-touch-selector.h
3400 (hildon_touch_selector_set_column_attributes): added deprecation
3401 guard HILDON_DISABLE_DEPRECATED
3402 * src/hildon-time-selector.c
3403 (hildon_time_selector_set_time)
3404 (hildon_time_selector_get_time): Fixed a typo on documentation
3405 * src/hildon-touch-selector.c: update HildonTouchSelector and
3406 HildonTouchSelectorColumn documentation
3407 * src/hildon-touch-selector-entry.c: update "text-column" property
3409 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3410 to be added to the general documentation.
3412 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3414 * examples/hildon-pannable-area-example-4.c,
3416 * examples/hildon-pannable-area-example.c,
3417 (main): Modified the code in order to use the container add, with
3418 viewport treeviews could have problems if they are really big.
3420 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3422 * src/hildon-weekday-picker.c,
3423 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3424 the agreement regarding deprecation in the library.
3426 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3428 * examples/hildon-picker-button-multicolumn-example.c:
3429 (main): Use custom "done" button text.
3431 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3432 (hildon_picker_button_set_property),
3433 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3434 (hildon_picker_button_init),
3435 (+hildon_picker_button_get_done_button_text),
3436 (+hildon_picker_button_set_done_button_text): New methods to customize
3437 the "done" button label in the launched HildonPickerDialog. Also,
3440 * src/hildon-picker-button.h: add the public API.
3442 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3444 * src/hildon-date-selector.h:
3445 * src/hildon-picker-dialog.h:
3446 * src/hildon-time-selector.h:
3447 * src/hildon-touch-selector-column.h:
3448 * src/hildon-touch-selector.h:
3450 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3451 declarations. Fixes gtk-doc warnings.
3453 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3455 * src/hildon-picker-dialog.h
3456 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3457 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3459 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3460 long text is set as label for done button)
3462 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-dialog.c (hildon_dialog_add_button):
3465 Set fixed width to all buttons in the HildonDialog.
3467 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3469 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3471 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3472 Set widget name using class name plus "-finger" or "-thumb".
3474 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3477 'clicked' when the state of the button is manually changed.
3479 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3481 * src/hildon-app-menu.c (hildon_app_menu_realize)
3482 (hildon_app_menu_unrealize, hildon_app_menu_init)
3483 (hildon_app_menu_class_init, item_visibility_changed):
3484 Change the menu layout when the size of the screen changes.
3485 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3486 Show warning only when changing the number of colums using the
3489 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3491 * debian/compat: Set to 5
3492 * debian/control: Update dependencies.
3493 * debian/libhildon1-dbg.install: Remove.
3494 * debian/libhildon1-dev.install: Update according to cdbs paths.
3495 * debian/libhildon1.install: Update according to cdbs paths.
3496 * debian/rules: Switch to cdbs.
3498 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3501 'item' variable renamed to 'filter'
3503 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-app-menu.c (hildon_app_menu_insert)
3506 (hildon_app_menu_add_filter, remove_item_from_list)
3507 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3508 Don't leak hidden items when the menu is destroyed.
3510 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-app-menu.c (hildon_app_menu_insert)
3513 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3514 (hildon_app_menu_set_columns, item_visibility_changed)
3515 (filter_visibility_changed, hildon_app_menu_repack_filters)
3516 (hildon_app_menu_repack_items):
3517 Repack items and filters separately.
3519 Don't repack all items, change only the ones that are needed to
3522 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3524 * src/Makefile.am: added hildon-touch-selector-column.h
3526 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3528 * src/hildon-touch-selector.c: added the property "text-column" to the
3529 class HildonTouchSelectorColumn, and related get/set functions
3530 (_default_printf_func): updated to use "text-column" property
3531 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3532 "text-column" in his documentation, as this is now included on
3533 HildonTouchSelectorColumn. The get/set_property can still be used,
3534 working as a wrapper to the concrete column "text-column" property
3535 (_text_column_modified): callback added in order to handle the signal
3536 "notify::text-column" of the concrete HildonTouchSelectorColumn
3537 (hildon_touch_selector_entry_get_text_column)
3538 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3539 modified in order to use the HildonTouchSelectorColumn "text-column"
3541 * src/hildon-time-selector.c:
3542 * src/hildon-date-selector.c:
3543 * examples/hildon-touch-selector-example.c
3544 * examples/hildon-touch-selector-multi-cells-example.c
3545 * examples/hildon-picker-button-multicolumn-example.c
3546 Set the right value to "text-column" property on the creation of a new
3547 column using hildon_touch_selector_append_column()
3549 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3551 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3553 * src/hildon-app-menu.c
3554 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3555 updating the layout of the menu, don't create all widgets again,
3556 just repack the items in their new places.
3558 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3560 * src/hildon-time-selector.c
3561 (hildon_time_selector_get_time)
3562 (hildon_time_selector_set_time)
3563 Added documentation of these public methods
3565 * src/hildon-date-button.h
3566 * src/hildon-touch-selector-column.h
3567 * src/hildon-time-button.h
3568 * src/hildon-picker-dialog.h
3569 * src/hildon-time-selector.h
3570 * src/hildon-picker-button.h
3571 * src/hildon-touch-selector.h
3572 * src/hildon-time-picker.h
3573 * src/hildon-date-selector.h
3574 * src/hildon-touch-selector-entry.h
3575 Modified in order to use hildon-widgets code style
3577 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3579 Added deprecated support to the compilation process using
3580 HILDON_DISABLE_DEPRECATED
3582 * configure.ac: Added the --disable-deprecated to the configure
3585 * src/hildon-weekday-picker.c:
3586 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3587 to use the deprecated support. We will update the other deprecated
3588 widgets status in a new patch.
3590 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3592 * configure.ac: Fixed typo with fatal warnings support, the
3593 variable name was not correct
3595 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3597 * src/hildon-app-menu.c
3598 * src/hildon-program.c: Update documentation.
3600 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3602 * configure.ac: Post-release version bump.
3604 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3609 * configure.ac: Pre-release version bump.
3610 * debian/changelog: Updates.
3612 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3614 * NEWS: Update news for previous releases.
3616 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3618 * examples/hildon-touch-selector-multi-cells-example.c:
3619 (create_selector): Update the example to use
3620 hildon_touch_selector_append_column() with a NULL renderer and set
3621 the renderers later.
3622 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3623 passed a NULL renderer. This is documented behavior now.
3625 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3626 This must be used if the developer wants full control on the layout of
3627 the renderers to be added to the column.
3629 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3631 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3633 * src/hildon-touch-selector.c: Documentation fixes.
3635 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3637 * src/hildon-wizard-dialog-private.h: Remove image and box.
3638 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3639 (hildon_wizard_dialog_set_property), (response): Completely remove
3640 image/icon support, and the containers required for the layout.
3642 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3644 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3646 * src/hildon-app-menu.c: Updated documentation.
3648 * src/hildon-stackable-window.c
3649 (hildon_stackable_window_set_main_menu): Unref the old menu after
3650 ref'ing the new one.
3652 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3654 * src/hildon-stackable-window.c
3655 (hildon_stackable_window_set_main_menu): Unref the previous menu
3656 instead of destroying it.
3658 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3659 floating reference and set has_user_ref_count to FALSE to make
3660 HildonAppMenu act like a normal ref-counted widget and not a
3663 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3666 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3668 * src/hildon-touch-selector-column.h: new file
3669 * src/hildon-touch-selector.h
3670 * src/hildon-touch-selector.c
3671 Implemented GtkCellLayout interface, in order to allow to configure
3672 the cell layout on each individual selector column
3673 (hildon_touch_selector_set_column_attributes): marked as deprecated
3674 * examples/hildon-touch-selector-multi-cells-example.c
3675 Example of how to use the GtkCellLayout interface on the selector
3677 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3679 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3681 * src/hildon-app-menu.h
3682 * src/hildon-app-menu.c
3683 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3684 (hildon_app_menu_append, hildon_app_menu_prepend):
3685 New methods to prepend, insert and move items in the menu.
3687 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3689 * src/hildon-wizard-dialog.c:
3691 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3693 (create_title): Update logical IDs and related code.
3694 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3696 * src/hildon-wizard-dialog.h: Note that
3697 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3698 point, as it is not used anymore.
3700 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3702 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3704 * src/hildon-note.c:
3705 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3706 shown. Do not display an icon in confirmation notes nor information
3708 (hildon_note_set_button_text): Update logical ID for cancel button.
3710 Fixes: NB#88850 (Update HildonNote button strings + signals)
3712 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3714 * src/hildon-stackable-window.c
3715 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3717 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3719 * src/hildon-app-menu-private.h
3720 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3721 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3722 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3723 temporary property 'columns' to change the number of columns.
3725 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3727 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3729 * examples/hildon-note-example.c: (on_information_clicked),
3730 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3731 debugging information.
3732 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3734 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3735 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3736 in order to close: this will be handled by the WM from now on.
3738 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3740 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3742 * src/hildon-app-menu-private.h
3743 * src/hildon-app-menu.c
3744 (hildon_app_menu_append, hildon_app_menu_add_filter)
3745 (button_visibility_changed, hildon_app_menu_apply_style)
3746 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3747 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3748 layout everytime a button (item or filter) is shown or hidden.
3750 * src/hildon-stackable-window.c
3751 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3754 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3756 * src/hildon-touch-selector.c:
3757 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3758 that the treeview inside the touch selector is in fremantle hildon mode
3759 * examples/hildon-date-button-example.c
3760 * examples/hildon-picker-button-multicolumn-example.c
3761 * examples/hildon-touch-selector-entry-example.c
3762 * examples/hildon-touch-selector-example.c
3763 * examples/hildon-time-button-example.c
3764 * examples/hildon-picker-button-example.c:
3765 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3767 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3769 * examples/hildon-text-view-example.c: (main): Remove the
3770 gtkrc bits, now handled by the theme.
3772 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3774 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3777 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3779 * po/Makefile.am: Install properly the mo files.
3780 * po/en_GB.po: Update translation, to ease testing purposes.
3782 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3784 * examples/hildon-picker-button-example.c: (main): Select an item
3785 in the selector before setting it to the button.
3787 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3790 Update button's value if the selector has an item active.
3792 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3793 'value' with the selector)
3795 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3798 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3799 (hildon_picker_button_class_init): Plug the finalize method.
3800 (hildon_picker_button_set_selector): If there's a previously set
3801 selector, unref'it before setting a new one.
3803 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3804 HildonTouchSelector)
3806 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3808 * src/hildon-touch-selector-entry.c:
3809 (hildon_touch_selector_entry_changed): Check if there is no text
3810 selected before setting the entry text.
3813 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3815 * src/hildon-touch-selector.h
3816 * src/hildon-touch-selector.c
3817 (hildon_touch_selector_get_active)
3818 (hildon_touch_selector_set_active): New methods to set/get the
3819 index of the selected item.
3821 * src/hildon-picker-button.h
3822 * src/hildon-picker-button.c
3823 (hildon_picker_button_get_active)
3824 (hildon_picker_button_set_active): New methods to set/get the
3825 index of the selected item.
3827 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3829 * configure.ac: post-release version bump.
3831 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3835 * configure.ac: Pre-release version bump.
3836 * debian/changelog: Updates.
3837 * debian/control: Add myself as maintainer and depend on l10n
3840 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3842 * src/hildon-window.c
3843 (hildon_window_set_main_menu)
3844 * src/hildon-stackable-window.c
3845 (hildon_stackable_window_set_main_menu):
3846 Updated documentation.
3848 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3850 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3851 Don't free selector->priv manually.
3854 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3857 (hildon_gtk_window_set_progress_indicator):
3858 * src/hildon-gtk.h: Added the new API
3859 hildon_gtk_window_set_progress_indicator, it changes the state of
3860 the window progress hint.
3862 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3864 * src/hildon-button.c
3865 * src/hildon-stackable-window.c: Minor documentation updates.
3867 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3869 * src/hildon-stackable-window.c: Updated documentation.
3871 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3873 * src/hildon-defines.h: Update margins definitions
3874 to the Fremantle sizes.
3877 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3879 * src/hildon-touch-selector.c,
3880 (_hildon_touch_selector_set_model): Cleaning the code after
3881 review, removed g_print and #if 0 from the code.
3883 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3885 * src/hildon-edit-toolbar.c: Update documentation.
3887 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3889 * src/hildon-check-button.h
3890 * src/hildon-check-button.c
3891 (hildon_check_button_set_label, hildon_check_button_get_label)
3892 * examples/hildon-check-button-example.c
3893 (button_clicked_cb):
3894 Removed deprecated methods.
3896 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-text-view.c:
3899 Add sample code to the documentation.
3901 * src/hildon-entry.h
3902 * src/hildon-text-view.h:
3903 Minor cosmetic changes.
3905 * src/hildon-entry.c:
3906 Add sample code to the documentation.
3907 (hildon_entry_init, hildon_entry_refresh_contents):
3908 Don't allow NULL values in the placeholder.
3910 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3912 * doc/hildon-docs.sgml
3914 * examples/Makefile.am
3915 * examples/hildon-text-view-example.c
3917 * src/hildon-text-view.c
3918 * src/hildon-text-view.h
3920 New HildonTextView widget, with example.
3922 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3924 * po/POTFILES.in: Add missing files with translatable strings.
3925 Partially fixes NB#88287.
3927 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3929 * examples/hildon-pannable-area-example-2.c: (main): No need to
3930 set the cellrenderer height inside hildon touch lists, the theme does
3933 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3935 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3936 they are integrated in the theme.
3938 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3940 * examples/hildon-entry-example.c: Update the example adding
3941 widgets to modify the text and the placeholder of the HildonEntry.
3943 * src/hildon-entry.c: Show the placeholder everytime the widget
3944 is empty and loses the focus.
3946 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3948 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3950 * src/hildon-pannable-area.c,
3951 (hildon_pannable_area_size_request): Fixed bug in height
3952 requisition, avoid increasing size and add border twice.
3954 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3956 * configure.ac: postrelease version bump.
3958 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3962 * configure.ac: Prerelease version bump.
3963 * debian/changelog: update.
3964 * debian/rules: make -dbg package contain useful debugging symbols.
3966 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3968 * src/hildon-dialog.h
3969 * src/hildon-dialog.c
3970 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3971 New methods to add buttons with finger size.
3972 (hildon_dialog_new_with_buttons):
3973 Create buttons with finger size.
3975 * examples/hildon-dialog-example.c (main): Use HildonDialog
3976 methods to add buttons.
3978 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3980 * src/hildon-entry.c: Updated HildonButton documentation.
3982 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3984 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3985 button value label with (FALSE, FALSE) to prevent NB#88126 from
3988 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3990 * examples/hildon-pannable-area-example.c,
3991 (main): Removed examples panning a vbox inside a pannable
3992 area. Check bug NB#87965
3994 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3996 Patch contributed by Kris Rietveld (kris@imendio.com)
3998 * src/hildon-pannable-area.c,
3999 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4000 get_size and get_position, this saves an X server roundtrip.
4002 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4004 * doc/hildon-docs.sgml
4006 * examples/Makefile.am
4007 * examples/hildon-entry-example.c
4009 * src/hildon-entry.c
4010 * src/hildon-entry.h
4012 New HildonEntry widget, with example.
4014 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4016 * src/hildon-button.c (hildon_button_construct_child): Pack the
4017 image with expand == fill == FALSE. This is a workaround for a bug
4020 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4022 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4023 labels for the text column, to make it more look more dynamic.
4025 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4027 * src/hildon-time-selector.c
4028 Define gettext auxiliar macro N_
4029 (_create_minutes_model)
4030 (_create_hours_model)
4031 (_create_ampm_model): use of strftime in order to fill the model
4032 * src/hildon-date-selector.c
4033 (hildon_date_selector_finalize):
4034 (_locales_init): remove the logic related to get the name of the months
4035 using nl_langinfo, as it is not required anymore
4037 (_create_year_model)
4038 (_create_month_model)
4039 (_update_day_model): use of strftime in order to fill the model properly
4042 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4044 * src/hildon-button.h
4045 * src/hildon-button.c (hildon_button_get_image): New method to
4048 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-touch-selector.c:
4051 (hildon_touch_selector_remove_column): Remove from the correct parent
4052 and also remove the list element and free it.
4055 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4057 * src/hildon-time-selector.c
4058 (_create_hours_model): change the range on 12h ampm format in order to use
4059 a 12-11 range instead of previous 01-12 range
4060 (hildon_time_selector_set_time): change the way to select the current time
4061 on 12h ampm format, due the change on the range
4062 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4065 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4067 * src/hildon-touch-selector.c
4068 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4069 in order to allow use this function on multiple row selection mode if
4070 the column is different that the first one
4073 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4075 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4076 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4078 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4080 * src/hildon-date-selector.h: clean some comments, now on the .c
4081 * src/hildon-date-selector.c
4082 (hildon_date_selector_select_month): first implementation
4083 (hildon_date_selector_select_day): added documentation, reimplemented
4084 using hildon_date_selector_select_current_date to avoid repeat code
4087 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4089 Reviewed interaction logic based on device experiences, refactored
4092 * src/hildon-pannable-area.c,
4093 (hildon_pannable_area_class_init): Updated default vmax speed.
4094 (hildon_pannable_area_calculate_velocity): Added this function, it
4095 avoids duplicate valocity calculation. Adjusted calculation to
4096 avoid problems with zero dist events.
4098 (hildon_pannable_area_motion_notify_cb): Now we use the
4099 calculate_velocity function.
4101 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4103 * src/hildon-date-selector.c
4104 (hildon_date_selector_select_current_date): fix the day range check
4105 as it failed using the last day of the current month
4108 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4110 * src/hildon-touch-selector.c
4111 (hildon_touch_selector_get_num_columns): added a parameter validation
4114 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4116 * examples/Makefile.am
4117 * examples/hildon-edit-toolbar-example.c: Example of the
4118 HildonEditToolbar widget.
4120 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4122 * configure.ac: postrelease version bump.
4124 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4128 * configure.ac: prerelease version bump.
4129 * debian/changelog: update.
4131 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4133 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4134 renderer to display stock icons in the touch list. Also, set the sizes
4135 to the recommended in the style guide.
4137 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4138 * src/hildon-touch-selector.h
4139 (hildon_touch_selector_set_active_iter): renamed, now is
4140 hildon_touch_selector_select_iter
4141 (hildon_touch_selector_get_active_iter): renamed, now is
4142 hildon_touch_selector_get_selected
4143 (hildon_touch_selector_unselect_iter): added
4144 * src/hildon-touch-selector.c
4145 Update after API modification (methods renamed)
4146 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4147 order to avoid problems selecting multiple elements on the column
4148 (hildon_touch_selector_unselect_iter): added the implementation
4149 * src/hildon-time-selector.c
4150 * src/hildon-date-selector.c
4151 * src/hildon-touch-selector-entry.c
4152 Update methods calls after hildon-touch-selector.h API modification (methods
4155 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4157 * src/hildon-stackable-window.c
4158 (hildon_stackable_window_finalize): Call the parent class's finalize.
4160 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4162 * examples/hildon-touch-selector-example.c: (create_selector): Use
4163 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4166 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4168 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4169 set a cell background color, to respect theming.
4171 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4173 * doc/hildon-docs.sgml
4176 * src/hildon-edit-toolbar.c
4177 * src/hildon-edit-toolbar.h
4178 * src/hildon.h: New HildonEditToolbar widget.
4180 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4182 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4185 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4186 * src/hildon-touch-selector.c
4187 (_create_new_column): use g_object_set instead of two g_object_set_property
4189 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4190 * src/hildon-touch-selector.c
4191 (_create_new_column): use of hildon_gtk_tree_view_new to create
4192 the treeview, instead of use directly g_object_new
4193 (_create_new_column): update the property name "vindicator-mode" for the
4194 new one "vscrollbar-policy"
4195 * examples/hildon-date-button-example.c
4196 * examples/hildon-picker-button-multicolumn-example.c
4197 * examples/hildon-touch-selector-entry-example.c
4198 * examples/hildon-touch-selector-example.c
4199 * examples/hildon-time-button-example.c
4200 * examples/hildon-picker-button-example.c
4201 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4202 to all the treeviews inside a pannable area.
4204 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4206 * src/hildon-button.h
4207 * src/hildon-button.c (hildon_button_init)
4208 (hildon_button_set_arrangement, hildon_button_set_alignment)
4209 (hildon_button_set_title_alignment)
4210 (hildon_button_set_value_alignment)
4211 (hildon_button_set_image_alignment)
4212 (hildon_button_construct_child): New methods to set the alignment
4213 of the individual components of the button (title, value,
4214 image). Also, new method to alter the xscale and yscale properties
4215 of the GtkAlignment inside the button, so more complex layouts can
4218 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4220 * src/hildon-button.c (hildon_button_style_set)
4221 (hildon_button_class_init, hildon_button_set_arrangement)
4222 (hildon_button_construct_child): Apply style properties
4223 correctly. Use the 'image-spacing' style property too.
4225 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4227 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4228 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4231 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4233 * src/hildon-pannable-area.c,
4234 (hildon_pannable_area_size_request): Fixed problem with
4235 pannable-area size_request.
4237 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4239 Added management for the grab-focus to a child widget, like a
4240 range, we need to fade out the scrollbar when releasing.
4242 * src/hildon-pannable-area.c,
4243 (hildon_pannable_area_init): Connected the grab-focus signal to
4245 (hildon_pannable_area_grab_notify): Added this function in order
4246 to manage the situation when the grab-focus ends. We have to
4247 fade-out the scrollbar.
4249 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-app-menu.c: Minor documentation update.
4253 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-app-menu.c
4256 * examples/hildon-app-menu-example.c (create_menu): Update
4257 examples and documentation to explain how to connect callbacks.
4259 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4261 * examples/hildon-button-example.c
4262 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4263 hildon_stackable_window_new instead of gtk_window_new
4265 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4267 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4268 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4269 (hildon_pannable_area_set_property),
4270 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4271 (hildon_pannable_area_unrealize),
4272 (hildon_pannable_area_size_request),
4273 (hildon_pannable_area_size_allocate),
4274 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4275 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4276 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4277 (hildon_pannable_area_initial_effect),
4278 (hildon_pannable_area_redraw),
4279 (hildon_pannable_area_scroll_indicator_fade),
4280 (hildon_pannable_area_expose_event),
4281 (hildon_pannable_area_get_topmost), (synth_crossing),
4282 (hildon_pannable_area_button_press_cb),
4283 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4284 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4285 (hildon_pannable_area_motion_notify_cb),
4286 (hildon_pannable_area_button_release_cb),
4287 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4288 (hildon_pannable_area_remove),
4289 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4290 chage the code layout to a more GtkWidget like. Review the use of
4293 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4295 * examples/hildon-pannable-area-example-4.c,
4296 (main): Modified the name of the hindicator_mode to
4299 * src/hildon-pannable-area.c,
4300 (hildon_pannable_area_class_init),
4301 (hildon_pannable_area_motion_notify_cb),
4302 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4303 we have reduced the amount of signals and managed reviewed its
4304 rationale. Changed the default decelerate value.
4306 (hildon_pannable_area_add),
4307 (hildon_pannable_area_redraw): Refactored functions.
4309 (hildon_pannable_area_init),
4310 (hildon_pannable_area_get_property),
4311 (hildon_pannable_area_set_property):
4312 (hildon_pannable_draw_vscroll),
4313 (hildon_pannable_draw_hscroll),
4314 (hildon_pannable_area_initial_effect),
4315 (hildon_pannable_area_expose_event),
4316 (hildon_pannable_area_scroll),
4317 (hildon_pannable_area_button_press_cb),
4318 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4319 and vindicator_mode with hscrollbar_policy and
4320 vscrollbar_policy. Replaced hscroll and vscroll with
4321 hscroll_visible and vscroll_visible.
4323 (hildon_pannable_area_refresh): Refactor the function, remove
4324 variables and check the calls to this function, added resize
4325 conditions in case the children change their layout.
4327 (hildon_pannable_area_size_request): Added more detailed
4328 size_request calculation.
4331 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4333 * src/hildon-color-chooser.c
4334 (init_borders): use the correct gtk_border_free instead of g_free, to
4335 avoid a crash when this widget is used (ie: the three color selection
4338 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4340 * src/hildon-check-button.c,
4341 (hildon_check_button_set_active): Fixed problem when setting the
4342 active value, the widget was not redrawn.
4344 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4346 * src/hildon-pannable-area.c,
4347 (hildon_pannable_area_refresh),
4348 (hildon_pannable_area_scroll),
4349 (hildon_pannable_area_motion_notify_cb): Small code style change.
4351 (hildon_pannable_area_class_init): Default initial_hint set to
4352 FALSE, it is not in the specs.
4354 (hildon_pannable_area_initial_effect),
4355 (hildon_pannable_area_expose_event),
4356 (hildon_pannable_area_map),
4357 (hildon_pannable_area_init): Moved the launching point of the
4358 initial effect, it was in map but the sizes where not correct in
4359 that method so we do not know if we have the reproduce it. Now it
4360 is placed in the expose_event method and uses a variable to
4361 reproduce it just once.
4363 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4365 * src/hildon-pannable-area.c,
4366 (hildon_pannable_draw_vscroll),
4367 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4368 position allowed for the scrollbars.
4370 (hildon_pannable_area_size_allocate): Small style change.
4372 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4374 * src/hildon-pannable-area.c,
4375 (hildon_pannable_area_scroll_indicator_fade),
4376 (hildon_pannable_area_button_press_cb),
4377 (hildon_pannable_area_button_release_cb),
4378 (hildon_pannable_area_scroll_cb),
4379 (hildon_pannable_area_expose_event),
4380 (hildon_pannable_area_init): Added the define parameter
4381 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4382 and refactor the fade variable.
4384 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4386 * src/hildon-pannable-area.c,
4387 (hildon_pannable_area_redraw),
4388 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4389 lines, we were reimplemeting the redraw code.
4391 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4393 * src/hildon-pannable-area.c,
4394 (hildon_pannable_area_scroll_cb),
4395 (hildon_pannable_area_realize),
4396 (hildon_pannable_area_class_init): Added scroll_event management
4397 for pannable area, now we can scroll the usual desktop method.
4399 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4400 initialization of the parameters should depend on idle_id.
4402 (hildon_pannable_area_init),
4403 (hildon_pannable_area_map): Small code style modifications
4405 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4407 * src/hildon-pannable-area.c
4408 (hildon_pannable_area_button_press_cb),
4409 (hildon_pannable_area_motion_notify_cb),
4410 (hildon_pannable_area_button_release_cb),
4411 (hildon_pannable_area_size_allocate),
4412 (hildon_pannable_area_scroll_to): Improved the timeouts
4413 management, we avoid creating them each time.
4415 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4417 * src/hildon-pannable-area.c:
4418 (hildon_pannable_area_refresh),
4419 (hildon_pannable_area_motion_notify_cb),
4420 (hildon_pannable_area_class_init):
4421 * src/hildon-pannable-area.h:
4422 * src/hildon-touch-selector.c
4423 (_create_new_column):
4424 * examples/hildon-pannable-area-example-4.c:
4425 (horizontal_movement),
4426 (vertical_movement),
4428 Replaced the names of enums in the HildonPannableArea:
4429 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4430 HILDON_MOVEMENT_MODE_*
4431 - HILDON_PANNABLE_AREA_MOV_* ->
4433 - Removed HildonPannableAreaIndicatorMode, now we
4436 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4438 * examples/hildon-pannable-area-touch-grid-example.c
4439 * examples/hildon-pannable-area-touch-list-example.c: Fix
4440 compilation warnings.
4442 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4444 * src/hildon-gtk.c (hildon_gtk_button_new)
4445 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4446 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4447 images overriding the value of the "gtk-button-images" setting.
4449 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4451 * src/hildon-check-button.c (hildon_check_button_new):
4452 Instead of using a custom container, display the label and the
4453 checkbox using the standard GtkButton API.
4455 * examples/hildon-check-button-example.c (main): Don't use
4456 hildon_check_button_set_label() anymore
4458 * src/hildon-check-button.h
4459 * src/hildon-check-button.c
4460 (hildon_check_button_set_label, hildon_check_button_get_label):
4461 Set as deprecated, now we're using gtk_button_{get,set}_label()
4463 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4465 * src/hildon-pannable-area.c,
4466 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4467 GtkTreeview first line we detected it after the inclusion of the
4468 GtkWindowImpl in gtk+. We now check if the window is visible, not
4469 just if the pointer is over the window.
4470 (hildon_pannable_axis_scroll),
4471 (hildon_pannable_area_expose_event): Small style changes.
4473 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4475 * src/hildon-button.c: Update documentation.
4477 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4479 * examples/hildon-button-example.c: Add a switch to show images in
4482 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4484 * doc/hildon-docs.sgml: Some docs reorganization.
4486 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4488 * examples/hildon-pannable-area-touch-list-example.c
4490 * examples/hildon-pannable-area-touch-grid-example.c
4491 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4492 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4493 Fix memory leak when setting the tree model.
4495 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4499 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4501 * doc/hildon.types: Remove duplicated hildon_window_get_type
4502 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4503 documentation comment.
4505 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4507 * doc/Makefile.am: Complete list of private headers.
4509 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4511 * doc/hildon-docs.sgml
4512 * src/hildon-app-menu.c
4513 * src/hildon-bread-crumb.c
4514 * src/hildon-button.c
4516 * src/hildon-program.c
4517 * src/hildon-stackable-window.c
4518 * src/hildon-window.c: Lots of documentation updates.
4520 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4522 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4524 * configure.ac: Require Gtk+ 2.12.9 at least
4526 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4528 * src/hildon-pannable-area.c
4529 (hildon_pannable_area_scroll_indicator_fade),
4530 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4531 to protect the return of this timeout callbacks, avoiding deadlocks.
4533 2008-08-12 Christian Dywan <christian@imendio.com>
4536 * src/hildon-*.h: Ensure a consistent include order,
4537 include <gtk/gtk.h> instead of particular files and
4538 only include the topmost header in the gtk stack. See NB #39857
4540 2008-08-12 Christian Dywan <christian@imendio.com>
4542 * src/hildon-picker-dialog.c
4543 * src/hildon-touch-selector.c: Fix warnings about unused and
4544 uninitialized variables.
4546 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4548 * examples/Makefile.am
4549 * examples/hildon-check-button-example.c: Example of the hildon
4552 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-window.h
4555 * src/hildon-window.c (hildon_window_class_init)
4556 (hildon_window_unset_program): Don't make
4557 hildon_window_unset_program a virtual function anymore.
4559 * src/hildon-stackable-window.c: Update documentation
4561 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4564 * doc/hildon-docs.sgml
4565 * doc/visual_index.xml
4566 * src/hildon-defines.c
4568 * src/hildon-helper.c
4569 * src/hildon-range-editor.c: Lots of documentation fixes.
4571 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4573 * examples/hildon-picker-button-multicolumn-example.c
4574 (create_touch_selector): Fix compilation warning.
4576 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4579 (hildon_pannable_area_button_release_cb)
4580 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4582 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4584 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4587 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4589 * src/hildon-bread-crumb-trail.h
4590 * src/hildon-date-editor.c
4591 * src/hildon-date-selector.c
4592 * src/hildon-pannable-area.c
4593 * src/hildon-picker-dialog.c
4594 * src/hildon-time-selector.c
4595 * src/hildon-touch-selector-entry.c
4596 * src/hildon-touch-selector.c
4597 * src/hildon-touch-selector.h: Misc documentation fixes
4599 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4601 * examples/hildon-date-editor-example.c (main): Updated date
4604 * examples/hildon-note-example.c (on_confirmation_clicked):
4605 Updated confirmation note example.
4607 * src/hildon-date-editor.c
4608 * src/hildon-note.c: Updated sample programs in documentation.
4611 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4613 * src/hildon-date-button.h:
4614 * src/hildon-picker-button.h:
4615 * src/hildon-time-button.c:
4616 * src/hildon-time-button.h:
4618 Some declarations changes to allow gtk-doc to document the widgets
4621 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-date-button.c: Document the widget.
4624 * src/hildon-time-button.c: Document the widget.
4626 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-picker-button.c: Document the widget.
4629 * src/hildon-touch-selector-entry.c: Document the widget.
4631 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4633 * doc/hildon-docs.sgml
4636 * src/hildon-check-button.h
4637 * src/hildon-check-button.c: New functions to create the Hildon
4641 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4643 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4645 * src/hildon-button.h
4646 * src/hildon-button.c
4647 (hildon_button_add_title_size_group)
4648 (hildon_button_add_value_size_group)
4649 (hildon_button_add_image_size_group)
4650 (hildon_button_add_size_groups): New functions to set size groups
4651 for the button labels and image.
4652 (hildon_button_new_full): Removed
4654 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4656 * src/hildon-time-selector.c
4657 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4658 in order to avoid a crash if gconf is not available
4660 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-button.c (hildon_button_set_arrangement)
4663 (hildon_button_construct_child): Don't construct the button child
4664 before setting the arrangement.
4666 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4668 * src/hildon-program-private.h
4669 * src/hildon-program.c
4670 * src/hildon-program.h
4671 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4672 (hildon_program_peek_window_stack)
4673 (hildon_program_pop_window_stack)
4674 (hildon_program_go_to_root_window): HildonProgram now has a
4675 separate list for stackable windows. Functions are provided to
4676 manage that list with a stack-like API.
4678 * src/hildon-stackable-window.c: Stackable window management is
4679 now much simpler with the new HildonProgram API. Windows no
4680 longer need to be manually added to the program, they're
4681 automatically pushed to the top of the stack when shown.
4683 * examples/hildon-stackable-window-example.c: Updated example to
4684 reflect the API changes.
4686 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4688 * src/hildon-touch-selector.c: Comment out unimplemented
4689 hildon_touch_selector_insert_column() to avoid a compile warning.
4691 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4693 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4694 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4695 (hildon_touch_selector_set_column_selection_mode),
4696 (_hildon_touch_selector_set_model),
4697 (hildon_touch_selector_set_model):
4699 Complete review of HildonTouchSelector documentation.
4701 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4703 * doc/hildon-docs.sgml
4707 * src/hildon-gtk.c: Convenience functions for standard Gtk
4708 widgets, used to easily perform frequent operations.
4710 * src/hildon-button-helpers.h
4711 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4713 * src/hildon-helper.h
4714 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4715 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4717 * src/hildon-button.h
4718 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4720 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-button.c (hildon_button_init)
4723 (hildon_button_set_arrangement, hildon_button_construct_child):
4724 Pack the image and the labels inside the same GtkAlignment so
4725 gtk_button_set_alignment() can be used
4727 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4729 * src/hildon-button.h
4730 * src/hildon-button.c
4731 (hildon_button_init, hildon_button_set_image)
4732 (hildon_button_set_image_position)
4733 (hildon_button_construct_child): New functions to add an image to
4736 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4738 * src/hildon-date-button.c
4739 * src/hildon-picker-button.c
4740 * src/hildon-time-button.c
4741 * src/hildon-button.c:
4742 (hildon_button_class_init): "size-flags" renamed to "size"
4743 (hildon_button_set_title): Hide the title label if set to NULL.
4745 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4747 HildonButtonFlags split into HildonButtonArrangement (to set the
4748 button layout) and HildonSizeType (which can be used for any
4751 * src/hildon-button.h
4752 * src/hildon-button.c
4753 (hildon_button_class_init)
4754 (hildon_button_set_arrangement)
4755 (hildon_button_set_property): New "size-flags"
4756 property. "arrangement-flags" renamed to "arrangement".
4757 (hildon_button_new, hildon_button_new_with_text)
4758 (hildon_button_new_full): Constructors updated to reflect type changes.
4760 * src/hildon-helper.h
4761 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4762 to set the size of a widget.
4766 * src/hildon-button-helpers.c
4767 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4769 * src/hildon-date-button.c
4770 * src/hildon-date-button.h
4771 * src/hildon-picker-button.c
4772 * src/hildon-picker-button.h
4773 * src/hildon-time-button.c
4774 * src/hildon-time-button.h: Updated widgets to reflect
4775 HildonButton API changes.
4777 * examples/hildon-button-example.c
4778 * examples/hildon-date-button-example.c
4779 * examples/hildon-picker-button-example.c
4780 * examples/hildon-picker-button-multicolumn-example.c
4781 * examples/hildon-time-button-example.c
4782 * examples/hildon-touch-selector-entry-example.c
4783 * examples/hildon-touch-selector-example.c: Updated examples to
4784 reflect HildonButton API changes.
4786 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4788 * doc/hildon-docs.sgml:
4790 * examples/Makefile.am:
4791 * examples/hildon-touch-selector-entry-example.c:
4793 * src/hildon-touch-selector-entry.c:
4794 * src/hildon-touch-selector-entry.h:
4797 Moved HildonTouchSelectorEntry from sandbox. Added its
4798 documentation and examples.
4800 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4802 * src/hildon-touch-selector.h:
4803 * examples/hildon-picker-button-multicolumn-example.c:
4804 (hildon_touch_selector_append_text_column): Add a gboolean
4805 parameter to determine if text must be centered in the column.
4807 * src/hildon-date-selector.c: (hildon_date_selector_init):
4808 * src/hildon-time-selector.c: (hildon_time_selector_init):
4809 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4810 (create_touch_selector): Update widgets and example to reflect
4813 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4815 * src/hildon-touch-selector.c:
4816 (hildon_touch_selector_set_active_iter): Set also the cursor in
4819 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4821 * doc/hildon-docs.sgml
4824 * src/hildon-toggle-button.c
4825 * src/hildon-toggle-button.h
4826 * src/hildon.h: Removed HildonToggleButton widget, a derived
4827 class is not necessary for this.
4829 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4831 * src/hildon-pannable-area.c,
4832 (hildon_pannable_area_realize),
4833 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4836 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4838 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4839 "done" button the default widget for the dialog.
4841 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4843 * src/hildon-touch-selector.c:
4844 (hildon_touch_selector_class_init),
4845 (hildon_touch_selector_get_property),
4846 (_hildon_touch_selector_set_model),
4847 (_hildon_touch_selector_has_multiple_selection),
4848 (hildon_touch_selector_has_multiple_selection):
4849 Add a "has-multiple-selection" property with a virtual
4850 has_multiple_selection() method to allow derived classes to
4851 override the default value for it. See the method and property
4852 documentation for details.
4854 * src/hildon-touch-selector.h: Add the new API.
4856 * src/hildon-picker-dialog.c: (requires_done_button): Call
4857 hildon_touch_selector_has_multiple_selection() instead of
4858 determining the need for a button itself.
4860 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4863 (_hildon_touch_selector_set_model),
4864 (hildon_touch_selector_set_model): Move working code to
4865 _hildon_touch_selector_set_mode(). Call the class method instead.
4867 * src/hildon-touch-selector.h: Add (*set_model) to
4868 HildonTouchSelectorClass.
4870 Make hildon_touch_selector_set_model() a virtual method, so that
4871 derived classes can extend it and do fancy stuff with the model.
4873 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4875 * configure.ac: Set back the tarname in AC_INIT to hildon.
4877 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4881 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4882 instead of libesd (NB#86876). Volume handling is still an open issue.
4884 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4887 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4889 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4890 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4891 derived class to ease placement of an entry widget in
4892 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4893 end, where the selector columns are packed now.
4895 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4897 * src/hildon-picker-button.c: Removed the simple _text() API.
4898 * src/hildon-picker-button.h: Likewise.
4900 * src/hildon-touch-selector.h:
4901 * src/hildon-touch-selector.c:
4902 (hildon_touch_selector_new_text),
4903 (hildon_touch_selector_append_text),
4904 (hildon_touch_selector_prepend_text),
4905 (hildon_touch_selector_insert_text):
4907 Moved the simple _text() API from HildonPickerButton to
4908 HildonTouchPicker, to provide better escalability and not to tie
4909 that API to HildonPickerButton.
4911 * examples/hildon-picker-button-example.c: (main): Example updated.
4913 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-button.c: Updated documentation.
4917 * examples/hildon-button-example.c: Add the posibility to create
4918 the buttons using horizontal layout for title and value.
4920 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4922 * src/hildon-app-menu-private.h
4923 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4924 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4925 GtkSizeGroup for the filters, use the 'homogeneous' property of
4928 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4930 * examples/hildon-button-example.c: Updated example.
4932 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4934 * doc/hildon-docs.sgml:
4937 Update documentation.
4939 * examples/Makefile.am: Update renamed examples.
4941 * examples/hildon-picker-button-multicolumn-example.c:
4942 (create_touch_selector), (main): Update after the rename.
4944 * examples/hildon-touch-picker-example.c: Removed.
4945 * examples/hildon-touch-selector-example.c: (value_changed),
4946 (create_selector), (get_visible_content), (main): Renamed from
4947 hildon-touch-picker-example.c
4949 * src/Makefile.am: Updated renamed files.
4951 * src/hildon-date-button.c: (hildon_date_button_init),
4952 (hildon_date_button_get_date), (hildon_date_button_set_date):
4953 * src/hildon-date-selector.c: (hildon_date_selector_init),
4954 (_custom_print_func), (_update_day_model),
4955 (_manage_selector_change_cb),
4956 (hildon_date_selector_select_current_date),
4957 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4958 * src/hildon-date-selector.h:
4959 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4960 (hildon_picker_button_set_property),
4961 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4962 (hildon_picker_button_init), (hildon_picker_button_new_text),
4963 (hildon_picker_button_append_text),
4964 (hildon_picker_button_prepend_text),
4965 (hildon_picker_button_insert_text),
4966 (hildon_picker_button_set_selector),
4967 (hildon_picker_button_get_selector):
4968 * src/hildon-picker-button.h:
4969 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4970 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4971 (_update_title_on_selector_changed_cb), (requires_done_button),
4972 (_hildon_picker_dialog_set_selector),
4973 (hildon_picker_dialog_set_selector),
4974 (hildon_picker_dialog_get_selector):
4975 * src/hildon-picker-dialog.h:
4976 * src/hildon-time-button.c: (hildon_time_button_init),
4977 (hildon_time_button_get_time), (hildon_time_button_set_time):
4978 * src/hildon-time-selector.c: (hildon_time_selector_init),
4979 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4980 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4981 * src/hildon-time-selector.h:
4984 Massive code updates after the rename.
4986 * src/hildon-touch-picker.c: Removed.
4987 * src/hildon-touch-picker.h: Removed.
4989 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4990 (hildon_touch_selector_init), (hildon_touch_selector_map),
4991 (hildon_touch_selector_remove), (_default_print_func),
4992 (_selection_changed_cb), (_create_new_column),
4993 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4994 (hildon_touch_selector_append_text_column),
4995 (hildon_touch_selector_remove_column),
4996 (hildon_touch_selector_set_column_attributes),
4997 (hildon_touch_selector_insert_column),
4998 (hildon_touch_selector_get_num_columns),
4999 (hildon_touch_selector_get_column_selection_mode),
5000 (hildon_touch_selector_set_column_selection_mode),
5001 (hildon_touch_selector_set_print_func),
5002 (hildon_touch_selector_get_print_func),
5003 (hildon_touch_selector_get_active_iter),
5004 (hildon_touch_selector_set_active_iter),
5005 (hildon_touch_selector_get_selected_rows),
5006 (hildon_touch_selector_get_model),
5007 (hildon_touch_selector_set_model),
5008 (hildon_touch_selector_get_current_text),
5009 (_hildon_touch_selector_center_on_selected_items):
5010 * src/hildon-touch-selector.h: Renamed from
5011 hildon-touch-picker.[ch]
5013 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5014 references, code examples, and related documentation.
5016 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5018 * doc/hildon-docs.sgml
5021 * src/hildon-toggle-button.c
5022 * src/hildon-toggle-button.h
5023 * src/hildon.h: New HildonToggleButton widget.
5025 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5027 * src/hildon-button.c: Add API documentation.
5028 (hildon_button_set_size_groups): Check input parameters
5030 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5032 * src/hildon-pannable-area.c
5033 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5034 effect after reaching the movement thredshold. This way we start
5035 using the distance after passing the thredshold.
5037 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5039 * src/hildon-button.c: (hildon_button_set_property): Use the
5040 appropriate g_value_get_flags() method.
5042 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5044 * doc/hildon-docs.sgml:
5047 Add the touch pickers, picker dialogs, and picker button widgets
5048 to the documentation.
5050 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5052 * src/hildon-button.c: (hildon_button_set_property),
5053 (hildon_button_class_init): Make "arrangement-flags" a proper
5054 G_TYPE_FLAGS derived property.
5056 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5058 * examples/Makefile.am: Add below examples.
5059 * examples/hildon-date-button-example.c:
5060 * examples/hildon-picker-button-example.c:
5061 * examples/hildon-picker-button-multicolumn-example.c:
5062 * examples/hildon-time-button-example.c:
5063 * examples/hildon-touch-picker-example.c:
5065 Add examples for the recently added touch pickers,
5066 picker dialogs, and picker button widgets.
5068 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5070 * src/hildon-button.c: Add some API documentation
5072 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5074 * src/hildon-button.h
5075 * src/hildon-button.c
5077 (hildon_button_new_with_text): New constructor to create a button
5078 with no text at all.
5079 (hildon_button_init, hildon_button_set_arrangement)
5080 (hildon_button_set_title, hildon_button_set_value)
5081 (hildon_button_set_text)
5082 (hildon_button_construct_child): Hide the value when it's not used
5083 so the rest of the text is properly aligned.
5084 Allow creating buttons with arbitrary widgets inside (not just
5085 title/value labels).
5087 * examples/hildon-button-example.c (vertical_buttons_window)
5088 (horizontal_buttons_window): Update example to use new API.
5090 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5092 * src/Makefile.am: Added HildonTimeButton.
5093 * src/hildon-time-button.c: Added missing LGPL header.
5094 * src/hildon-time-button.h: Added missing LGPL header.
5095 * src/hildon.h: Add hildon-time-button.h
5097 Copied HildonTimeButton from sandbox to trunk. Future work on this
5098 widget must take place in trunk.
5100 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5102 * src/Makefile.am: Added HildonDateButton.
5103 * src/hildon-date-button.c: Update includes.
5104 * src/hildon.h: Add hildon-date-button.h
5106 Copied HildonDateButton from sandbox to trunk. Future work on this
5107 widget must take place in trunk.
5109 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5111 * src/Makefile.am: Added HildonPickerButton.
5112 * src/hildon-picker-button.h: Update includes.
5113 * src/hildon.h: Add hildon-picker-button.h
5115 Copied HildonPickerButton from sandbox to trunk. Future work on
5116 this widget must take place in trunk.
5118 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5120 * src/Makefile.am: Added HildonPickerDialog.
5121 * src/hildon-picker-dialog.c: Update includes.
5122 * src/hildon.h: Add hildon-picker-dialog.h
5124 Copied HildonPickerDialog from sandbox to trunk. Future work
5125 on this widget must take place in trunk.
5127 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/Makefile.am: Added HildonTimeSelector.
5130 * src/hildon.h: Add hildon-time-selector.h
5132 Copied HildonTimeSelector widget from sandbox to trunk. Future
5133 work on this widget must happen in trunk.
5135 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/Makefile.am: Added HildonDateSelector.
5138 * src/hildon.h: Add hildon-date-selector.h
5140 Copied HildonDateSelector widget from sandbox to trunk. Future
5141 work on this widget must happen in trunk.
5143 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5145 * src/Makefile.am: Added HildonTouchPicker.
5146 * src/hildon-touch-picker.c: Update includes.
5147 * src/hildon.h: Add hildon-touch-picker.h
5149 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5150 on this widget must happen in trunk.
5152 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5154 * src/hildon-pannable-area.c:
5155 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5157 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5159 * examples/hildon-app-menu-example.c (main): Let the window
5162 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5164 * src/hildon-pannable-area.c
5165 (hildon_pannable_area_class_init): Set the min value of the
5166 overshoot properties to zero, which points out that not
5167 overshooting allowed.
5169 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5171 Modified the procedure to get the widget at a point inside the
5172 pannable area when using the movement type signals. Now the user
5173 has to call a function to get the child, that way we just
5174 calculate the child in case the user really want to use it and not
5177 * src/hildon-marshalers.list: Modified the marshallers, now we do
5178 not have the widget as a parameter.
5180 * src/hildon-pannable-area.c
5181 (hildon_pannable_area_motion_notify_cb),
5182 (hildon_pannable_area_class_init),
5183 (hildon_pannable_get_child_widget_at): Removed the widget
5184 parameter from the signal callback. We have also refactored the
5185 emission of the signals.
5187 * src/hildon-pannable-area.h: Added a new method to the API to
5188 calculate a widget at a point inside the pannable area,
5189 hildon_pannable_get_child_widget_at.
5191 * examples/hildon-pannable-area-example-4.c
5192 (horizontal_movement): Modified the example to use the new API,
5193 added condition to control which widget is under the event. This
5194 way we can avoid scrolling laterally over other widgets.
5196 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5198 * src/hildon-pannable-area.c
5199 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5200 modes, we stop getting the pointer events due to returning the
5201 callback without properly calling the get pointer again. Fixed
5202 also an error using the hscroll and vscroll.
5204 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-app-menu-private.h
5207 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5208 (hildon_app_menu_button_release, hildon_app_menu_init)
5209 (hildon_app_menu_class_init): Don't hide the menu on button
5210 release if the user didn't press outside first.
5212 * src/hildon-window.h
5213 * src/hildon-window.c (hildon_window_toggle_menu)
5214 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5215 hildon_window_toggle_menu a virtual function for the stackable
5216 window to override it.
5218 * src/hildon-stackable-window.h
5219 * src/hildon-stackable-window-private.h
5220 * src/hildon-stackable-window.c
5221 (hildon_stackable_window_realize)
5222 (hildon_stackable_window_finalize)
5223 (hildon_stackable_window_class_init)
5224 (hildon_stackable_window_init)
5225 (hildon_stackable_window_set_main_menu): New function to set the
5226 app menu of a HildonStackableWindow.
5228 * examples/hildon-app-menu-example.c: Remove the button to show
5229 the app menu, now it'll be shown when clicking on the title bar
5232 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5234 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5235 set the widget name if the arrangement flags do not specify
5238 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5240 * src/hildon-button.c: (hildon_button_set_property),
5241 (hildon_button_class_init), (hildon_button_new_full),
5242 (hildon_button_set_arrangement): Added "arrangement-flags"
5245 Make the HildonButtonFlags a construction-only property, to allow
5246 subclasses to set them properly.
5248 2008-07-21 Tim Janik <timj@imendio.com>
5250 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5251 insertion position after backspace, so additional digits are appended,
5254 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5256 * src/hildon-pannable-area.c,
5257 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5258 TODO list, it was complete and removed the g_debug and g_print
5261 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5263 Added the movement modes to the hildon-pannable-area, with this
5264 modes the developers can control in which directions the widget
5265 can scroll. They can also connect to signals in order to do
5266 something when that happens, allowing applications scroll. There
5267 is an example uploaded showing how to use it.
5269 * examples/Makefile.am:
5270 * examples/hildon-pannable-area-example-4.c: Added this example of
5271 an application using the modes.
5273 * src/hildon-marshalers.list: Added a new marshaller for the new
5276 * src/hildon-pannable-area.h: Added new enumerations and flags in
5277 order to control the movement modes and the new signals to warn
5278 about the movements in the area.
5280 * src/hildon-pannable-area.c:
5281 (hildon_pannable_axis_scroll),
5282 (hildon_pannable_area_scroll),
5283 (hildon_pannable_area_motion_notify_cb),
5284 (hildon_pannable_area_get_property),
5285 (hildon_pannable_area_set_property),
5286 (hildon_pannable_area_map),
5287 (hildon_pannable_area_class_init),
5288 (hildon_pannable_area_init),
5289 (hildon_pannable_area_jump_to): Added the modes to control the
5290 movement in the widget. We have added properties to control it,
5291 signals to warn about the movements and refactored some code.
5293 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5295 Changes required in order to allow vfast_factor set to zero to
5298 * src/hildon-pannable-area.c:
5299 (hildon_pannable_area_button_press_cb): Changed the condition, it
5300 is required for not allowing click when vfast_factor is zero.
5301 (hildon_pannable_area_timeout): Initialized velocity variables
5302 when we stop moving, it was less than 1 but not zero and we need
5303 to check zero in some situations.
5304 (hildon_pannable_area_class_init): Changed the default value of
5305 the speed factor, now the button_press is just sent in case the
5306 speed is 2 per cent of the max speed.
5307 (hildon_pannable_area_init): Initialization with 0.
5309 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5311 * src/hildon-pannable-area.c,
5312 (hildon_pannable_area_get_topmost): replaced
5313 gdk_window_get_children with gdk_window_peek_children, this way we
5314 do not have to free the list because it is not a copy.
5316 (hildon_pannable_axis_scroll),
5317 (hildon_pannable_area_scroll),
5318 (hildon_pannable_area_timeout),
5319 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5320 two parameters that were only used inside the
5321 hildon_pannable_area_scroll function.
5323 * examples/hildon-pannable-area-example.c,
5324 (get_sawtooth_label): Fixed small memory leak.
5326 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5328 More checks for the case where the overshoot is bigger than the
5331 * src/hildon-pannable-area.c:
5332 (hildon_pannable_draw_vscroll),
5333 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5334 to draw the slider of the scrollbar under the other scrollbar.
5335 (hildon_pannable_area_expose_event): added new checks to control
5336 the drawing of the overshooting area rectangle, in case it is too
5337 big for the area of the widget.
5338 (hildon_pannable_area_size_allocate): add more checks to avoid
5339 setting a position to the child widget outside the area.
5341 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5343 * src/hildon-pannable-area.c
5344 (hildon_pannable_area_size_allocate): Added conditions to control
5345 when overshooting is bigger than the allocated space for the
5346 children, this avoids negative allocations.
5348 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5350 * doc/hildon-docs.sgml
5352 * examples/Makefile.am
5353 * examples/hildon-button-example.c
5355 * src/hildon-button.c
5356 * src/hildon-button.h
5357 * src/hildon.h: Initial version of the new HildonButton widget,
5360 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5362 * src/hildon-pannable-area.c:
5363 (hildon_pannable_area_button_press_cb),
5364 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5365 (hildon_pannable_area_motion_notify_cb),
5366 (hildon_pannable_area_button_release_cb),
5367 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5368 (hildon_pannable_area_jump_to_child):
5370 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5372 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5374 * examples/Makefile.am
5375 * examples/hildon-pannable-area-touch-grid-example.c
5376 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5377 the Hildon Touch List and Hildon Touch Grid using the
5378 HildonPannableArea widget.
5380 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5382 * src/hildon-pannable-area.c,
5383 (hildon_pannable_area_button_press_cb),
5384 (hildon_pannable_area_refresh),
5385 (hildon_pannable_area_scroll),
5386 (hildon_pannable_area_motion_notify_cb),
5387 (hildon_pannable_area_button_release_cb),
5388 (hildon_pannable_area_expose_event),
5389 (hildon_pannable_area_add),
5390 (hildon_pannable_area_remove),
5391 (hildon_pannable_area_realize),
5392 (hildon_pannable_area_size_allocate),
5393 (hildon_pannable_area_class_init),
5394 (hildon_pannable_area_init),
5395 (hildon_pannable_area_scroll_to_child),
5396 (hildon_pannable_area_jump_to_child): Fixed the problem of
5397 removing the child from the GtkBin, we have rearranged the widget
5398 hierarchy, now there is no GtkAlignment which was not doing
5399 anything interesting but breaking some of the assumptions of
5400 GtkContainer. Now developers if they want to add a GtkAlignment
5401 they could, but it is not inside the area.
5403 We had to review the whole allocation/expose process, now it is
5404 improved and we save at least three signals which would be saving
5405 some time when rendering the widget. The allocation of the
5406 scrollbars is now made in the allocate method as usual.
5408 We have also added some conditions in order to control when there
5409 is no child of the pannable area. Maybe we will need more work
5412 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5414 * src/hildon-pannable-area.c,
5415 (hildon_pannable_area_dispose): Released the fade-out timeout when
5416 disposing the widget.
5418 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5420 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5421 zero, we are going to use that property in order to deactivate the
5423 (hildon_pannable_axis_scroll),
5424 (hildon_pannable_area_size_allocate): Added conditions to control
5425 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5426 call, now it is called in all situations and we can remove calls
5427 in the allocate method.
5428 (hildon_pannable_area_map): Control the situation when
5429 overshoot_max is zero, we do not need the timeout.
5430 (hildon_pannable_area_class_init): Added documentation in order to
5431 point out that setting zero to overshoot_max means deactivate
5434 NOTE: removed trailing whitespaces from my previous comments of
5437 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5439 * src/hildon-pannable-area.c
5440 (hildon_pannable_area_get_property),
5441 (hildon_pannable_area_set_property),
5442 (hildon_pannable_area_map),
5443 (hildon_pannable_area_class_init),
5444 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5445 to cause the widget give a hint about its panning abilities upon
5448 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5450 * src/hildon-pannable-area.c: Several documentation improvements.
5452 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-program.c
5455 * src/hildon-stackable-window.c: Update documentation.
5457 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5459 * src/hildon-stackable-window.c (get_previous_window_if_last):
5460 Renamed get_last_window()
5461 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5462 (hildon_stackable_window_unset_program):
5464 (get_previous_window_if_last):
5465 Detect if the window hasn't been added to a HildonProgram.
5467 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5469 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5471 * src/hildon-pannable-area.c
5472 (hildon_pannable_area_button_press_cb),
5473 (hildon_pannable_axis_scroll),
5474 (hildon_pannable_area_scroll),
5475 (hildon_pannable_area_timeout),
5476 (hildon_pannable_calculate_vel_factor),
5477 (hildon_pannable_area_get_property),
5478 (hildon_pannable_area_set_property),
5479 (hildon_pannable_area_class_init),
5480 (hildon_pannable_area_init),
5481 (hildon_pannable_area_scroll_to),
5482 (hildon_pannable_area_jump_to),
5483 (hildon_pannable_area_scroll_to_child),
5484 (hildon_pannable_area_jump_to_child):
5485 * src/hildon-pannable-area.h: Added the new API functions:
5486 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5487 hildon_pannable_area_scroll_to_child,
5488 hildon_pannable_area_jump_to_child
5491 * examples/Makefile.am
5492 * examples/hildon-pannable-area-example-2.c
5493 * examples/hildon-pannable-area-example-3.c: Added these two new
5494 examples in order to test and show how the new APIs work.
5496 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5498 * examples/hildon-stackable-window-example.c (new_window):
5499 * src/Makefile.am (noinst_HEADERS):
5500 * src/hildon-program.c (hildon_program_go_to_root_window):
5501 * src/hildon-program.h:
5502 * src/hildon-stackable-window-private.h:
5503 * src/hildon-stackable-window.c:
5504 * src/hildon-stackable-window.h:
5505 Create hildon-stackable-window-private.h
5506 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5508 * examples/hildon-app-menu-example.c (create_menu):
5509 * examples/hildon-hvolumebar-insensitive-example.c (main):
5510 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5511 * examples/hildon-toolbar-seekbar-example.c (main):
5512 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5513 * src/hildon-banner.c (hildon_banner_set_property):
5514 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5515 Fix compilation warnings
5517 * src/hildon-window.c:
5520 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5522 * src/hildon-stackable-window.c
5523 (hildon_stackable_window_unset_program):
5524 Calculate correctly whether to show the previous window if the
5525 last one is removed from the stack.
5526 (hildon_stackable_window_go_to_root_window):
5527 Send delete events starting from the topmost window.
5528 Stop if one of the windows is not destroyed.
5530 (hildon_stackable_window_delete_event)
5531 (hildon_stackable_window_class_init):
5532 Ignore the delete event if the window is not the topmost one.
5534 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5536 * src/hildon-pannable-area.c
5537 (hildon_pannable_area_expose_event): Fixed a problem when
5538 selecting the background color of the scrollbars.
5540 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5542 * examples/hildon-stackable-window-example.c
5543 * src/hildon-stackable-window.c
5544 * src/hildon-stackable-window.h
5545 hildon_stackable_window_go_home() renamed to
5546 hildon_stackable_window_go_to_root_window()
5547 Send delete events to windows rather than closing them with
5548 gtk_widget_destroy()
5550 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5552 * src/hildon-pannable-area.c
5553 (hildon_pannable_area_button_release_cb): Fix overshooting in
5556 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5558 * src/hildon-pannable-area.c
5559 (hildon_pannable_area_init): Initially show the scroll indicators.
5560 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5562 Add initial effect showing the widget is pannable.
5564 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5566 * src/hildon-pannable-area.c
5567 (hildon_pannable_area_class_init)
5568 (hildon_pannable_area_set_property)
5569 (hildon_pannable_area_get_property)
5570 (hildon_pannable_area_button_press_cb):
5571 New 'velocity_fast_factor' property to decide which velocity is
5574 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5576 * src/hildon-pannable-area.c
5577 (hildon_pannable_draw_hscroll)
5578 (hildon_pannable_draw_vscroll):
5579 Use float variables to calculate the size of the scrollbars to
5580 avoid error propagation and resizing during scrolling.
5582 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5584 * src/hildon-pannable-area.c
5585 (hildon_pannable_draw_vscroll)
5586 (hildon_pannable_draw_hscroll):
5587 Define a minimum size for the scroll bars
5589 * src/hildon-stackable-window.c
5590 (hildon_stackable_window_go_home): Fix compilation warning
5591 (get_last_window): Minor optimizations
5592 (hildon_stackable_window_class_init): Fix initialization of
5595 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5597 * src/hildon-stackable-window.c: Fixed typos in doc
5599 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5601 * src/hildon-pannable-area.c
5602 (hildon_pannable_area_scroll):
5603 Calculate here whether we need to scroll instead of using the booleans
5604 that tell us whether to /draw/ the scrolling bars.
5606 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5608 * src/hildon-app-menu.h
5610 * src/hildon-app-menu.c
5611 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5612 multiple filter groups related code and API. Now we support only
5614 * examples/hildon-app-menu-example.c:
5616 Update to reflect API changes.
5618 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5620 * src/hildon-stackable-window.c
5621 (hildon_stackable_window_class_init):
5622 Add hildon_stackable_window_realize.
5623 (hildon_stackable_window_realize):
5624 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5625 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5626 to apply theming and behavior specific to HildonStackableWindow
5629 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5631 * src/hildon-note.c (hildon_note_button_release):
5632 Close information notes also when tapping on them
5634 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5636 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5637 ELASTICITY, refactor and review, fix some issues with drawing
5640 * src/hildon-pannable-area.c:
5641 (hildon_pannable_area_button_press_cb): removed the conditions to
5642 avoid clicks when overshooting. It is not required
5644 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5645 define. Refatored and reviewed the code, now we do not need to
5646 manage velocity in motion_notify.
5648 (hildon_pannable_area_motion_notify_cb): We have moved the code
5649 that controls the area_scroll to the axis_scroll function and get
5650 rid of duplicated code.
5652 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5654 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5656 (hildon_pannable_draw_vscroll),
5657 (hildon_pannable_draw_hscroll): Fixed the problems with the
5658 scrollbar drawing, now we do not use two surfaces, it is easier
5659 and saves resources.
5661 (hildon_pannable_area_get_property): Style modification.
5663 (hildon_pannable_area_class_init): Changed some default values.
5665 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5667 * src/hildon-stackable-window.c: Fix some typos in the
5670 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5672 * src/hildon-dialog.c:
5673 Change indentation style
5676 (hildon_note_button_release):
5677 Use root coordinates to check if the release event happened
5680 * src/hildon-app-menu.c
5681 (hildon_app_menu_button_release):
5682 Remove unnecessary check
5684 * examples/hildon-app-menu-example.c
5686 Add cast to fix warning
5688 * src/hildon-app-menu.c
5689 (hildon_app_menu_class_init):
5690 New inner-border style property.
5691 Set all default spacings to 16
5692 (hildon_app_menu_init):
5693 Use vertical-spacing to set the space between filter buttons and
5694 regular menu buttons.
5695 Set the default container border using the inner-border value.
5697 * examples/hildon-app-menu-example.c
5699 Don't set the menu border explicitly, now we have the inner-border
5700 style property for that.
5702 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5704 * src/hildon-app-menu.c (hildon_app_menu_init):
5705 Make the window modal
5707 * src/hildon-note.c (hildon_note_map)
5708 * src/hildon-app-menu.c (hildon_app_menu_map):
5709 Destroy the grab window if we're unable to grab the pointer
5711 * src/hildon-app-menu-private.h
5712 * src/hildon-app-menu.c
5713 (hildon_app_menu_init, hildon_app_menu_finalize)
5714 (hildon_app_menu_map, hildon_app_menu_unmap)
5715 (hildon_app_menu_button_release)
5716 (grab_transfer_window_get):
5717 Bring back the grab window
5718 (hildon_app_menu_realize):
5719 Decorate the window, set WM hint for Matchbox
5721 * src/hildon-note.c (hildon_note_realize):
5722 * src/hildon-banner.c (hildon_banner_realize):
5723 Add WM hints for Matchbox
5725 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5727 * src/hildon-app-menu-private.h
5728 * src/hildon-app-menu.c
5729 (hildon_app_menu_init, hildon_app_menu_finalize)
5730 (hildon_app_menu_map, hildon_app_menu_unmap)
5731 (hildon_app_menu_button_release):
5732 Remove the grab window, it's not needed anymore
5734 * src/hildon-program.c
5735 Fixed typo in documentation
5737 * src/hildon-app-menu.h
5738 * src/hildon-app-menu.c
5739 * examples/hildon-app-menu-example.c
5740 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5742 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5745 Added new transfer_window and close_if_pressed_outside private
5747 (hildon_note_rebuild):
5748 Don't add a cancel button to the information note. It will be
5749 closed when tapping outside
5750 Remove the comment about the OK button in the documentation
5751 (hildon_note_realize):
5752 Set the notification type hint
5753 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5754 Grab/ungrab pointer and keyboard if the note has to be closed when
5756 (hildon_note_button_release):
5757 Close the note when tapping outside (if applicable)
5759 * src/hildon-app-menu.c
5760 Grab/ungrab pointer and keyboard on map/unmap
5761 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5762 Close the menu on button release, not button press
5764 * src/hildon-banner.c
5765 (hildon_banner_set_property)
5766 (hildon_banner_check_position):
5767 Make the banner use the full width of the screen
5768 (hildon_banner_show_information)
5769 (hildon_banner_show_information_with_markup):
5770 Don't display an icon by default
5772 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5774 Added fading scrollbars and adapted all the overshooting code to
5775 horizontal scrolling. We have also fixed bugs with overshooting
5776 and current fading implementation.
5778 * src/hildon-pannable-area.c
5779 (hildon_pannable_area_scroll_indicator_fade): Time out function
5780 used to change the transparency of the scrollbars.
5782 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5783 control and fixed a problem with fading, we now remove the fade
5784 timeout before adding a new one.
5786 (hildon_pannable_axis_scroll):
5787 (hildon_pannable_area_scroll):
5788 (hildon_pannable_area_timeout): Added this functions so we can use
5789 the scroll code both for vertical and horizontal.
5791 (hildon_pannable_area_motion_notify_cb):
5792 (hildon_pannable_area_button_release_cb): Added the horizontal
5793 scrolling control, fixed a problem with the overshooting timeout.
5795 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5796 painting of the scrolls.
5798 (hildon_pannable_draw_vscroll):
5799 (hildon_pannable_draw_hscroll):
5800 (hildon_pannable_area_expose_event):
5801 Draw both scrollbars and rectangles in the overshooting area.
5803 (hildon_pannable_area_get_property):
5804 (hildon_pannable_area_set_property):
5805 Modified the overshoot property to overshoot_max
5807 (hildon_pannable_area_map):
5808 Replaced the comments symbols.
5810 (hildon_pannable_area_size_allocate):
5811 (hildon_pannable_area_class_init):
5812 (hildon_pannable_area_init): Added horizontal scroll, fading
5813 effect properties, fixed a problem when overshooting in the bottom
5816 * examples/hildon-pannable-area-example.c:
5817 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5818 looks better in the example.
5820 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5822 * src/hildon-window.c
5823 * src/hildon-window.h
5824 (hildon_window_class_init)
5825 (hildon_window_unset_program)
5826 (hildon_window_unset_program_real):
5827 Make unset_program a virtual function
5829 * src/hildon-stackable-window.c
5830 * src/hildon-stackable-window.h
5831 Added hildon_stackable_window_go_home()
5833 * examples/Makefile.am
5834 * examples/hildon-stackable-window-example.c
5835 HildonStackableWindow example
5837 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5839 * hildon-pannable-area.c: Added the overshoot property and removed
5840 the OVERSHOOT define. Fixed an indent style error.
5841 (hildon_pannable_area_motion_notify_cb):
5842 (hildon_pannable_area_get_property):
5843 (hildon_pannable_area_set_property): Add overshoot property.
5845 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5848 (hildon_pannable_area_class_init): Installed the new property.
5850 * hildon-pannable-area-example.c: Added a sawtooth function, this
5851 way it is easier to check the movement in the pannable.
5852 (get_sawtooth_label): Added this function.
5853 (main): Now we get the labels from the new get_sawtooth_label
5856 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5858 * src/hildon-app-menu.h
5859 * src/hildon-app-menu.c
5860 Renamed API variables for consistency
5862 (hildon_app_menu_popup): Use also the default window size to
5863 decide where to place the menu
5865 (hildon_app_menu_init, hildon_app_menu_class_init): New
5866 external-border style property
5868 2008-05-26 Michael Natterer <mitch@imendio.com>
5870 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5871 widget_class->tap_and_hold_setup signal slot doesn't exist any
5872 longer, stop overriding it.
5874 (hildon_time_editor_init): g_signal_connect() to the
5875 tap-and-hold-setup signal instead.
5877 (hildon_time_editor_entry_keypress): add cast to fix warning.
5879 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5881 * doc/hildon-docs.sgml
5883 * examples/Makefile.am
5884 * examples/hildon-app-menu-example.c
5886 * src/hildon-app-menu-private.h
5887 * src/hildon-app-menu.c
5888 * src/hildon-app-menu.h
5890 New HildonAppMenu widget
5892 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5894 Rearranged the inheritance of the pannable area, now it inherits
5895 from GtkBin. This will allow us to control the event_window and
5896 the allocation process of the widget, required for some effects.
5898 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5899 GtkBin structures. * src/hildon-pannable-area.c: Added the
5900 event_window variable.
5901 (hildon_pannable_area_button_press_cb):
5902 (hildon_pannable_area_button_release_cb):
5903 (hildon_pannable_area_motion_notify_cb):
5904 Changed the signature of the method, now we override the event
5905 callback instead of connecting to the signal.
5907 (hildon_pannable_area_realize):
5908 (hildon_pannable_area_unrealize):
5909 (hildon_pannable_area_map):
5910 (hildon_pannable_area_unmap):
5911 (hildon_pannable_area_size_allocate):
5912 Added functions to control the widget construction. We add a
5913 INPUT_ONLY window and we put it over the widgets inside the
5914 container, this event_window handles the events.
5916 (hildon_pannable_area_class_init):
5917 Replaced the signal connections with overrides of the event
5920 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5922 Bouncing effect added when touching the borders, you can change
5923 the elasticity of the border changing the ELASTICITY define.
5925 * src/hildon-pannable-area.c: Added ELASTICITY define.
5926 (hildon_pannable_area_timeout): Added inverse velocity when
5927 touching the border of the child widget, that causes a bounce.
5929 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5931 Improved performance, we now do not go to the X server in order to
5932 get the list of window children. Apparently the effect is the
5933 same, we have to be careful and check if this breaks something in
5936 * src/hildon-pannable-area.c:
5937 (get_ordered_children): Removed this function.
5938 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5939 the children windows function with gdk_window_get_children.
5941 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5943 * src/hildon-pannable-area.c:
5944 (hildon_pannable_area_dispose): Fixed a crash when closing the
5945 window and kinetics is activated.
5947 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5949 * src/hildon-pannable-area.h
5950 * src/hildon-pannable-area.c
5951 Changed indentation style to meet the one used in Hildon
5953 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5955 Reviewed the interaction of the AUTO mode, now we use the time
5956 attribute of the events and calculate the velocity in the motion,
5957 doing a gimp like calculation. The velocity is calculated in each
5958 motion event using the last velocity and the current one, the
5959 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5961 * src/hildon-pannable-area.c: Replaced the time based algorithm
5963 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5964 timeout for the AUTO mode when we are still moving the cursor. We
5965 added also the velocity calculation in this function.
5966 (hildon_pannable_area_button_release_cb): launch the timeout in
5967 case we are in AUTO mode. There are still some constants here that
5968 come from the old implementation that should be reviewed and
5971 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5973 * doc/hildon-docs.sgml
5976 * src/hildon-stackable-window.c
5977 * src/hildon-stackable-window.h
5979 New HildonStackableWindow widget
5981 * examples/hildon-dialog-example.c
5982 * examples/hildon-pannable-area-example.c
5985 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5987 * src/hildon-dialog.c
5988 (hildon_dialog_new_with_buttons): New constructor.
5990 * examples/hildon-dialog-example.c
5991 (main): Update the example to use the new
5992 hildon_dialog_new_with_buttons().
5994 * examples/hildon-pannable-area-example.c
5995 (main): Update example.
5997 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5999 * doc/hildon-docs.sgml
6001 Added HildonPannableArea to the documentation.
6003 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6005 * doc/visual_index.xml
6006 Fix reference to HildonLoginDialog in documentation
6008 * doc/hildon-docs.sgml
6010 * examples/Makefile.am
6011 * examples/hildon-dialog-example.c
6013 * src/hildon-dialog.c
6014 * src/hildon-dialog.h
6016 New HildonDialog widget.
6018 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6020 * src/hildon-pannable-area.c
6021 Merge latest changes (r4318, r4342) from libmokoui trunk
6023 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6025 * examples/Makefile.am
6026 * examples/hildon-pannable-area-example.c
6028 * src/hildon-pannable-area.c
6029 * src/hildon-pannable-area.h
6031 New HildonPannableArea widget.
6033 2008-04-15 18:05:19 <timj@imendio.com>
6035 * src/hildon-banner.c: revert the recent change, that introduced
6036 gtk_window_present() calls. this reopens:
6037 Bug 78481 - [freetest] information banners are hidden under browser menu
6038 But resolves another variant of:
6039 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6041 2008-04-15 13:21:13 <timj@imendio.com>
6043 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6044 recreated its layout, spotted by Kris. this fixes all remaining
6045 artefacts and stability issues with the banner code. in particular:
6046 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6048 2008-04-14 16:52:59 <timj@imendio.com>
6050 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6051 operating on unrealized widgets, fixes:
6052 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6054 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6056 2008-04-09 Kristian Rietveld <kris@imendio.com>
6058 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6059 makes banner disappear.
6060 Fixes: NB#79182: info banner flickering with certain message lengts.
6062 * src/hildon-banner.c (hildon_banner_constructor),
6063 (hildon_banner_init), (hildon_banner_set_text),
6064 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6065 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6066 FALSE, reset size requests of label and banner,
6067 (force_to_wrap_truncated): when the text is too wide, always enforce
6068 the maximum possible width instead of recalculating it from the
6069 layout; enforce the maximum banner height of 3 lines,
6070 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6071 nicer wrapping and no truncated chars if space gets tight.
6073 * src/hildon-banner-private.h: add has_been_wrapped and
6074 has_been_truncated fields.
6076 2008-04-07 Sven Herzberg <sven@imendio.com>
6078 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6079 local values in hildon_date_editor_size_allocate
6081 * src/hildon-date-editor.c: moved the real allocation code into the
6084 2008-04-07 Sven Herzberg <sven@imendio.com>
6086 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6087 local values in hildon_date_editor_size_allocate
6089 * src/hildon-date-editor.c: merged the two if() branches together
6091 2008-04-07 Sven Herzberg <sven@imendio.com>
6093 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6094 local values in hildon_date_editor_size_allocate
6096 * src/hildon-date-editor.c: changed the arguments of the if()
6099 2008-04-07 Sven Herzberg <sven@imendio.com>
6101 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6102 local values in hildon_date_editor_size_allocate
6104 * src/hildon-date-editor.c: split the calculation of the allocation
6105 from the real allocation
6107 2008-03-27 Michael Natterer <mitch@imendio.com>
6109 Fixes: NB#81696: The passcode is not overwritten even after
6112 * src/hildon-code-dialog.c
6113 (hildon_code_dialog_button_clicked)
6114 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6115 because that doesn't overwrite selected text. Instead, emit the
6116 "commit" signal on the entry's im_context so the entry's normal
6117 insert logic is triggered. Set the cursor to the end of the entry
6118 after each insert operation so that we *only* insert in the middle
6119 of the text if something was selected.
6121 2008-03-27 Michael Natterer <mitch@imendio.com>
6123 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6124 selector cannot be opened
6126 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6127 when the popup color selector is created. Please connect to this
6128 signal in order to set the dialog's help ID.
6130 2008-03-25 Sven Herzberg <sven@imendio.com>
6132 Fixes: MB#1212: Hide info banners (infoprints) on click
6134 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6135 extracted the close event simulation into an extra function
6136 (hildon_banner_button_press_event): simulate a close event and destroy
6137 the widget if the event wasn't handled
6138 (hildon_banner_class_init): added the button_press_event handler
6139 (hildon_banner_init): added button-press events to the widget
6141 2008-03-25 Sven Herzberg <sven@imendio.com>
6143 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6144 Patch from: Mohammad Anwari <mdamt@maemo.org>
6146 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6147 instead of the right in RTL mode
6148 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6149 breadcrumb button list in RTL mode
6150 * src/hildon-caption.c: mirror the appearance of the caption widget in
6152 * src/hildon-date-editor.c: mirror appearance of the date editor in
6154 * src/hildon-time-editor.c: mirror appearance of the time editor in
6156 * src/hildon-window.c: fix the position of the popup in RTL mode
6158 2008-03-25 Sven Herzberg <sven@imendio.com>
6160 Amendment to the fix of NB#22072. Fix compilation.
6162 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6164 2008-03-19 Sven Herzberg <sven@imendio.com>
6166 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6169 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6170 timeout id properly when the timeout will disappear this leaves no
6171 artifacts around in the destroy(); there will only be the timeout
6172 created by hildon_banner_ensure_timeout() and adding a new timeout
6173 will also work if the timeout gets removed because the timeout_handler
6176 2008-03-19 Michael Natterer <mitch@imendio.com>
6178 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6180 * src/hildon-volumebar.c
6181 * src/hildon-vvolumebar.c
6182 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6183 the widget becomes focussable at all.
6185 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6186 set the focus to wither the mute button or the volumebar.
6188 Remove own "can-focus" property and instead listen to
6189 notify::can-focus in order to update the widget's state.
6191 Implement GtkWidget::focus() and make sure we can also *leave* the
6192 widget, not only enter it, depending on volumebar orientation and
6193 requested focus direction.
6195 Clean up set_mute() to cooperate nicely with all the above.
6197 2008-03-04 Michael Natterer <mitch@imendio.com>
6199 Fixes: NB#78481: information banners are hidden under browser menu
6201 * src/hildon-banner.c: call gtk_window_present() on the banners so
6202 they are risen if they are already visible.
6204 2008-03-03 Sven Herzberg <sven@imendio.com>
6206 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6208 * examples/hildon-window-menu-example.c: (main): extended the window
6209 menu example to serve as a testcase for automatically added
6210 accelerator groups, too
6211 * src/hildon-window.c: (hildon_window_add_accel_group),
6212 (hildon_window_set_menu): added patch by Tommi Komulainen
6214 2008-03-03 Sven Herzberg <sven@imendio.com>
6216 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6218 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6219 knowledge about the border allocators used within GTK+
6221 2008-02-26 Sven Herzberg <sven@imendio.com>
6223 Fixes: MB#2981: Build with asserts broken
6225 * src/hildon-date-editor.c,
6226 * src/hildon-number-editor.c,
6227 * src/hildon-time-editor.c,
6228 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6229 the proper GType instance check
6231 2008-02-25 Sven Herzberg <sven@imendio.com>
6233 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6235 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6236 * examples/hildon-window-menu-example.c: (main): explicitly show
6238 * src/hildon-window.c:
6239 (hildon_window_set_main_menu): moved most of the code from set_menu()
6240 to this place; skipped the call to gtk_widget_show_all(); also didn't
6241 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6242 (hildon_window_set_menu): removed most of the code, just keep the
6243 questionable gtk_widget_show_all()
6244 * src/hildon-window.h: added the new function and deprecate the old
6247 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6253 * debian/changelog: Updating.
6255 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6258 * pkgconfig/Makefile.am:
6259 * pkgconfig/hildon.pc.in:
6262 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6263 use newly created API_MAJOR_VERSION.
6265 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6271 * debian/changelog: Updating.
6273 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6275 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6277 Add outer_border style property, we use it but don't define it (!).
6281 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6283 * examples/hildon-bread-crumb-trail-example.c (main):
6287 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6289 Fix logic for the bread crumb trail node removal.
6293 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6299 * debian/changelog: Updating.
6301 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6303 Patch by Alejandro to get/set passwords dialogs accesibility.
6305 * hildon-1/src/hildon-get-password-dialog.c:
6306 * hildon-1/src/hildon-set-password-dialog.c:
6307 Set atk_set_name to the passwd entries in order to allow
6308 accessibility by name on this entries.
6310 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6315 * debian/control: Updating gtk dep.
6317 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6319 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6320 USE_MAEMO_GTK is enabled.
6322 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6324 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6325 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6327 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6333 * debian/changelog: Updating.
6335 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6337 * examples/Makefile.am:
6338 * examples/hildon-logical-color-example.c:
6339 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6340 applied + adding a test case. Fixes: NB#71660.
6342 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6344 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6345 to be visible, fixes warning on map for windows without toolbars.
6347 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6349 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6350 2.11.0, add a check for that besides the MAEMO_GTK check.
6352 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6358 * debian/changelog: Updating.
6360 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6362 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6363 visibility. Fixes: NB#70842 and MB#615.
6365 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6367 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6368 set the separator as no-show-all so it doesn't unintentionally appear when
6369 someone does a show_all.
6371 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6373 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6374 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6375 toplevel item. Fixes: NB#62031
6377 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6379 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6380 fix the name of the function in the docs.
6382 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6388 * debian/changelog: Updating.
6390 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6392 * examples/hildon-banner-long-example.c: Adding a test-case for long
6395 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6397 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6399 * src/hildon-color-chooser-dialog.c:
6400 * src/hildon-color-chooser.c:
6401 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6402 memory leaks in font selector and color selector. Fixes: NB#70499 and
6405 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6407 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6409 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6411 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6412 little bit bigger. Fixes: #NB63694.
6414 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6420 * debian/changelog: Updating.
6422 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6425 * doc/hildon-docs.sgml:
6426 * doc/images/bread-crumb-trail.png:
6427 * doc/images/calendar-popup.png:
6428 * doc/images/caption.png:
6429 * doc/images/code-dialog.png:
6430 * doc/images/color-button.png:
6431 * doc/images/color-chooser-dialog.png:
6432 * doc/images/color-chooser.png:
6433 * doc/images/controlbar.png:
6434 * doc/images/date-editor.png:
6435 * doc/images/font-selection-dialog.png:
6436 * doc/images/get-password-dialog.png:
6437 * doc/images/hvolumebar.png:
6438 * doc/images/login-dialog.png:
6439 * doc/images/note.png:
6440 * doc/images/number-editor.png:
6441 * doc/images/range-editor.png:
6442 * doc/images/seekbar.png:
6443 * doc/images/set-password-dialog.png:
6444 * doc/images/sort-dialog.png:
6445 * doc/images/time-editor.png:
6446 * doc/images/time-picker.png:
6447 * doc/images/vvolumebar.png:
6448 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6449 Adding the bread-crumb-trial and helpers to the documentation.
6451 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6453 * examples/hildon-find-toolbar-example.c:
6454 * src/hildon-find-toolbar.c:
6455 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6456 actually continue firing the other handlers if connected. Adding a new
6458 hildon_find_toolbar_get_last_index that gets the index of the most
6459 recently added (last) item. Fixes: NB#52301.
6461 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6463 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6464 behaviour. Fixes: NB#68610.
6466 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6468 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6471 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6473 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6474 when realizing the banner. Should make the infonbanner effect a bit more
6477 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6479 * src/hildon-volumebar.c:
6480 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6481 hildon_volumebar_set_range_insensitive_message and
6482 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6484 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6486 * src/hildon-window.c: Fixing the border freeing on destroy.
6488 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6490 * src/hildon-code-dialog-private.h:
6491 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6492 kw keyboard support in HildonCodeDialog.
6494 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6500 * debian/changelog: Updating.
6502 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6504 * src/hildon-date-editor.c:
6505 * src/hildon-number-editor.c:
6506 * src/hildon-private.c:
6507 * src/hildon-private.h:
6508 * src/hildon-time-editor.c:
6509 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6510 handling in subclassed composite widgets. Fixes: NB#66628.
6512 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6514 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6515 from destroy_ callback as it introduces problems in async dbus signal
6516 handlers. Fixes NB#66673.
6518 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6520 * examples/hildon-hvolumebar-example.c:
6521 * src/hildon-volumebar.c: Improving the focus handling in the
6522 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6523 set_property accessor so that "mute" property can be actually set. I'm
6524 scared that nobody noticed it's totally broken.
6526 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6528 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6531 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6533 * src/hildon-calendar.c:
6534 * src/hildon-number-editor.c:
6535 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6536 matches the spec of 6 chars per second. Fixes: NB#60489.
6538 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6540 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6541 gtk_style_lookup_color sometime returns FALSE even though color was
6542 found and values were filled properly. Weird. Removing the warning for the
6545 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6547 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6548 expand vertically. Adding some extra space to the find toolbar buttons to
6549 make them thumbable. Fixes NB#66060.
6551 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6553 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6554 popup with "Ok" and "Cancel". Fixes NB#59299.
6556 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6558 * src/hildon-calendar.c: Process all window updates before executing next
6559 timeout. Fixes: NB#54146.
6561 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6567 * debian/changelog: Updating.
6569 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6571 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6572 the client event and ignore it, since we use the delete event to close
6575 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6577 * src/hildon-helper.c: Remove the bogus warning about color not being
6578 found. Fixes NB#58352.
6580 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6582 * examples/Makefile.am:
6583 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6584 HildonSeekbar widget inside a toolbar.
6586 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6588 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6589 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6590 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6591 don't want to be closed by non-temporary windows on map.
6593 Also use G_DEFINE_TYPE instead of manually typed code.
6595 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6602 * debian/rules: Updating.
6604 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6606 * examples/Makefile.am:
6607 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6608 bug NB#61128. Strangely it works.
6610 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6612 * src/hildon-date-editor.c: When the date editor entry has been changed
6613 but the numbers of characters < max, turn off the skip validation flag.
6614 Prevents a situation when we enter first a valid year and later re-write
6615 it with an invalid one. Fixes NB#60154.
6617 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6619 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6620 code dialog. Fixes NB#64355.
6622 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6624 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6625 switching the page. Fixes NB#49374.
6627 * examples/Makefile.am:
6628 * examples/hildon-wizard-dialog-example.c: Adding an example for
6629 HildonWizardDialog that shows how to handle manual sensitivity setting on
6632 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6636 * src/hildon-version.h.in:
6637 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6639 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6641 * src/hildon-volumebar.c: Updating the docs.
6643 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6649 * debian/changelog: Updating.
6651 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6653 * src/hildon-find-toolbar.c:
6654 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6655 selected item: hildon_find_toolbar_set_active,
6656 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6657 hildon_find_toolbar_get_active_iter . They correspond to respective
6658 GtkComboBox functions.
6660 * examples/Makefile.am:
6661 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6664 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6666 * examples/Makefile.am:
6667 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6670 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6671 when font size > 32 and we pack a focusable widget inside. Actually using
6672 the default response would work too, but since we don't show default
6673 response state in any way (no theming) it would not be visible to the
6674 user. Fixes NB#63430.
6676 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6678 * src/hildon-date-editor.c: Adding the missing variable setter in the
6679 set_property handler. Fixes NB#54182.
6681 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6683 * src/hildon-window.h: Changing the long key press time from 1500ms to
6684 800ms as requested in NB#63700. I have a bad feeling about this, let's
6685 see... Fixes NB#63700.
6687 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6689 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6690 hildon_time_picker_map, hildon_time_picker_realize,
6691 hildon_time_picker_style_set): Split the contents of map to more
6692 appropriate functions; set window decorations on realize and update
6693 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6695 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6700 * debian/changelog: Updating.
6702 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6704 * src/Makefile.am: fixed installation of the header files
6706 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6712 * debian/changelog: Updating.
6714 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6716 * configure.ac: Removing some remaining of --enable-xan.
6718 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6720 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6721 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6723 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6724 2.10.12-osso6 because the move-focus signal needs to be available in
6727 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6729 * examples/Makefile.am:
6730 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6731 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6732 fine. Prolly NB#61128 is fixed now.
6734 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6736 * src/hildon-volumebar.c:
6737 * src/hildon-volumebar.h: Adding the
6738 hildon_volumebar_set_range_insensitive_message and
6739 hildon_volumebar_set_range_insensitive_messagef functions to set
6740 insensitive message on the slider of the volumebar. Fixes NB#61129.
6742 * examples/Makefile.am:
6743 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6744 test the new insensitive messsage functionality on HildonVolumebar.
6746 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6748 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6751 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6753 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6754 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6755 button on after clearing the trail.
6757 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6759 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6761 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6763 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6764 by splitting the installed headers in generated and non-generated groups. Use
6765 only the non-generated headers to create the hildon-enum-types.h file.
6767 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6769 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6771 * src/hildon-window.c: Hide the window before performing the destroy.
6772 Should make the app closing a little tiny bit more snappy.
6774 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6776 * src/hildon-seekbar.c: add gtkrange.h header
6777 * src/hildon-caption.c: remove unused variable
6779 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6781 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6784 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6790 * debian/changelog: Updating.
6792 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6794 * src/hildon-window.c (hildon_window_window_state_event,
6795 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6796 escape timeout on focus-out-event rather than notify::is-topmost; the
6797 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6799 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6801 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6802 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6804 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6806 * src/hildon-window: actually, you need to use the macro always, there's
6807 no private pointer in the instance structure. We should have cleaned this up
6808 when we had the chance...
6810 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6812 * src/hildon-window.c: do not get the private date from HildonWindow before
6813 it passes the g_return_if_fail check. Once it's passed the test, there's no
6814 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6815 if you are only going to access the data once. Whitespace cleanups.
6817 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6819 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6820 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6822 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6828 * debian/changelog: Updating.
6830 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6832 * src/hildon-window.c: When destroying the window, remove (if exists) the
6833 escape timeout handler. Fixes #NB59276.
6835 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6837 * src/hildon-banner.c: When realizing the widget, set the window
6838 transiency. Setting the transiency in the gobject constructor is not
6839 good, as the widget is not realized at that point. Fixes: #NB56624.
6841 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6843 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6844 Add padding for future expansions.
6846 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6848 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6849 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6850 will fake an activation on the previous to the last item of the trail, so
6851 the effect can be overrided by the developer as usual.
6852 Also change the callback for the back button to do the same thing, so its
6853 effect can be overrided too. Fixes: NB#58982
6855 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6857 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6858 HildonCaption. Fixes NB#52379.
6860 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6862 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6863 the internal state of the trail after the user has had the chance of executing
6864 his handler for the signal. Specifically, it may happen that the activated button
6865 is removed and the user still lets the default handler run. This would segfault
6868 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6870 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6871 scrollbar to the preview dialog. Fixes NB#54147.
6873 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6875 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6876 max/min year properties can be altered, so the client can modify it
6877 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6879 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6881 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6882 hildonlike by default. Fixing a problem with disappearing arrows when
6883 scrolling through months and years. Fixes NB#54127.
6885 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6887 * examples/hildon-date-editor-example.c: Adding error callback to the date
6890 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6896 * configure.ac: Updating.
6898 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6900 * configure.ac: Adding a special '--enable-xan' configure option that
6901 turns off the -Werror compilation setting. Usefull for development.
6903 * src/hildon-calendar.c:
6904 * src/hildon-number-editor.c:
6905 * src/hildon-time-picker.c: Adding the 5* multiplier to
6908 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6910 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6911 instead of g_object_ref + gtk_object_sink.
6913 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6919 * debian/changelog: Updating.
6921 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6923 * src/hildon-color-chooser-dialog.c:
6924 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6925 straight from Tommi labs.
6927 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6929 * examples/hildon-finger-example.c: Correcting the header file path.
6931 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6932 the changed signal. Fixes a small memory leak.
6934 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6938 * src/hildon-banner.c: Importing several usefull fixes from the
6939 ubuntu-mobile branch.
6941 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6943 * examples/Makefile.am:
6944 * examples/hildon-finger-example.c: Adding a finger-checking code
6947 * src/hildon-font-selection-dialog.c: Do not allocate the color
6948 structure using the g_new. Fixes NB#54061.
6950 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6952 * src/hildon-helper.c: Correcting tabs in file.
6954 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6956 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6957 control the visibility of the children.
6959 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6961 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6967 * debian/changelog: Updating.
6969 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6971 * src/hildon-bread-crumb-trail.c:
6972 (hildon_bread_crumb_trail_size_allocate):
6974 Make the back button always a square.
6976 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6978 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6979 from the .c file as it's a private file.
6981 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6983 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6984 uses slightly bigger height.
6986 * src/hildon-font-selection-dialog.c: Adding some checks before
6987 freeing memory in the font selection dialog.
6989 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6991 * src/hildon-font-selection-dialog.c: Adding a small check when
6994 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6995 buttons sensitivity on page switching.
6997 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6999 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7000 internal details of adding a bread crumb to the trail.
7002 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7008 * debian/changelog: Updating.
7010 * src/hildon-bread-crumb-trail.h:
7011 * src/hildon-bread-crumb.h: Changing the API guard to
7012 HILDON_ENABLE_UNSTABLE_API.
7014 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7022 * src/hildon-helper.h: Updating.
7024 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7032 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7036 * src/hildon-helper.h: Small fix to make the package actually compile.
7038 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7040 * src/hildon-bread-crumb-trail.h:
7041 * src/hildon-bread-crumb.h:
7043 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7044 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7046 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7048 * examples/hildon-bread-crumb-trail-example.c:
7050 * src/hildon-bread-crumb-trail.c:
7051 * src/hildon-bread-crumb-trail.h:
7052 * src/hildon-bread-crumb.c:
7053 * src/hildon-bread-crumb.h:
7054 * src/hildon-marshalers.list:
7055 * src/hildon-bread-crumb-widget.c:
7056 * src/hildon-bread-crumb-widget.h:
7058 Slight change in the widget design. The bread crumb trail API is
7059 unchanged, but HildonBreadCrumb is now an interface. A *private*
7060 implementation, hildon-bread-crumb-widget, is provided and used
7061 internally by the trail for the push_text/push_icon functions.
7063 The generic push API is still available, so anyone can implement
7064 and use its own bread crumb widget.
7066 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7068 * debian/rules: Fixing the shlibs.
7070 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7072 * src/hildon-banner.c: Fixing a problem with timed banners having
7073 their parrent destroyed before they are.
7075 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7077 * src/hildon-bread-crumb.c:
7078 * src/hildon-bread-crumb.h:
7080 Make the get_natural_size function a vfunc.
7082 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7084 * src/hildon-bread-crumb.c:
7085 * src/hildon-bread-crumb-trail.c:
7089 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7096 * debian/changelog: Updating for release.
7098 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7100 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7101 don't leak the pango layout.
7103 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7106 * examples/hildon-bread-crumb-trail-example.c:
7110 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7112 * debian/changelog: Removing the bug-fixed entries that were actually
7113 resolved as WONTFIX.
7115 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7118 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7120 * src/hildon-bread-crumb-trail.c:
7121 * src/hildon-bread-crumb-trail.h:
7122 * src/hildon-bread-crumb.c:
7123 * src/hildon-bread-crumb.h:
7127 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7129 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7130 until it's passed the type check.
7132 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7134 * examples/hildon-bread-crumb-trail-example.c
7138 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7140 * examples/Makefile.am
7141 * examples/hildon-bread-crumb-trail-example.c
7143 * src/hildon-bread-crumb-trail.c
7144 * src/hildon-bread-crumb-trail.h
7145 * src/hildon-bread-crumb.c
7146 * src/hildon-bread-crumb.h
7148 New HildonBreadCrumbTrail widget.
7150 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7152 * src/hildon-range-editor.c (hildon_range_editor_init),
7153 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7154 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7155 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7156 hildon_time_editor_class_init, hildon_time_editor_init),
7157 src/hildon-get-password-dialog.c (invalid_input,
7158 hildon_get_password_set_property, hildon_get_password_get_property,
7159 create_contents, hildon_get_password_dialog_set_max_characters),
7160 src/hildon-set-password-dialog.c (create_contents),
7161 src/hildon-date-editor.c (hildon_date_editor_init),
7162 src/hildon-login-dialog.c (hildon_login_dialog_init),
7163 src/hildon-number-editor.c (hildon_number_editor_init),
7164 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7165 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7166 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7167 configure option and adding the respective checks in the code.
7168 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7169 hildon_calendar_drag_data_received): fixed some build warnings.
7171 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7173 * debian/changelog: A 1.0.0 release notes.