1 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
3 * debian/control: Depend on osso-system-lock localization package.
4 * src/hildon-code-dialog.c: Obtain the secu_application_title
5 translation from osso-system-lock.
6 * src/hildon-get-password-dialog.c (create_contents): Do not mark
7 for translation the atk related strings, that's not necessary.
8 * src/hildon-set-password-dialog.c (create_contents): Ditto.
9 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
10 cancel button, it is not required.
12 2009-04-02 Alejandro G. Castro <alex@igalia.com>
14 * src/hildon-pannable-area.c,
15 (hildon_pannable_area_class_init): Modified the default value of
16 the overshooting max speed, we have reduced it.
18 2009-04-02 Alberto Garcia <agarcia@igalia.com>
20 * doc/hildon-sections.txt
21 * src/hildon-window-private.h
23 * src/hildon-window.c (hildon_window_class_init)
24 (hildon_window_init, hildon_window_finalize)
25 (hildon_window_realize, hildon_window_get_property)
26 (hildon_window_set_property, hildon_window_update_markup)
27 (hildon_window_get_markup, hildon_window_set_markup):
28 New "markup" property and hildon_window_{get,set}_markup() methods.
30 * examples/hildon-stackable-window-example.c (new_window):
31 Update example to use hildon_window_set_markup()
33 Fixes: NB#106375 (Need API to retitle a window with a title
36 2009-04-01 Alejandro G. Castro <alex@igalia.com>
38 * src/hildon-pannable-area.c,
39 (hildon_pannable_area_class_init): Changed the default value of
40 the initial_hint to TRUE.
41 (hildon_pannable_area_initial_effect): Changed the initial effect,
42 not the effect is just the fade-out of the scrollbars.
44 Fixes: NB#107775 (No scrollbars can be seen when several items are
45 available in a dialog)
47 2009-04-01 Alberto Garcia <agarcia@igalia.com>
49 * src/hildon-program.c (hildon_program_update_top_most):
52 Fixes: NB#109179 (Memory leak in Hildon program)
54 2009-04-01 Alberto Garcia <agarcia@igalia.com>
56 * src/hildon-banner.c (-get_current_app_window):
57 Remove unused function.
59 2009-04-01 Alejandro G. Castro <alex@igalia.com>
61 * src/hildon-pannable-area.c: Modified the documentation of the
62 get adjustments functions to explain the problem of using the
64 (hildon_pannable_area_class_init): Improved the explanation about
67 2009-04-01 Alberto Garcia <agarcia@igalia.com>
69 * src/hildon-app-menu-private.h
70 * src/hildon-app-menu.c
71 (hildon_app_menu_class_init):
72 Bring back the 'external-border' style property
73 (hildon_app_menu_class_init, hildon_app_menu_init)
74 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
75 Set a fixed width-request for the menu, independent of the number
78 Fixes: NB#94957 (Smoothly opened application menu)
80 2009-03-30 Alberto Garcia <agarcia@igalia.com>
82 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
85 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
87 Make sure that the banner is correctly placed the first time it's
89 (hildon_banner_check_position, -check_fullscreen_state):
90 Show the banner in the same place no matter if the window is in
91 fullscreen mode or not.
93 Fixes: NB#107386 (Odd stacking behaviour for information banners)
95 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
97 * src/hildon-touch-selector.c (_default_print_func): reorder
98 concatenation for clarity.
100 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
102 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
103 for multicolumn selectors.
105 Fixes: NB#109099 (Memory leak in Hildon touch selector)
107 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
112 * configure.ac: Bump version.
113 * debian/changelog: Updates.
115 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
117 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
120 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
122 * configure.ac: removed libcangerra-gtk dependency
123 * debian/control: removed libcanberra-gtk dependency
124 * src/Makefile.am: removed libcanberra gtk related flags
125 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
126 context, and manage a global canberra context instead
128 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
130 2009-03-26 Alberto Garcia <agarcia@igalia.com>
132 Patch by Daniel Borgmann (danielb@openismus.com)
134 * src/hildon-edit-toolbar.c:
135 Adjust the left padding.
136 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
137 Paint background of the edit toolbar.
139 Fixes: NB#107897 (Patch to make editmodetoolbar background
140 themeable and adjust margin)
142 2009-03-25 Alberto Garcia <agarcia@igalia.com>
144 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
146 * src/hildon-program.c (hildon_program_update_top_most):
147 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
149 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
150 change when the user tasks in/out of an application)
152 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
154 * configure.ac: added libcangerra-gtk dependency
155 * debian/control: added libcanberra-gtk dependency
156 * src/Makefile.am: added libcanberra gtk related flags
157 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
160 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
162 2009-03-25 Alberto Garcia <agarcia@igalia.com>
164 * src/hildon-program.c (hildon_program_remove_window)
165 (hildon_program_add_window): Add checks for the window
166 parameter. Don't decrease the window counter if the window is not
169 2009-03-24 Alejandro G. Castro <alex@igalia.com>
171 * src/hildon-pannable-area.c,
172 (hildon_pannable_area_realize): Fixed position of the event_window
173 in the realize method.
175 2009-03-24 Alberto Garcia <agarcia@igalia.com>
177 * src/hildon-app-menu-private.h
178 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
179 (hildon_app_menu_map, hildon_app_menu_hide_idle)
180 (hildon_app_menu_key_press, hildon_app_menu_init)
181 (hildon_app_menu_finalize):
182 Make sure that all idle functions are removed when the widget is
185 Fixes: NB#107583 (Hildon app menu crashes in various applications)
187 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
192 * configure.ac: Bump version.
193 * debian/changelog: Updates.
195 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
198 (+hildon_entry_show_placeholder),
199 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
200 that replace hildon_entry_update_contents().
201 (hildon_entry_set_text),
202 (hildon_entry_set_placeholder),
203 (hildon_entry_focus_in_event),
204 (hildon_entry_focus_out_event): Determine when it is needed
205 either to show or hide the placeholder and call the above methods.
207 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
208 when the placeholder text is already set)
210 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
212 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
213 simple GdkPixbufAnim using the new icons for the banner.
214 (hildon_banner_show_animation): Use the above mentioned method to
215 create the animation widget.
217 Fixes: NB#103564 (Make hildon animation banner use individual
218 image files as the animation)
220 2009-03-24 Alejandro G. Castro <alex@igalia.com>
222 * src/hildon-pannable-area.c,
223 (hildon_pannable_leave_notify_event): Check if the child is NULL
224 to avoid sending the leave.
226 2009-03-24 Alejandro G. Castro <alex@igalia.com>
228 * src/hildon-pannable-area.c,
229 (hildon_pannable_area_class_init),
230 (hildon_pannable_leave_notify_event): Added a handler of the
231 leave-notify-signal to consider when no motion notify before
234 Fixes: NB#107494 (Items stay selected when clicking and moving
235 away when inside pannable area)
237 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
242 * configure.ac: Bump version.
243 * debian/changelog: Updates.
245 2009-03-19 Alejandro G. Castro <alex@igalia.com>
247 Patch by Alberto Garcia (agarcia@igalia.com)
249 * src/hildon-date-button.c,
250 (hildon_date_button_class_init),
251 (hildon_date_button_init): Removed the construct property handling
252 and created a default selector in the init method.
253 * src/hildon-picker-button.c,
254 (hildon_picker_button_class_init): Removed the construct flag of the
257 2009-03-18 Alberto Garcia <agarcia@igalia.com>
259 * src/hildon-main.c (hildon_init):
260 Don't allow hildon_init() to be called more than once.
262 Fixes: NB#106607 (hildon_init should issue error message upon
265 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
267 * examples/hildon-pannable-area-touch-list-example.c
268 * examples/hildon-pannagle-area-touch-grid-example.c
269 * examples/hildon-edit-toolbar-example.c
270 * examples/hildon-touch-selector-multi-cells-example.c
271 Removed the call to gtk_rc_parse_string, as it is not required since
274 2009-03-17 Alejandro G. Castro <alex@igalia.com>
276 * src/hildon-pannable-area.c,
277 (hildon_pannable_area_class_init): Modified the default panning
278 threshold of the widget to 6px.
280 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
281 than the threshold value ) within the button is not sending the
284 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
286 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
287 for the treeview in the new column. This way, the touch list will never
290 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
291 be selected manually for the HW keys to work)
293 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
295 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
296 comparison instead of using strcmp(). Fixes a compiler warning as well.
298 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
300 * doc/hildon-docs.sgml: Do not set the library version in the
301 document title, use the releaseinfo tag for that purpose instead.
303 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
305 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
306 Do not jump to the first item if the text in the entry is removed.
308 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
313 * configure.ac: Bump version.
314 * debian/changelog: Updates.
316 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
318 * src/hildon-entry.c (hildon_entry_refresh_contents):
319 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
320 Use "ReversedSecondaryTextColor" for the placeholder text.
322 2009-03-12 Alberto Garcia <agarcia@igalia.com>
324 * src/hildon-text-view.c: Fix compilation warning.
326 2009-03-12 Alberto Garcia <agarcia@igalia.com>
328 * src/hildon-button.c (hildon_button_class_init): Don't make
329 "title" and "value" construction properties, to prevent them from
330 overwriting labels set from derived classes.
332 * src/hildon-picker-button.c
333 (hildon_picker_button_set_selector): Allow setting a NULL selector.
334 (hildon_picker_button_class_init): Make touch-selector a
335 construction property.
337 * src/hildon-date-button.c (hildon_date_button_class_init)
338 (+hildon_date_button_constructed): Add a default date selector if
341 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
343 * src/hildon-touch-selector.c: Small documentation fixes.
345 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
347 Based on a patch by Daniel Borgmann (danielb@openismus.com)
349 * src/hildon-entry.c (hildon_entry_refresh_contents),
350 (hildon_entry_get_text), (hildon_entry_init): Do not use the
351 widget name, set the logical color directly instead and a boolean
352 showing_placeholder instead.
353 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
354 use the widget name here either.
356 Fixes: NB#105678 (HildonTextView should use logical colours
357 instead of setting widget name)
359 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
361 Patch by Daniel Elster (danielk@openismus.com)
363 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
364 Add user_data parameter.
365 (hildon_touch_selector_set_print_func_full): New function akin
366 hildon_touch_selector_set_print_func() but with support for user
367 data and a destroy callback.
368 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
369 to clean up the print function user data.
370 (hildon_touch_selector_class_init): Install dispose function.
371 (HildonTouchSelectorPrivate::print_user_data),
372 (HildonTouchSelectorPrivate::print_destroy_func): New private
374 (hildon_touch_selector_init): Initialize new private members.
375 (hildon_touch_selector_get_current_text): Pass along user data
376 to the print function.
377 (_default_print_func): Add dummy user_data to parameter list.
378 * hildon-date-selector.c (_custom_print_func): ditto,
379 * hildon-time-selector.c (_custom_print_func): ditto,
380 * hildon-touch-selector-entry.c
381 (hildon_touch_selector_entry_print_func): ditto.
383 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
385 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
387 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
389 2009-03-12 Alejandro G. Castro <alex@igalia.com>
391 * src/hildon-pannable-area.c,
392 (hildon_pannable_area_init),
393 (hildon_pannable_area_button_press_cb),
394 (hildon_pannable_area_motion_notify_cb): We have added code to
395 handle the leave and enter events when using the motion events.
397 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
399 2009-03-11 Alberto Garcia <agarcia@igalia.com>
401 * src/hildon-date-button.c (hildon_date_button_get_date)
402 (hildon_date_button_set_date): Make sure that the button has a
405 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
407 2009-03-11 Alejandro G. Castro <alex@igalia.com>
409 * src/hildon-pannable-area.c,
410 (hildon_pannable_area_class_init),
411 (hildon_pannable_area_calculate_velocity): Modify the use of the
412 force and adapt the value.
414 2009-03-10 Alberto Garcia <agarcia@igalia.com>
416 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
417 (hildon_app_menu_class_init): Hide the menu if it receives a
418 delete-event, but don't destroy it
420 Fixes: NB#104485 (Not able to address the call when application
421 menu is opened at background)
423 2009-03-10 Alberto Garcia <agarcia@igalia.com>
425 * src/hildon-app-menu.c
426 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
427 Remove the "external-border" style property, let the menu take its
428 natural size (or the one set by the window manager)
429 (hildon_app_menu_repack_items):
430 Don't reshow the menu, avoid flickers.
432 Partially fixes NB#94957 (Smoothly opened application menu)
434 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
439 * configure.ac: Bump version.
440 * debian/changelog: Updates.
442 2009-03-10 Alejandro G. Castro <alex@igalia.com>
444 * src/hildon-pannable-area.c,
445 (hildon_pannable_area_motion_notify_cb): We control that the
446 direction error margin is used just in case the movement is
447 allowed in the other direction.
449 Fixes: NB#105012 (buttons inside a pannable area not getting
450 release event when dragging/releasing)
452 2009-03-10 Alejandro G. Castro <alex@igalia.com>
454 * src/hildon-pannable-area.c,
455 (hildon_pannable_area_class_init),
456 (hildon_pannable_area_get_property),
457 (hildon_pannable_area_set_property),
458 (hildon_pannable_area_initial_effect),
459 (hildon_pannable_axis_scroll),
460 (hildon_pannable_area_button_release_cb): Reviewed the
461 overshooting effect, now it has its own max
462 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
465 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
470 * configure.ac: Bump version.
471 * debian/changelog: Updates.
473 2009-03-09 Alejandro G. Castro <alex@igalia.com>
475 * src/hildon-pannable-area.c,
476 (hildon_pannable_area_class_init): Changed the max speed, now
477 users can launch the widget very fast. Reduced the default force,
478 that way it is easier to control the launch speed.
480 2009-03-09 Alejandro G. Castro <alex@igalia.com>
482 * src/hildon-pannable-area.c,
483 (hildon_pannable_area_button_release_cb): Removed this check
484 because it causes problems when the device is overloaded.
486 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
488 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
489 add a current_text field to store the text entered in the
490 touch selector entry.
491 (_clean_current_selection): clean up the current text as well.
492 (_save_current_selection), (_restore_current_selection):
493 Save/restore the text in the entry if the selector is a
494 HildonTouchSelectorEntry.
496 Fixes: NB#102541 (value entered in the touch selector entry is not
497 shown when opened for second time)
499 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
501 * doc/hildon-sections.txt:
502 * src/hildon-touch-selector-entry.c
503 (+hildon_touch_selector_entry_get_entry):
504 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
506 Fixes: NB#104815 (I need accessor to the entry inside
507 HildonTouchSelectorEntry)
509 2009-03-06 Alberto Garcia <agarcia@igalia.com>
511 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
512 (hildon_app_menu_class_init):
513 New "filter-vertical-spacing" style property.
515 2009-03-06 Alberto Garcia <agarcia@igalia.com>
517 * src/hildon-find-toolbar.c
518 (hildon_find_toolbar_emit_close)
519 (hildon_find_toolbar_emit_invalid_input)
520 (hildon_find_toolbar_entry_activate):
521 Use g_signal_emit() instead of g_signal_emit_by_name()
523 2009-03-06 Alberto Garcia <agarcia@igalia.com>
525 Patch by Mox Soini (ext-mox.soini@nokia.com)
527 * tests/TEST-CASES.txt
528 * tests/check-hildon-banner.c
529 * tests/check-hildon-note.c
530 * src/hildon-banner.c
531 * src/hildon-code-dialog.c
532 * src/hildon-date-editor.c (real_set_calendar_icon_state)
533 * src/hildon-time-editor.c
534 * examples/hildon-lookup-example.c (main):
535 Replace obsolete icon names with new ones.
537 * src/hildon-find-toolbar-private.h:
538 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
539 (-hildon_find_toolbar_emit_search):
540 Remove find button and change icon of close button.
542 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
544 2009-03-05 Alberto Garcia <agarcia@igalia.com>
546 * src/hildon-time-button.c (hildon_time_button_new_step):
547 Use the "touch-selector" property to set the selector directly
548 when creating the object.
550 2009-03-05 Alejandro G. Castro <alex@igalia.com>
552 Added a new example application that allows tuning the pannable
553 area and replaced defines with properties in order to simplify the
554 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
555 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
556 PROP_DIRECTION_ERROR_MARGIN.
558 * examples/hildon-pannable-area-tuning-example.c: New example
560 * src/hildon-pannable-area.c,
561 (hildon_pannable_area_class_init),
562 (hildon_pannable_area_init),
563 (hildon_pannable_area_get_property),
564 (hildon_pannable_area_set_property),
565 (hildon_pannable_area_launch_fade_timeout),
566 (hildon_pannable_area_adjust_value_changed),
567 (hildon_pannable_axis_scroll),
568 (hildon_pannable_area_motion_notify_cb),
569 (hildon_pannable_area_scroll_cb),
570 (hildon_pannable_area_button_release_cb): We have converted some
571 of the defines that control the widget to properties to simplify
574 2009-03-05 Alberto Garcia <agarcia@igalia.com>
576 * src/hildon-app-menu.c (hildon_app_menu_map)
577 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
578 so it's closed if a new window appears.
580 Fixes: NB#104485 (Not able to address the call when application
581 menu is opened at background)
583 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
585 * src/hildon-color-button.c (hildon_color_button_get_property):Add
586 missing 'break' statement in in 'case' construct to avoid
589 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
591 * src/hildon-touch-selector-entry.c
592 (hildon_touch_selector_entry_get_property),
593 (hildon_touch_selector_entry_set_property): Add missing 'break'
594 statements in in 'case' constructs to avoid incorrect warnings.
596 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
598 * src/hildon-time-editor.c
599 (hildon_time_editor_get_time_separators): Do not crash if
600 the first label is NULL.
602 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
604 * src/hildon-date-selector.c (_month_days): Check for month to be
605 strictly less than 12, since otherwise we may overrun the array.
607 2009-03-04 Alberto Garcia <agarcia@igalia.com>
609 * src/hildon-date-button.c (+hildon_date_button_new_full)
610 (hildon_date_button_new, hildon_date_button_new_with_year_range)
611 (hildon_date_button_init): Set the date selector using a
612 construction property, to make it happen after HildonButton's
613 "value" property is set.
615 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
616 current date by default)
618 2009-03-04 Alberto Garcia <agarcia@igalia.com>
620 * doc/hildon-sections.txt
621 * src/hildon-program.c
622 * src/hildon-stackable-window.c
623 * src/hildon-window.c:
624 Documentation updates
626 2009-03-04 Alberto Garcia <agarcia@igalia.com>
628 * src/hildon-window-stack.c (hildon_window_stack_get_default)
629 (hildon_window_stack_new, +hildon_window_stack_set_property)
630 (+hildon_window_stack_get_property)
631 (hildon_window_stack_class_init)
632 (+hildon_window_stack_set_window_group)
633 (+hildon_window_stack_get_window_group):
634 Make the window group a construction property.
636 2009-03-04 Alberto Garcia <agarcia@igalia.com>
638 * doc/hildon-sections.txt
639 * src/hildon-stackable-window-private.h
640 * src/hildon-stackable-window.h
641 * src/hildon-stackable-window.c
642 (-hildon_stackable_window_set_app_menu)
643 (-hildon_stackable_window_get_app_menu)
644 (-hildon_stackable_window_toggle_menu)
645 (-hildon_stackable_window_finalize)
646 (hildon_stackable_window_class_init)
647 (hildon_stackable_window_init)
648 * src/hildon-window-private.h
649 * src/hildon-window.h
650 * src/hildon-window.c (hildon_window_init)
651 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
652 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
653 (hildon_window_get_main_menu, hildon_window_set_main_menu)
654 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
655 Moved all HildonAppMenu code to HildonWindow. The menu does not
656 require a HildonStackableWindow anymore.
658 * src/hildon-app-menu.c
659 * src/hildon-program.c
660 * examples/hildon-app-menu-example.c (main):
661 Update examples and documentation to reflect HildonAppMenu
664 2009-03-04 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-remote-texture.c
667 * src/hildon-animation-actor.c:
668 Don't include unused private headers.
670 2009-03-04 Alberto Garcia <agarcia@igalia.com>
672 * src/hildon-program-private.h
673 * src/hildon-program.c
674 (hildon_program_set_common_menu)
675 (hildon_program_get_common_menu)
676 (hildon_program_set_common_app_menu)
677 (hildon_program_get_common_app_menu):
678 Change common menu pointers from GtkWidget* to GtkMenu* and
679 HildonAppMenu* to avoid unnecessary casts.
681 2009-03-03 Alberto Garcia <agarcia@igalia.com>
683 * src/hildon-window.c (hildon_window_set_main_menu):
684 Removed incorrect 'Since:' tag
686 2009-03-03 Alejandro G. Castro <alex@igalia.com>
688 * src/hildon-pannable-area.c,
689 (hildon_pannable_area_calculate_velocity): We use now the
690 RATIO_TOLERANCE here to check the distance, fixed typo in the
692 (hildon_pannable_area_motion_notify_cb): We have to set the type
693 and time even if we are not sending the motion.
695 2009-03-02 Alberto Garcia <agarcia@igalia.com>
697 * doc/hildon-sections.txt
698 * src/hildon-app-menu.h
699 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
700 (+hildon_app_menu_get_filters): New methods to get the contents of
703 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
706 2009-03-02 Alberto Garcia <agarcia@igalia.com>
708 * src/hildon-app-menu.c (hildon_app_menu_popup):
711 2009-03-02 Alberto Garcia <agarcia@igalia.com>
713 * src/hildon-window.h
714 * src/hildon-window.c (+hildon_window_get_main_menu)
715 (hildon_window_get_menu): Created hildon_window_get_main_menu()
716 and deprecated hildon_window_get_menu().
718 * src/hildon-stackable-window.h
719 * src/hildon-stackable-window.c
720 (+hildon_stackable_window_set_app_menu)
721 (+hildon_stackable_window_get_app_menu)
722 (hildon_stackable_window_set_main_menu): Created
723 hildon_stackable_window_{get,set}_app_menu() and deprecated
724 hildon_stackable_window_set_main_menu().
726 * doc/hildon-sections.txt
727 * examples/hildon-app-menu-example.c (main)
728 * src/hildon-app-menu.c
729 * src/hildon-program.c:
730 Updated examples and documentation.
732 Fixes: NB#103758 (No way to obtain a menu from a
733 HildonStackableWindow)
735 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
740 * configure.ac: Bump version.
741 * debian/changelog: Updates.
743 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
745 * examples/hildon-remote-texture-example.c: Include
746 hildon-remote-texture.h explicitely.
747 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
748 applications not defining _XOPEN_SOURCE which don't require this header.
750 2009-02-27 Alberto Garcia <agarcia@igalia.com>
752 * doc/hildon-sections.txt
753 * src/hildon-app-menu.h
754 * src/hildon-app-menu.c (+hildon_app_menu_popup):
755 New function to pop up a HildonAppMenu
757 * src/hildon-stackable-window.c
758 (hildon_stackable_window_toggle_menu):
759 Use hildon_app_menu_popup() to show the menu.
761 2009-02-27 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-app-menu.c (hildon_app_menu_show)
764 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
765 menu if there's another window between it and its parent window.
767 Fixes: NB#100468 (Application menu window is launched even when a
768 new secondary-window/dialog is pending to be shown/realized)
770 2009-02-27 Alberto Garcia <agarcia@igalia.com>
772 * src/hildon-window-stack.c (hildon_window_stack_push)
773 (hildon_window_stack_pop_and_push):
774 Don't forget to push/pop the first window.
775 Reverse the window list before calling _push_list()
777 2009-02-27 Alberto Garcia <agarcia@igalia.com>
779 * src/hildon-picker-button.h
780 * src/hildon-picker-button.c (hildon_picker_button_class_init):
781 Remove "value_changed" slot to avoid ABI breakage
783 2009-02-26 Alejandro G. Castro <alex@igalia.com>
785 * src/hildon-pannable-area.c,
786 (hildon_pannable_area_realize),
787 (hildon_pannable_area_unrealize),
788 (hildon_pannable_draw_vscroll),
789 (hildon_pannable_draw_hscroll): Changed the method to handle the
790 GC used to draw the transparent scrollbar, this way we avoid
791 creating the GC all the time when drawing the scrollbars.
793 2009-02-26 Alejandro G. Castro <alex@igalia.com>
795 * src/hildon-pannable-area.c,
796 (hildon_pannable_area_init),
797 (hildon_pannable_area_remove): Removed some unnecessary casts.
798 (hildon_pannable_area_dispose): Disconnected some signals before
799 releasing the adjustments.
801 2009-02-26 Alberto Garcia <agarcia@igalia.com>
803 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
804 Make sure that all widgets contained in the toolbar are shown.
806 2009-02-25 Alberto Garcia <agarcia@igalia.com>
808 * doc/hildon-sections.txt
809 * src/hildon-picker-button.h
810 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
811 (_selection_changed, hildon_picker_button_on_dialog_response)
812 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
813 New hildon_picker_button_value_changed() method.
816 * src/hildon-picker-button-private.h
817 * src/hildon-picker-button.c (hildon_picker_button_init)
818 (+hildon_picker_button_disable_value_changed): Add protected
819 function for disabling the "value-changed" signal.
821 * src/hildon-date-button.c (hildon_date_button_set_date):
822 Don't emit "value-changed" for each one of the three columns.
824 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
825 before actual change of values)
827 2009-02-24 Alejandro G. Castro <alex@igalia.com>
829 * src/hildon-pannable-area.c,
830 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
831 for the treeview overshooting.
833 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
835 * src/hildon-banner.c (+hildon_banner_bind_style):
836 Renamed from hildon_banner_bind_label_style(), now naming the
837 banner itself as well.
838 (hildon_banner_show_information),
839 (hildon_banner_show_information_with_markup),
840 (hildon_banner_show_animation), (hildon_banner_show_progress):
841 Name the widgets and labels, based on their type.
843 See NB#98597 (Hildon Note and Hildon Banner should use themeable
846 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
848 * src/hildon-note.c (hildon_note_set_property): call
849 hildon_note_rename() on HildonNote:note-type set.
850 (hildon_note_rename): Name the note and its label, based on the
851 HildonNote:note-type property.
853 See NB#98597 (Hildon Note and Hildon Banner should use themeable
856 2009-02-24 Alejandro G. Castro <alex@igalia.com>
858 * src/hildon-pannable-area.c,
859 (hildon_pannable_area_class_init),
860 (hildon_pannable_area_motion_notify_cb): Reviewed the default
861 panning parameters, increased SPS and deceleration factor. Added
862 also a margin to control fake directions.
864 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
866 Patch by Sven Herzberg (sven@imendio.com)
868 * configure.ac: Add missing AM_PROG_CC_C_0
869 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
871 See NB#101420 (Update unit tests and fix make check)
873 2009-02-23 Alejandro G. Castro <alex@igalia.com>
875 This patch was applied before but reverted because it caused
876 problems, we have changed the main condition and tested the
877 regressions we detected before and they work ok. We have done a
878 complete review of the topmost algorithm in order to get a more
881 * src/hildon-pannable-area.c,
882 (hildon_pannable_area_get_topmost): Added a new parameter to
883 filter the the windows that do not include those events.
884 (hildon_pannable_area_button_press_cb),
885 (hildon_pannable_area_button_release_cb),
886 (hildon_pannable_get_child_widget_at): Reviewed the call the the
887 topmost function, we have added the new parameter.
889 Fixes: NB#97458 (Pannable area prevents propagation of button
892 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
895 if all columns in the selector have an item selected.
896 (_on_dialog_response): Stop "response" signal emission if there is
897 any selector column without selected items.
899 Fixes: NB#101889 (Picker dialog should not close when nothing is
900 selected in multiple selection list)
902 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
904 * src/hildon-font-selection-dialog.c
905 (hildon_font_selection_dialog_class_init),
906 (hildon_font_selection_dialog_init): Remove the preview
907 button and dialog, since previewing with default theming is likely
908 to be overcomplicated. The :preview property has now no effect.
909 Update documentation blurbs to inform about this.
911 Fixes: NB#92297 (Preview content is not clearly visible for
914 2009-02-20 Alejandro G. Castro <alex@igalia.com>
916 Reviewed the geometry that handles the children size and
917 scrollbar, now it tries a size and reviews the results depending
918 on the scrollbars visibility.
920 * src/hildon-pannable-area.c,
921 (hildon_pannable_area_realize): Fixed a typo.
922 (hildon_pannable_area_child_allocate_calculate): Added this
923 function to calculate the child allocation.
924 (hildon_pannable_area_size_allocate): Reviewed the allocation
926 (hildon_pannable_area_check_scrollbars),
927 (hildon_pannable_area_refresh): Refactored refresh function, this
928 way we can call the code handling the scrollbars without causing a
929 size_request, it is interesting in the allocate.
930 (hildon_pannable_area_init): Replace the callbacks of the
931 value_changed and changed signals to propertly deal with the
933 (hildon_pannable_area_grab_notify),
934 (hildon_pannable_area_initial_effect),
935 (hildon_pannable_area_launch_fade_timeout),
936 (hildon_pannable_area_adjust_changed),
937 (hildon_pannable_area_adjust_value_changed),
938 (hildon_pannable_area_redraw),
939 (hildon_pannable_area_button_press_cb),
940 (hildon_pannable_area_button_release_cb),
941 (hildon_pannable_area_scroll_cb),
942 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
943 code and use the new functions adjust_changed and
944 adjust_value_changed.
946 Fixes: NB#101603 (Focus is not even for the text entry boxes in
947 Contact editor dialog)
949 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
954 * configure.ac: Bump version.
955 * debian/changelog: Updates.
957 2009-02-20 Alejandro G. Castro <alex@igalia.com>
959 * src/hildon-pannable-area.c,
960 (hildon_pannable_area_get_topmost),
961 (hildon_pannable_area_button_press_cb),
962 (hildon_pannable_area_button_release_cb),
963 (hildon_pannable_get_child_widget_at): Reverted the patch for the
964 topmost function adding the event mask. We have to try a
965 differente approach because it is still causing problems (NB#9745,
968 2009-02-19 Alberto Garcia <agarcia@igalia.com>
970 * src/hildon-banner.c:
971 Update the maximum width of timed banners.
972 (force_to_wrap_truncated): Enforce the maximum text width if the
975 Fixes: NB#102413 (The text margins (wrapping) in information
976 banner should be HILDON_MARGIN_TRIPLE)
978 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
980 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
982 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
983 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
984 bound when calculating the scroll indicator position.
986 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
987 treat ->lower correctly)
989 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
991 * src/hildon-caption.c (hildon_caption_class_init): Remove the
992 expose event handling, since it is not necessary to draw the focus
995 Fixes: NB#102467 (Do not show highlight on the text in
998 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1000 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1001 full height of the toolbar for the button and the label.
1003 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1005 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1006 padding before the label and after the button.
1008 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1010 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1012 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1013 Add a GtkVSeparator between the button and the back arrow.
1014 Let the button have automatic size.
1015 Set a name to the widget for theming handling.
1017 Fixes: NB#101793 (Make edit toolbar the same height as window
1018 title bar (use title area theming))
1020 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1022 * src/hildon-helper.c (attach_new_color_element): Fix memory
1025 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1027 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1029 * examples/hildon-button-example.c (common_buttons_window): Don't
1032 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1034 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1035 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1037 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-gtk.c: Check that the window is realized.
1041 Fixes: NB#102225 (Crash setting the progress indicator to a non
1044 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1046 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1047 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1048 instead of modifying the one in the widget style.
1050 Fixes: NB#101043 (Second row of all the command button are
1051 displayed in transparent mode.)
1053 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1055 * src/hildon-date-button.c
1056 * src/hildon-time-button.c: Add gettext macros
1058 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1060 * src/hildon-date-button.c (hildon_date_button_new):
1061 * src/hildon-time-button.c (hildon_time_button_new_step):
1062 Use new logical strings to set the button default title.
1064 Fixes: NB#99915 (Date and Time options are not localised in Date
1067 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1069 * src/hildon-pannable-area.c
1070 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1071 the PANNING_THRESHOLD.
1073 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1075 * src/hildon-pannable-area.c,
1076 (hildon_pannable_area_class_init): Increased the maximum speed.
1077 (hildon_pannable_area_get_property),
1078 (hildon_pannable_area_set_property),
1079 (hildon_pannable_area_timeout): Added a new low friction mode, it
1080 allows the user avoid friction when launching the widget fast
1081 enough. It is interesting to traverse long lists.
1083 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1085 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1086 (+hildon_stackable_window_delete_event): Ignore delete events if
1087 the window is not the topmost one.
1089 Fixes: NB#101698 (Back button long press and delete-event handling)
1091 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1093 * src/hildon-pannable-area.c,
1094 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1095 gtk-dnd-drag-threshold, it was too big. We have defined our own
1096 dnd define and set a smaller value: PANNIG_THRESHOLD.
1098 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1100 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1101 user-defined icons, use always the default one.
1103 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1105 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1107 This patch was applied before but reverted because it caused
1108 problems, we have changed the main condition and tested the
1109 regressions we detected before and they work ok.
1111 * src/hildon-pannable-area.c,
1112 (hildon_pannable_area_get_topmost): Added a new parameter to
1113 filter the the windows that do not include those events. Added
1114 also a condition when finding the window to filter windows that do
1115 not ask for those events.
1116 (hildon_pannable_area_button_press_cb),
1117 (hildon_pannable_area_button_release_cb),
1118 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1119 topmost function, we have added the new parameter.
1121 Fixes: NB#97458 (Pannable area prevents propagation of button
1124 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1126 * tests/check-hildon-color-button.c (START_TEST): do not leak
1129 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1131 * src/hildon-font-selection-dialog.c
1132 (hildon_font_selection_dialog_get_preview_text): Return NULL
1133 instead of FALSE on the g_return_val_if_fail().
1135 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1137 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1138 * src/hildon-date-selector.c
1139 (hildon_date_selector_select_current_date):
1140 Do not compare unsigned integers to be greater than or equal 0,
1141 because it's always TRUE.
1143 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1145 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1146 (hildon_date_selector_constructor): Do not select the current
1147 date until we are handle the "changed" signal, to avoid having bogus
1148 elements in the days model.
1150 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1152 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1153 for num_days, since _month_days() can return a negative value.
1155 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1157 * src/hildon-caption.c (hildon_caption_size_allocate):
1158 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1159 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1161 Initialize allocation variables to 0, to avoid eventually using
1162 unitialized variables.
1164 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1166 * src/hildon-bread-crumb-trail.c
1167 (hildon_bread_crumb_trail_size_allocate):
1168 * src/hildon-calendar.c (hildon_calendar_set_background):
1169 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1170 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1171 * src/hildon-seekbar.c (hildon_seekbar_init):
1172 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1173 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1174 * src/hildon-touch-selector-entry.c
1175 (hildon_touch_selector_get_text_from_model):
1176 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1177 * src/hildon-window.c (hildon_window_finalize):
1179 Remove many unused variables.
1181 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-seekbar.c: (hildon_seekbar_init),
1184 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1186 Remove unnecessary g_assert() calls.
1188 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1190 * src/hildon-caption.c: (hildon_caption_expose),
1191 (hildon_caption_set_property), (hildon_caption_init),
1192 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1193 (hildon_caption_size_request), (hildon_caption_size_allocate),
1194 (hildon_caption_forall), (hildon_caption_set_separator),
1195 (hildon_caption_activate), (hildon_caption_set_child_expand),
1196 (hildon_caption_set_label_text),
1197 (hildon_caption_get_label_alignment):
1199 Remove unnecessary g_assert() calls.
1201 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1203 * src/hildon-banner.c
1204 (hildon_banner_map, hildon_banner_init): Make banner temporary
1205 before mapping it to avoid closing other temporary windows, but
1206 make it non-temporary afterwards to avoid being closed by other
1207 non-temporary windows.
1208 (-hildon_banner_client_event, hildon_banner_init):
1209 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1211 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1214 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1216 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1219 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1221 * src/hildon-remote-texture.c
1222 * src/hildon-remote-texture.h
1223 * src/hildon-remote-texture-private.h
1224 * examples/hildon-remote-texture-example.c:
1225 Updates/fixes to remote-texture and its example.
1227 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1229 Patch by Mox Soini (ext-mox.soini@nokia.com)
1231 * src/hildon-code-dialog.c: Update logical id.
1232 * src/hildon-set-password-dialog.c: Update logical id.
1234 Fixes: NB#100646 (Logical strings is shown for ok in set
1235 password,Password needed dialogs)
1237 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1240 * src/hildon-remote-texture.c
1241 * src/hildon-remote-texture.h
1242 * src/hildon-remote-texture-private.h
1244 Added remote texture widget (for Clutter shared memory textures)
1246 * examples/hildon-remote-texture-example.c
1247 * examples/Makefile.am
1248 Added example file for remote texture usage
1250 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1252 * configure.ac: post release version bump.
1253 * debian/changelog: version bump.
1255 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1260 * configure.ac: Bump version.
1261 * debian/changelog: Updates.
1263 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1265 * src/hildon-date-selector.c (hildon_date_selector_init)
1266 (hildon_date_selector_constructor): Don't connect to the "changed"
1267 signal until the selector is completely constructed.
1269 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1271 * src/hildon-touch-selector.c: (_create_new_column),
1272 (hildon_touch_selector_append_column),
1273 (hildon_touch_selector_set_column_selection_mode),
1274 (hildon_touch_selector_set_active),
1275 (hildon_touch_selector_select_iter):
1276 Emit the HildonTouchSelector::changed signal every time selection
1277 is changed in any of the methods above. This behavior was already
1278 documented but not fully functional.
1280 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1281 selection is programmatically changed)
1283 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1285 * doc/hildon-sections.txt: Remove obsolete icon
1286 sizes from here as well.
1288 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1290 * examples/hildon-stackable-window-example.c (add_window): Remove
1293 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-app-menu.c
1296 (hildon_app_menu_show): Check whether the parent window of a menu
1297 is topmost before popping it up.
1299 Fixes: NB#100468 (Application menu window is launched even when a
1300 new secondary-window/dialog is pending to be shown/realized.)
1302 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1304 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1307 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1309 Patch by Mox Soini (ext-mox.soini@nokia.com)
1311 * src/hildon-banner.c: (hildon_banner_show_animation):
1312 use stylus size instead of obsolete note size.
1313 * src/hildon-defines.h: Update icon sizes.
1315 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1317 * src/hildon-touch-selector-entry.c:
1318 (hildon_touch_selector_entry_init): Disable unsupported
1320 (hildon_touch_selector_entry_get_text_column): Emit a warning
1321 if an unsupported input modes is used and explicitile state
1322 these modes in the documentation.
1324 Fixes: NB#99802 (Hildon touch selector entry not working properly
1325 for some of the input modes)
1327 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1329 * src/hildon-pannable-area.c,
1330 (hildon_pannable_area_init): Added the changed signal handlers of
1333 Fixes: NB#100320 (HildonPannableArea does not listen to
1334 GtkAdjustment "change" signals)
1336 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1338 * doc/hildon-sections.txt
1339 * src/hildon-window-private.h
1340 * src/hildon-window.h
1341 * src/hildon-window.c (hildon_window_init)
1342 (hildon_window_realize, hildon_window_unrealize)
1343 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1344 (hildon_window_size_request, hildon_window_size_allocate)
1345 (hildon_window_forall, hildon_window_show_all)
1346 (hildon_window_destroy, +paint_edit_toolbar)
1347 (+hildon_window_set_edit_toolbar):
1348 New hildon_window_set_edit_toolbar() method, to add a
1349 HildonEditToolbar to a window without having to pack it manually.
1351 Reorganize hildon_window_size_allocate()
1353 * src/hildon-edit-toolbar.c: Update documentation.
1355 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1356 example to use the new API.
1358 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1360 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1363 Remove from stack before calling parent's hide.
1365 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1368 window is removed from the middle of the stack, update the
1369 transiency of the previous one.
1371 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1374 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1376 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1377 block/unblock the signal handler if it's not actually being used.
1378 Fixes some critical warnings.
1380 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1382 Based on a patch by Iván Gómez (igomez@igalia.com)
1384 * src/hildon-banner.c
1388 * src/hildon-pannable-area.c
1389 * src/hildon-picker-dialog.c
1390 * src/hildon-wizard-dialog.h
1391 * src/hildon-wizard-dialog.c: Documentation updates.
1393 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1394 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1396 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1398 * configure.ac: post release version bump.
1399 * debian/changelog: version bump.
1401 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1406 * configure.ac: Bump version.
1407 * debian/changelog: Updates.
1409 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1411 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1412 a stock icon nor change the relief of the back arrow.
1414 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1415 graphics from theme)
1417 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1419 * src/hildon-button.c (hildon_button_set_alignment): Use
1420 priv->alignment if the button has no child yet.
1422 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1424 * src/hildon-button.c: (hildon_button_init): Set the
1425 button style during initialization to give it the proper
1428 Fixes: NB#99713 (HildonButton value label color is wrong)
1430 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1432 * src/hildon-touch-selector.c: Document
1433 hildon_touch_selector_center_on_selected()
1435 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1438 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1439 all menu items, but not the menu itself.
1440 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1441 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1442 items after adding them to the menu so keyboard accelerators work.
1443 (hildon_app_menu_show): Don't show the menu if it contains items
1444 but none of them are visible.
1446 * examples/hildon-app-menu-example.c (create_menu): Use
1447 gtk_widget_show_all() to show all menu items.
1449 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1451 * src/hildon-picker-dialog.c:
1452 (-_update_title_on_selector_changed_cb),
1453 (-_dialog_update_title): Removed.
1454 (_select_on_selector_changed_cb), (_on_dialog_response),
1455 (on_selector_columns_changed): Do not update the dialog title.
1456 (setup_interaction_mode): Do not connect to
1457 HildonTouchSelector::changed signal if there's a "done" button, as
1458 the dialog title doesn't need to be updated.
1460 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1463 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1465 Patch by Kristian Rietveld (kris@imendio.com)
1467 * src/hildon-touch-selector.c: (_create_new_column): Use new
1468 GtkTreeView::hildon-row-tapped signal to react to user interactions
1469 instead of ::changed.
1471 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1472 with some dynamic tree model)
1474 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1477 (+screen_size_changed, +label_size_request)
1478 (hildon_note_class_init): Make the Hildon information note have a
1479 minimum height, and make its text hvae a maximum width.
1481 Fixes: NB#98614 (Hildon information note (background) should have
1482 minimum height and maximum text width)
1484 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1486 * src/hildon-banner.h
1487 * src/hildon-banner.c (hildon_banner_show_information)
1488 (hildon_banner_show_informationf)
1489 (hildon_banner_show_information_with_markup): Update documentation
1490 to reflect that the icon_name parameter is not used anymore.
1491 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1492 Remove all code from these functions and mark them as deprecated.
1493 (hildon_banner_show_progress): Mark as deprecated.
1495 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1497 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1499 * src/hildon-pannable-area.c,
1500 (hildon_pannable_area_class_init),
1501 (tranparency_color),
1502 (hildon_pannable_draw_vscroll),
1503 (hildon_pannable_draw_hscroll),
1504 (hildon_pannable_area_expose_event): Added a new way to render the
1505 scrollbars of the pannable area avoiding using cairo at all. This
1506 way we improve the performance of the pannable area rendering. The
1507 cairo rendering procedure is still in the code, we can control
1508 which one to use changing the value of the define
1509 USE_CAIRO_SCROLLBARS.
1511 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1513 * configure.ac: post release version bump.
1514 * debian/changelog: version bump.
1516 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1521 * configure.ac: Bump version.
1522 * debian/changelog: Updates.
1524 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1526 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1527 banners instead of destroying them when they receive a button
1530 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1532 Reverted commit 34028, it was causing regressions, probably the
1533 topmost condition is not correct, we have to check it in more
1534 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1535 propagation of button press events)
1537 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1540 that the selection is not empty before attempting to retrieve the
1541 current ampm selection.
1543 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1545 * src/hildon-picker-button.c:
1546 (hildon_picker_button_on_dialog_response): Directly update the
1547 button contents when required instead of calling _selection_changed.
1549 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1551 * src/hildon-program.c (hildon_program_update_top_most): Update
1552 'is-topmost' property also when wm_hints is not set.
1554 Fixes: NB#98383 (is-topmost signal is not emitted when task
1555 switcher is clicked.)
1557 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1559 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1563 * src/hildon-animation-actor.c,
1564 * src/hildon-animation-actor.h: Added the animation actor class,
1565 this widget represents an animation actor for WM-assisted
1566 animation effects in the Hildon framework.
1568 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1570 * src/hildon-window-stack-private.h
1571 * src/hildon-window-stack.c
1572 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1573 Avoid calling gtk_widget_show() again indirectly from
1574 hildon_stackable_window_show()
1576 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1578 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1581 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1583 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1584 (hildon_time_selector_init): Move the construction of the hours and
1585 ampm columns to the constructor to preserve the order the columns
1588 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1590 * src/hildon-picker-dialog.c:
1591 (hildon_picker_dialog_class_init): Connect a realize method.
1592 (+hildon_picker_dialog_realize): Setup the interaction mode here
1594 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1595 yet, do it during the realize instead.
1596 (_on_dialog_response):
1597 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1598 if the widget is not realized, to avoid the dialog response before it
1601 Avoid premature responses in the HildonPickerDialog that can cause it
1602 to be hidden before it's even shown.
1604 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1606 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1607 (on_selector_columns_changed), (requires_done_button),
1608 (+prepare_action_area), (setup_interaction_mode),
1609 (_hildon_picker_dialog_set_selector):
1611 Split the interaction mode setup into preparation of the
1612 action area (prepare_action_area()) and the connection of
1613 the signals in setup_interaction_mode() and update the code to
1616 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1618 * src/hildon-pannable-area.c,
1619 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1620 per second to 15, we will check if this is ok regarding
1623 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1625 * src/hildon-pannable-area.c,
1626 (hildon_pannable_axis_scroll): Avoid resize if we already have
1627 reached overshoot_max.
1629 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1631 * src/hildon-pannable-area.c,
1632 (hildon_pannable_area_init),
1633 (hildon_pannable_area_realize),
1634 (hildon_pannable_area_size_allocate),
1635 (hildon_pannable_area_map),
1636 (hildon_pannable_area_unmap),
1637 (hildon_pannable_draw_vscroll),
1638 (hildon_pannable_draw_hscroll),
1639 (hildon_pannable_area_expose_event),
1640 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1641 pannable are to avoid the expose events go to the window and
1642 redraw the window. We save this way that part of the stack and the
1643 paint_boxes. We had to change the positions of the elements when
1646 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1648 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1649 * src/hildon-color-chooser-dialog.c:
1650 (hildon_color_chooser_dialog_init):
1651 * src/hildon-font-selection-dialog.c:
1652 (hildon_font_selection_dialog_init),
1653 (hildon_font_selection_dialog_show_preview):
1654 * src/hildon-get-password-dialog.c:
1655 * src/hildon-login-dialog.c:
1656 * src/hildon-set-password-dialog.c:
1657 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1658 * src/hildon-time-picker.c: (hildon_time_picker_init):
1660 Remove obsolete logical string IDs and update to the appropriate ones.
1662 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1664 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1666 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1667 that happens if the window hasn't been realized yet.
1669 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1670 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1672 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1674 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1675 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1678 Fixes: NB#98537 (Device hangs in account settings dialog)
1680 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1682 * configure.ac: post release version bump.
1683 * debian/changelog: version bump
1685 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1690 * configure.ac: Bump version.
1691 * debian/changelog: Updates.
1693 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1695 Added a new function to the HildonTimeButton widget that allows to
1696 change the step of the minutes in the selector associated with the
1697 button: hildon_time_button_new_step
1699 * src/hildon-time-button.c,
1700 (hildon_time_button_init),
1701 (hildon_time_button_new),
1702 (hildon_time_button_new_step):
1703 * src/hildon-time-button.h: Added the new function and refactored
1705 * examples/hildon-time-button-example.c,
1706 (main): We have replaced the function without parameters with the
1707 function with the steps set to 5
1709 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1711 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1713 * src/hildon-time-selector.c,
1714 (hildon_time_selector_class_init),
1715 (hildon_time_selector_constructor),
1716 (hildon_time_selector_get_property),
1717 (hildon_time_selector_set_property),
1718 (_create_minutes_model),
1719 (hildon_time_selector_new_step),
1720 (hildon_time_selector_set_time),
1721 * src/hildon-time-selector.h: Added a new property to the
1722 HildonTimeSelector (minutes-step), we use that property to control
1723 the steps between the minutes in the list of the selector. We have
1724 added a new function to the API to create a widget changing the
1725 step: hildon_time_selector_new_step.
1727 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1729 * src/hildon-time-selector.c,
1730 (hildon_time_selector_class_init),
1731 (hildon_time_selector_constructor),
1732 (hildon_time_selector_init): Overrided the construct function when
1733 creating the time selector object. We have moved the minutes model
1734 handling code from the init to the new construction function:
1735 hildon_time_selector_constructor.
1737 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1739 * examples/hildon-date-button-example.c: (main): Use the new
1740 hildon_date_button_new_with_year_range() method in the example.
1741 * src/hildon-date-button.c:
1742 (+hildon_date_button_new_with_year_range): New public method
1743 to conveniently create a HildonDateButton with a custom year range
1744 in its HildonDateSelector.
1745 * src/hildon-date-button.h: Add the new public method definition.
1747 Fixes: NB#97908 (Not possible to change the year range in
1748 HildonDateSelector/HildonDateButton)
1750 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1752 * src/hildon-date-selector.c:
1753 (+hildon_date_selector_set_property),
1754 (+hildon_date_selector_get_property),
1755 (hildon_date_selector_class_init): Install new properties "min-year"
1756 and "max-year" to define boundaries for the year column.
1757 (_create_year_model): Use the boundary properties to populate the model.
1758 (+hildon_date_selector_new_with_year_range): New public method to
1759 create a HildonDateSelector with a user defined year range.
1760 (hildon_date_selector_select_current_date): Use the new boundaries to
1761 calculate the iterator of current year.
1762 * src/hildon-date-selector.h: Add the new public method definition.
1764 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1766 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1767 Install a constructor method.
1768 (+hildon_date_selector_construct_ui): construct the widget.
1769 (+hildon_date_selector_constructor): new constructor.
1770 (+hildon_date_selector_init): move out widget construction code to
1771 the new constructor.
1773 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1776 that there's actually a month or year selected before obtaining them.
1777 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1778 of the HildonTouchSelector::changed signal, as it was emitted on every
1779 single item selection.
1781 Fix some warnings and possible crashers due to the selection restoring.
1783 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1785 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1786 the signal handlers only after creating the dialog instead of on every
1789 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-button.c (hildon_button_init)
1792 * src/hildon-check-button.c (hildon_check_button_init)
1793 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1794 focus when clicked by default.
1796 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1798 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1801 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1803 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1804 Alejandro G. Castro (alex@igalia.com)
1806 * src/hildon-picker-dialog.c:
1807 (hildon_picker_dialog_class_init): install new "center-on-show"
1809 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1810 (hildon_picker_dialog_set_property): add setter code for the new
1812 (hildon_picker_dialog_get_property): add getter code for the new
1814 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1815 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1818 Fixes: NB#92849 (Selected item is not always visible when
1819 HildonTouchSelector is shown)
1821 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1823 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1824 Alejandro G. Castro (alex@igalia.com)
1826 * src/hildon-touch-selector.c:
1827 (_create_new_column): Do not connect to the "realize" signal of the
1829 (hildon_touch_selector_append_column): center on the selected items
1830 when a new column is appended.
1831 (hildon_touch_selector_select_iter): Factor out the code to select a
1832 column to hildon_touch_selector_scroll_to().
1833 (+search_nearest_element): Method to retrieve the nearest selected
1834 element to the visible area of the pannable area in a column.
1835 (+on_realize_cb): scroll to the initially selected item.
1836 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1837 the pannable area is realized, otherwise delay this until it is.
1838 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1839 selected items of a given column.
1840 (+hildon_touch_selector_center_on_selected): Public method to center
1841 all columns on the nearest selected item.
1842 * src/hildon-touch-selector.h: Add definition for
1843 hildon_touch_selector_center_on_selected().
1845 Implement public API to ensure visibility of all selected items in
1846 a HildonTouchSelector.
1848 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1850 Fixed a problem in the fading when calling the scroll_to API, and
1851 improve scrollbar fading handling.
1853 * src/hildon-pannable-area.c,
1854 (hildon_pannable_area_grab_notify): avoid the timeout when the
1856 (hildon_pannable_area_button_press_cb),
1857 (hildon_pannable_area_motion_notify_cb): Code style changes.
1858 (hildon_pannable_area_button_release_cb): Review the conditions
1859 when releasing the mouse button to avoid unrequired fading
1861 (hildon_pannable_area_scroll_to): Do not calculate and set the
1862 velocity if the scroll is not required.
1864 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1867 Don't check whether the new selector is NULL: it cannot be.
1868 Hold a reference to the selector while doing the replacement.
1870 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1872 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1873 unnecessary size_request in a removed widget.
1875 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1877 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1878 an unnecessary reference tracking that was leaking.
1880 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1882 Added delayed motion notify event handling, this way we can
1883 discard redrawing if more than 25 events arrive per second.
1885 * src/hildon-pannable-area.c,
1886 (hildon_pannable_area_init): Initialized the new private atributes
1887 controlling this timeout
1888 (hildon_pannable_area_dispose): Remove the timeout that controls
1889 the motion notify events.
1890 (hildon_pannable_area_scroll): Added a condition to control the
1891 use of the acceleration.
1892 (hildon_pannable_area_motion_event_scroll_timeout),
1893 (hildon_pannable_area_motion_event_scroll): Added this two
1894 functions, they handle the motion notify events inside the
1896 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1897 to the scroll method with the new function.
1898 (hildon_pannable_area_button_release_cb): We have to remove the
1899 timeout handler and move to the last position if the last motion
1900 events were not handled.
1902 Fixes: NB#97028 (Pannable area updates on every motion event)
1904 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-pannable-area.c,
1907 (hildon_pannable_area_get_topmost): Added a new parameter to
1908 filter the the windows that do not include those events. Added
1909 also a condition when finding the window to filter windows that do
1910 not ask for those events.
1911 (hildon_pannable_area_button_press_cb),
1912 (hildon_pannable_area_button_release_cb),
1913 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1914 topmost function, we have added the new parameter.
1916 Fixes: NB#97458 (Pannable area prevents propagation of button
1919 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1921 * src/hildon-pannable-area.c,
1922 (hildon_pannable_area_initial_effect): Added controls before
1923 launching the timeout and the idle functions.
1924 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1925 of the method, in some situations it can return with TRUE and 0 in
1927 (hildon_pannable_area_button_press_cb): We do not need to set
1928 DELAY for fading out here.
1930 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1932 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1935 post-cleaning if the selection is not NULL.
1937 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1939 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1940 all items before restoring the selection.
1942 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-touch-selector.c:
1945 (+hildon_touch_selector_unselect_all):
1946 * src/hildon-touch-selector.h: New API to unselect all items in a
1947 column of the touch selector.
1949 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1951 * src/hildon-pannable-area.c,
1952 (hildon_pannable_area_redraw): Added a call to the refresh
1953 function inside the redraw because apparently in some cases the
1954 change in the adjustment does not imply a size allocate.
1956 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1957 despite the view not being scrollable)
1959 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1961 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1962 leak. Check for NULL before attempting to set the window title.
1964 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1966 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1967 whether to show or not the 'Done' button each time the dialog is
1968 shown, as it depends on the HildonTouchSelector selection mode.
1970 Fixes: NB#96226 (In multiple selection mode Done button is shown
1971 sometimes in listpicker)
1973 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1975 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1976 for the number of columns in the HildonTouchSelector more than once.
1978 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-touch-selector.c: Minor documentation fixes.
1982 * src/hildon-picker-dialog.c (+_dialog_update_title)
1983 (_select_on_selector_changed_cb)
1984 (_update_title_on_selector_changed_cb)
1985 (on_selector_columns_changed): Update dialog title when there's no
1986 'Done' button and also when the number of columns in the selector
1990 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1991 (+_selection_changed, hildon_picker_button_on_dialog_response)
1992 (hildon_picker_button_selector_selection_changed)
1993 (+hildon_picker_button_selector_columns_changed)
1994 (hildon_picker_button_set_selector): Update button value and emit
1995 'value-changed' when the number of columns in the selector
1999 Fixes: NB#96225 (Dialog titles are not shown according to the
2000 values selected in the list picker)
2002 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2004 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2005 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2006 New "arrow-width" and "arrow-height" style properties to set the
2007 size of the arrow button.
2008 Set name of arrow button ("hildon-edit-toolbar-arrow").
2010 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2011 graphics from theme)
2013 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-picker-button.c:
2016 (hildon_picker_button_selector_selection_changed): Use
2017 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2018 the dialog is present.
2020 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2021 the selection is accepted in the dialog)
2023 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2025 * src/hildon-color-chooser.h
2026 * src/hildon-color-chooser-dialog.h:
2027 Added G_BEGIN_DECLS and G_END_DECLS
2029 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2031 (_clean_current_selection): plug a leak in the list.
2033 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2035 * src/hildon-picker-dialog.c:
2036 (+free_path_list): Method to free a GList of GtkTreePaths.
2037 (_clean_current_selection), (_save_current_selection),
2038 (_restore_current_selection): Save the current selection in
2039 as a list of lists, to support multiple selection properly.
2041 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2043 patch by Claudio Saavedra (csaavedra@igalia.com)
2045 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2046 Store the press position.
2047 (+hildon_text_view_button_release_event): If the release position is
2048 close enough to the press position, move the cursor here. Otherwise,
2050 (hildon_text_view_class_init): Override GtkTextView press, release, and
2051 motion event handlers, disabling this way text selection through
2052 pointer interaction, and allowing the container widget to handle the
2055 Fixes: NB#95828 (HildonTextView functionality)
2057 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2059 Based on a patch by Iván Gómez (igomez@igalia.com)
2061 * src/hildon-button.[ch]
2062 * src/hildon-calendar.c
2063 * src/hildon-check-button.c
2064 * src/hildon-date-editor.c
2065 * src/hildon-date-selector.c
2066 * src/hildon-picker-button.c
2067 * src/hildon-time-editor.c
2068 * src/hildon-time-selector.c
2069 * src/hildon-touch-selector.[ch]:
2070 Documentation updates
2072 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2074 * src/hildon-pannable-area.c,
2075 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2076 threshold, it was required due to X events handling.
2078 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2080 * src/hildon-pannable-area.c,
2081 (hildon_pannable_area_grab_notify),
2082 (hildon_pannable_area_initial_effect),
2083 (hildon_pannable_area_button_press_cb),
2084 (hildon_pannable_area_button_release_cb),
2085 (hildon_pannable_area_scroll_cb),
2086 (hildon_pannable_area_scroll_to): Review the timeout management of
2087 the scrollbar, the frecuency was incorrectly set.
2089 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2091 * src/hildon-picker-button.c:
2092 (+hildon_picker_button_on_dialog_response),
2093 (hildon_picker_button_clicked): Present the dialog instead of
2094 running it with gtk_dialog_run().
2096 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2099 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2101 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2102 (hildon_app_menu_finalize): When a window is hidden it doesn't
2103 emit notify::is-topmost, so make sure than the menu also
2104 disappears in that case.
2105 (parent_window_topmost_notify): Renamed from parent_window_hidden
2107 Fixes: NB#94460 (stackable window's menu is not closed when its
2110 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/hildon-touch-selector-entry.c:
2113 (+hildon_touch_selector_entry_set_input_mode),
2114 (+hildon_touch_selector_entry_get_input_mode):
2115 * src/hildon-touch-selector-entry.h: New methods to access the input
2116 mode in the selector's entry.
2118 Fixes: NB#93410 (API required for setting IM mode in
2119 HildonTouchSelectorEntry)
2121 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2123 * configure.ac: post release version bump.
2124 * debian/changelog: version bump
2126 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2131 * configure.ac: Bump version.
2132 * debian/changelog: Updates.
2134 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2136 * src/hildon-touch-selector.c:
2137 (_hildon_touch_selector_has_multiple_selection): No need
2138 to initialize the variables here.
2140 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2142 * src/hildon-note-private.h
2143 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2144 (hildon_note_finalize, hildon_note_rebuild): Close information
2145 notes when they receive a button press.
2147 Fixes: NB#89890 (Information notes does not get disappeared after
2150 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2152 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2153 mark from the wizard title, as it's not really necessary. Also,
2154 do not display the page title if not set.
2156 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2158 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2159 (parent_window_hidden): Use the window's "is-topmost" property to
2160 detect when to hide the menu.
2162 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2164 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2165 (hildon_app_menu_finalize): If the parent window of the menu is
2166 hidden, hide the menu too.
2168 Fixes: NB#94460 (stackable window's menu is not closed when its
2171 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2174 * debian/libhildon1-examples.install
2176 * examples/Makefile.am:
2177 Use dh_install to install all examples.
2178 Use DEB_SRCDIR instead of defining SOURCE_DIR
2180 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2182 * configure.ac: post release version bump.
2183 * debian/changelog: version bump
2185 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2190 * configure.ac: bump version
2191 * debian/changelog: updates
2192 * debian/control: bump gtk+ dependency
2194 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2196 patch by Christian Dywan (christian@imendio.com)
2198 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2199 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2201 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2203 * src/hildon-check-button.c (hildon_check_button_init)
2204 (hildon_check_button_class_init, hildon_check_button_style_set)
2205 (hildon_check_button_apply_style):
2206 New "checkbox-size" style property.
2208 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2209 larger / configurable size)
2211 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2213 * configure.ac: post release version bump.
2214 * debian/changelog: version bump
2216 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2221 * configure.ac: bump version
2222 * debian/changelog: updates
2224 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2226 * doc/hildon-sections.txt
2227 * src/hildon-pannable-area.c
2228 * src/hildon-program.c
2229 * src/hildon-time-editor.c
2230 * src/hildon-touch-selector-entry.c:
2232 More documentation updates.
2234 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2236 * doc/hildon-sections.txt
2237 * src/hildon-caption.c
2238 * src/hildon-code-dialog.c
2239 * src/hildon-color-button.c
2240 * src/hildon-controlbar.c
2241 * src/hildon-date-editor.c
2242 * src/hildon-date-selector.c
2243 * src/hildon-edit-toolbar.c
2244 * src/hildon-find-toolbar.c
2245 * src/hildon-font-selection-dialog.c
2247 * src/hildon-program.c
2248 * src/hildon-range-editor.c
2249 * src/hildon-seekbar.c
2250 * src/hildon-time-editor.c
2251 * src/hildon-time-selector.c
2252 * src/hildon-volumebar-range.c
2253 * src/hildon-volumebar.c
2254 * src/hildon-vvolumebar.c
2255 * src/hildon-weekday-picker.c
2256 * src/hildon-window.c
2257 * src/hildon-wizard-dialog.c:
2259 Lots of documentation fixes.
2261 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2263 Patch contributed by Iván Gómez (igomez@igalia.com)
2265 * src/hildon-check-button.c:
2266 * src/hildon-date-button.c:
2267 * src/hildon-date-selector.c:
2268 * src/hildon-dialog.c:
2269 * src/hildon-edit-toolbar.c:
2270 * src/hildon-entry.c:
2271 * src/hildon-picker-button.c:
2272 * src/hildon-program.c:
2273 * src/hildon-text-view.c:
2274 * src/hildon-time-button.c:
2275 * src/hildon-touch-selector-entry.c:
2276 * src/hildon-window-stack.c:
2278 Add more "since" tags to the new API.
2280 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2282 * doc/hildon-sections.txt: Add below method.
2283 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2284 version for the hildonized scale.
2285 * src/hildon-gtk.h: Add the definition.
2287 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2289 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2291 * doc/hildon-sections.txt: Add missing entries for new methods.
2293 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2295 Added API to pannable are in order to get its adjustments. We
2296 added two properties to manage the values we had in the private
2299 * src/hildon-pannable-area.c:
2300 (hildon_pannable_area_class_init): Added hadjustment and
2301 vadjustment properties in order to expose horizontal and vertical
2303 (hildon_pannable_area_get_property),
2304 (hildon_pannable_area_set_property): Added code to handle the new
2306 (hildon_pannable_area_get_hadjustment),
2307 (hildon_pannable_area_get_vadjustment): API functions to get the
2309 * src/hildon-pannable-area.h:
2310 (hildon_pannable_area_get_hadjustment),
2311 (hildon_pannable_area_get_vadjustment): API functions to get the
2314 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2316 Fixed some leaks, after valgrinding.
2318 * src/hildon-touch-selector.c:
2319 (_default_print_func): Fixed a leak.
2320 (hildon_touch_selector_append_column): Fixed a leak.
2321 * src/hildon-date-button.c:
2322 (hildon_date_button_init): Fixed a leak.
2323 * src/hildon-date-selector.c
2324 (hildon_date_selector_finalize): Fixed a leak.
2326 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2328 Based on a patch by Christian Dywan (christian@imendio.com)
2330 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2332 * src/hildon-gtk.h: Add definition.
2334 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2336 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2338 * src/hildon-picker-button.c: (hildon_picker_button_init),
2339 (hildon_picker_button_new): Set the HildonButton::style property
2340 in the init method, to propagate the value to the derived classes.
2342 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2344 * src/hildon-button.c: (hildon_button_class_init): Do not make
2345 the "style" property a construct property.
2347 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2349 * src/hildon-wizard-dialog.h
2350 * src/hildon-wizard-dialog.c
2351 (hildon_wizard_dialog_set_forward_page_func)
2352 * src/hildon-pannable-area.h
2353 * src/hildon-pannable-area.c
2354 (hildon_pannable_area_set_size_request_policy):
2355 Documentation fixes.
2357 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2359 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2361 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2363 * doc/hildon-sections.txt: Added sections file.
2365 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2368 * src/*.[ch]: Updates.
2370 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2372 * examples/hildon-progress-indicator-example.c: new file
2373 * examples/Makefile.am: include the new example program
2375 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2379 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2381 * configure.ac: post release version bump
2382 * debian/changelog: version bump
2384 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2389 * configure.ac: bump version
2390 * debian/changelog: updates
2391 * debian/control: bump gtk+ dependency
2393 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-dialog.c: Mark as deprecated.
2396 * src/hildon-dialog.h: Mark as deprecated.
2397 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2398 from HildonDialog and still work, even if
2399 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2400 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2402 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2403 maemo changes) instead)
2405 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2407 * src/hildon-pannable_area.h:
2408 * src/hildon-pannable_area.c:
2409 (hildon_pannable_area_class_init),
2410 (hildon_pannable_area_set_property),
2411 (hildon_pannable_area_get_property),
2412 (hildon_pannable_area_size_request),
2413 (hildon_pannable_area_get_size_request_policy),
2414 (hildon_pannable_area_set_size_request_policy): Added new API
2415 allowing applications to control the request policy. Now they can
2416 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2417 children allocation (HILDON_MOVEMENT_CHILDREN).
2419 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2423 (hildon_gtk_tree_view_set_ui_mode)
2424 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2425 mode of treeviews and iconviews.
2427 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2429 * src/hildon-touch-selector-entry.c:
2430 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2431 of a GtkEntry to get proper theming.
2433 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2434 widget, not GtkEntry)
2436 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2438 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2439 no HildonWizardDialogPageFunc.
2441 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2443 Patch contributed by Iván Gómez (igomez@igalia.com)
2445 * src/hildon-app-menu.c:
2446 * src/hildon-button.c:
2447 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2448 * src/hildon-stackable-window.c:
2449 * src/hildon-time-selector.c:
2450 * src/hildon-touch-selector.c:
2451 * src/hildon-window.c:
2453 Add more "since" tags to the new API in hildon 2.2.
2455 2008-12-05 Tim Janik <timj@imendio.com>
2457 Patch contributed by Christian Dywan (christian@imendio.com)
2459 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2460 HildonSizeType, which are supplied by Gtk+ now.
2462 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2464 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2465 (with maemo changes) instead)
2467 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2469 Patch contributed by Iván Gómez (igomez@igalia.com)
2471 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2474 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2476 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2477 (some_page_func), (main): Update the example to use a
2478 HildonWizardDialogPageFunc function.
2480 * src/hildon-wizard-dialog-private.h: Add private data for
2481 the HildonWizardDialogPageFunc function usage.
2483 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2484 (destroy), (hildon_wizard_dialog_init), (response),
2485 (hildon_wizard_dialog_set_forward_page_func):
2486 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2487 that applications can use to stop a HildonWizardDialog to jump to
2490 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2493 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-program.h
2496 * src/hildon-program-private.h
2497 * src/hildon-program.c (hildon_program_init)
2498 (hildon_program_set_common_app_menu)
2499 (hildon_program_get_common_app_menu):
2500 New API for setting a common HildonAppMenu for all
2501 HildonStackableWindows registered with the HildonProgram.
2503 * src/hildon-stackable-window.c
2504 (hildon_stackable_window_toggle_menu):
2505 Use the common HildonAppMenu if a window doesn't have a specific
2508 * src/hildon-app-menu-private.h
2509 * src/hildon-app-menu.c
2510 (hildon_app_menu_get_parent_window):
2511 Function to obtain the window a HildonAppMenu is attached to.
2512 (hildon_app_menu_set_parent_window):
2513 Hide the menu if the parent window is set to NULL.
2515 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2517 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2518 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2519 search widget to popup.
2521 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2523 * configure.ac: post release version bump
2524 * debian/changelog: version bump
2526 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2531 * configure.ac: bump version
2532 * debian/changelog: updates
2534 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2536 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2538 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2539 (hildon_window_stack_window_realized)
2540 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2541 Set the leader GdkWindow when a window is stacked and realized,
2542 unset it when it's unstacked.
2543 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2545 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2547 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2549 * src/hildon-stackable-window.h
2550 * src/hildon-window-stack.h:
2551 Protect definition of HildonWindowStack using the preprocessor.
2553 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2556 Fix warning if all menu items are hidden.
2558 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2560 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2562 * src/hildon-controlbar.c:
2563 * src/hildon-hvolumebar.c:
2564 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2565 Multiple scale size defines updates.
2567 Fixes: NB#94322 (Scale Updates)
2569 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2571 * examples/hildon-app-menu-example.c (create_menu)
2572 Show items after adding them to the menu, as in the future the
2573 menu will no longer call gtk_widget_show() on the added items.
2575 * src/hildon-app-menu.c:
2576 Update example as explained above.
2578 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2580 * src/hildon-app-menu.c
2581 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2582 Make sure that all menu items have finger height.
2584 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2586 * src/hildon-picker-dialog.c:
2587 (_on_dialog_response), (_save_current_selection),
2588 (_restore_current_selection), (_clean_current_selection),
2589 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2590 Defined new functions in order to save the current internal selector
2591 selection previous open the dialog, in case that the use cancel the
2592 interaction, so the widget restores the previous selection.
2594 Fixes: NB#92032 (In calendar application, date values in 'new event'
2597 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2599 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-button.c: Add a reference to the button examples in
2602 hildon-button-example.c
2604 * examples/hildon-button-example.c: Added examples of the most
2605 common button layouts.
2607 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2609 * src/hildon-app-menu.c (hildon_app_menu_show)
2610 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2612 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2614 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2616 * src/hildon-picker-dialog.c:
2617 (hildon_picker_dialog_init): Initialize the signal id for
2618 HildonTouchSelector::columns-changed.
2619 (+on_selector_columns_changed): Set up the interaction mode everytime a
2620 column is added or removed from the HildonTouchSelector.
2621 (_hildon_picker_dialog_set_selector): Connect to
2622 HildonTouchSelector::columns-changed and keep track of it.
2624 Make sure to update the interaction mode of the dialog everytime a
2625 column is added or removed in the HildonTouchSelector.
2627 Fixes: NB#93228 (Done button is not shown always in listpicker)
2629 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2632 a new ::columns-changed signal.
2633 (hildon_touch_selector_append_column): Emit ::columns-changed.
2634 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2636 Add a ::columns-changed signal, emitted when the number of columns in a
2637 HildonTouchSelector changes.
2639 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2642 (_hildon_picker_dialog_set_selector): Factor out the code
2643 to set up the dialog interaction mode.
2645 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2647 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2648 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2649 to signal_changed_id.
2651 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2653 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2656 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2658 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2659 Updated the logical ids related to ampm format, as now it is required to
2660 show it correctly localized even on languages with no default
2661 abbreviations for am or pm
2662 (_check_am_pm_format): check correctly the 24h format gconf property
2664 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2666 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-button.c: Documentation updates.
2670 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2673 * src/hildon-caption.c: (hildon_caption_class_init):
2674 * src/hildon-color-button.c: (hildon_color_button_class_init):
2675 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2676 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2677 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2678 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2680 Remove deprecated GTK+ marshalers and replace them with the ones
2681 provided by GLib, for those available, add a marshaler for
2682 BOOLEAN:VOID, which is not available in GLib, and use it.
2684 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2686 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2687 the text from the previous column if there is no
2688 HildonTouchSelectorColumn::text-property set.
2690 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2692 * src/hildon-button.h
2693 * src/hildon-button.c (hildon_button_set_property)
2694 (hildon_button_get_property, hildon_button_class_init)
2695 (hildon_button_set_style, hildon_button_get_style):
2696 New "style" property to change the visual appearance of the
2699 * src/hildon-picker-button.c (hildon_picker_button_new):
2700 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2702 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2703 HildonButton look like PickerButton)
2705 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2708 column while building the default string.
2710 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2713 scroll indicator by default.
2715 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2717 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2719 * src/hildon-main.c: Fix the documentation for hildon_init()
2721 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2723 * doc/hildon-docs.sgml
2727 * src/hildon-window-stack-private.h
2728 * src/hildon-window-stack.h
2729 * src/hildon-window-stack.c:
2730 New HildonWindowStack object, that adds support for multiple
2731 stacks of windows per process.
2733 * src/hildon-stackable-window-private.h
2734 * src/hildon-stackable-window.h
2735 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2736 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2737 (hildon_stackable_window_show, hildon_stackable_window_hide)
2738 (hildon_stackable_window_class_init)
2739 (hildon_stackable_window_init):
2740 Use HildonWindowStack for stack management.
2742 * src/hildon-program.c (hildon_program_pop_window_stack)
2743 (hildon_program_peek_window_stack)
2744 (hildon_program_go_to_root_window):
2745 Add a fallback implementation to the deprecated functions using
2748 * examples/hildon-stackable-window-example.c:
2749 Use the new HildonWindowStack API.
2751 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-stackable-window-private.h
2754 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2755 (hildon_stackable_window_hide, hildon_stackable_window_init):
2756 Remove all window stack management.
2758 * src/hildon-program-private.h
2759 * src/hildon-program.h
2760 * src/hildon-program.c (hildon_program_init)
2761 (hildon_program_pop_window_stack)
2762 (hildon_program_peek_window_stack)
2763 (hildon_program_go_to_root_window):
2764 Remove all window stack management and mark functions as
2767 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-app-menu.c (hildon_app_menu_realize):
2770 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2772 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2774 * configure.ac: post release version bump
2775 * debian/changelog: version bump
2777 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2782 * configure.ac: bump version
2783 * debian/changelog: updates
2785 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2787 Based on initial code by Christian Dywan (christian@imendio.com)
2789 * doc/hildon-docs.sgml: Add section for hildon-main.
2790 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2791 * src/Makefile.am: Add new hildon-main.[ch]
2792 * src/hildon-defines.h: Update the icon sizes.
2793 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2794 new library initialization files and register icon sizes.
2795 * src/hildon-main.h: New declarations.
2796 * src/hildon.h: Include hildon-main.h
2798 Add new initialization functions to the library. These methods
2799 will register the hildon specific icon sizes and can be used in the
2800 future for other hildon specific bits.
2802 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2804 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2806 * src/hildon-window.c: (hildon_window_realize),
2807 (hildon_window_notify), (-hildon_window_update_title): Do not set
2808 the application name in the window title.
2810 Fixes: NB#89754 (Applications shouldn't display their names in the
2813 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2815 * src/hildon-note-private.h:
2816 * src/hildon-note.c: (hildon_note_set_property),
2817 (hildon_note_get_property), (hildon_note_class_init),
2818 (hildon_note_init), (hildon_note_finalize),
2819 (hildon_note_new_confirmation_with_icon_name),
2820 (hildon_note_new_information_with_icon_name):
2822 No need to mark as deprecated the actual code. Revert
2823 to avoid missing symbols in widgets using deprecated API.
2825 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2827 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2829 * src/hildon-volumebar.h
2830 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2831 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2833 * src/hildon-helper.h
2834 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2835 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2837 * examples/Makefile.am:
2838 Deprecate hildon-insensitive-example
2840 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2842 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2844 * examples/hildon-pannable-area-buttons-scroll-example.c:
2845 Make all buttons finger height
2847 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2849 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2851 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2852 update the day model only if it is really required, and to avoid the
2853 full-reconstruction aproach. Now it only add or remove the required days.
2855 The purpose of this is avoid superfluous HildonTouchSelector::changed
2858 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2859 with strange parameters)
2861 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2863 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2865 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2866 the WINDOW_TYPE property.
2868 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2870 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2873 Fix dependency to allow parallel compilation with make -jX
2875 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2877 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2878 color frame and some minor tweaks to make it more consistent with
2881 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2882 highlighted but not visible)
2884 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2886 * examples/Makefile.am: Fixed typo in the Makefile.am.
2888 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2890 Reviewed the use of MAEMO_GTK define, now we add the define in the
2891 compilation line, and we also add it to the pc file.
2893 * configure.ac: Added MAEMO_GTK define to the compilation command
2894 and removed it from the config.h.
2896 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2897 do not have to take care about this define if the library was
2901 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2903 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2905 * examples/Makefile.am,
2906 * examples/hildon-pannable-area-buttons-scroll-example.c,
2907 * examples/hildon-pannable-area-gesture-signals-example.c,
2908 * examples/hildon-pannable-area-scroll-jump-example.c,
2909 * examples/hildon-pannable-area-tree-view-example.c:
2910 Renamed the pannable area examples, now they have more meaningful
2913 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2915 * src/hildon-touch-selector.c:
2916 (hildon_touch_selector_set_column_selection_mode): Used of
2917 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2918 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2919 to avoid re-seting the same selection mode.
2921 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2922 breaks HildonPickerDialog)
2924 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2926 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2927 conditional in the Makefile.am
2929 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2931 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2932 Remove unused methods.
2934 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2936 * src/hildon-button.c (hildon_button_init):
2937 Make button images center-aligned by default
2939 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2942 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2943 activated, we have to think about how to deal with both defines
2944 MAEMO_GTK and MAEMO_CHANGES.
2946 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2948 * examples/hildon-app-menu-example.c (create_menu): Make all
2949 buttons finger size.
2951 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2953 Fixed the compilation without maemo gtk adding ifdefs with
2954 MAEMO_GTK define to the code, we have to check this version more
2957 * examples/Makefile.am: Added control to avoid some examples that
2958 just make sense with maemo gtk.
2961 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2962 hildon modes with the define.
2964 * examples/hildon-edit-toolbar-example.c,
2965 (create_icon_view): Create the icon view without hildon-gtk
2966 helpers if we are not using maemo gtk.
2968 * src/hildon-touch-selector.c,
2969 (_create_new_column): Create the treeview without hildon-gtk
2970 helpers if we are not using maemo gtk.
2972 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2974 * src/hildon-pnnable-area.c,
2975 (hildon_pannable_area_dispose),
2976 (hildon_pannable_area_button_press_cb),
2977 (hildon_pannable_area_child_mapped),
2978 (hildon_pannable_area_add),
2979 (hildon_pannable_area_remove): Added code to control the position
2980 of the event_window when adding and removing children from the
2981 pannable. We have to raise the event window when the child is
2984 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2985 selection mode using custom widget inside pannable)
2987 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2989 * configure.ac: post release version bump
2990 * debian/changelog: version bump
2992 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2997 * configure.ac: bump version
2998 * debian/changelog: updates
3000 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3002 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3003 search mode, in order to avoid lose the focus on the treeview when
3004 a hw key (like enter) is pressed.
3006 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3007 in HildonDateSelector dialog)
3009 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3011 * debian/rules: Added --enable-maintainer-mode
3012 * Makefile.am: Added ACLOCAL_AMFLAGS
3014 This allows to properly regenerate the Makefiles if you modify the
3015 configure.ac or any Makefile.am.
3017 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3019 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3020 properties, not needed at all.
3022 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3024 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3026 * src/hildon-note.c: (hildon_note_set_property),
3027 (hildon_note_get_property), (hildon_note_class_init),
3028 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3029 (hildon_note_new_confirmation_add_buttons): Remove icons.
3030 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3031 (hildon_note_new_information_with_icon_name): Deprecate.
3032 (hildon_note_new_confirmation): Act directly, without calling
3033 the deprecated constructor.
3034 (hildon_note_new_information): Act directly, without calling
3035 the deprecated constructor.
3036 * src/hildon-note.h: Mark deprecate methods as such.
3037 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3038 not run tests on the deprecated methods if built with deprecation
3041 Fixes: NB#91688 (Never show icons in information notes/confirmation
3044 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3046 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3047 (hildon_app_menu_key_press): Remove leftover usage of the
3048 private structure in HildonAppMenu struct.
3049 * src/hildon-app-menu.h: Remove leftover private structure
3050 from the HildonAppMenu struct.
3052 Fixes a crasher when using the HildonAppMenu.
3054 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3056 * src/hildon-picker-dialog.c: Use appropriate logical id
3057 for the default "Done" text.
3059 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3061 * configure.ac: post release version bump
3062 * debian/changelog: version bump
3064 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3066 Modified the way to scroll to the current selection just when the touch
3067 selector is shown on the screen, avoiding a g_idle. Added too a property
3068 to configure this behaviour. See hildon_pannable_area_jump_to_child
3069 documentation for more information.
3071 * src/hildon-touch-selector.c
3072 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3073 Added 'initial-scroll' property
3074 (hildon_touch_selector_set_property): Added
3075 (hildon_touch_selector_map): Removed as not required anymore
3076 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3077 only a concrete column, instead of iterate along all the columns
3079 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3084 * configure.ac: bump version
3085 * debian/changelog: updates
3087 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3090 compilation time warnings.
3092 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3094 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3095 the default value for HildonPannableArea::mov-mode to
3096 HILDON_PANNABLE_AREA_MODE_VERT.
3098 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3100 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3102 Reverting following commit:
3104 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-app-menu-private.h
3107 * src/hildon-app-menu.[ch]
3108 * src/hildon-button.[ch]
3109 * src/hildon-check-button.[ch]
3110 * src/hildon-entry.[ch]
3111 * src/hildon-pannable-area.[ch]
3112 * src/hildon-text-view.[ch]:
3113 Added private field to the object's structure.
3115 because it causes an ABI breakage. We will need to introduce these
3116 changes later at some point. See NB#91636 for an extensive
3117 explanation and status.
3119 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3121 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3123 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3124 remove special cases that are no longer necessary.
3126 Fixes: NB#91016 (Change toolbar sizes, simplification)
3128 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3130 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3131 is shown in the cancel note.
3133 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3135 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3136 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3137 (hildon_seekbar_init): Remove steppers, remove expose event.
3138 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3140 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3142 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3144 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3145 label font to "SmallSystemFont" for vertically arranged buttons.
3147 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3150 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-check-button.c
3153 (hildon_check_button_set_active, hildon_check_button_clicked):
3154 Don't access private parts directly, use getters instead.
3156 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3158 * src/hildon-check-button.c (hildon_check_button_new):
3159 Align the contents of the check button to the left.
3161 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3163 * src/hildon-pannable-area.c,
3164 (hildon_pannable_area_scroll_to),
3165 (hildon_pannable_area_jump_to),
3166 (hildon_pannable_area_scroll_to_child),
3167 (hildon_pannable_area_jump_to_child): Replace the mapped
3168 precondition of these functions with the realized, it is the
3169 correct state of the widget in this case. Changed the
3170 documentation according to this modification.
3172 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3174 Added a new EXTRA_CFLAGS option to add the deprecated define to
3175 the compilation command. This way we can avoid using the define in
3176 the documentation compilation.
3178 * configure.ac: Defined EXTRA_CFLAGS.
3180 * examples/Makefile.am:
3182 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3184 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3186 * src/hildon-picker-dialog.c:
3187 Defined a utility macro with the desired touch selector height
3188 Removed currently unused separator, and title_label variables from
3190 (hildon_picker_dialog_init): Removed code related to the creation
3191 of unused private variables title_label and separator.
3192 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3193 to ensure correct visualization of the touch selector inside the dialog.
3194 * src/hildon-touch-selector.c
3195 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3196 ensure a concrete height of the widget.
3198 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3201 * tests/Makefile.am:
3203 Remove spurious whitespaces.
3205 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3207 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3208 compilation warning after the cancel button removal.
3210 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3212 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3214 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3215 Makefile.am, that way we can choose not to compile some examples
3216 and tests of the deprecated widgets.
3218 * examples/Makefile.am: Divided the sources in deprecated and
3221 * src/Makefile.am: Added undef statement of the deprecated
3222 symbol to the enums file generation process.
3224 * src/hildon-color-chooser-dialog.c
3225 * src/hildon-color-chooser-dialog.h
3226 * src/hildon-color-button.c
3227 * src/hildon-color-button.h
3228 * src/hildon-color-chooser.c
3229 * src/hildon-color-chooser.h
3230 * src/hildon-controlbar.c
3231 * src/hildon-controlbar.h
3232 * src/hildon-date-editor.c
3233 * src/hildon-date-editor.h
3234 * src/hildon-hvolumebar.c
3235 * src/hildon-hvolumebar.h
3236 * src/hildon-private.c
3237 * src/hildon-private.h
3238 * src/hildon-range-editor.c
3239 * src/hildon-range-editor.h
3240 * src/hildon-seekbar.c
3241 * src/hildon-seekbar.h
3242 * src/hildon-time-editor.c
3243 * src/hildon-time-editor.h
3244 * src/hildon-time-picker.c
3245 * src/hildon-time-picker.h
3246 * src/hildon-volumebar.c
3247 * src/hildon-volumebar.h
3248 * src/hildon-vvolumebar.c
3249 * src/hildon-vvolumebar.h
3250 * src/hildon-bread-crumb-trail.h
3251 * src/hildon-bread-crumb-trail.c
3252 * src/hildon-calendar-popup.c
3253 * src/hildon-calendar-popup.h
3254 * src/hildon-weekday-picker.c:
3255 * src/hildon-weekday-picker.h:
3256 * src/hildon-bread-crumb-widget.c:
3257 * src/hildon-bread-crumb-widget.h:
3258 * src/hildon-bread-crumb.c:
3259 * src/hildon-bread-crumb.h:
3260 * src/hildon-calendar.c:
3261 * src/hildon-calendar.h:
3262 * src/hildon-caption.c:
3263 * src/hildon-code-dialog.c:
3264 * src/hildon-code-dialog.h:
3265 * src/hildon-font-selection-dialog.c:
3266 * src/hildon-font-selection-dialog.h:
3267 * src/hildon-get-password-dialog.c:
3268 * src/hildon-get-password-dialog.h:
3269 * src/hildon-login-dialog.c:
3270 * src/hildon-login-dialog.h:
3271 * src/hildon-number-editor.c:
3272 * src/hildon-number-editor.h:
3273 * src/hildon-set-password-dialog.c:
3274 * src/hildon-set-password-dialog.h:
3275 * src/hildon-sort-dialog.c:
3276 * src/hildon-sort-dialog.h: This is the list of deprecated
3279 * src/hildon-touch-selector.c:
3280 * src/hildon-window.c: Added undef statement to avoid compilation
3283 * tests/Makefile.am: Divided the sources in deprecated and
3286 * tests/check_test.c,
3287 (configure_tests): Marked the deprecated code that was adding
3288 suites with deprecated tests.
3290 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3292 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3294 * src/hildon-touch-selector.c: (_default_print_func): Do not
3295 duplicate a string returned by gtk_tree_model_get(), it is already
3298 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3301 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3303 * src/hildon-pannable-area.c
3304 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3305 method, it had problems when adding a widget with viewport the
3306 second time. Now checks if it already has a viewport and uses it.
3308 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3311 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3313 * src/hildon-pannable-area.c,
3314 (hildon_pannable_area_scroll_to),
3315 (hildon_pannable_area_jump_to),
3316 (hildon_pannable_area_scroll_to_child),
3317 (hildon_pannable_area_jump_to_child): Added a precondition to the
3318 scroll and jump to functions: the widget must be mapped before we
3319 can safely call these functions. We have also added documentation
3320 to the functions to explain how to use them in this situation.
3323 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3325 Reviewed the threading handling of the pannable widget, we have
3326 used the gdk_threads_add_timeout function instead of the usual
3327 glib handlers. This avoids some problems with the threads.
3329 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3330 (hildon_pannable_area_initial_effect),
3331 (hildon_pannable_area_scroll_indicator_fade),
3332 (hildon_pannable_area_button_press_cb),
3333 (hildon_pannable_area_timeout),
3334 (hildon_pannable_area_motion_notify_cb),
3335 (hildon_pannable_area_button_release_cb),
3336 (hildon_pannable_area_scroll_cb),
3337 (hildon_pannable_area_scroll_to): Removed the
3338 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3339 gdk_threads_add_timeout.
3341 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3343 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3348 * configure.ac: bump version
3349 * debian/changelog: updates
3351 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3353 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3354 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3355 * src/hildon-color-chooser-dialog.c:
3356 (hildon_color_chooser_dialog_init):
3357 * src/hildon-font-selection-dialog.c:
3358 (hildon_font_selection_dialog_init):
3359 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3361 Remove all cancel/close-like dialogs, as these are not going to be
3364 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3366 * src/hildon-note.c: (hildon_note_rebuild),
3367 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3370 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3372 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3374 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3375 sure all buttons are shown, even the Cancel/Close-like ones.
3377 Fixes: NB#90861 (Custom Confirmation dialogs should be
3378 protected from cancel button removal)
3380 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3382 * debian/control: Change libhildon1-examples dependency from libhildon1
3384 * debian/libhildon1-examples.install
3386 * Makefile.am: Modified the final install directory for the examples on
3387 package libhildon1-examples
3388 * Makefile.static: Update clean target in order to remove all the binary
3391 Changes suggested by Claudio after review new libhildon1-examples package
3393 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3395 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3396 * src/hildon-touch-selector.c: Ditto.
3398 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3400 * debian/control: Added new package libhildon1-examples, in order to pack
3401 the current hildon examples as documentation
3402 * debian/rules: Not to compress .c files, modify some includes on the
3403 examples (as normally are compiled locally, but when installed it will
3404 require to include the installed libhildon1 library), and rename
3406 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3407 install all the example files on the new example package
3408 * examples/Makefile.static: Added static makefile that can be used to
3409 compile the examples, once installed the new example package
3410 * examples: Most of the examples were modified in order to grant that
3411 all use only '#include "hildon.h"', in order to be easy to prepare
3412 it on the example package
3414 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3417 * debian/libhildon1-dev.install
3418 * debian/libhildon1-doc.install:
3419 Move all gtk-doc files to a separate libhildon1-doc package.
3421 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3423 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3425 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3427 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3429 * debian/rules: Fixed a error in order to avoid unnecessary calls
3430 to autogen.sh on package building
3432 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3434 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3436 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3438 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3441 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3443 * src/hildon-picker-button.c
3444 (hildon_picker_button_finalize):
3445 Free priv->done_button_text
3447 * src/hildon-time-button.c
3448 (hildon_time_button_set_time)
3449 * src/hildon-picker-button.c
3450 (hildon_picker_button_clicked)
3451 (hildon_picker_button_selector_selection_changed)
3452 (hildon_picker_button_set_selector)
3453 * src/hildon-date-button.c
3454 (hildon_date_button_set_date):
3455 Free strings returned by hildon_touch_selector_get_current_text()
3457 * src/hildon-button.c (hildon_button_construct_child):
3458 Fix leaks in priv->image and priv->label_box
3460 Fixes: NB#90535 (Memory leak in picker button)
3462 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-button.c: (hildon_button_get_property): Do not access
3465 private elements directly, use getters instead.
3467 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3469 * src/hildon-app-menu-private.h
3470 * src/hildon-app-menu.c
3471 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3472 Store the menu's parent window.
3474 * src/hildon-stackable-window.c
3475 (hildon_stackable_window_toggle_menu)
3476 (hildon_stackable_window_finalize):
3477 Set the menu's parent window when the menu is shown, unset it when
3480 * src/hildon-app-menu.c
3481 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3482 (hildon_app_menu_class_init):
3483 Send unhandled keyboard accelerators to the parent window.
3485 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3487 * src/hildon-stackable-window.c
3488 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3490 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3492 * configure.ac: post release version bump
3494 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3497 * configure.ac: Bump version
3498 * debian/changelog: Updates
3499 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3502 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3504 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3507 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3508 GtkMenu with Hildon style.
3510 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3512 * src/hildon-picker-button.c:
3513 (hildon_picker_button_set_done_button_text): Set the dialog's
3514 done button text here as well.
3516 Fixes: NB#90232 (Picker button does not set the label on done button
3517 for the second time)
3519 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3524 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-app-menu.c (hildon_app_menu_insert)
3527 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3528 the HildonAppMenu to be activatable using keyboard accelerators
3529 when the menu is not being shown.
3531 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3533 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-stackable-window.c
3536 (hildon_stackable_window_show):
3537 Don't hide old windows automatically when new windows are shown:
3538 this is now a task for the window manager.
3539 (hildon_stackable_window_class_init)
3540 (hildon_stackable_window_hide):
3541 Remove windows from the stack everytime they're hidden.
3542 (hildon_stackable_window_realize):
3543 Don't change the _NET_WM_WINDOW_TYPE property. Use
3544 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3545 it as a stackable window.
3547 * src/hildon-program.c
3548 (hildon_program_pop_window_stack):
3549 Just hide the window to remove it from the stack.
3550 (hildon_program_go_to_root_window):
3551 Don't call gtk_widget_show(), this is now a task for the window
3554 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3556 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3558 * src/hildon-button.c
3559 (hildon_button_construct_child):
3560 Don't pack anything in the button until text or image are
3561 set. This allows adding a custom child after creating the button
3562 with hildon_button_new().
3563 (hildon_button_finalize, hildon_button_class_init)
3564 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3565 alignment and the label box even when they're not packed in the
3568 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3570 * src/hildon-touch-selector.h:
3571 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3572 currently the type definition was using GTK_TYPE_VBOX
3573 * src/hildon-touch-selector.c:
3574 Added some implementation notes in order to clarify that any other widget
3575 added without the column related API will not be included on the
3576 selection logic, and how the widget is freed, as some people ask about
3578 (hildon_touch_selector_remove): Reimplemented in order to free properly
3579 the column related data when you remove the private hbox.
3580 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3581 to get a proper HildonTouchSelectorColumn documentation
3583 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3585 * src/hildon-touch-selector-entry.c:
3586 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3587 text in the GtkEntry and there is no item selected. Fixes a
3590 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-app-menu-private.h
3593 * src/hildon-app-menu.[ch]
3594 * src/hildon-button.[ch]
3595 * src/hildon-check-button.[ch]
3596 * src/hildon-entry.[ch]
3597 * src/hildon-pannable-area.[ch]
3598 * src/hildon-text-view.[ch]:
3599 Added private field to the object's structure.
3601 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3603 * configure.ac: post-release version bump
3605 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3609 * configure.ac: pre-release version bump
3611 * debian/changelog: updates.
3613 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3615 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3616 Disconnect the handler for HildonTouchSelector::changed.
3618 (hildon_picker_button_selector_selection_changed): Update the button
3619 value if the selection change was not triggered by the
3622 (hildon_picker_button_set_selector): connect to
3623 HildonTouchSelector::changed.
3625 Fixes: NB#89650 (Picker button is not updated, when selection in
3626 selector has changed)
3628 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3630 * src/hildon-picker-dialog.c
3631 (hildon_picker_dialog_realize): Removed as not required
3632 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3633 * src/hildon-picker-button.c
3634 (_current_selector_empty): New function, checks if the selector is empty
3635 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3636 if the current selector is empty, in order to avoid to show the dialog
3637 close the dialog in this case (and shows a g_warning).
3639 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3641 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3643 * src/hildon-pannable-area.c,
3644 (hildon_pannable_area_scroll): Added clause to stop movement when
3645 the child of pannable is smaller than one page.
3646 (hildon_pannable_area_scroll_to): Added conditions to avoid
3647 starting the scrolling movement if the child is smaller than one
3648 page, the complete child is in the screen, we do not have to move.
3650 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3652 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3654 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3655 this is managed automatically by the widget when the size of the
3658 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-picker-button.c
3661 (hildon_picker_button_set_done_button_text): Make a copy of the
3662 text, and free the previous value.
3664 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3666 * src/hildon-touch-selector-entry.c:
3667 (hildon_touch_selector_entry_print_func): Return the selected row's
3668 text if the entry is empty.
3670 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3673 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3675 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3677 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3680 * src/hildon-check-button.h
3681 * src/hildon-check-button.c
3682 * examples/hildon-check-button-example.c:
3683 HildonCheckButton is now a new widget. 'toggled' signal added.
3685 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3687 * src/hildon-program-private.h
3688 * src/hildon-program.c (hildon_program_init)
3689 (hildon_program_finalize): Removed unused variables group_leader
3690 and name from HildonProgramPrivate.
3692 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3694 * src/hildon-check-button.c (hildon_check_button_set_active)
3695 (hildon_check_button_get_active, hildon_check_button_new): Use
3696 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3698 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3700 * src/hildon-touch-selector.h
3701 (hildon_touch_selector_set_column_attributes): added deprecation
3702 guard HILDON_DISABLE_DEPRECATED
3703 * src/hildon-time-selector.c
3704 (hildon_time_selector_set_time)
3705 (hildon_time_selector_get_time): Fixed a typo on documentation
3706 * src/hildon-touch-selector.c: update HildonTouchSelector and
3707 HildonTouchSelectorColumn documentation
3708 * src/hildon-touch-selector-entry.c: update "text-column" property
3710 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3711 to be added to the general documentation.
3713 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3715 * examples/hildon-pannable-area-example-4.c,
3717 * examples/hildon-pannable-area-example.c,
3718 (main): Modified the code in order to use the container add, with
3719 viewport treeviews could have problems if they are really big.
3721 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3723 * src/hildon-weekday-picker.c,
3724 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3725 the agreement regarding deprecation in the library.
3727 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3729 * examples/hildon-picker-button-multicolumn-example.c:
3730 (main): Use custom "done" button text.
3732 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3733 (hildon_picker_button_set_property),
3734 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3735 (hildon_picker_button_init),
3736 (+hildon_picker_button_get_done_button_text),
3737 (+hildon_picker_button_set_done_button_text): New methods to customize
3738 the "done" button label in the launched HildonPickerDialog. Also,
3741 * src/hildon-picker-button.h: add the public API.
3743 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3745 * src/hildon-date-selector.h:
3746 * src/hildon-picker-dialog.h:
3747 * src/hildon-time-selector.h:
3748 * src/hildon-touch-selector-column.h:
3749 * src/hildon-touch-selector.h:
3751 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3752 declarations. Fixes gtk-doc warnings.
3754 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3756 * src/hildon-picker-dialog.h
3757 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3758 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3760 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3761 long text is set as label for done button)
3763 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3765 * src/hildon-dialog.c (hildon_dialog_add_button):
3766 Set fixed width to all buttons in the HildonDialog.
3768 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3770 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3772 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3773 Set widget name using class name plus "-finger" or "-thumb".
3775 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3777 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3778 'clicked' when the state of the button is manually changed.
3780 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3782 * src/hildon-app-menu.c (hildon_app_menu_realize)
3783 (hildon_app_menu_unrealize, hildon_app_menu_init)
3784 (hildon_app_menu_class_init, item_visibility_changed):
3785 Change the menu layout when the size of the screen changes.
3786 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3787 Show warning only when changing the number of colums using the
3790 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3792 * debian/compat: Set to 5
3793 * debian/control: Update dependencies.
3794 * debian/libhildon1-dbg.install: Remove.
3795 * debian/libhildon1-dev.install: Update according to cdbs paths.
3796 * debian/libhildon1.install: Update according to cdbs paths.
3797 * debian/rules: Switch to cdbs.
3799 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3802 'item' variable renamed to 'filter'
3804 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-app-menu.c (hildon_app_menu_insert)
3807 (hildon_app_menu_add_filter, remove_item_from_list)
3808 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3809 Don't leak hidden items when the menu is destroyed.
3811 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3813 * src/hildon-app-menu.c (hildon_app_menu_insert)
3814 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3815 (hildon_app_menu_set_columns, item_visibility_changed)
3816 (filter_visibility_changed, hildon_app_menu_repack_filters)
3817 (hildon_app_menu_repack_items):
3818 Repack items and filters separately.
3820 Don't repack all items, change only the ones that are needed to
3823 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3825 * src/Makefile.am: added hildon-touch-selector-column.h
3827 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3829 * src/hildon-touch-selector.c: added the property "text-column" to the
3830 class HildonTouchSelectorColumn, and related get/set functions
3831 (_default_printf_func): updated to use "text-column" property
3832 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3833 "text-column" in his documentation, as this is now included on
3834 HildonTouchSelectorColumn. The get/set_property can still be used,
3835 working as a wrapper to the concrete column "text-column" property
3836 (_text_column_modified): callback added in order to handle the signal
3837 "notify::text-column" of the concrete HildonTouchSelectorColumn
3838 (hildon_touch_selector_entry_get_text_column)
3839 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3840 modified in order to use the HildonTouchSelectorColumn "text-column"
3842 * src/hildon-time-selector.c:
3843 * src/hildon-date-selector.c:
3844 * examples/hildon-touch-selector-example.c
3845 * examples/hildon-touch-selector-multi-cells-example.c
3846 * examples/hildon-picker-button-multicolumn-example.c
3847 Set the right value to "text-column" property on the creation of a new
3848 column using hildon_touch_selector_append_column()
3850 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3852 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-app-menu.c
3855 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3856 updating the layout of the menu, don't create all widgets again,
3857 just repack the items in their new places.
3859 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3861 * src/hildon-time-selector.c
3862 (hildon_time_selector_get_time)
3863 (hildon_time_selector_set_time)
3864 Added documentation of these public methods
3866 * src/hildon-date-button.h
3867 * src/hildon-touch-selector-column.h
3868 * src/hildon-time-button.h
3869 * src/hildon-picker-dialog.h
3870 * src/hildon-time-selector.h
3871 * src/hildon-picker-button.h
3872 * src/hildon-touch-selector.h
3873 * src/hildon-time-picker.h
3874 * src/hildon-date-selector.h
3875 * src/hildon-touch-selector-entry.h
3876 Modified in order to use hildon-widgets code style
3878 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3880 Added deprecated support to the compilation process using
3881 HILDON_DISABLE_DEPRECATED
3883 * configure.ac: Added the --disable-deprecated to the configure
3886 * src/hildon-weekday-picker.c:
3887 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3888 to use the deprecated support. We will update the other deprecated
3889 widgets status in a new patch.
3891 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3893 * configure.ac: Fixed typo with fatal warnings support, the
3894 variable name was not correct
3896 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-app-menu.c
3899 * src/hildon-program.c: Update documentation.
3901 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3903 * configure.ac: Post-release version bump.
3905 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3910 * configure.ac: Pre-release version bump.
3911 * debian/changelog: Updates.
3913 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3915 * NEWS: Update news for previous releases.
3917 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3919 * examples/hildon-touch-selector-multi-cells-example.c:
3920 (create_selector): Update the example to use
3921 hildon_touch_selector_append_column() with a NULL renderer and set
3922 the renderers later.
3923 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3924 passed a NULL renderer. This is documented behavior now.
3926 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3927 This must be used if the developer wants full control on the layout of
3928 the renderers to be added to the column.
3930 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3932 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3934 * src/hildon-touch-selector.c: Documentation fixes.
3936 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3938 * src/hildon-wizard-dialog-private.h: Remove image and box.
3939 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3940 (hildon_wizard_dialog_set_property), (response): Completely remove
3941 image/icon support, and the containers required for the layout.
3943 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3945 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-app-menu.c: Updated documentation.
3949 * src/hildon-stackable-window.c
3950 (hildon_stackable_window_set_main_menu): Unref the old menu after
3951 ref'ing the new one.
3953 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3955 * src/hildon-stackable-window.c
3956 (hildon_stackable_window_set_main_menu): Unref the previous menu
3957 instead of destroying it.
3959 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3960 floating reference and set has_user_ref_count to FALSE to make
3961 HildonAppMenu act like a normal ref-counted widget and not a
3964 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3967 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3969 * src/hildon-touch-selector-column.h: new file
3970 * src/hildon-touch-selector.h
3971 * src/hildon-touch-selector.c
3972 Implemented GtkCellLayout interface, in order to allow to configure
3973 the cell layout on each individual selector column
3974 (hildon_touch_selector_set_column_attributes): marked as deprecated
3975 * examples/hildon-touch-selector-multi-cells-example.c
3976 Example of how to use the GtkCellLayout interface on the selector
3978 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3980 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3982 * src/hildon-app-menu.h
3983 * src/hildon-app-menu.c
3984 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3985 (hildon_app_menu_append, hildon_app_menu_prepend):
3986 New methods to prepend, insert and move items in the menu.
3988 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3990 * src/hildon-wizard-dialog.c:
3992 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3994 (create_title): Update logical IDs and related code.
3995 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3997 * src/hildon-wizard-dialog.h: Note that
3998 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3999 point, as it is not used anymore.
4001 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4003 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4005 * src/hildon-note.c:
4006 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4007 shown. Do not display an icon in confirmation notes nor information
4009 (hildon_note_set_button_text): Update logical ID for cancel button.
4011 Fixes: NB#88850 (Update HildonNote button strings + signals)
4013 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-stackable-window.c
4016 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4018 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4020 * src/hildon-app-menu-private.h
4021 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4022 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4023 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4024 temporary property 'columns' to change the number of columns.
4026 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4028 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4030 * examples/hildon-note-example.c: (on_information_clicked),
4031 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4032 debugging information.
4033 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4035 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4036 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4037 in order to close: this will be handled by the WM from now on.
4039 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4041 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4043 * src/hildon-app-menu-private.h
4044 * src/hildon-app-menu.c
4045 (hildon_app_menu_append, hildon_app_menu_add_filter)
4046 (button_visibility_changed, hildon_app_menu_apply_style)
4047 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4048 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4049 layout everytime a button (item or filter) is shown or hidden.
4051 * src/hildon-stackable-window.c
4052 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4055 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4057 * src/hildon-touch-selector.c:
4058 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4059 that the treeview inside the touch selector is in fremantle hildon mode
4060 * examples/hildon-date-button-example.c
4061 * examples/hildon-picker-button-multicolumn-example.c
4062 * examples/hildon-touch-selector-entry-example.c
4063 * examples/hildon-touch-selector-example.c
4064 * examples/hildon-time-button-example.c
4065 * examples/hildon-picker-button-example.c:
4066 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4068 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4070 * examples/hildon-text-view-example.c: (main): Remove the
4071 gtkrc bits, now handled by the theme.
4073 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4075 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4078 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4080 * po/Makefile.am: Install properly the mo files.
4081 * po/en_GB.po: Update translation, to ease testing purposes.
4083 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4085 * examples/hildon-picker-button-example.c: (main): Select an item
4086 in the selector before setting it to the button.
4088 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4090 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4091 Update button's value if the selector has an item active.
4093 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4094 'value' with the selector)
4096 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4098 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4099 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4100 (hildon_picker_button_class_init): Plug the finalize method.
4101 (hildon_picker_button_set_selector): If there's a previously set
4102 selector, unref'it before setting a new one.
4104 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4105 HildonTouchSelector)
4107 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-touch-selector-entry.c:
4110 (hildon_touch_selector_entry_changed): Check if there is no text
4111 selected before setting the entry text.
4114 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4116 * src/hildon-touch-selector.h
4117 * src/hildon-touch-selector.c
4118 (hildon_touch_selector_get_active)
4119 (hildon_touch_selector_set_active): New methods to set/get the
4120 index of the selected item.
4122 * src/hildon-picker-button.h
4123 * src/hildon-picker-button.c
4124 (hildon_picker_button_get_active)
4125 (hildon_picker_button_set_active): New methods to set/get the
4126 index of the selected item.
4128 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4130 * configure.ac: post-release version bump.
4132 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4136 * configure.ac: Pre-release version bump.
4137 * debian/changelog: Updates.
4138 * debian/control: Add myself as maintainer and depend on l10n
4141 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4143 * src/hildon-window.c
4144 (hildon_window_set_main_menu)
4145 * src/hildon-stackable-window.c
4146 (hildon_stackable_window_set_main_menu):
4147 Updated documentation.
4149 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4151 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4152 Don't free selector->priv manually.
4155 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4158 (hildon_gtk_window_set_progress_indicator):
4159 * src/hildon-gtk.h: Added the new API
4160 hildon_gtk_window_set_progress_indicator, it changes the state of
4161 the window progress hint.
4163 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4165 * src/hildon-button.c
4166 * src/hildon-stackable-window.c: Minor documentation updates.
4168 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4170 * src/hildon-stackable-window.c: Updated documentation.
4172 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4174 * src/hildon-defines.h: Update margins definitions
4175 to the Fremantle sizes.
4178 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4180 * src/hildon-touch-selector.c,
4181 (_hildon_touch_selector_set_model): Cleaning the code after
4182 review, removed g_print and #if 0 from the code.
4184 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4186 * src/hildon-edit-toolbar.c: Update documentation.
4188 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4190 * src/hildon-check-button.h
4191 * src/hildon-check-button.c
4192 (hildon_check_button_set_label, hildon_check_button_get_label)
4193 * examples/hildon-check-button-example.c
4194 (button_clicked_cb):
4195 Removed deprecated methods.
4197 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4199 * src/hildon-text-view.c:
4200 Add sample code to the documentation.
4202 * src/hildon-entry.h
4203 * src/hildon-text-view.h:
4204 Minor cosmetic changes.
4206 * src/hildon-entry.c:
4207 Add sample code to the documentation.
4208 (hildon_entry_init, hildon_entry_refresh_contents):
4209 Don't allow NULL values in the placeholder.
4211 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4213 * doc/hildon-docs.sgml
4215 * examples/Makefile.am
4216 * examples/hildon-text-view-example.c
4218 * src/hildon-text-view.c
4219 * src/hildon-text-view.h
4221 New HildonTextView widget, with example.
4223 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4225 * po/POTFILES.in: Add missing files with translatable strings.
4226 Partially fixes NB#88287.
4228 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4230 * examples/hildon-pannable-area-example-2.c: (main): No need to
4231 set the cellrenderer height inside hildon touch lists, the theme does
4234 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4236 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4237 they are integrated in the theme.
4239 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4241 * examples/hildon-entry-example.c: Update the example adding
4242 widgets to modify the text and the placeholder of the HildonEntry.
4244 * src/hildon-entry.c: Show the placeholder everytime the widget
4245 is empty and loses the focus.
4247 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4249 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4251 * src/hildon-pannable-area.c,
4252 (hildon_pannable_area_size_request): Fixed bug in height
4253 requisition, avoid increasing size and add border twice.
4255 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4257 * configure.ac: postrelease version bump.
4259 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4263 * configure.ac: Prerelease version bump.
4264 * debian/changelog: update.
4265 * debian/rules: make -dbg package contain useful debugging symbols.
4267 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4269 * src/hildon-dialog.h
4270 * src/hildon-dialog.c
4271 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4272 New methods to add buttons with finger size.
4273 (hildon_dialog_new_with_buttons):
4274 Create buttons with finger size.
4276 * examples/hildon-dialog-example.c (main): Use HildonDialog
4277 methods to add buttons.
4279 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4281 * src/hildon-entry.c: Updated HildonButton documentation.
4283 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4285 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4286 button value label with (FALSE, FALSE) to prevent NB#88126 from
4289 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4291 * examples/hildon-pannable-area-example.c,
4292 (main): Removed examples panning a vbox inside a pannable
4293 area. Check bug NB#87965
4295 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4297 Patch contributed by Kris Rietveld (kris@imendio.com)
4299 * src/hildon-pannable-area.c,
4300 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4301 get_size and get_position, this saves an X server roundtrip.
4303 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4305 * doc/hildon-docs.sgml
4307 * examples/Makefile.am
4308 * examples/hildon-entry-example.c
4310 * src/hildon-entry.c
4311 * src/hildon-entry.h
4313 New HildonEntry widget, with example.
4315 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4317 * src/hildon-button.c (hildon_button_construct_child): Pack the
4318 image with expand == fill == FALSE. This is a workaround for a bug
4321 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4323 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4324 labels for the text column, to make it more look more dynamic.
4326 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4328 * src/hildon-time-selector.c
4329 Define gettext auxiliar macro N_
4330 (_create_minutes_model)
4331 (_create_hours_model)
4332 (_create_ampm_model): use of strftime in order to fill the model
4333 * src/hildon-date-selector.c
4334 (hildon_date_selector_finalize):
4335 (_locales_init): remove the logic related to get the name of the months
4336 using nl_langinfo, as it is not required anymore
4338 (_create_year_model)
4339 (_create_month_model)
4340 (_update_day_model): use of strftime in order to fill the model properly
4343 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4345 * src/hildon-button.h
4346 * src/hildon-button.c (hildon_button_get_image): New method to
4349 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4351 * src/hildon-touch-selector.c:
4352 (hildon_touch_selector_remove_column): Remove from the correct parent
4353 and also remove the list element and free it.
4356 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4358 * src/hildon-time-selector.c
4359 (_create_hours_model): change the range on 12h ampm format in order to use
4360 a 12-11 range instead of previous 01-12 range
4361 (hildon_time_selector_set_time): change the way to select the current time
4362 on 12h ampm format, due the change on the range
4363 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4366 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4368 * src/hildon-touch-selector.c
4369 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4370 in order to allow use this function on multiple row selection mode if
4371 the column is different that the first one
4374 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4377 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4379 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4381 * src/hildon-date-selector.h: clean some comments, now on the .c
4382 * src/hildon-date-selector.c
4383 (hildon_date_selector_select_month): first implementation
4384 (hildon_date_selector_select_day): added documentation, reimplemented
4385 using hildon_date_selector_select_current_date to avoid repeat code
4388 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4390 Reviewed interaction logic based on device experiences, refactored
4393 * src/hildon-pannable-area.c,
4394 (hildon_pannable_area_class_init): Updated default vmax speed.
4395 (hildon_pannable_area_calculate_velocity): Added this function, it
4396 avoids duplicate valocity calculation. Adjusted calculation to
4397 avoid problems with zero dist events.
4399 (hildon_pannable_area_motion_notify_cb): Now we use the
4400 calculate_velocity function.
4402 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4404 * src/hildon-date-selector.c
4405 (hildon_date_selector_select_current_date): fix the day range check
4406 as it failed using the last day of the current month
4409 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4411 * src/hildon-touch-selector.c
4412 (hildon_touch_selector_get_num_columns): added a parameter validation
4415 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4417 * examples/Makefile.am
4418 * examples/hildon-edit-toolbar-example.c: Example of the
4419 HildonEditToolbar widget.
4421 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4423 * configure.ac: postrelease version bump.
4425 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4429 * configure.ac: prerelease version bump.
4430 * debian/changelog: update.
4432 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4434 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4435 renderer to display stock icons in the touch list. Also, set the sizes
4436 to the recommended in the style guide.
4438 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4439 * src/hildon-touch-selector.h
4440 (hildon_touch_selector_set_active_iter): renamed, now is
4441 hildon_touch_selector_select_iter
4442 (hildon_touch_selector_get_active_iter): renamed, now is
4443 hildon_touch_selector_get_selected
4444 (hildon_touch_selector_unselect_iter): added
4445 * src/hildon-touch-selector.c
4446 Update after API modification (methods renamed)
4447 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4448 order to avoid problems selecting multiple elements on the column
4449 (hildon_touch_selector_unselect_iter): added the implementation
4450 * src/hildon-time-selector.c
4451 * src/hildon-date-selector.c
4452 * src/hildon-touch-selector-entry.c
4453 Update methods calls after hildon-touch-selector.h API modification (methods
4456 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4458 * src/hildon-stackable-window.c
4459 (hildon_stackable_window_finalize): Call the parent class's finalize.
4461 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4463 * examples/hildon-touch-selector-example.c: (create_selector): Use
4464 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4467 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4469 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4470 set a cell background color, to respect theming.
4472 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4474 * doc/hildon-docs.sgml
4477 * src/hildon-edit-toolbar.c
4478 * src/hildon-edit-toolbar.h
4479 * src/hildon.h: New HildonEditToolbar widget.
4481 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4483 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4486 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4487 * src/hildon-touch-selector.c
4488 (_create_new_column): use g_object_set instead of two g_object_set_property
4490 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4491 * src/hildon-touch-selector.c
4492 (_create_new_column): use of hildon_gtk_tree_view_new to create
4493 the treeview, instead of use directly g_object_new
4494 (_create_new_column): update the property name "vindicator-mode" for the
4495 new one "vscrollbar-policy"
4496 * examples/hildon-date-button-example.c
4497 * examples/hildon-picker-button-multicolumn-example.c
4498 * examples/hildon-touch-selector-entry-example.c
4499 * examples/hildon-touch-selector-example.c
4500 * examples/hildon-time-button-example.c
4501 * examples/hildon-picker-button-example.c
4502 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4503 to all the treeviews inside a pannable area.
4505 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4507 * src/hildon-button.h
4508 * src/hildon-button.c (hildon_button_init)
4509 (hildon_button_set_arrangement, hildon_button_set_alignment)
4510 (hildon_button_set_title_alignment)
4511 (hildon_button_set_value_alignment)
4512 (hildon_button_set_image_alignment)
4513 (hildon_button_construct_child): New methods to set the alignment
4514 of the individual components of the button (title, value,
4515 image). Also, new method to alter the xscale and yscale properties
4516 of the GtkAlignment inside the button, so more complex layouts can
4519 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4521 * src/hildon-button.c (hildon_button_style_set)
4522 (hildon_button_class_init, hildon_button_set_arrangement)
4523 (hildon_button_construct_child): Apply style properties
4524 correctly. Use the 'image-spacing' style property too.
4526 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4528 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4529 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4532 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4534 * src/hildon-pannable-area.c,
4535 (hildon_pannable_area_size_request): Fixed problem with
4536 pannable-area size_request.
4538 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4540 Added management for the grab-focus to a child widget, like a
4541 range, we need to fade out the scrollbar when releasing.
4543 * src/hildon-pannable-area.c,
4544 (hildon_pannable_area_init): Connected the grab-focus signal to
4546 (hildon_pannable_area_grab_notify): Added this function in order
4547 to manage the situation when the grab-focus ends. We have to
4548 fade-out the scrollbar.
4550 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4552 * src/hildon-app-menu.c: Minor documentation update.
4554 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4556 * src/hildon-app-menu.c
4557 * examples/hildon-app-menu-example.c (create_menu): Update
4558 examples and documentation to explain how to connect callbacks.
4560 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4562 * examples/hildon-button-example.c
4563 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4564 hildon_stackable_window_new instead of gtk_window_new
4566 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4568 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4569 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4570 (hildon_pannable_area_set_property),
4571 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4572 (hildon_pannable_area_unrealize),
4573 (hildon_pannable_area_size_request),
4574 (hildon_pannable_area_size_allocate),
4575 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4576 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4577 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4578 (hildon_pannable_area_initial_effect),
4579 (hildon_pannable_area_redraw),
4580 (hildon_pannable_area_scroll_indicator_fade),
4581 (hildon_pannable_area_expose_event),
4582 (hildon_pannable_area_get_topmost), (synth_crossing),
4583 (hildon_pannable_area_button_press_cb),
4584 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4585 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4586 (hildon_pannable_area_motion_notify_cb),
4587 (hildon_pannable_area_button_release_cb),
4588 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4589 (hildon_pannable_area_remove),
4590 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4591 chage the code layout to a more GtkWidget like. Review the use of
4594 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4596 * examples/hildon-pannable-area-example-4.c,
4597 (main): Modified the name of the hindicator_mode to
4600 * src/hildon-pannable-area.c,
4601 (hildon_pannable_area_class_init),
4602 (hildon_pannable_area_motion_notify_cb),
4603 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4604 we have reduced the amount of signals and managed reviewed its
4605 rationale. Changed the default decelerate value.
4607 (hildon_pannable_area_add),
4608 (hildon_pannable_area_redraw): Refactored functions.
4610 (hildon_pannable_area_init),
4611 (hildon_pannable_area_get_property),
4612 (hildon_pannable_area_set_property):
4613 (hildon_pannable_draw_vscroll),
4614 (hildon_pannable_draw_hscroll),
4615 (hildon_pannable_area_initial_effect),
4616 (hildon_pannable_area_expose_event),
4617 (hildon_pannable_area_scroll),
4618 (hildon_pannable_area_button_press_cb),
4619 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4620 and vindicator_mode with hscrollbar_policy and
4621 vscrollbar_policy. Replaced hscroll and vscroll with
4622 hscroll_visible and vscroll_visible.
4624 (hildon_pannable_area_refresh): Refactor the function, remove
4625 variables and check the calls to this function, added resize
4626 conditions in case the children change their layout.
4628 (hildon_pannable_area_size_request): Added more detailed
4629 size_request calculation.
4632 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4634 * src/hildon-color-chooser.c
4635 (init_borders): use the correct gtk_border_free instead of g_free, to
4636 avoid a crash when this widget is used (ie: the three color selection
4639 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4641 * src/hildon-check-button.c,
4642 (hildon_check_button_set_active): Fixed problem when setting the
4643 active value, the widget was not redrawn.
4645 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4647 * src/hildon-pannable-area.c,
4648 (hildon_pannable_area_refresh),
4649 (hildon_pannable_area_scroll),
4650 (hildon_pannable_area_motion_notify_cb): Small code style change.
4652 (hildon_pannable_area_class_init): Default initial_hint set to
4653 FALSE, it is not in the specs.
4655 (hildon_pannable_area_initial_effect),
4656 (hildon_pannable_area_expose_event),
4657 (hildon_pannable_area_map),
4658 (hildon_pannable_area_init): Moved the launching point of the
4659 initial effect, it was in map but the sizes where not correct in
4660 that method so we do not know if we have the reproduce it. Now it
4661 is placed in the expose_event method and uses a variable to
4662 reproduce it just once.
4664 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4666 * src/hildon-pannable-area.c,
4667 (hildon_pannable_draw_vscroll),
4668 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4669 position allowed for the scrollbars.
4671 (hildon_pannable_area_size_allocate): Small style change.
4673 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4675 * src/hildon-pannable-area.c,
4676 (hildon_pannable_area_scroll_indicator_fade),
4677 (hildon_pannable_area_button_press_cb),
4678 (hildon_pannable_area_button_release_cb),
4679 (hildon_pannable_area_scroll_cb),
4680 (hildon_pannable_area_expose_event),
4681 (hildon_pannable_area_init): Added the define parameter
4682 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4683 and refactor the fade variable.
4685 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4687 * src/hildon-pannable-area.c,
4688 (hildon_pannable_area_redraw),
4689 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4690 lines, we were reimplemeting the redraw code.
4692 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4694 * src/hildon-pannable-area.c,
4695 (hildon_pannable_area_scroll_cb),
4696 (hildon_pannable_area_realize),
4697 (hildon_pannable_area_class_init): Added scroll_event management
4698 for pannable area, now we can scroll the usual desktop method.
4700 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4701 initialization of the parameters should depend on idle_id.
4703 (hildon_pannable_area_init),
4704 (hildon_pannable_area_map): Small code style modifications
4706 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4708 * src/hildon-pannable-area.c
4709 (hildon_pannable_area_button_press_cb),
4710 (hildon_pannable_area_motion_notify_cb),
4711 (hildon_pannable_area_button_release_cb),
4712 (hildon_pannable_area_size_allocate),
4713 (hildon_pannable_area_scroll_to): Improved the timeouts
4714 management, we avoid creating them each time.
4716 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4718 * src/hildon-pannable-area.c:
4719 (hildon_pannable_area_refresh),
4720 (hildon_pannable_area_motion_notify_cb),
4721 (hildon_pannable_area_class_init):
4722 * src/hildon-pannable-area.h:
4723 * src/hildon-touch-selector.c
4724 (_create_new_column):
4725 * examples/hildon-pannable-area-example-4.c:
4726 (horizontal_movement),
4727 (vertical_movement),
4729 Replaced the names of enums in the HildonPannableArea:
4730 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4731 HILDON_MOVEMENT_MODE_*
4732 - HILDON_PANNABLE_AREA_MOV_* ->
4734 - Removed HildonPannableAreaIndicatorMode, now we
4737 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4739 * examples/hildon-pannable-area-touch-grid-example.c
4740 * examples/hildon-pannable-area-touch-list-example.c: Fix
4741 compilation warnings.
4743 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-gtk.c (hildon_gtk_button_new)
4746 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4747 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4748 images overriding the value of the "gtk-button-images" setting.
4750 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4752 * src/hildon-check-button.c (hildon_check_button_new):
4753 Instead of using a custom container, display the label and the
4754 checkbox using the standard GtkButton API.
4756 * examples/hildon-check-button-example.c (main): Don't use
4757 hildon_check_button_set_label() anymore
4759 * src/hildon-check-button.h
4760 * src/hildon-check-button.c
4761 (hildon_check_button_set_label, hildon_check_button_get_label):
4762 Set as deprecated, now we're using gtk_button_{get,set}_label()
4764 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4766 * src/hildon-pannable-area.c,
4767 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4768 GtkTreeview first line we detected it after the inclusion of the
4769 GtkWindowImpl in gtk+. We now check if the window is visible, not
4770 just if the pointer is over the window.
4771 (hildon_pannable_axis_scroll),
4772 (hildon_pannable_area_expose_event): Small style changes.
4774 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4776 * src/hildon-button.c: Update documentation.
4778 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4780 * examples/hildon-button-example.c: Add a switch to show images in
4783 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4785 * doc/hildon-docs.sgml: Some docs reorganization.
4787 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4789 * examples/hildon-pannable-area-touch-list-example.c
4791 * examples/hildon-pannable-area-touch-grid-example.c
4792 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4793 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4794 Fix memory leak when setting the tree model.
4796 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4800 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4802 * doc/hildon.types: Remove duplicated hildon_window_get_type
4803 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4804 documentation comment.
4806 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4808 * doc/Makefile.am: Complete list of private headers.
4810 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4812 * doc/hildon-docs.sgml
4813 * src/hildon-app-menu.c
4814 * src/hildon-bread-crumb.c
4815 * src/hildon-button.c
4817 * src/hildon-program.c
4818 * src/hildon-stackable-window.c
4819 * src/hildon-window.c: Lots of documentation updates.
4821 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4823 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4825 * configure.ac: Require Gtk+ 2.12.9 at least
4827 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4829 * src/hildon-pannable-area.c
4830 (hildon_pannable_area_scroll_indicator_fade),
4831 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4832 to protect the return of this timeout callbacks, avoiding deadlocks.
4834 2008-08-12 Christian Dywan <christian@imendio.com>
4837 * src/hildon-*.h: Ensure a consistent include order,
4838 include <gtk/gtk.h> instead of particular files and
4839 only include the topmost header in the gtk stack. See NB #39857
4841 2008-08-12 Christian Dywan <christian@imendio.com>
4843 * src/hildon-picker-dialog.c
4844 * src/hildon-touch-selector.c: Fix warnings about unused and
4845 uninitialized variables.
4847 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4849 * examples/Makefile.am
4850 * examples/hildon-check-button-example.c: Example of the hildon
4853 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4855 * src/hildon-window.h
4856 * src/hildon-window.c (hildon_window_class_init)
4857 (hildon_window_unset_program): Don't make
4858 hildon_window_unset_program a virtual function anymore.
4860 * src/hildon-stackable-window.c: Update documentation
4862 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4865 * doc/hildon-docs.sgml
4866 * doc/visual_index.xml
4867 * src/hildon-defines.c
4869 * src/hildon-helper.c
4870 * src/hildon-range-editor.c: Lots of documentation fixes.
4872 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4874 * examples/hildon-picker-button-multicolumn-example.c
4875 (create_touch_selector): Fix compilation warning.
4877 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4879 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4880 (hildon_pannable_area_button_release_cb)
4881 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4883 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4885 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4888 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4890 * src/hildon-bread-crumb-trail.h
4891 * src/hildon-date-editor.c
4892 * src/hildon-date-selector.c
4893 * src/hildon-pannable-area.c
4894 * src/hildon-picker-dialog.c
4895 * src/hildon-time-selector.c
4896 * src/hildon-touch-selector-entry.c
4897 * src/hildon-touch-selector.c
4898 * src/hildon-touch-selector.h: Misc documentation fixes
4900 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4902 * examples/hildon-date-editor-example.c (main): Updated date
4905 * examples/hildon-note-example.c (on_confirmation_clicked):
4906 Updated confirmation note example.
4908 * src/hildon-date-editor.c
4909 * src/hildon-note.c: Updated sample programs in documentation.
4912 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4914 * src/hildon-date-button.h:
4915 * src/hildon-picker-button.h:
4916 * src/hildon-time-button.c:
4917 * src/hildon-time-button.h:
4919 Some declarations changes to allow gtk-doc to document the widgets
4922 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4924 * src/hildon-date-button.c: Document the widget.
4925 * src/hildon-time-button.c: Document the widget.
4927 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4929 * src/hildon-picker-button.c: Document the widget.
4930 * src/hildon-touch-selector-entry.c: Document the widget.
4932 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4934 * doc/hildon-docs.sgml
4937 * src/hildon-check-button.h
4938 * src/hildon-check-button.c: New functions to create the Hildon
4942 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4944 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4946 * src/hildon-button.h
4947 * src/hildon-button.c
4948 (hildon_button_add_title_size_group)
4949 (hildon_button_add_value_size_group)
4950 (hildon_button_add_image_size_group)
4951 (hildon_button_add_size_groups): New functions to set size groups
4952 for the button labels and image.
4953 (hildon_button_new_full): Removed
4955 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4957 * src/hildon-time-selector.c
4958 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4959 in order to avoid a crash if gconf is not available
4961 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4963 * src/hildon-button.c (hildon_button_set_arrangement)
4964 (hildon_button_construct_child): Don't construct the button child
4965 before setting the arrangement.
4967 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4969 * src/hildon-program-private.h
4970 * src/hildon-program.c
4971 * src/hildon-program.h
4972 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4973 (hildon_program_peek_window_stack)
4974 (hildon_program_pop_window_stack)
4975 (hildon_program_go_to_root_window): HildonProgram now has a
4976 separate list for stackable windows. Functions are provided to
4977 manage that list with a stack-like API.
4979 * src/hildon-stackable-window.c: Stackable window management is
4980 now much simpler with the new HildonProgram API. Windows no
4981 longer need to be manually added to the program, they're
4982 automatically pushed to the top of the stack when shown.
4984 * examples/hildon-stackable-window-example.c: Updated example to
4985 reflect the API changes.
4987 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4989 * src/hildon-touch-selector.c: Comment out unimplemented
4990 hildon_touch_selector_insert_column() to avoid a compile warning.
4992 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4994 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4995 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4996 (hildon_touch_selector_set_column_selection_mode),
4997 (_hildon_touch_selector_set_model),
4998 (hildon_touch_selector_set_model):
5000 Complete review of HildonTouchSelector documentation.
5002 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5004 * doc/hildon-docs.sgml
5008 * src/hildon-gtk.c: Convenience functions for standard Gtk
5009 widgets, used to easily perform frequent operations.
5011 * src/hildon-button-helpers.h
5012 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5014 * src/hildon-helper.h
5015 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5016 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5018 * src/hildon-button.h
5019 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5021 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5023 * src/hildon-button.c (hildon_button_init)
5024 (hildon_button_set_arrangement, hildon_button_construct_child):
5025 Pack the image and the labels inside the same GtkAlignment so
5026 gtk_button_set_alignment() can be used
5028 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5030 * src/hildon-button.h
5031 * src/hildon-button.c
5032 (hildon_button_init, hildon_button_set_image)
5033 (hildon_button_set_image_position)
5034 (hildon_button_construct_child): New functions to add an image to
5037 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5039 * src/hildon-date-button.c
5040 * src/hildon-picker-button.c
5041 * src/hildon-time-button.c
5042 * src/hildon-button.c:
5043 (hildon_button_class_init): "size-flags" renamed to "size"
5044 (hildon_button_set_title): Hide the title label if set to NULL.
5046 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5048 HildonButtonFlags split into HildonButtonArrangement (to set the
5049 button layout) and HildonSizeType (which can be used for any
5052 * src/hildon-button.h
5053 * src/hildon-button.c
5054 (hildon_button_class_init)
5055 (hildon_button_set_arrangement)
5056 (hildon_button_set_property): New "size-flags"
5057 property. "arrangement-flags" renamed to "arrangement".
5058 (hildon_button_new, hildon_button_new_with_text)
5059 (hildon_button_new_full): Constructors updated to reflect type changes.
5061 * src/hildon-helper.h
5062 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5063 to set the size of a widget.
5067 * src/hildon-button-helpers.c
5068 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5070 * src/hildon-date-button.c
5071 * src/hildon-date-button.h
5072 * src/hildon-picker-button.c
5073 * src/hildon-picker-button.h
5074 * src/hildon-time-button.c
5075 * src/hildon-time-button.h: Updated widgets to reflect
5076 HildonButton API changes.
5078 * examples/hildon-button-example.c
5079 * examples/hildon-date-button-example.c
5080 * examples/hildon-picker-button-example.c
5081 * examples/hildon-picker-button-multicolumn-example.c
5082 * examples/hildon-time-button-example.c
5083 * examples/hildon-touch-selector-entry-example.c
5084 * examples/hildon-touch-selector-example.c: Updated examples to
5085 reflect HildonButton API changes.
5087 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5089 * doc/hildon-docs.sgml:
5091 * examples/Makefile.am:
5092 * examples/hildon-touch-selector-entry-example.c:
5094 * src/hildon-touch-selector-entry.c:
5095 * src/hildon-touch-selector-entry.h:
5098 Moved HildonTouchSelectorEntry from sandbox. Added its
5099 documentation and examples.
5101 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5103 * src/hildon-touch-selector.h:
5104 * examples/hildon-picker-button-multicolumn-example.c:
5105 (hildon_touch_selector_append_text_column): Add a gboolean
5106 parameter to determine if text must be centered in the column.
5108 * src/hildon-date-selector.c: (hildon_date_selector_init):
5109 * src/hildon-time-selector.c: (hildon_time_selector_init):
5110 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5111 (create_touch_selector): Update widgets and example to reflect
5114 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5116 * src/hildon-touch-selector.c:
5117 (hildon_touch_selector_set_active_iter): Set also the cursor in
5120 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5122 * doc/hildon-docs.sgml
5125 * src/hildon-toggle-button.c
5126 * src/hildon-toggle-button.h
5127 * src/hildon.h: Removed HildonToggleButton widget, a derived
5128 class is not necessary for this.
5130 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5132 * src/hildon-pannable-area.c,
5133 (hildon_pannable_area_realize),
5134 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5137 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5139 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5140 "done" button the default widget for the dialog.
5142 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5144 * src/hildon-touch-selector.c:
5145 (hildon_touch_selector_class_init),
5146 (hildon_touch_selector_get_property),
5147 (_hildon_touch_selector_set_model),
5148 (_hildon_touch_selector_has_multiple_selection),
5149 (hildon_touch_selector_has_multiple_selection):
5150 Add a "has-multiple-selection" property with a virtual
5151 has_multiple_selection() method to allow derived classes to
5152 override the default value for it. See the method and property
5153 documentation for details.
5155 * src/hildon-touch-selector.h: Add the new API.
5157 * src/hildon-picker-dialog.c: (requires_done_button): Call
5158 hildon_touch_selector_has_multiple_selection() instead of
5159 determining the need for a button itself.
5161 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5163 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5164 (_hildon_touch_selector_set_model),
5165 (hildon_touch_selector_set_model): Move working code to
5166 _hildon_touch_selector_set_mode(). Call the class method instead.
5168 * src/hildon-touch-selector.h: Add (*set_model) to
5169 HildonTouchSelectorClass.
5171 Make hildon_touch_selector_set_model() a virtual method, so that
5172 derived classes can extend it and do fancy stuff with the model.
5174 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5176 * configure.ac: Set back the tarname in AC_INIT to hildon.
5178 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5182 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5183 instead of libesd (NB#86876). Volume handling is still an open issue.
5185 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5188 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5190 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5191 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5192 derived class to ease placement of an entry widget in
5193 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5194 end, where the selector columns are packed now.
5196 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5198 * src/hildon-picker-button.c: Removed the simple _text() API.
5199 * src/hildon-picker-button.h: Likewise.
5201 * src/hildon-touch-selector.h:
5202 * src/hildon-touch-selector.c:
5203 (hildon_touch_selector_new_text),
5204 (hildon_touch_selector_append_text),
5205 (hildon_touch_selector_prepend_text),
5206 (hildon_touch_selector_insert_text):
5208 Moved the simple _text() API from HildonPickerButton to
5209 HildonTouchPicker, to provide better escalability and not to tie
5210 that API to HildonPickerButton.
5212 * examples/hildon-picker-button-example.c: (main): Example updated.
5214 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5216 * src/hildon-button.c: Updated documentation.
5218 * examples/hildon-button-example.c: Add the posibility to create
5219 the buttons using horizontal layout for title and value.
5221 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5223 * src/hildon-app-menu-private.h
5224 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5225 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5226 GtkSizeGroup for the filters, use the 'homogeneous' property of
5229 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5231 * examples/hildon-button-example.c: Updated example.
5233 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5235 * doc/hildon-docs.sgml:
5238 Update documentation.
5240 * examples/Makefile.am: Update renamed examples.
5242 * examples/hildon-picker-button-multicolumn-example.c:
5243 (create_touch_selector), (main): Update after the rename.
5245 * examples/hildon-touch-picker-example.c: Removed.
5246 * examples/hildon-touch-selector-example.c: (value_changed),
5247 (create_selector), (get_visible_content), (main): Renamed from
5248 hildon-touch-picker-example.c
5250 * src/Makefile.am: Updated renamed files.
5252 * src/hildon-date-button.c: (hildon_date_button_init),
5253 (hildon_date_button_get_date), (hildon_date_button_set_date):
5254 * src/hildon-date-selector.c: (hildon_date_selector_init),
5255 (_custom_print_func), (_update_day_model),
5256 (_manage_selector_change_cb),
5257 (hildon_date_selector_select_current_date),
5258 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5259 * src/hildon-date-selector.h:
5260 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5261 (hildon_picker_button_set_property),
5262 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5263 (hildon_picker_button_init), (hildon_picker_button_new_text),
5264 (hildon_picker_button_append_text),
5265 (hildon_picker_button_prepend_text),
5266 (hildon_picker_button_insert_text),
5267 (hildon_picker_button_set_selector),
5268 (hildon_picker_button_get_selector):
5269 * src/hildon-picker-button.h:
5270 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5271 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5272 (_update_title_on_selector_changed_cb), (requires_done_button),
5273 (_hildon_picker_dialog_set_selector),
5274 (hildon_picker_dialog_set_selector),
5275 (hildon_picker_dialog_get_selector):
5276 * src/hildon-picker-dialog.h:
5277 * src/hildon-time-button.c: (hildon_time_button_init),
5278 (hildon_time_button_get_time), (hildon_time_button_set_time):
5279 * src/hildon-time-selector.c: (hildon_time_selector_init),
5280 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5281 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5282 * src/hildon-time-selector.h:
5285 Massive code updates after the rename.
5287 * src/hildon-touch-picker.c: Removed.
5288 * src/hildon-touch-picker.h: Removed.
5290 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5291 (hildon_touch_selector_init), (hildon_touch_selector_map),
5292 (hildon_touch_selector_remove), (_default_print_func),
5293 (_selection_changed_cb), (_create_new_column),
5294 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5295 (hildon_touch_selector_append_text_column),
5296 (hildon_touch_selector_remove_column),
5297 (hildon_touch_selector_set_column_attributes),
5298 (hildon_touch_selector_insert_column),
5299 (hildon_touch_selector_get_num_columns),
5300 (hildon_touch_selector_get_column_selection_mode),
5301 (hildon_touch_selector_set_column_selection_mode),
5302 (hildon_touch_selector_set_print_func),
5303 (hildon_touch_selector_get_print_func),
5304 (hildon_touch_selector_get_active_iter),
5305 (hildon_touch_selector_set_active_iter),
5306 (hildon_touch_selector_get_selected_rows),
5307 (hildon_touch_selector_get_model),
5308 (hildon_touch_selector_set_model),
5309 (hildon_touch_selector_get_current_text),
5310 (_hildon_touch_selector_center_on_selected_items):
5311 * src/hildon-touch-selector.h: Renamed from
5312 hildon-touch-picker.[ch]
5314 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5315 references, code examples, and related documentation.
5317 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5319 * doc/hildon-docs.sgml
5322 * src/hildon-toggle-button.c
5323 * src/hildon-toggle-button.h
5324 * src/hildon.h: New HildonToggleButton widget.
5326 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5328 * src/hildon-button.c: Add API documentation.
5329 (hildon_button_set_size_groups): Check input parameters
5331 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5333 * src/hildon-pannable-area.c
5334 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5335 effect after reaching the movement thredshold. This way we start
5336 using the distance after passing the thredshold.
5338 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5340 * src/hildon-button.c: (hildon_button_set_property): Use the
5341 appropriate g_value_get_flags() method.
5343 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5345 * doc/hildon-docs.sgml:
5348 Add the touch pickers, picker dialogs, and picker button widgets
5349 to the documentation.
5351 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5353 * src/hildon-button.c: (hildon_button_set_property),
5354 (hildon_button_class_init): Make "arrangement-flags" a proper
5355 G_TYPE_FLAGS derived property.
5357 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5359 * examples/Makefile.am: Add below examples.
5360 * examples/hildon-date-button-example.c:
5361 * examples/hildon-picker-button-example.c:
5362 * examples/hildon-picker-button-multicolumn-example.c:
5363 * examples/hildon-time-button-example.c:
5364 * examples/hildon-touch-picker-example.c:
5366 Add examples for the recently added touch pickers,
5367 picker dialogs, and picker button widgets.
5369 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5371 * src/hildon-button.c: Add some API documentation
5373 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5375 * src/hildon-button.h
5376 * src/hildon-button.c
5378 (hildon_button_new_with_text): New constructor to create a button
5379 with no text at all.
5380 (hildon_button_init, hildon_button_set_arrangement)
5381 (hildon_button_set_title, hildon_button_set_value)
5382 (hildon_button_set_text)
5383 (hildon_button_construct_child): Hide the value when it's not used
5384 so the rest of the text is properly aligned.
5385 Allow creating buttons with arbitrary widgets inside (not just
5386 title/value labels).
5388 * examples/hildon-button-example.c (vertical_buttons_window)
5389 (horizontal_buttons_window): Update example to use new API.
5391 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5393 * src/Makefile.am: Added HildonTimeButton.
5394 * src/hildon-time-button.c: Added missing LGPL header.
5395 * src/hildon-time-button.h: Added missing LGPL header.
5396 * src/hildon.h: Add hildon-time-button.h
5398 Copied HildonTimeButton from sandbox to trunk. Future work on this
5399 widget must take place in trunk.
5401 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5403 * src/Makefile.am: Added HildonDateButton.
5404 * src/hildon-date-button.c: Update includes.
5405 * src/hildon.h: Add hildon-date-button.h
5407 Copied HildonDateButton from sandbox to trunk. Future work on this
5408 widget must take place in trunk.
5410 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5412 * src/Makefile.am: Added HildonPickerButton.
5413 * src/hildon-picker-button.h: Update includes.
5414 * src/hildon.h: Add hildon-picker-button.h
5416 Copied HildonPickerButton from sandbox to trunk. Future work on
5417 this widget must take place in trunk.
5419 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5421 * src/Makefile.am: Added HildonPickerDialog.
5422 * src/hildon-picker-dialog.c: Update includes.
5423 * src/hildon.h: Add hildon-picker-dialog.h
5425 Copied HildonPickerDialog from sandbox to trunk. Future work
5426 on this widget must take place in trunk.
5428 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5430 * src/Makefile.am: Added HildonTimeSelector.
5431 * src/hildon.h: Add hildon-time-selector.h
5433 Copied HildonTimeSelector widget from sandbox to trunk. Future
5434 work on this widget must happen in trunk.
5436 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5438 * src/Makefile.am: Added HildonDateSelector.
5439 * src/hildon.h: Add hildon-date-selector.h
5441 Copied HildonDateSelector widget from sandbox to trunk. Future
5442 work on this widget must happen in trunk.
5444 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5446 * src/Makefile.am: Added HildonTouchPicker.
5447 * src/hildon-touch-picker.c: Update includes.
5448 * src/hildon.h: Add hildon-touch-picker.h
5450 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5451 on this widget must happen in trunk.
5453 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5455 * src/hildon-pannable-area.c:
5456 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5458 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5460 * examples/hildon-app-menu-example.c (main): Let the window
5463 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5465 * src/hildon-pannable-area.c
5466 (hildon_pannable_area_class_init): Set the min value of the
5467 overshoot properties to zero, which points out that not
5468 overshooting allowed.
5470 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5472 Modified the procedure to get the widget at a point inside the
5473 pannable area when using the movement type signals. Now the user
5474 has to call a function to get the child, that way we just
5475 calculate the child in case the user really want to use it and not
5478 * src/hildon-marshalers.list: Modified the marshallers, now we do
5479 not have the widget as a parameter.
5481 * src/hildon-pannable-area.c
5482 (hildon_pannable_area_motion_notify_cb),
5483 (hildon_pannable_area_class_init),
5484 (hildon_pannable_get_child_widget_at): Removed the widget
5485 parameter from the signal callback. We have also refactored the
5486 emission of the signals.
5488 * src/hildon-pannable-area.h: Added a new method to the API to
5489 calculate a widget at a point inside the pannable area,
5490 hildon_pannable_get_child_widget_at.
5492 * examples/hildon-pannable-area-example-4.c
5493 (horizontal_movement): Modified the example to use the new API,
5494 added condition to control which widget is under the event. This
5495 way we can avoid scrolling laterally over other widgets.
5497 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5499 * src/hildon-pannable-area.c
5500 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5501 modes, we stop getting the pointer events due to returning the
5502 callback without properly calling the get pointer again. Fixed
5503 also an error using the hscroll and vscroll.
5505 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5507 * src/hildon-app-menu-private.h
5508 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5509 (hildon_app_menu_button_release, hildon_app_menu_init)
5510 (hildon_app_menu_class_init): Don't hide the menu on button
5511 release if the user didn't press outside first.
5513 * src/hildon-window.h
5514 * src/hildon-window.c (hildon_window_toggle_menu)
5515 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5516 hildon_window_toggle_menu a virtual function for the stackable
5517 window to override it.
5519 * src/hildon-stackable-window.h
5520 * src/hildon-stackable-window-private.h
5521 * src/hildon-stackable-window.c
5522 (hildon_stackable_window_realize)
5523 (hildon_stackable_window_finalize)
5524 (hildon_stackable_window_class_init)
5525 (hildon_stackable_window_init)
5526 (hildon_stackable_window_set_main_menu): New function to set the
5527 app menu of a HildonStackableWindow.
5529 * examples/hildon-app-menu-example.c: Remove the button to show
5530 the app menu, now it'll be shown when clicking on the title bar
5533 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5535 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5536 set the widget name if the arrangement flags do not specify
5539 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5541 * src/hildon-button.c: (hildon_button_set_property),
5542 (hildon_button_class_init), (hildon_button_new_full),
5543 (hildon_button_set_arrangement): Added "arrangement-flags"
5546 Make the HildonButtonFlags a construction-only property, to allow
5547 subclasses to set them properly.
5549 2008-07-21 Tim Janik <timj@imendio.com>
5551 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5552 insertion position after backspace, so additional digits are appended,
5555 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5557 * src/hildon-pannable-area.c,
5558 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5559 TODO list, it was complete and removed the g_debug and g_print
5562 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5564 Added the movement modes to the hildon-pannable-area, with this
5565 modes the developers can control in which directions the widget
5566 can scroll. They can also connect to signals in order to do
5567 something when that happens, allowing applications scroll. There
5568 is an example uploaded showing how to use it.
5570 * examples/Makefile.am:
5571 * examples/hildon-pannable-area-example-4.c: Added this example of
5572 an application using the modes.
5574 * src/hildon-marshalers.list: Added a new marshaller for the new
5577 * src/hildon-pannable-area.h: Added new enumerations and flags in
5578 order to control the movement modes and the new signals to warn
5579 about the movements in the area.
5581 * src/hildon-pannable-area.c:
5582 (hildon_pannable_axis_scroll),
5583 (hildon_pannable_area_scroll),
5584 (hildon_pannable_area_motion_notify_cb),
5585 (hildon_pannable_area_get_property),
5586 (hildon_pannable_area_set_property),
5587 (hildon_pannable_area_map),
5588 (hildon_pannable_area_class_init),
5589 (hildon_pannable_area_init),
5590 (hildon_pannable_area_jump_to): Added the modes to control the
5591 movement in the widget. We have added properties to control it,
5592 signals to warn about the movements and refactored some code.
5594 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5596 Changes required in order to allow vfast_factor set to zero to
5599 * src/hildon-pannable-area.c:
5600 (hildon_pannable_area_button_press_cb): Changed the condition, it
5601 is required for not allowing click when vfast_factor is zero.
5602 (hildon_pannable_area_timeout): Initialized velocity variables
5603 when we stop moving, it was less than 1 but not zero and we need
5604 to check zero in some situations.
5605 (hildon_pannable_area_class_init): Changed the default value of
5606 the speed factor, now the button_press is just sent in case the
5607 speed is 2 per cent of the max speed.
5608 (hildon_pannable_area_init): Initialization with 0.
5610 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5612 * src/hildon-pannable-area.c,
5613 (hildon_pannable_area_get_topmost): replaced
5614 gdk_window_get_children with gdk_window_peek_children, this way we
5615 do not have to free the list because it is not a copy.
5617 (hildon_pannable_axis_scroll),
5618 (hildon_pannable_area_scroll),
5619 (hildon_pannable_area_timeout),
5620 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5621 two parameters that were only used inside the
5622 hildon_pannable_area_scroll function.
5624 * examples/hildon-pannable-area-example.c,
5625 (get_sawtooth_label): Fixed small memory leak.
5627 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5629 More checks for the case where the overshoot is bigger than the
5632 * src/hildon-pannable-area.c:
5633 (hildon_pannable_draw_vscroll),
5634 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5635 to draw the slider of the scrollbar under the other scrollbar.
5636 (hildon_pannable_area_expose_event): added new checks to control
5637 the drawing of the overshooting area rectangle, in case it is too
5638 big for the area of the widget.
5639 (hildon_pannable_area_size_allocate): add more checks to avoid
5640 setting a position to the child widget outside the area.
5642 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5644 * src/hildon-pannable-area.c
5645 (hildon_pannable_area_size_allocate): Added conditions to control
5646 when overshooting is bigger than the allocated space for the
5647 children, this avoids negative allocations.
5649 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5651 * doc/hildon-docs.sgml
5653 * examples/Makefile.am
5654 * examples/hildon-button-example.c
5656 * src/hildon-button.c
5657 * src/hildon-button.h
5658 * src/hildon.h: Initial version of the new HildonButton widget,
5661 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5663 * src/hildon-pannable-area.c:
5664 (hildon_pannable_area_button_press_cb),
5665 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5666 (hildon_pannable_area_motion_notify_cb),
5667 (hildon_pannable_area_button_release_cb),
5668 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5669 (hildon_pannable_area_jump_to_child):
5671 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5673 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5675 * examples/Makefile.am
5676 * examples/hildon-pannable-area-touch-grid-example.c
5677 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5678 the Hildon Touch List and Hildon Touch Grid using the
5679 HildonPannableArea widget.
5681 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5683 * src/hildon-pannable-area.c,
5684 (hildon_pannable_area_button_press_cb),
5685 (hildon_pannable_area_refresh),
5686 (hildon_pannable_area_scroll),
5687 (hildon_pannable_area_motion_notify_cb),
5688 (hildon_pannable_area_button_release_cb),
5689 (hildon_pannable_area_expose_event),
5690 (hildon_pannable_area_add),
5691 (hildon_pannable_area_remove),
5692 (hildon_pannable_area_realize),
5693 (hildon_pannable_area_size_allocate),
5694 (hildon_pannable_area_class_init),
5695 (hildon_pannable_area_init),
5696 (hildon_pannable_area_scroll_to_child),
5697 (hildon_pannable_area_jump_to_child): Fixed the problem of
5698 removing the child from the GtkBin, we have rearranged the widget
5699 hierarchy, now there is no GtkAlignment which was not doing
5700 anything interesting but breaking some of the assumptions of
5701 GtkContainer. Now developers if they want to add a GtkAlignment
5702 they could, but it is not inside the area.
5704 We had to review the whole allocation/expose process, now it is
5705 improved and we save at least three signals which would be saving
5706 some time when rendering the widget. The allocation of the
5707 scrollbars is now made in the allocate method as usual.
5709 We have also added some conditions in order to control when there
5710 is no child of the pannable area. Maybe we will need more work
5713 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5715 * src/hildon-pannable-area.c,
5716 (hildon_pannable_area_dispose): Released the fade-out timeout when
5717 disposing the widget.
5719 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5721 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5722 zero, we are going to use that property in order to deactivate the
5724 (hildon_pannable_axis_scroll),
5725 (hildon_pannable_area_size_allocate): Added conditions to control
5726 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5727 call, now it is called in all situations and we can remove calls
5728 in the allocate method.
5729 (hildon_pannable_area_map): Control the situation when
5730 overshoot_max is zero, we do not need the timeout.
5731 (hildon_pannable_area_class_init): Added documentation in order to
5732 point out that setting zero to overshoot_max means deactivate
5735 NOTE: removed trailing whitespaces from my previous comments of
5738 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5740 * src/hildon-pannable-area.c
5741 (hildon_pannable_area_get_property),
5742 (hildon_pannable_area_set_property),
5743 (hildon_pannable_area_map),
5744 (hildon_pannable_area_class_init),
5745 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5746 to cause the widget give a hint about its panning abilities upon
5749 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5751 * src/hildon-pannable-area.c: Several documentation improvements.
5753 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5755 * src/hildon-program.c
5756 * src/hildon-stackable-window.c: Update documentation.
5758 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5760 * src/hildon-stackable-window.c (get_previous_window_if_last):
5761 Renamed get_last_window()
5762 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5763 (hildon_stackable_window_unset_program):
5765 (get_previous_window_if_last):
5766 Detect if the window hasn't been added to a HildonProgram.
5768 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5770 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5772 * src/hildon-pannable-area.c
5773 (hildon_pannable_area_button_press_cb),
5774 (hildon_pannable_axis_scroll),
5775 (hildon_pannable_area_scroll),
5776 (hildon_pannable_area_timeout),
5777 (hildon_pannable_calculate_vel_factor),
5778 (hildon_pannable_area_get_property),
5779 (hildon_pannable_area_set_property),
5780 (hildon_pannable_area_class_init),
5781 (hildon_pannable_area_init),
5782 (hildon_pannable_area_scroll_to),
5783 (hildon_pannable_area_jump_to),
5784 (hildon_pannable_area_scroll_to_child),
5785 (hildon_pannable_area_jump_to_child):
5786 * src/hildon-pannable-area.h: Added the new API functions:
5787 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5788 hildon_pannable_area_scroll_to_child,
5789 hildon_pannable_area_jump_to_child
5792 * examples/Makefile.am
5793 * examples/hildon-pannable-area-example-2.c
5794 * examples/hildon-pannable-area-example-3.c: Added these two new
5795 examples in order to test and show how the new APIs work.
5797 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5799 * examples/hildon-stackable-window-example.c (new_window):
5800 * src/Makefile.am (noinst_HEADERS):
5801 * src/hildon-program.c (hildon_program_go_to_root_window):
5802 * src/hildon-program.h:
5803 * src/hildon-stackable-window-private.h:
5804 * src/hildon-stackable-window.c:
5805 * src/hildon-stackable-window.h:
5806 Create hildon-stackable-window-private.h
5807 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5809 * examples/hildon-app-menu-example.c (create_menu):
5810 * examples/hildon-hvolumebar-insensitive-example.c (main):
5811 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5812 * examples/hildon-toolbar-seekbar-example.c (main):
5813 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5814 * src/hildon-banner.c (hildon_banner_set_property):
5815 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5816 Fix compilation warnings
5818 * src/hildon-window.c:
5821 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-stackable-window.c
5824 (hildon_stackable_window_unset_program):
5825 Calculate correctly whether to show the previous window if the
5826 last one is removed from the stack.
5827 (hildon_stackable_window_go_to_root_window):
5828 Send delete events starting from the topmost window.
5829 Stop if one of the windows is not destroyed.
5831 (hildon_stackable_window_delete_event)
5832 (hildon_stackable_window_class_init):
5833 Ignore the delete event if the window is not the topmost one.
5835 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5837 * src/hildon-pannable-area.c
5838 (hildon_pannable_area_expose_event): Fixed a problem when
5839 selecting the background color of the scrollbars.
5841 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5843 * examples/hildon-stackable-window-example.c
5844 * src/hildon-stackable-window.c
5845 * src/hildon-stackable-window.h
5846 hildon_stackable_window_go_home() renamed to
5847 hildon_stackable_window_go_to_root_window()
5848 Send delete events to windows rather than closing them with
5849 gtk_widget_destroy()
5851 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5853 * src/hildon-pannable-area.c
5854 (hildon_pannable_area_button_release_cb): Fix overshooting in
5857 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5859 * src/hildon-pannable-area.c
5860 (hildon_pannable_area_init): Initially show the scroll indicators.
5861 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5863 Add initial effect showing the widget is pannable.
5865 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-pannable-area.c
5868 (hildon_pannable_area_class_init)
5869 (hildon_pannable_area_set_property)
5870 (hildon_pannable_area_get_property)
5871 (hildon_pannable_area_button_press_cb):
5872 New 'velocity_fast_factor' property to decide which velocity is
5875 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5877 * src/hildon-pannable-area.c
5878 (hildon_pannable_draw_hscroll)
5879 (hildon_pannable_draw_vscroll):
5880 Use float variables to calculate the size of the scrollbars to
5881 avoid error propagation and resizing during scrolling.
5883 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-pannable-area.c
5886 (hildon_pannable_draw_vscroll)
5887 (hildon_pannable_draw_hscroll):
5888 Define a minimum size for the scroll bars
5890 * src/hildon-stackable-window.c
5891 (hildon_stackable_window_go_home): Fix compilation warning
5892 (get_last_window): Minor optimizations
5893 (hildon_stackable_window_class_init): Fix initialization of
5896 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5898 * src/hildon-stackable-window.c: Fixed typos in doc
5900 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5902 * src/hildon-pannable-area.c
5903 (hildon_pannable_area_scroll):
5904 Calculate here whether we need to scroll instead of using the booleans
5905 that tell us whether to /draw/ the scrolling bars.
5907 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5909 * src/hildon-app-menu.h
5911 * src/hildon-app-menu.c
5912 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5913 multiple filter groups related code and API. Now we support only
5915 * examples/hildon-app-menu-example.c:
5917 Update to reflect API changes.
5919 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5921 * src/hildon-stackable-window.c
5922 (hildon_stackable_window_class_init):
5923 Add hildon_stackable_window_realize.
5924 (hildon_stackable_window_realize):
5925 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5926 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5927 to apply theming and behavior specific to HildonStackableWindow
5930 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5932 * src/hildon-note.c (hildon_note_button_release):
5933 Close information notes also when tapping on them
5935 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5937 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5938 ELASTICITY, refactor and review, fix some issues with drawing
5941 * src/hildon-pannable-area.c:
5942 (hildon_pannable_area_button_press_cb): removed the conditions to
5943 avoid clicks when overshooting. It is not required
5945 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5946 define. Refatored and reviewed the code, now we do not need to
5947 manage velocity in motion_notify.
5949 (hildon_pannable_area_motion_notify_cb): We have moved the code
5950 that controls the area_scroll to the axis_scroll function and get
5951 rid of duplicated code.
5953 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5955 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5957 (hildon_pannable_draw_vscroll),
5958 (hildon_pannable_draw_hscroll): Fixed the problems with the
5959 scrollbar drawing, now we do not use two surfaces, it is easier
5960 and saves resources.
5962 (hildon_pannable_area_get_property): Style modification.
5964 (hildon_pannable_area_class_init): Changed some default values.
5966 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5968 * src/hildon-stackable-window.c: Fix some typos in the
5971 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5973 * src/hildon-dialog.c:
5974 Change indentation style
5977 (hildon_note_button_release):
5978 Use root coordinates to check if the release event happened
5981 * src/hildon-app-menu.c
5982 (hildon_app_menu_button_release):
5983 Remove unnecessary check
5985 * examples/hildon-app-menu-example.c
5987 Add cast to fix warning
5989 * src/hildon-app-menu.c
5990 (hildon_app_menu_class_init):
5991 New inner-border style property.
5992 Set all default spacings to 16
5993 (hildon_app_menu_init):
5994 Use vertical-spacing to set the space between filter buttons and
5995 regular menu buttons.
5996 Set the default container border using the inner-border value.
5998 * examples/hildon-app-menu-example.c
6000 Don't set the menu border explicitly, now we have the inner-border
6001 style property for that.
6003 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6005 * src/hildon-app-menu.c (hildon_app_menu_init):
6006 Make the window modal
6008 * src/hildon-note.c (hildon_note_map)
6009 * src/hildon-app-menu.c (hildon_app_menu_map):
6010 Destroy the grab window if we're unable to grab the pointer
6012 * src/hildon-app-menu-private.h
6013 * src/hildon-app-menu.c
6014 (hildon_app_menu_init, hildon_app_menu_finalize)
6015 (hildon_app_menu_map, hildon_app_menu_unmap)
6016 (hildon_app_menu_button_release)
6017 (grab_transfer_window_get):
6018 Bring back the grab window
6019 (hildon_app_menu_realize):
6020 Decorate the window, set WM hint for Matchbox
6022 * src/hildon-note.c (hildon_note_realize):
6023 * src/hildon-banner.c (hildon_banner_realize):
6024 Add WM hints for Matchbox
6026 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6028 * src/hildon-app-menu-private.h
6029 * src/hildon-app-menu.c
6030 (hildon_app_menu_init, hildon_app_menu_finalize)
6031 (hildon_app_menu_map, hildon_app_menu_unmap)
6032 (hildon_app_menu_button_release):
6033 Remove the grab window, it's not needed anymore
6035 * src/hildon-program.c
6036 Fixed typo in documentation
6038 * src/hildon-app-menu.h
6039 * src/hildon-app-menu.c
6040 * examples/hildon-app-menu-example.c
6041 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6043 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6046 Added new transfer_window and close_if_pressed_outside private
6048 (hildon_note_rebuild):
6049 Don't add a cancel button to the information note. It will be
6050 closed when tapping outside
6051 Remove the comment about the OK button in the documentation
6052 (hildon_note_realize):
6053 Set the notification type hint
6054 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6055 Grab/ungrab pointer and keyboard if the note has to be closed when
6057 (hildon_note_button_release):
6058 Close the note when tapping outside (if applicable)
6060 * src/hildon-app-menu.c
6061 Grab/ungrab pointer and keyboard on map/unmap
6062 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6063 Close the menu on button release, not button press
6065 * src/hildon-banner.c
6066 (hildon_banner_set_property)
6067 (hildon_banner_check_position):
6068 Make the banner use the full width of the screen
6069 (hildon_banner_show_information)
6070 (hildon_banner_show_information_with_markup):
6071 Don't display an icon by default
6073 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6075 Added fading scrollbars and adapted all the overshooting code to
6076 horizontal scrolling. We have also fixed bugs with overshooting
6077 and current fading implementation.
6079 * src/hildon-pannable-area.c
6080 (hildon_pannable_area_scroll_indicator_fade): Time out function
6081 used to change the transparency of the scrollbars.
6083 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6084 control and fixed a problem with fading, we now remove the fade
6085 timeout before adding a new one.
6087 (hildon_pannable_axis_scroll):
6088 (hildon_pannable_area_scroll):
6089 (hildon_pannable_area_timeout): Added this functions so we can use
6090 the scroll code both for vertical and horizontal.
6092 (hildon_pannable_area_motion_notify_cb):
6093 (hildon_pannable_area_button_release_cb): Added the horizontal
6094 scrolling control, fixed a problem with the overshooting timeout.
6096 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6097 painting of the scrolls.
6099 (hildon_pannable_draw_vscroll):
6100 (hildon_pannable_draw_hscroll):
6101 (hildon_pannable_area_expose_event):
6102 Draw both scrollbars and rectangles in the overshooting area.
6104 (hildon_pannable_area_get_property):
6105 (hildon_pannable_area_set_property):
6106 Modified the overshoot property to overshoot_max
6108 (hildon_pannable_area_map):
6109 Replaced the comments symbols.
6111 (hildon_pannable_area_size_allocate):
6112 (hildon_pannable_area_class_init):
6113 (hildon_pannable_area_init): Added horizontal scroll, fading
6114 effect properties, fixed a problem when overshooting in the bottom
6117 * examples/hildon-pannable-area-example.c:
6118 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6119 looks better in the example.
6121 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6123 * src/hildon-window.c
6124 * src/hildon-window.h
6125 (hildon_window_class_init)
6126 (hildon_window_unset_program)
6127 (hildon_window_unset_program_real):
6128 Make unset_program a virtual function
6130 * src/hildon-stackable-window.c
6131 * src/hildon-stackable-window.h
6132 Added hildon_stackable_window_go_home()
6134 * examples/Makefile.am
6135 * examples/hildon-stackable-window-example.c
6136 HildonStackableWindow example
6138 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6140 * hildon-pannable-area.c: Added the overshoot property and removed
6141 the OVERSHOOT define. Fixed an indent style error.
6142 (hildon_pannable_area_motion_notify_cb):
6143 (hildon_pannable_area_get_property):
6144 (hildon_pannable_area_set_property): Add overshoot property.
6146 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6149 (hildon_pannable_area_class_init): Installed the new property.
6151 * hildon-pannable-area-example.c: Added a sawtooth function, this
6152 way it is easier to check the movement in the pannable.
6153 (get_sawtooth_label): Added this function.
6154 (main): Now we get the labels from the new get_sawtooth_label
6157 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6159 * src/hildon-app-menu.h
6160 * src/hildon-app-menu.c
6161 Renamed API variables for consistency
6163 (hildon_app_menu_popup): Use also the default window size to
6164 decide where to place the menu
6166 (hildon_app_menu_init, hildon_app_menu_class_init): New
6167 external-border style property
6169 2008-05-26 Michael Natterer <mitch@imendio.com>
6171 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6172 widget_class->tap_and_hold_setup signal slot doesn't exist any
6173 longer, stop overriding it.
6175 (hildon_time_editor_init): g_signal_connect() to the
6176 tap-and-hold-setup signal instead.
6178 (hildon_time_editor_entry_keypress): add cast to fix warning.
6180 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6182 * doc/hildon-docs.sgml
6184 * examples/Makefile.am
6185 * examples/hildon-app-menu-example.c
6187 * src/hildon-app-menu-private.h
6188 * src/hildon-app-menu.c
6189 * src/hildon-app-menu.h
6191 New HildonAppMenu widget
6193 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6195 Rearranged the inheritance of the pannable area, now it inherits
6196 from GtkBin. This will allow us to control the event_window and
6197 the allocation process of the widget, required for some effects.
6199 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6200 GtkBin structures. * src/hildon-pannable-area.c: Added the
6201 event_window variable.
6202 (hildon_pannable_area_button_press_cb):
6203 (hildon_pannable_area_button_release_cb):
6204 (hildon_pannable_area_motion_notify_cb):
6205 Changed the signature of the method, now we override the event
6206 callback instead of connecting to the signal.
6208 (hildon_pannable_area_realize):
6209 (hildon_pannable_area_unrealize):
6210 (hildon_pannable_area_map):
6211 (hildon_pannable_area_unmap):
6212 (hildon_pannable_area_size_allocate):
6213 Added functions to control the widget construction. We add a
6214 INPUT_ONLY window and we put it over the widgets inside the
6215 container, this event_window handles the events.
6217 (hildon_pannable_area_class_init):
6218 Replaced the signal connections with overrides of the event
6221 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6223 Bouncing effect added when touching the borders, you can change
6224 the elasticity of the border changing the ELASTICITY define.
6226 * src/hildon-pannable-area.c: Added ELASTICITY define.
6227 (hildon_pannable_area_timeout): Added inverse velocity when
6228 touching the border of the child widget, that causes a bounce.
6230 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6232 Improved performance, we now do not go to the X server in order to
6233 get the list of window children. Apparently the effect is the
6234 same, we have to be careful and check if this breaks something in
6237 * src/hildon-pannable-area.c:
6238 (get_ordered_children): Removed this function.
6239 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6240 the children windows function with gdk_window_get_children.
6242 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6244 * src/hildon-pannable-area.c:
6245 (hildon_pannable_area_dispose): Fixed a crash when closing the
6246 window and kinetics is activated.
6248 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6250 * src/hildon-pannable-area.h
6251 * src/hildon-pannable-area.c
6252 Changed indentation style to meet the one used in Hildon
6254 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6256 Reviewed the interaction of the AUTO mode, now we use the time
6257 attribute of the events and calculate the velocity in the motion,
6258 doing a gimp like calculation. The velocity is calculated in each
6259 motion event using the last velocity and the current one, the
6260 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6262 * src/hildon-pannable-area.c: Replaced the time based algorithm
6264 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6265 timeout for the AUTO mode when we are still moving the cursor. We
6266 added also the velocity calculation in this function.
6267 (hildon_pannable_area_button_release_cb): launch the timeout in
6268 case we are in AUTO mode. There are still some constants here that
6269 come from the old implementation that should be reviewed and
6272 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6274 * doc/hildon-docs.sgml
6277 * src/hildon-stackable-window.c
6278 * src/hildon-stackable-window.h
6280 New HildonStackableWindow widget
6282 * examples/hildon-dialog-example.c
6283 * examples/hildon-pannable-area-example.c
6286 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6288 * src/hildon-dialog.c
6289 (hildon_dialog_new_with_buttons): New constructor.
6291 * examples/hildon-dialog-example.c
6292 (main): Update the example to use the new
6293 hildon_dialog_new_with_buttons().
6295 * examples/hildon-pannable-area-example.c
6296 (main): Update example.
6298 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6300 * doc/hildon-docs.sgml
6302 Added HildonPannableArea to the documentation.
6304 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6306 * doc/visual_index.xml
6307 Fix reference to HildonLoginDialog in documentation
6309 * doc/hildon-docs.sgml
6311 * examples/Makefile.am
6312 * examples/hildon-dialog-example.c
6314 * src/hildon-dialog.c
6315 * src/hildon-dialog.h
6317 New HildonDialog widget.
6319 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6321 * src/hildon-pannable-area.c
6322 Merge latest changes (r4318, r4342) from libmokoui trunk
6324 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6326 * examples/Makefile.am
6327 * examples/hildon-pannable-area-example.c
6329 * src/hildon-pannable-area.c
6330 * src/hildon-pannable-area.h
6332 New HildonPannableArea widget.
6334 2008-04-15 18:05:19 <timj@imendio.com>
6336 * src/hildon-banner.c: revert the recent change, that introduced
6337 gtk_window_present() calls. this reopens:
6338 Bug 78481 - [freetest] information banners are hidden under browser menu
6339 But resolves another variant of:
6340 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6342 2008-04-15 13:21:13 <timj@imendio.com>
6344 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6345 recreated its layout, spotted by Kris. this fixes all remaining
6346 artefacts and stability issues with the banner code. in particular:
6347 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6349 2008-04-14 16:52:59 <timj@imendio.com>
6351 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6352 operating on unrealized widgets, fixes:
6353 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6355 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6357 2008-04-09 Kristian Rietveld <kris@imendio.com>
6359 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6360 makes banner disappear.
6361 Fixes: NB#79182: info banner flickering with certain message lengts.
6363 * src/hildon-banner.c (hildon_banner_constructor),
6364 (hildon_banner_init), (hildon_banner_set_text),
6365 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6366 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6367 FALSE, reset size requests of label and banner,
6368 (force_to_wrap_truncated): when the text is too wide, always enforce
6369 the maximum possible width instead of recalculating it from the
6370 layout; enforce the maximum banner height of 3 lines,
6371 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6372 nicer wrapping and no truncated chars if space gets tight.
6374 * src/hildon-banner-private.h: add has_been_wrapped and
6375 has_been_truncated fields.
6377 2008-04-07 Sven Herzberg <sven@imendio.com>
6379 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6380 local values in hildon_date_editor_size_allocate
6382 * src/hildon-date-editor.c: moved the real allocation code into the
6385 2008-04-07 Sven Herzberg <sven@imendio.com>
6387 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6388 local values in hildon_date_editor_size_allocate
6390 * src/hildon-date-editor.c: merged the two if() branches together
6392 2008-04-07 Sven Herzberg <sven@imendio.com>
6394 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6395 local values in hildon_date_editor_size_allocate
6397 * src/hildon-date-editor.c: changed the arguments of the if()
6400 2008-04-07 Sven Herzberg <sven@imendio.com>
6402 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6403 local values in hildon_date_editor_size_allocate
6405 * src/hildon-date-editor.c: split the calculation of the allocation
6406 from the real allocation
6408 2008-03-27 Michael Natterer <mitch@imendio.com>
6410 Fixes: NB#81696: The passcode is not overwritten even after
6413 * src/hildon-code-dialog.c
6414 (hildon_code_dialog_button_clicked)
6415 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6416 because that doesn't overwrite selected text. Instead, emit the
6417 "commit" signal on the entry's im_context so the entry's normal
6418 insert logic is triggered. Set the cursor to the end of the entry
6419 after each insert operation so that we *only* insert in the middle
6420 of the text if something was selected.
6422 2008-03-27 Michael Natterer <mitch@imendio.com>
6424 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6425 selector cannot be opened
6427 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6428 when the popup color selector is created. Please connect to this
6429 signal in order to set the dialog's help ID.
6431 2008-03-25 Sven Herzberg <sven@imendio.com>
6433 Fixes: MB#1212: Hide info banners (infoprints) on click
6435 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6436 extracted the close event simulation into an extra function
6437 (hildon_banner_button_press_event): simulate a close event and destroy
6438 the widget if the event wasn't handled
6439 (hildon_banner_class_init): added the button_press_event handler
6440 (hildon_banner_init): added button-press events to the widget
6442 2008-03-25 Sven Herzberg <sven@imendio.com>
6444 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6445 Patch from: Mohammad Anwari <mdamt@maemo.org>
6447 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6448 instead of the right in RTL mode
6449 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6450 breadcrumb button list in RTL mode
6451 * src/hildon-caption.c: mirror the appearance of the caption widget in
6453 * src/hildon-date-editor.c: mirror appearance of the date editor in
6455 * src/hildon-time-editor.c: mirror appearance of the time editor in
6457 * src/hildon-window.c: fix the position of the popup in RTL mode
6459 2008-03-25 Sven Herzberg <sven@imendio.com>
6461 Amendment to the fix of NB#22072. Fix compilation.
6463 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6465 2008-03-19 Sven Herzberg <sven@imendio.com>
6467 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6470 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6471 timeout id properly when the timeout will disappear this leaves no
6472 artifacts around in the destroy(); there will only be the timeout
6473 created by hildon_banner_ensure_timeout() and adding a new timeout
6474 will also work if the timeout gets removed because the timeout_handler
6477 2008-03-19 Michael Natterer <mitch@imendio.com>
6479 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6481 * src/hildon-volumebar.c
6482 * src/hildon-vvolumebar.c
6483 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6484 the widget becomes focussable at all.
6486 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6487 set the focus to wither the mute button or the volumebar.
6489 Remove own "can-focus" property and instead listen to
6490 notify::can-focus in order to update the widget's state.
6492 Implement GtkWidget::focus() and make sure we can also *leave* the
6493 widget, not only enter it, depending on volumebar orientation and
6494 requested focus direction.
6496 Clean up set_mute() to cooperate nicely with all the above.
6498 2008-03-04 Michael Natterer <mitch@imendio.com>
6500 Fixes: NB#78481: information banners are hidden under browser menu
6502 * src/hildon-banner.c: call gtk_window_present() on the banners so
6503 they are risen if they are already visible.
6505 2008-03-03 Sven Herzberg <sven@imendio.com>
6507 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6509 * examples/hildon-window-menu-example.c: (main): extended the window
6510 menu example to serve as a testcase for automatically added
6511 accelerator groups, too
6512 * src/hildon-window.c: (hildon_window_add_accel_group),
6513 (hildon_window_set_menu): added patch by Tommi Komulainen
6515 2008-03-03 Sven Herzberg <sven@imendio.com>
6517 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6519 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6520 knowledge about the border allocators used within GTK+
6522 2008-02-26 Sven Herzberg <sven@imendio.com>
6524 Fixes: MB#2981: Build with asserts broken
6526 * src/hildon-date-editor.c,
6527 * src/hildon-number-editor.c,
6528 * src/hildon-time-editor.c,
6529 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6530 the proper GType instance check
6532 2008-02-25 Sven Herzberg <sven@imendio.com>
6534 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6536 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6537 * examples/hildon-window-menu-example.c: (main): explicitly show
6539 * src/hildon-window.c:
6540 (hildon_window_set_main_menu): moved most of the code from set_menu()
6541 to this place; skipped the call to gtk_widget_show_all(); also didn't
6542 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6543 (hildon_window_set_menu): removed most of the code, just keep the
6544 questionable gtk_widget_show_all()
6545 * src/hildon-window.h: added the new function and deprecate the old
6548 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6554 * debian/changelog: Updating.
6556 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6559 * pkgconfig/Makefile.am:
6560 * pkgconfig/hildon.pc.in:
6563 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6564 use newly created API_MAJOR_VERSION.
6566 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6572 * debian/changelog: Updating.
6574 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6576 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6578 Add outer_border style property, we use it but don't define it (!).
6582 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6584 * examples/hildon-bread-crumb-trail-example.c (main):
6588 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6590 Fix logic for the bread crumb trail node removal.
6594 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6600 * debian/changelog: Updating.
6602 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6604 Patch by Alejandro to get/set passwords dialogs accesibility.
6606 * hildon-1/src/hildon-get-password-dialog.c:
6607 * hildon-1/src/hildon-set-password-dialog.c:
6608 Set atk_set_name to the passwd entries in order to allow
6609 accessibility by name on this entries.
6611 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6616 * debian/control: Updating gtk dep.
6618 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6620 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6621 USE_MAEMO_GTK is enabled.
6623 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6625 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6626 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6628 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6634 * debian/changelog: Updating.
6636 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6638 * examples/Makefile.am:
6639 * examples/hildon-logical-color-example.c:
6640 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6641 applied + adding a test case. Fixes: NB#71660.
6643 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6645 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6646 to be visible, fixes warning on map for windows without toolbars.
6648 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6650 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6651 2.11.0, add a check for that besides the MAEMO_GTK check.
6653 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6659 * debian/changelog: Updating.
6661 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6663 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6664 visibility. Fixes: NB#70842 and MB#615.
6666 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6668 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6669 set the separator as no-show-all so it doesn't unintentionally appear when
6670 someone does a show_all.
6672 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6674 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6675 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6676 toplevel item. Fixes: NB#62031
6678 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6680 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6681 fix the name of the function in the docs.
6683 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6689 * debian/changelog: Updating.
6691 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6693 * examples/hildon-banner-long-example.c: Adding a test-case for long
6696 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6698 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6700 * src/hildon-color-chooser-dialog.c:
6701 * src/hildon-color-chooser.c:
6702 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6703 memory leaks in font selector and color selector. Fixes: NB#70499 and
6706 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6708 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6710 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6712 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6713 little bit bigger. Fixes: #NB63694.
6715 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6721 * debian/changelog: Updating.
6723 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6726 * doc/hildon-docs.sgml:
6727 * doc/images/bread-crumb-trail.png:
6728 * doc/images/calendar-popup.png:
6729 * doc/images/caption.png:
6730 * doc/images/code-dialog.png:
6731 * doc/images/color-button.png:
6732 * doc/images/color-chooser-dialog.png:
6733 * doc/images/color-chooser.png:
6734 * doc/images/controlbar.png:
6735 * doc/images/date-editor.png:
6736 * doc/images/font-selection-dialog.png:
6737 * doc/images/get-password-dialog.png:
6738 * doc/images/hvolumebar.png:
6739 * doc/images/login-dialog.png:
6740 * doc/images/note.png:
6741 * doc/images/number-editor.png:
6742 * doc/images/range-editor.png:
6743 * doc/images/seekbar.png:
6744 * doc/images/set-password-dialog.png:
6745 * doc/images/sort-dialog.png:
6746 * doc/images/time-editor.png:
6747 * doc/images/time-picker.png:
6748 * doc/images/vvolumebar.png:
6749 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6750 Adding the bread-crumb-trial and helpers to the documentation.
6752 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6754 * examples/hildon-find-toolbar-example.c:
6755 * src/hildon-find-toolbar.c:
6756 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6757 actually continue firing the other handlers if connected. Adding a new
6759 hildon_find_toolbar_get_last_index that gets the index of the most
6760 recently added (last) item. Fixes: NB#52301.
6762 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6764 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6765 behaviour. Fixes: NB#68610.
6767 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6769 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6772 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6774 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6775 when realizing the banner. Should make the infonbanner effect a bit more
6778 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6780 * src/hildon-volumebar.c:
6781 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6782 hildon_volumebar_set_range_insensitive_message and
6783 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6785 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6787 * src/hildon-window.c: Fixing the border freeing on destroy.
6789 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6791 * src/hildon-code-dialog-private.h:
6792 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6793 kw keyboard support in HildonCodeDialog.
6795 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6801 * debian/changelog: Updating.
6803 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6805 * src/hildon-date-editor.c:
6806 * src/hildon-number-editor.c:
6807 * src/hildon-private.c:
6808 * src/hildon-private.h:
6809 * src/hildon-time-editor.c:
6810 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6811 handling in subclassed composite widgets. Fixes: NB#66628.
6813 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6815 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6816 from destroy_ callback as it introduces problems in async dbus signal
6817 handlers. Fixes NB#66673.
6819 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6821 * examples/hildon-hvolumebar-example.c:
6822 * src/hildon-volumebar.c: Improving the focus handling in the
6823 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6824 set_property accessor so that "mute" property can be actually set. I'm
6825 scared that nobody noticed it's totally broken.
6827 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6829 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6832 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6834 * src/hildon-calendar.c:
6835 * src/hildon-number-editor.c:
6836 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6837 matches the spec of 6 chars per second. Fixes: NB#60489.
6839 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6841 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6842 gtk_style_lookup_color sometime returns FALSE even though color was
6843 found and values were filled properly. Weird. Removing the warning for the
6846 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6848 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6849 expand vertically. Adding some extra space to the find toolbar buttons to
6850 make them thumbable. Fixes NB#66060.
6852 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6854 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6855 popup with "Ok" and "Cancel". Fixes NB#59299.
6857 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6859 * src/hildon-calendar.c: Process all window updates before executing next
6860 timeout. Fixes: NB#54146.
6862 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6868 * debian/changelog: Updating.
6870 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6872 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6873 the client event and ignore it, since we use the delete event to close
6876 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6878 * src/hildon-helper.c: Remove the bogus warning about color not being
6879 found. Fixes NB#58352.
6881 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6883 * examples/Makefile.am:
6884 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6885 HildonSeekbar widget inside a toolbar.
6887 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6889 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6890 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6891 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6892 don't want to be closed by non-temporary windows on map.
6894 Also use G_DEFINE_TYPE instead of manually typed code.
6896 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6903 * debian/rules: Updating.
6905 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6907 * examples/Makefile.am:
6908 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6909 bug NB#61128. Strangely it works.
6911 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6913 * src/hildon-date-editor.c: When the date editor entry has been changed
6914 but the numbers of characters < max, turn off the skip validation flag.
6915 Prevents a situation when we enter first a valid year and later re-write
6916 it with an invalid one. Fixes NB#60154.
6918 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6920 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6921 code dialog. Fixes NB#64355.
6923 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6925 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6926 switching the page. Fixes NB#49374.
6928 * examples/Makefile.am:
6929 * examples/hildon-wizard-dialog-example.c: Adding an example for
6930 HildonWizardDialog that shows how to handle manual sensitivity setting on
6933 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6937 * src/hildon-version.h.in:
6938 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6940 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6942 * src/hildon-volumebar.c: Updating the docs.
6944 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6950 * debian/changelog: Updating.
6952 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6954 * src/hildon-find-toolbar.c:
6955 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6956 selected item: hildon_find_toolbar_set_active,
6957 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6958 hildon_find_toolbar_get_active_iter . They correspond to respective
6959 GtkComboBox functions.
6961 * examples/Makefile.am:
6962 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6965 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6967 * examples/Makefile.am:
6968 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6971 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6972 when font size > 32 and we pack a focusable widget inside. Actually using
6973 the default response would work too, but since we don't show default
6974 response state in any way (no theming) it would not be visible to the
6975 user. Fixes NB#63430.
6977 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6979 * src/hildon-date-editor.c: Adding the missing variable setter in the
6980 set_property handler. Fixes NB#54182.
6982 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6984 * src/hildon-window.h: Changing the long key press time from 1500ms to
6985 800ms as requested in NB#63700. I have a bad feeling about this, let's
6986 see... Fixes NB#63700.
6988 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6990 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6991 hildon_time_picker_map, hildon_time_picker_realize,
6992 hildon_time_picker_style_set): Split the contents of map to more
6993 appropriate functions; set window decorations on realize and update
6994 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6996 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7001 * debian/changelog: Updating.
7003 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7005 * src/Makefile.am: fixed installation of the header files
7007 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7013 * debian/changelog: Updating.
7015 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7017 * configure.ac: Removing some remaining of --enable-xan.
7019 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7021 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7022 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7024 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7025 2.10.12-osso6 because the move-focus signal needs to be available in
7028 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7030 * examples/Makefile.am:
7031 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7032 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7033 fine. Prolly NB#61128 is fixed now.
7035 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7037 * src/hildon-volumebar.c:
7038 * src/hildon-volumebar.h: Adding the
7039 hildon_volumebar_set_range_insensitive_message and
7040 hildon_volumebar_set_range_insensitive_messagef functions to set
7041 insensitive message on the slider of the volumebar. Fixes NB#61129.
7043 * examples/Makefile.am:
7044 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7045 test the new insensitive messsage functionality on HildonVolumebar.
7047 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7049 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7052 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7054 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7055 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7056 button on after clearing the trail.
7058 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7060 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7062 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7064 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7065 by splitting the installed headers in generated and non-generated groups. Use
7066 only the non-generated headers to create the hildon-enum-types.h file.
7068 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7070 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7072 * src/hildon-window.c: Hide the window before performing the destroy.
7073 Should make the app closing a little tiny bit more snappy.
7075 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7077 * src/hildon-seekbar.c: add gtkrange.h header
7078 * src/hildon-caption.c: remove unused variable
7080 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7082 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7085 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7091 * debian/changelog: Updating.
7093 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7095 * src/hildon-window.c (hildon_window_window_state_event,
7096 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7097 escape timeout on focus-out-event rather than notify::is-topmost; the
7098 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7100 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7102 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7103 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7105 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7107 * src/hildon-window: actually, you need to use the macro always, there's
7108 no private pointer in the instance structure. We should have cleaned this up
7109 when we had the chance...
7111 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7113 * src/hildon-window.c: do not get the private date from HildonWindow before
7114 it passes the g_return_if_fail check. Once it's passed the test, there's no
7115 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7116 if you are only going to access the data once. Whitespace cleanups.
7118 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7120 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7121 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7123 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7129 * debian/changelog: Updating.
7131 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7133 * src/hildon-window.c: When destroying the window, remove (if exists) the
7134 escape timeout handler. Fixes #NB59276.
7136 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7138 * src/hildon-banner.c: When realizing the widget, set the window
7139 transiency. Setting the transiency in the gobject constructor is not
7140 good, as the widget is not realized at that point. Fixes: #NB56624.
7142 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7144 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7145 Add padding for future expansions.
7147 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7149 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7150 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7151 will fake an activation on the previous to the last item of the trail, so
7152 the effect can be overrided by the developer as usual.
7153 Also change the callback for the back button to do the same thing, so its
7154 effect can be overrided too. Fixes: NB#58982
7156 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7158 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7159 HildonCaption. Fixes NB#52379.
7161 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7163 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7164 the internal state of the trail after the user has had the chance of executing
7165 his handler for the signal. Specifically, it may happen that the activated button
7166 is removed and the user still lets the default handler run. This would segfault
7169 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7171 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7172 scrollbar to the preview dialog. Fixes NB#54147.
7174 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7176 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7177 max/min year properties can be altered, so the client can modify it
7178 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7180 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7182 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7183 hildonlike by default. Fixing a problem with disappearing arrows when
7184 scrolling through months and years. Fixes NB#54127.
7186 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7188 * examples/hildon-date-editor-example.c: Adding error callback to the date
7191 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7197 * configure.ac: Updating.
7199 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7201 * configure.ac: Adding a special '--enable-xan' configure option that
7202 turns off the -Werror compilation setting. Usefull for development.
7204 * src/hildon-calendar.c:
7205 * src/hildon-number-editor.c:
7206 * src/hildon-time-picker.c: Adding the 5* multiplier to
7209 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7211 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7212 instead of g_object_ref + gtk_object_sink.
7214 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7220 * debian/changelog: Updating.
7222 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7224 * src/hildon-color-chooser-dialog.c:
7225 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7226 straight from Tommi labs.
7228 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7230 * examples/hildon-finger-example.c: Correcting the header file path.
7232 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7233 the changed signal. Fixes a small memory leak.
7235 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * src/hildon-banner.c: Importing several usefull fixes from the
7240 ubuntu-mobile branch.
7242 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7244 * examples/Makefile.am:
7245 * examples/hildon-finger-example.c: Adding a finger-checking code
7248 * src/hildon-font-selection-dialog.c: Do not allocate the color
7249 structure using the g_new. Fixes NB#54061.
7251 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7253 * src/hildon-helper.c: Correcting tabs in file.
7255 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7257 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7258 control the visibility of the children.
7260 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7262 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7268 * debian/changelog: Updating.
7270 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7272 * src/hildon-bread-crumb-trail.c:
7273 (hildon_bread_crumb_trail_size_allocate):
7275 Make the back button always a square.
7277 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7279 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7280 from the .c file as it's a private file.
7282 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7284 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7285 uses slightly bigger height.
7287 * src/hildon-font-selection-dialog.c: Adding some checks before
7288 freeing memory in the font selection dialog.
7290 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7292 * src/hildon-font-selection-dialog.c: Adding a small check when
7295 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7296 buttons sensitivity on page switching.
7298 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7300 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7301 internal details of adding a bread crumb to the trail.
7303 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7309 * debian/changelog: Updating.
7311 * src/hildon-bread-crumb-trail.h:
7312 * src/hildon-bread-crumb.h: Changing the API guard to
7313 HILDON_ENABLE_UNSTABLE_API.
7315 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7323 * src/hildon-helper.h: Updating.
7325 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7333 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7337 * src/hildon-helper.h: Small fix to make the package actually compile.
7339 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7341 * src/hildon-bread-crumb-trail.h:
7342 * src/hildon-bread-crumb.h:
7344 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7345 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7347 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7349 * examples/hildon-bread-crumb-trail-example.c:
7351 * src/hildon-bread-crumb-trail.c:
7352 * src/hildon-bread-crumb-trail.h:
7353 * src/hildon-bread-crumb.c:
7354 * src/hildon-bread-crumb.h:
7355 * src/hildon-marshalers.list:
7356 * src/hildon-bread-crumb-widget.c:
7357 * src/hildon-bread-crumb-widget.h:
7359 Slight change in the widget design. The bread crumb trail API is
7360 unchanged, but HildonBreadCrumb is now an interface. A *private*
7361 implementation, hildon-bread-crumb-widget, is provided and used
7362 internally by the trail for the push_text/push_icon functions.
7364 The generic push API is still available, so anyone can implement
7365 and use its own bread crumb widget.
7367 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7369 * debian/rules: Fixing the shlibs.
7371 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7373 * src/hildon-banner.c: Fixing a problem with timed banners having
7374 their parrent destroyed before they are.
7376 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7378 * src/hildon-bread-crumb.c:
7379 * src/hildon-bread-crumb.h:
7381 Make the get_natural_size function a vfunc.
7383 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7385 * src/hildon-bread-crumb.c:
7386 * src/hildon-bread-crumb-trail.c:
7390 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7397 * debian/changelog: Updating for release.
7399 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7401 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7402 don't leak the pango layout.
7404 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7407 * examples/hildon-bread-crumb-trail-example.c:
7411 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7413 * debian/changelog: Removing the bug-fixed entries that were actually
7414 resolved as WONTFIX.
7416 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7419 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7421 * src/hildon-bread-crumb-trail.c:
7422 * src/hildon-bread-crumb-trail.h:
7423 * src/hildon-bread-crumb.c:
7424 * src/hildon-bread-crumb.h:
7428 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7430 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7431 until it's passed the type check.
7433 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7435 * examples/hildon-bread-crumb-trail-example.c
7439 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7441 * examples/Makefile.am
7442 * examples/hildon-bread-crumb-trail-example.c
7444 * src/hildon-bread-crumb-trail.c
7445 * src/hildon-bread-crumb-trail.h
7446 * src/hildon-bread-crumb.c
7447 * src/hildon-bread-crumb.h
7449 New HildonBreadCrumbTrail widget.
7451 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7453 * src/hildon-range-editor.c (hildon_range_editor_init),
7454 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7455 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7456 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7457 hildon_time_editor_class_init, hildon_time_editor_init),
7458 src/hildon-get-password-dialog.c (invalid_input,
7459 hildon_get_password_set_property, hildon_get_password_get_property,
7460 create_contents, hildon_get_password_dialog_set_max_characters),
7461 src/hildon-set-password-dialog.c (create_contents),
7462 src/hildon-date-editor.c (hildon_date_editor_init),
7463 src/hildon-login-dialog.c (hildon_login_dialog_init),
7464 src/hildon-number-editor.c (hildon_number_editor_init),
7465 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7466 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7467 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7468 configure option and adding the respective checks in the code.
7469 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7470 hildon_calendar_drag_data_received): fixed some build warnings.
7472 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7474 * debian/changelog: A 1.0.0 release notes.