1 2009-04-01 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-banner.c (-get_current_app_window):
4 Remove unused function.
6 2009-04-01 Alejandro G. Castro <alex@igalia.com>
8 * src/hildon-pannable-area.c: Modified the documentation of the
9 get adjustments functions to explain the problem of using the
11 (hildon_pannable_area_class_init): Improved the explanation about
14 2009-04-01 Alberto Garcia <agarcia@igalia.com>
16 * src/hildon-app-menu-private.h
17 * src/hildon-app-menu.c
18 (hildon_app_menu_class_init):
19 Bring back the 'external-border' style property
20 (hildon_app_menu_class_init, hildon_app_menu_init)
21 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
22 Set a fixed width-request for the menu, independent of the number
25 Fixes: NB#94957 (Smoothly opened application menu)
27 2009-03-30 Alberto Garcia <agarcia@igalia.com>
29 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
32 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
34 Make sure that the banner is correctly placed the first time it's
36 (hildon_banner_check_position, -check_fullscreen_state):
37 Show the banner in the same place no matter if the window is in
38 fullscreen mode or not.
40 Fixes: NB#107386 (Odd stacking behaviour for information banners)
42 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
44 * src/hildon-touch-selector.c (_default_print_func): reorder
45 concatenation for clarity.
47 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
49 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
50 for multicolumn selectors.
52 Fixes: NB#109099 (Memory leak in Hildon touch selector)
54 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
59 * configure.ac: Bump version.
60 * debian/changelog: Updates.
62 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
64 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
67 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
69 * configure.ac: removed libcangerra-gtk dependency
70 * debian/control: removed libcanberra-gtk dependency
71 * src/Makefile.am: removed libcanberra gtk related flags
72 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
73 context, and manage a global canberra context instead
75 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
77 2009-03-26 Alberto Garcia <agarcia@igalia.com>
79 Patch by Daniel Borgmann (danielb@openismus.com)
81 * src/hildon-edit-toolbar.c:
82 Adjust the left padding.
83 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
84 Paint background of the edit toolbar.
86 Fixes: NB#107897 (Patch to make editmodetoolbar background
87 themeable and adjust margin)
89 2009-03-25 Alberto Garcia <agarcia@igalia.com>
91 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
93 * src/hildon-program.c (hildon_program_update_top_most):
94 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
96 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
97 change when the user tasks in/out of an application)
99 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
101 * configure.ac: added libcangerra-gtk dependency
102 * debian/control: added libcanberra-gtk dependency
103 * src/Makefile.am: added libcanberra gtk related flags
104 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
107 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
109 2009-03-25 Alberto Garcia <agarcia@igalia.com>
111 * src/hildon-program.c (hildon_program_remove_window)
112 (hildon_program_add_window): Add checks for the window
113 parameter. Don't decrease the window counter if the window is not
116 2009-03-24 Alejandro G. Castro <alex@igalia.com>
118 * src/hildon-pannable-area.c,
119 (hildon_pannable_area_realize): Fixed position of the event_window
120 in the realize method.
122 2009-03-24 Alberto Garcia <agarcia@igalia.com>
124 * src/hildon-app-menu-private.h
125 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
126 (hildon_app_menu_map, hildon_app_menu_hide_idle)
127 (hildon_app_menu_key_press, hildon_app_menu_init)
128 (hildon_app_menu_finalize):
129 Make sure that all idle functions are removed when the widget is
132 Fixes: NB#107583 (Hildon app menu crashes in various applications)
134 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
139 * configure.ac: Bump version.
140 * debian/changelog: Updates.
142 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
145 (+hildon_entry_show_placeholder),
146 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
147 that replace hildon_entry_update_contents().
148 (hildon_entry_set_text),
149 (hildon_entry_set_placeholder),
150 (hildon_entry_focus_in_event),
151 (hildon_entry_focus_out_event): Determine when it is needed
152 either to show or hide the placeholder and call the above methods.
154 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
155 when the placeholder text is already set)
157 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
159 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
160 simple GdkPixbufAnim using the new icons for the banner.
161 (hildon_banner_show_animation): Use the above mentioned method to
162 create the animation widget.
164 Fixes: NB#103564 (Make hildon animation banner use individual
165 image files as the animation)
167 2009-03-24 Alejandro G. Castro <alex@igalia.com>
169 * src/hildon-pannable-area.c,
170 (hildon_pannable_leave_notify_event): Check if the child is NULL
171 to avoid sending the leave.
173 2009-03-24 Alejandro G. Castro <alex@igalia.com>
175 * src/hildon-pannable-area.c,
176 (hildon_pannable_area_class_init),
177 (hildon_pannable_leave_notify_event): Added a handler of the
178 leave-notify-signal to consider when no motion notify before
181 Fixes: NB#107494 (Items stay selected when clicking and moving
182 away when inside pannable area)
184 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
189 * configure.ac: Bump version.
190 * debian/changelog: Updates.
192 2009-03-19 Alejandro G. Castro <alex@igalia.com>
194 Patch by Alberto Garcia (agarcia@igalia.com)
196 * src/hildon-date-button.c,
197 (hildon_date_button_class_init),
198 (hildon_date_button_init): Removed the construct property handling
199 and created a default selector in the init method.
200 * src/hildon-picker-button.c,
201 (hildon_picker_button_class_init): Removed the construct flag of the
204 2009-03-18 Alberto Garcia <agarcia@igalia.com>
206 * src/hildon-main.c (hildon_init):
207 Don't allow hildon_init() to be called more than once.
209 Fixes: NB#106607 (hildon_init should issue error message upon
212 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
214 * examples/hildon-pannable-area-touch-list-example.c
215 * examples/hildon-pannagle-area-touch-grid-example.c
216 * examples/hildon-edit-toolbar-example.c
217 * examples/hildon-touch-selector-multi-cells-example.c
218 Removed the call to gtk_rc_parse_string, as it is not required since
221 2009-03-17 Alejandro G. Castro <alex@igalia.com>
223 * src/hildon-pannable-area.c,
224 (hildon_pannable_area_class_init): Modified the default panning
225 threshold of the widget to 6px.
227 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
228 than the threshold value ) within the button is not sending the
231 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
233 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
234 for the treeview in the new column. This way, the touch list will never
237 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
238 be selected manually for the HW keys to work)
240 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
242 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
243 comparison instead of using strcmp(). Fixes a compiler warning as well.
245 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
247 * doc/hildon-docs.sgml: Do not set the library version in the
248 document title, use the releaseinfo tag for that purpose instead.
250 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
252 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
253 Do not jump to the first item if the text in the entry is removed.
255 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
260 * configure.ac: Bump version.
261 * debian/changelog: Updates.
263 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
265 * src/hildon-entry.c (hildon_entry_refresh_contents):
266 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
267 Use "ReversedSecondaryTextColor" for the placeholder text.
269 2009-03-12 Alberto Garcia <agarcia@igalia.com>
271 * src/hildon-text-view.c: Fix compilation warning.
273 2009-03-12 Alberto Garcia <agarcia@igalia.com>
275 * src/hildon-button.c (hildon_button_class_init): Don't make
276 "title" and "value" construction properties, to prevent them from
277 overwriting labels set from derived classes.
279 * src/hildon-picker-button.c
280 (hildon_picker_button_set_selector): Allow setting a NULL selector.
281 (hildon_picker_button_class_init): Make touch-selector a
282 construction property.
284 * src/hildon-date-button.c (hildon_date_button_class_init)
285 (+hildon_date_button_constructed): Add a default date selector if
288 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
290 * src/hildon-touch-selector.c: Small documentation fixes.
292 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
294 Based on a patch by Daniel Borgmann (danielb@openismus.com)
296 * src/hildon-entry.c (hildon_entry_refresh_contents),
297 (hildon_entry_get_text), (hildon_entry_init): Do not use the
298 widget name, set the logical color directly instead and a boolean
299 showing_placeholder instead.
300 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
301 use the widget name here either.
303 Fixes: NB#105678 (HildonTextView should use logical colours
304 instead of setting widget name)
306 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
308 Patch by Daniel Elster (danielk@openismus.com)
310 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
311 Add user_data parameter.
312 (hildon_touch_selector_set_print_func_full): New function akin
313 hildon_touch_selector_set_print_func() but with support for user
314 data and a destroy callback.
315 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
316 to clean up the print function user data.
317 (hildon_touch_selector_class_init): Install dispose function.
318 (HildonTouchSelectorPrivate::print_user_data),
319 (HildonTouchSelectorPrivate::print_destroy_func): New private
321 (hildon_touch_selector_init): Initialize new private members.
322 (hildon_touch_selector_get_current_text): Pass along user data
323 to the print function.
324 (_default_print_func): Add dummy user_data to parameter list.
325 * hildon-date-selector.c (_custom_print_func): ditto,
326 * hildon-time-selector.c (_custom_print_func): ditto,
327 * hildon-touch-selector-entry.c
328 (hildon_touch_selector_entry_print_func): ditto.
330 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
332 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
334 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
336 2009-03-12 Alejandro G. Castro <alex@igalia.com>
338 * src/hildon-pannable-area.c,
339 (hildon_pannable_area_init),
340 (hildon_pannable_area_button_press_cb),
341 (hildon_pannable_area_motion_notify_cb): We have added code to
342 handle the leave and enter events when using the motion events.
344 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
346 2009-03-11 Alberto Garcia <agarcia@igalia.com>
348 * src/hildon-date-button.c (hildon_date_button_get_date)
349 (hildon_date_button_set_date): Make sure that the button has a
352 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
354 2009-03-11 Alejandro G. Castro <alex@igalia.com>
356 * src/hildon-pannable-area.c,
357 (hildon_pannable_area_class_init),
358 (hildon_pannable_area_calculate_velocity): Modify the use of the
359 force and adapt the value.
361 2009-03-10 Alberto Garcia <agarcia@igalia.com>
363 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
364 (hildon_app_menu_class_init): Hide the menu if it receives a
365 delete-event, but don't destroy it
367 Fixes: NB#104485 (Not able to address the call when application
368 menu is opened at background)
370 2009-03-10 Alberto Garcia <agarcia@igalia.com>
372 * src/hildon-app-menu.c
373 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
374 Remove the "external-border" style property, let the menu take its
375 natural size (or the one set by the window manager)
376 (hildon_app_menu_repack_items):
377 Don't reshow the menu, avoid flickers.
379 Partially fixes NB#94957 (Smoothly opened application menu)
381 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
386 * configure.ac: Bump version.
387 * debian/changelog: Updates.
389 2009-03-10 Alejandro G. Castro <alex@igalia.com>
391 * src/hildon-pannable-area.c,
392 (hildon_pannable_area_motion_notify_cb): We control that the
393 direction error margin is used just in case the movement is
394 allowed in the other direction.
396 Fixes: NB#105012 (buttons inside a pannable area not getting
397 release event when dragging/releasing)
399 2009-03-10 Alejandro G. Castro <alex@igalia.com>
401 * src/hildon-pannable-area.c,
402 (hildon_pannable_area_class_init),
403 (hildon_pannable_area_get_property),
404 (hildon_pannable_area_set_property),
405 (hildon_pannable_area_initial_effect),
406 (hildon_pannable_axis_scroll),
407 (hildon_pannable_area_button_release_cb): Reviewed the
408 overshooting effect, now it has its own max
409 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
412 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
417 * configure.ac: Bump version.
418 * debian/changelog: Updates.
420 2009-03-09 Alejandro G. Castro <alex@igalia.com>
422 * src/hildon-pannable-area.c,
423 (hildon_pannable_area_class_init): Changed the max speed, now
424 users can launch the widget very fast. Reduced the default force,
425 that way it is easier to control the launch speed.
427 2009-03-09 Alejandro G. Castro <alex@igalia.com>
429 * src/hildon-pannable-area.c,
430 (hildon_pannable_area_button_release_cb): Removed this check
431 because it causes problems when the device is overloaded.
433 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
435 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
436 add a current_text field to store the text entered in the
437 touch selector entry.
438 (_clean_current_selection): clean up the current text as well.
439 (_save_current_selection), (_restore_current_selection):
440 Save/restore the text in the entry if the selector is a
441 HildonTouchSelectorEntry.
443 Fixes: NB#102541 (value entered in the touch selector entry is not
444 shown when opened for second time)
446 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
448 * doc/hildon-sections.txt:
449 * src/hildon-touch-selector-entry.c
450 (+hildon_touch_selector_entry_get_entry):
451 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
453 Fixes: NB#104815 (I need accessor to the entry inside
454 HildonTouchSelectorEntry)
456 2009-03-06 Alberto Garcia <agarcia@igalia.com>
458 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
459 (hildon_app_menu_class_init):
460 New "filter-vertical-spacing" style property.
462 2009-03-06 Alberto Garcia <agarcia@igalia.com>
464 * src/hildon-find-toolbar.c
465 (hildon_find_toolbar_emit_close)
466 (hildon_find_toolbar_emit_invalid_input)
467 (hildon_find_toolbar_entry_activate):
468 Use g_signal_emit() instead of g_signal_emit_by_name()
470 2009-03-06 Alberto Garcia <agarcia@igalia.com>
472 Patch by Mox Soini (ext-mox.soini@nokia.com)
474 * tests/TEST-CASES.txt
475 * tests/check-hildon-banner.c
476 * tests/check-hildon-note.c
477 * src/hildon-banner.c
478 * src/hildon-code-dialog.c
479 * src/hildon-date-editor.c (real_set_calendar_icon_state)
480 * src/hildon-time-editor.c
481 * examples/hildon-lookup-example.c (main):
482 Replace obsolete icon names with new ones.
484 * src/hildon-find-toolbar-private.h:
485 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
486 (-hildon_find_toolbar_emit_search):
487 Remove find button and change icon of close button.
489 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
491 2009-03-05 Alberto Garcia <agarcia@igalia.com>
493 * src/hildon-time-button.c (hildon_time_button_new_step):
494 Use the "touch-selector" property to set the selector directly
495 when creating the object.
497 2009-03-05 Alejandro G. Castro <alex@igalia.com>
499 Added a new example application that allows tuning the pannable
500 area and replaced defines with properties in order to simplify the
501 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
502 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
503 PROP_DIRECTION_ERROR_MARGIN.
505 * examples/hildon-pannable-area-tuning-example.c: New example
507 * src/hildon-pannable-area.c,
508 (hildon_pannable_area_class_init),
509 (hildon_pannable_area_init),
510 (hildon_pannable_area_get_property),
511 (hildon_pannable_area_set_property),
512 (hildon_pannable_area_launch_fade_timeout),
513 (hildon_pannable_area_adjust_value_changed),
514 (hildon_pannable_axis_scroll),
515 (hildon_pannable_area_motion_notify_cb),
516 (hildon_pannable_area_scroll_cb),
517 (hildon_pannable_area_button_release_cb): We have converted some
518 of the defines that control the widget to properties to simplify
521 2009-03-05 Alberto Garcia <agarcia@igalia.com>
523 * src/hildon-app-menu.c (hildon_app_menu_map)
524 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
525 so it's closed if a new window appears.
527 Fixes: NB#104485 (Not able to address the call when application
528 menu is opened at background)
530 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
532 * src/hildon-color-button.c (hildon_color_button_get_property):Add
533 missing 'break' statement in in 'case' construct to avoid
536 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
538 * src/hildon-touch-selector-entry.c
539 (hildon_touch_selector_entry_get_property),
540 (hildon_touch_selector_entry_set_property): Add missing 'break'
541 statements in in 'case' constructs to avoid incorrect warnings.
543 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
545 * src/hildon-time-editor.c
546 (hildon_time_editor_get_time_separators): Do not crash if
547 the first label is NULL.
549 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
551 * src/hildon-date-selector.c (_month_days): Check for month to be
552 strictly less than 12, since otherwise we may overrun the array.
554 2009-03-04 Alberto Garcia <agarcia@igalia.com>
556 * src/hildon-date-button.c (+hildon_date_button_new_full)
557 (hildon_date_button_new, hildon_date_button_new_with_year_range)
558 (hildon_date_button_init): Set the date selector using a
559 construction property, to make it happen after HildonButton's
560 "value" property is set.
562 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
563 current date by default)
565 2009-03-04 Alberto Garcia <agarcia@igalia.com>
567 * doc/hildon-sections.txt
568 * src/hildon-program.c
569 * src/hildon-stackable-window.c
570 * src/hildon-window.c:
571 Documentation updates
573 2009-03-04 Alberto Garcia <agarcia@igalia.com>
575 * src/hildon-window-stack.c (hildon_window_stack_get_default)
576 (hildon_window_stack_new, +hildon_window_stack_set_property)
577 (+hildon_window_stack_get_property)
578 (hildon_window_stack_class_init)
579 (+hildon_window_stack_set_window_group)
580 (+hildon_window_stack_get_window_group):
581 Make the window group a construction property.
583 2009-03-04 Alberto Garcia <agarcia@igalia.com>
585 * doc/hildon-sections.txt
586 * src/hildon-stackable-window-private.h
587 * src/hildon-stackable-window.h
588 * src/hildon-stackable-window.c
589 (-hildon_stackable_window_set_app_menu)
590 (-hildon_stackable_window_get_app_menu)
591 (-hildon_stackable_window_toggle_menu)
592 (-hildon_stackable_window_finalize)
593 (hildon_stackable_window_class_init)
594 (hildon_stackable_window_init)
595 * src/hildon-window-private.h
596 * src/hildon-window.h
597 * src/hildon-window.c (hildon_window_init)
598 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
599 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
600 (hildon_window_get_main_menu, hildon_window_set_main_menu)
601 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
602 Moved all HildonAppMenu code to HildonWindow. The menu does not
603 require a HildonStackableWindow anymore.
605 * src/hildon-app-menu.c
606 * src/hildon-program.c
607 * examples/hildon-app-menu-example.c (main):
608 Update examples and documentation to reflect HildonAppMenu
611 2009-03-04 Alberto Garcia <agarcia@igalia.com>
613 * src/hildon-remote-texture.c
614 * src/hildon-animation-actor.c:
615 Don't include unused private headers.
617 2009-03-04 Alberto Garcia <agarcia@igalia.com>
619 * src/hildon-program-private.h
620 * src/hildon-program.c
621 (hildon_program_set_common_menu)
622 (hildon_program_get_common_menu)
623 (hildon_program_set_common_app_menu)
624 (hildon_program_get_common_app_menu):
625 Change common menu pointers from GtkWidget* to GtkMenu* and
626 HildonAppMenu* to avoid unnecessary casts.
628 2009-03-03 Alberto Garcia <agarcia@igalia.com>
630 * src/hildon-window.c (hildon_window_set_main_menu):
631 Removed incorrect 'Since:' tag
633 2009-03-03 Alejandro G. Castro <alex@igalia.com>
635 * src/hildon-pannable-area.c,
636 (hildon_pannable_area_calculate_velocity): We use now the
637 RATIO_TOLERANCE here to check the distance, fixed typo in the
639 (hildon_pannable_area_motion_notify_cb): We have to set the type
640 and time even if we are not sending the motion.
642 2009-03-02 Alberto Garcia <agarcia@igalia.com>
644 * doc/hildon-sections.txt
645 * src/hildon-app-menu.h
646 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
647 (+hildon_app_menu_get_filters): New methods to get the contents of
650 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
653 2009-03-02 Alberto Garcia <agarcia@igalia.com>
655 * src/hildon-app-menu.c (hildon_app_menu_popup):
658 2009-03-02 Alberto Garcia <agarcia@igalia.com>
660 * src/hildon-window.h
661 * src/hildon-window.c (+hildon_window_get_main_menu)
662 (hildon_window_get_menu): Created hildon_window_get_main_menu()
663 and deprecated hildon_window_get_menu().
665 * src/hildon-stackable-window.h
666 * src/hildon-stackable-window.c
667 (+hildon_stackable_window_set_app_menu)
668 (+hildon_stackable_window_get_app_menu)
669 (hildon_stackable_window_set_main_menu): Created
670 hildon_stackable_window_{get,set}_app_menu() and deprecated
671 hildon_stackable_window_set_main_menu().
673 * doc/hildon-sections.txt
674 * examples/hildon-app-menu-example.c (main)
675 * src/hildon-app-menu.c
676 * src/hildon-program.c:
677 Updated examples and documentation.
679 Fixes: NB#103758 (No way to obtain a menu from a
680 HildonStackableWindow)
682 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
687 * configure.ac: Bump version.
688 * debian/changelog: Updates.
690 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
692 * examples/hildon-remote-texture-example.c: Include
693 hildon-remote-texture.h explicitely.
694 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
695 applications not defining _XOPEN_SOURCE which don't require this header.
697 2009-02-27 Alberto Garcia <agarcia@igalia.com>
699 * doc/hildon-sections.txt
700 * src/hildon-app-menu.h
701 * src/hildon-app-menu.c (+hildon_app_menu_popup):
702 New function to pop up a HildonAppMenu
704 * src/hildon-stackable-window.c
705 (hildon_stackable_window_toggle_menu):
706 Use hildon_app_menu_popup() to show the menu.
708 2009-02-27 Alberto Garcia <agarcia@igalia.com>
710 * src/hildon-app-menu.c (hildon_app_menu_show)
711 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
712 menu if there's another window between it and its parent window.
714 Fixes: NB#100468 (Application menu window is launched even when a
715 new secondary-window/dialog is pending to be shown/realized)
717 2009-02-27 Alberto Garcia <agarcia@igalia.com>
719 * src/hildon-window-stack.c (hildon_window_stack_push)
720 (hildon_window_stack_pop_and_push):
721 Don't forget to push/pop the first window.
722 Reverse the window list before calling _push_list()
724 2009-02-27 Alberto Garcia <agarcia@igalia.com>
726 * src/hildon-picker-button.h
727 * src/hildon-picker-button.c (hildon_picker_button_class_init):
728 Remove "value_changed" slot to avoid ABI breakage
730 2009-02-26 Alejandro G. Castro <alex@igalia.com>
732 * src/hildon-pannable-area.c,
733 (hildon_pannable_area_realize),
734 (hildon_pannable_area_unrealize),
735 (hildon_pannable_draw_vscroll),
736 (hildon_pannable_draw_hscroll): Changed the method to handle the
737 GC used to draw the transparent scrollbar, this way we avoid
738 creating the GC all the time when drawing the scrollbars.
740 2009-02-26 Alejandro G. Castro <alex@igalia.com>
742 * src/hildon-pannable-area.c,
743 (hildon_pannable_area_init),
744 (hildon_pannable_area_remove): Removed some unnecessary casts.
745 (hildon_pannable_area_dispose): Disconnected some signals before
746 releasing the adjustments.
748 2009-02-26 Alberto Garcia <agarcia@igalia.com>
750 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
751 Make sure that all widgets contained in the toolbar are shown.
753 2009-02-25 Alberto Garcia <agarcia@igalia.com>
755 * doc/hildon-sections.txt
756 * src/hildon-picker-button.h
757 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
758 (_selection_changed, hildon_picker_button_on_dialog_response)
759 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
760 New hildon_picker_button_value_changed() method.
763 * src/hildon-picker-button-private.h
764 * src/hildon-picker-button.c (hildon_picker_button_init)
765 (+hildon_picker_button_disable_value_changed): Add protected
766 function for disabling the "value-changed" signal.
768 * src/hildon-date-button.c (hildon_date_button_set_date):
769 Don't emit "value-changed" for each one of the three columns.
771 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
772 before actual change of values)
774 2009-02-24 Alejandro G. Castro <alex@igalia.com>
776 * src/hildon-pannable-area.c,
777 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
778 for the treeview overshooting.
780 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-banner.c (+hildon_banner_bind_style):
783 Renamed from hildon_banner_bind_label_style(), now naming the
784 banner itself as well.
785 (hildon_banner_show_information),
786 (hildon_banner_show_information_with_markup),
787 (hildon_banner_show_animation), (hildon_banner_show_progress):
788 Name the widgets and labels, based on their type.
790 See NB#98597 (Hildon Note and Hildon Banner should use themeable
793 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
795 * src/hildon-note.c (hildon_note_set_property): call
796 hildon_note_rename() on HildonNote:note-type set.
797 (hildon_note_rename): Name the note and its label, based on the
798 HildonNote:note-type property.
800 See NB#98597 (Hildon Note and Hildon Banner should use themeable
803 2009-02-24 Alejandro G. Castro <alex@igalia.com>
805 * src/hildon-pannable-area.c,
806 (hildon_pannable_area_class_init),
807 (hildon_pannable_area_motion_notify_cb): Reviewed the default
808 panning parameters, increased SPS and deceleration factor. Added
809 also a margin to control fake directions.
811 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
813 Patch by Sven Herzberg (sven@imendio.com)
815 * configure.ac: Add missing AM_PROG_CC_C_0
816 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
818 See NB#101420 (Update unit tests and fix make check)
820 2009-02-23 Alejandro G. Castro <alex@igalia.com>
822 This patch was applied before but reverted because it caused
823 problems, we have changed the main condition and tested the
824 regressions we detected before and they work ok. We have done a
825 complete review of the topmost algorithm in order to get a more
828 * src/hildon-pannable-area.c,
829 (hildon_pannable_area_get_topmost): Added a new parameter to
830 filter the the windows that do not include those events.
831 (hildon_pannable_area_button_press_cb),
832 (hildon_pannable_area_button_release_cb),
833 (hildon_pannable_get_child_widget_at): Reviewed the call the the
834 topmost function, we have added the new parameter.
836 Fixes: NB#97458 (Pannable area prevents propagation of button
839 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
842 if all columns in the selector have an item selected.
843 (_on_dialog_response): Stop "response" signal emission if there is
844 any selector column without selected items.
846 Fixes: NB#101889 (Picker dialog should not close when nothing is
847 selected in multiple selection list)
849 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
851 * src/hildon-font-selection-dialog.c
852 (hildon_font_selection_dialog_class_init),
853 (hildon_font_selection_dialog_init): Remove the preview
854 button and dialog, since previewing with default theming is likely
855 to be overcomplicated. The :preview property has now no effect.
856 Update documentation blurbs to inform about this.
858 Fixes: NB#92297 (Preview content is not clearly visible for
861 2009-02-20 Alejandro G. Castro <alex@igalia.com>
863 Reviewed the geometry that handles the children size and
864 scrollbar, now it tries a size and reviews the results depending
865 on the scrollbars visibility.
867 * src/hildon-pannable-area.c,
868 (hildon_pannable_area_realize): Fixed a typo.
869 (hildon_pannable_area_child_allocate_calculate): Added this
870 function to calculate the child allocation.
871 (hildon_pannable_area_size_allocate): Reviewed the allocation
873 (hildon_pannable_area_check_scrollbars),
874 (hildon_pannable_area_refresh): Refactored refresh function, this
875 way we can call the code handling the scrollbars without causing a
876 size_request, it is interesting in the allocate.
877 (hildon_pannable_area_init): Replace the callbacks of the
878 value_changed and changed signals to propertly deal with the
880 (hildon_pannable_area_grab_notify),
881 (hildon_pannable_area_initial_effect),
882 (hildon_pannable_area_launch_fade_timeout),
883 (hildon_pannable_area_adjust_changed),
884 (hildon_pannable_area_adjust_value_changed),
885 (hildon_pannable_area_redraw),
886 (hildon_pannable_area_button_press_cb),
887 (hildon_pannable_area_button_release_cb),
888 (hildon_pannable_area_scroll_cb),
889 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
890 code and use the new functions adjust_changed and
891 adjust_value_changed.
893 Fixes: NB#101603 (Focus is not even for the text entry boxes in
894 Contact editor dialog)
896 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
901 * configure.ac: Bump version.
902 * debian/changelog: Updates.
904 2009-02-20 Alejandro G. Castro <alex@igalia.com>
906 * src/hildon-pannable-area.c,
907 (hildon_pannable_area_get_topmost),
908 (hildon_pannable_area_button_press_cb),
909 (hildon_pannable_area_button_release_cb),
910 (hildon_pannable_get_child_widget_at): Reverted the patch for the
911 topmost function adding the event mask. We have to try a
912 differente approach because it is still causing problems (NB#9745,
915 2009-02-19 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-banner.c:
918 Update the maximum width of timed banners.
919 (force_to_wrap_truncated): Enforce the maximum text width if the
922 Fixes: NB#102413 (The text margins (wrapping) in information
923 banner should be HILDON_MARGIN_TRIPLE)
925 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
927 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
929 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
930 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
931 bound when calculating the scroll indicator position.
933 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
934 treat ->lower correctly)
936 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
938 * src/hildon-caption.c (hildon_caption_class_init): Remove the
939 expose event handling, since it is not necessary to draw the focus
942 Fixes: NB#102467 (Do not show highlight on the text in
945 2009-02-18 Alberto Garcia <agarcia@igalia.com>
947 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
948 full height of the toolbar for the button and the label.
950 2009-02-18 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
953 padding before the label and after the button.
955 2009-02-18 Alberto Garcia <agarcia@igalia.com>
957 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
959 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
960 Add a GtkVSeparator between the button and the back arrow.
961 Let the button have automatic size.
962 Set a name to the widget for theming handling.
964 Fixes: NB#101793 (Make edit toolbar the same height as window
965 title bar (use title area theming))
967 2009-02-18 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-helper.c (attach_new_color_element): Fix memory
972 Fixes: NB#102262 (memory leak in hildon_button_set_style())
974 2009-02-18 Alberto Garcia <agarcia@igalia.com>
976 * examples/hildon-button-example.c (common_buttons_window): Don't
979 2009-02-18 Alberto Garcia <agarcia@igalia.com>
981 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
982 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
984 2009-02-18 Alberto Garcia <agarcia@igalia.com>
986 * src/hildon-gtk.c: Check that the window is realized.
988 Fixes: NB#102225 (Crash setting the progress indicator to a non
991 2009-02-17 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
994 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
995 instead of modifying the one in the widget style.
997 Fixes: NB#101043 (Second row of all the command button are
998 displayed in transparent mode.)
1000 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1002 * src/hildon-date-button.c
1003 * src/hildon-time-button.c: Add gettext macros
1005 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1007 * src/hildon-date-button.c (hildon_date_button_new):
1008 * src/hildon-time-button.c (hildon_time_button_new_step):
1009 Use new logical strings to set the button default title.
1011 Fixes: NB#99915 (Date and Time options are not localised in Date
1014 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1016 * src/hildon-pannable-area.c
1017 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1018 the PANNING_THRESHOLD.
1020 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1022 * src/hildon-pannable-area.c,
1023 (hildon_pannable_area_class_init): Increased the maximum speed.
1024 (hildon_pannable_area_get_property),
1025 (hildon_pannable_area_set_property),
1026 (hildon_pannable_area_timeout): Added a new low friction mode, it
1027 allows the user avoid friction when launching the widget fast
1028 enough. It is interesting to traverse long lists.
1030 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1033 (+hildon_stackable_window_delete_event): Ignore delete events if
1034 the window is not the topmost one.
1036 Fixes: NB#101698 (Back button long press and delete-event handling)
1038 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1040 * src/hildon-pannable-area.c,
1041 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1042 gtk-dnd-drag-threshold, it was too big. We have defined our own
1043 dnd define and set a smaller value: PANNIG_THRESHOLD.
1045 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1047 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1048 user-defined icons, use always the default one.
1050 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1052 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1054 This patch was applied before but reverted because it caused
1055 problems, we have changed the main condition and tested the
1056 regressions we detected before and they work ok.
1058 * src/hildon-pannable-area.c,
1059 (hildon_pannable_area_get_topmost): Added a new parameter to
1060 filter the the windows that do not include those events. Added
1061 also a condition when finding the window to filter windows that do
1062 not ask for those events.
1063 (hildon_pannable_area_button_press_cb),
1064 (hildon_pannable_area_button_release_cb),
1065 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1066 topmost function, we have added the new parameter.
1068 Fixes: NB#97458 (Pannable area prevents propagation of button
1071 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1073 * tests/check-hildon-color-button.c (START_TEST): do not leak
1076 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1078 * src/hildon-font-selection-dialog.c
1079 (hildon_font_selection_dialog_get_preview_text): Return NULL
1080 instead of FALSE on the g_return_val_if_fail().
1082 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1084 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1085 * src/hildon-date-selector.c
1086 (hildon_date_selector_select_current_date):
1087 Do not compare unsigned integers to be greater than or equal 0,
1088 because it's always TRUE.
1090 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1092 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1093 (hildon_date_selector_constructor): Do not select the current
1094 date until we are handle the "changed" signal, to avoid having bogus
1095 elements in the days model.
1097 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1099 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1100 for num_days, since _month_days() can return a negative value.
1102 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1104 * src/hildon-caption.c (hildon_caption_size_allocate):
1105 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1106 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1108 Initialize allocation variables to 0, to avoid eventually using
1109 unitialized variables.
1111 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1113 * src/hildon-bread-crumb-trail.c
1114 (hildon_bread_crumb_trail_size_allocate):
1115 * src/hildon-calendar.c (hildon_calendar_set_background):
1116 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1117 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1118 * src/hildon-seekbar.c (hildon_seekbar_init):
1119 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1120 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1121 * src/hildon-touch-selector-entry.c
1122 (hildon_touch_selector_get_text_from_model):
1123 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1124 * src/hildon-window.c (hildon_window_finalize):
1126 Remove many unused variables.
1128 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1130 * src/hildon-seekbar.c: (hildon_seekbar_init),
1131 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1133 Remove unnecessary g_assert() calls.
1135 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1137 * src/hildon-caption.c: (hildon_caption_expose),
1138 (hildon_caption_set_property), (hildon_caption_init),
1139 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1140 (hildon_caption_size_request), (hildon_caption_size_allocate),
1141 (hildon_caption_forall), (hildon_caption_set_separator),
1142 (hildon_caption_activate), (hildon_caption_set_child_expand),
1143 (hildon_caption_set_label_text),
1144 (hildon_caption_get_label_alignment):
1146 Remove unnecessary g_assert() calls.
1148 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1150 * src/hildon-banner.c
1151 (hildon_banner_map, hildon_banner_init): Make banner temporary
1152 before mapping it to avoid closing other temporary windows, but
1153 make it non-temporary afterwards to avoid being closed by other
1154 non-temporary windows.
1155 (-hildon_banner_client_event, hildon_banner_init):
1156 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1158 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1161 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1163 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1166 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1168 * src/hildon-remote-texture.c
1169 * src/hildon-remote-texture.h
1170 * src/hildon-remote-texture-private.h
1171 * examples/hildon-remote-texture-example.c:
1172 Updates/fixes to remote-texture and its example.
1174 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1176 Patch by Mox Soini (ext-mox.soini@nokia.com)
1178 * src/hildon-code-dialog.c: Update logical id.
1179 * src/hildon-set-password-dialog.c: Update logical id.
1181 Fixes: NB#100646 (Logical strings is shown for ok in set
1182 password,Password needed dialogs)
1184 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1187 * src/hildon-remote-texture.c
1188 * src/hildon-remote-texture.h
1189 * src/hildon-remote-texture-private.h
1191 Added remote texture widget (for Clutter shared memory textures)
1193 * examples/hildon-remote-texture-example.c
1194 * examples/Makefile.am
1195 Added example file for remote texture usage
1197 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1199 * configure.ac: post release version bump.
1200 * debian/changelog: version bump.
1202 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1207 * configure.ac: Bump version.
1208 * debian/changelog: Updates.
1210 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1212 * src/hildon-date-selector.c (hildon_date_selector_init)
1213 (hildon_date_selector_constructor): Don't connect to the "changed"
1214 signal until the selector is completely constructed.
1216 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1218 * src/hildon-touch-selector.c: (_create_new_column),
1219 (hildon_touch_selector_append_column),
1220 (hildon_touch_selector_set_column_selection_mode),
1221 (hildon_touch_selector_set_active),
1222 (hildon_touch_selector_select_iter):
1223 Emit the HildonTouchSelector::changed signal every time selection
1224 is changed in any of the methods above. This behavior was already
1225 documented but not fully functional.
1227 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1228 selection is programmatically changed)
1230 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1232 * doc/hildon-sections.txt: Remove obsolete icon
1233 sizes from here as well.
1235 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1237 * examples/hildon-stackable-window-example.c (add_window): Remove
1240 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1242 * src/hildon-app-menu.c
1243 (hildon_app_menu_show): Check whether the parent window of a menu
1244 is topmost before popping it up.
1246 Fixes: NB#100468 (Application menu window is launched even when a
1247 new secondary-window/dialog is pending to be shown/realized.)
1249 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1251 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1254 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1256 Patch by Mox Soini (ext-mox.soini@nokia.com)
1258 * src/hildon-banner.c: (hildon_banner_show_animation):
1259 use stylus size instead of obsolete note size.
1260 * src/hildon-defines.h: Update icon sizes.
1262 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1264 * src/hildon-touch-selector-entry.c:
1265 (hildon_touch_selector_entry_init): Disable unsupported
1267 (hildon_touch_selector_entry_get_text_column): Emit a warning
1268 if an unsupported input modes is used and explicitile state
1269 these modes in the documentation.
1271 Fixes: NB#99802 (Hildon touch selector entry not working properly
1272 for some of the input modes)
1274 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1276 * src/hildon-pannable-area.c,
1277 (hildon_pannable_area_init): Added the changed signal handlers of
1280 Fixes: NB#100320 (HildonPannableArea does not listen to
1281 GtkAdjustment "change" signals)
1283 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1285 * doc/hildon-sections.txt
1286 * src/hildon-window-private.h
1287 * src/hildon-window.h
1288 * src/hildon-window.c (hildon_window_init)
1289 (hildon_window_realize, hildon_window_unrealize)
1290 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1291 (hildon_window_size_request, hildon_window_size_allocate)
1292 (hildon_window_forall, hildon_window_show_all)
1293 (hildon_window_destroy, +paint_edit_toolbar)
1294 (+hildon_window_set_edit_toolbar):
1295 New hildon_window_set_edit_toolbar() method, to add a
1296 HildonEditToolbar to a window without having to pack it manually.
1298 Reorganize hildon_window_size_allocate()
1300 * src/hildon-edit-toolbar.c: Update documentation.
1302 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1303 example to use the new API.
1305 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1307 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1309 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1310 Remove from stack before calling parent's hide.
1312 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1315 window is removed from the middle of the stack, update the
1316 transiency of the previous one.
1318 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1321 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1323 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1324 block/unblock the signal handler if it's not actually being used.
1325 Fixes some critical warnings.
1327 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1329 Based on a patch by Iván Gómez (igomez@igalia.com)
1331 * src/hildon-banner.c
1335 * src/hildon-pannable-area.c
1336 * src/hildon-picker-dialog.c
1337 * src/hildon-wizard-dialog.h
1338 * src/hildon-wizard-dialog.c: Documentation updates.
1340 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1341 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1343 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1345 * configure.ac: post release version bump.
1346 * debian/changelog: version bump.
1348 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1353 * configure.ac: Bump version.
1354 * debian/changelog: Updates.
1356 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1359 a stock icon nor change the relief of the back arrow.
1361 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1362 graphics from theme)
1364 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-button.c (hildon_button_set_alignment): Use
1367 priv->alignment if the button has no child yet.
1369 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/hildon-button.c: (hildon_button_init): Set the
1372 button style during initialization to give it the proper
1375 Fixes: NB#99713 (HildonButton value label color is wrong)
1377 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1379 * src/hildon-touch-selector.c: Document
1380 hildon_touch_selector_center_on_selected()
1382 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1384 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1385 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1386 all menu items, but not the menu itself.
1387 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1388 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1389 items after adding them to the menu so keyboard accelerators work.
1390 (hildon_app_menu_show): Don't show the menu if it contains items
1391 but none of them are visible.
1393 * examples/hildon-app-menu-example.c (create_menu): Use
1394 gtk_widget_show_all() to show all menu items.
1396 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1398 * src/hildon-picker-dialog.c:
1399 (-_update_title_on_selector_changed_cb),
1400 (-_dialog_update_title): Removed.
1401 (_select_on_selector_changed_cb), (_on_dialog_response),
1402 (on_selector_columns_changed): Do not update the dialog title.
1403 (setup_interaction_mode): Do not connect to
1404 HildonTouchSelector::changed signal if there's a "done" button, as
1405 the dialog title doesn't need to be updated.
1407 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1410 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1412 Patch by Kristian Rietveld (kris@imendio.com)
1414 * src/hildon-touch-selector.c: (_create_new_column): Use new
1415 GtkTreeView::hildon-row-tapped signal to react to user interactions
1416 instead of ::changed.
1418 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1419 with some dynamic tree model)
1421 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1423 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1424 (+screen_size_changed, +label_size_request)
1425 (hildon_note_class_init): Make the Hildon information note have a
1426 minimum height, and make its text hvae a maximum width.
1428 Fixes: NB#98614 (Hildon information note (background) should have
1429 minimum height and maximum text width)
1431 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1433 * src/hildon-banner.h
1434 * src/hildon-banner.c (hildon_banner_show_information)
1435 (hildon_banner_show_informationf)
1436 (hildon_banner_show_information_with_markup): Update documentation
1437 to reflect that the icon_name parameter is not used anymore.
1438 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1439 Remove all code from these functions and mark them as deprecated.
1440 (hildon_banner_show_progress): Mark as deprecated.
1442 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1444 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1446 * src/hildon-pannable-area.c,
1447 (hildon_pannable_area_class_init),
1448 (tranparency_color),
1449 (hildon_pannable_draw_vscroll),
1450 (hildon_pannable_draw_hscroll),
1451 (hildon_pannable_area_expose_event): Added a new way to render the
1452 scrollbars of the pannable area avoiding using cairo at all. This
1453 way we improve the performance of the pannable area rendering. The
1454 cairo rendering procedure is still in the code, we can control
1455 which one to use changing the value of the define
1456 USE_CAIRO_SCROLLBARS.
1458 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1460 * configure.ac: post release version bump.
1461 * debian/changelog: version bump.
1463 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1468 * configure.ac: Bump version.
1469 * debian/changelog: Updates.
1471 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1473 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1474 banners instead of destroying them when they receive a button
1477 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1479 Reverted commit 34028, it was causing regressions, probably the
1480 topmost condition is not correct, we have to check it in more
1481 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1482 propagation of button press events)
1484 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1487 that the selection is not empty before attempting to retrieve the
1488 current ampm selection.
1490 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1492 * src/hildon-picker-button.c:
1493 (hildon_picker_button_on_dialog_response): Directly update the
1494 button contents when required instead of calling _selection_changed.
1496 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-program.c (hildon_program_update_top_most): Update
1499 'is-topmost' property also when wm_hints is not set.
1501 Fixes: NB#98383 (is-topmost signal is not emitted when task
1502 switcher is clicked.)
1504 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1506 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1510 * src/hildon-animation-actor.c,
1511 * src/hildon-animation-actor.h: Added the animation actor class,
1512 this widget represents an animation actor for WM-assisted
1513 animation effects in the Hildon framework.
1515 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1517 * src/hildon-window-stack-private.h
1518 * src/hildon-window-stack.c
1519 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1520 Avoid calling gtk_widget_show() again indirectly from
1521 hildon_stackable_window_show()
1523 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1525 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1528 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1531 (hildon_time_selector_init): Move the construction of the hours and
1532 ampm columns to the constructor to preserve the order the columns
1535 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1537 * src/hildon-picker-dialog.c:
1538 (hildon_picker_dialog_class_init): Connect a realize method.
1539 (+hildon_picker_dialog_realize): Setup the interaction mode here
1541 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1542 yet, do it during the realize instead.
1543 (_on_dialog_response):
1544 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1545 if the widget is not realized, to avoid the dialog response before it
1548 Avoid premature responses in the HildonPickerDialog that can cause it
1549 to be hidden before it's even shown.
1551 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1553 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1554 (on_selector_columns_changed), (requires_done_button),
1555 (+prepare_action_area), (setup_interaction_mode),
1556 (_hildon_picker_dialog_set_selector):
1558 Split the interaction mode setup into preparation of the
1559 action area (prepare_action_area()) and the connection of
1560 the signals in setup_interaction_mode() and update the code to
1563 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1565 * src/hildon-pannable-area.c,
1566 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1567 per second to 15, we will check if this is ok regarding
1570 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1572 * src/hildon-pannable-area.c,
1573 (hildon_pannable_axis_scroll): Avoid resize if we already have
1574 reached overshoot_max.
1576 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1578 * src/hildon-pannable-area.c,
1579 (hildon_pannable_area_init),
1580 (hildon_pannable_area_realize),
1581 (hildon_pannable_area_size_allocate),
1582 (hildon_pannable_area_map),
1583 (hildon_pannable_area_unmap),
1584 (hildon_pannable_draw_vscroll),
1585 (hildon_pannable_draw_hscroll),
1586 (hildon_pannable_area_expose_event),
1587 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1588 pannable are to avoid the expose events go to the window and
1589 redraw the window. We save this way that part of the stack and the
1590 paint_boxes. We had to change the positions of the elements when
1593 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1595 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1596 * src/hildon-color-chooser-dialog.c:
1597 (hildon_color_chooser_dialog_init):
1598 * src/hildon-font-selection-dialog.c:
1599 (hildon_font_selection_dialog_init),
1600 (hildon_font_selection_dialog_show_preview):
1601 * src/hildon-get-password-dialog.c:
1602 * src/hildon-login-dialog.c:
1603 * src/hildon-set-password-dialog.c:
1604 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1605 * src/hildon-time-picker.c: (hildon_time_picker_init):
1607 Remove obsolete logical string IDs and update to the appropriate ones.
1609 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1611 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1614 that happens if the window hasn't been realized yet.
1616 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1617 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1619 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1621 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1622 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1625 Fixes: NB#98537 (Device hangs in account settings dialog)
1627 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1629 * configure.ac: post release version bump.
1630 * debian/changelog: version bump
1632 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1637 * configure.ac: Bump version.
1638 * debian/changelog: Updates.
1640 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1642 Added a new function to the HildonTimeButton widget that allows to
1643 change the step of the minutes in the selector associated with the
1644 button: hildon_time_button_new_step
1646 * src/hildon-time-button.c,
1647 (hildon_time_button_init),
1648 (hildon_time_button_new),
1649 (hildon_time_button_new_step):
1650 * src/hildon-time-button.h: Added the new function and refactored
1652 * examples/hildon-time-button-example.c,
1653 (main): We have replaced the function without parameters with the
1654 function with the steps set to 5
1656 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1658 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1660 * src/hildon-time-selector.c,
1661 (hildon_time_selector_class_init),
1662 (hildon_time_selector_constructor),
1663 (hildon_time_selector_get_property),
1664 (hildon_time_selector_set_property),
1665 (_create_minutes_model),
1666 (hildon_time_selector_new_step),
1667 (hildon_time_selector_set_time),
1668 * src/hildon-time-selector.h: Added a new property to the
1669 HildonTimeSelector (minutes-step), we use that property to control
1670 the steps between the minutes in the list of the selector. We have
1671 added a new function to the API to create a widget changing the
1672 step: hildon_time_selector_new_step.
1674 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1676 * src/hildon-time-selector.c,
1677 (hildon_time_selector_class_init),
1678 (hildon_time_selector_constructor),
1679 (hildon_time_selector_init): Overrided the construct function when
1680 creating the time selector object. We have moved the minutes model
1681 handling code from the init to the new construction function:
1682 hildon_time_selector_constructor.
1684 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1686 * examples/hildon-date-button-example.c: (main): Use the new
1687 hildon_date_button_new_with_year_range() method in the example.
1688 * src/hildon-date-button.c:
1689 (+hildon_date_button_new_with_year_range): New public method
1690 to conveniently create a HildonDateButton with a custom year range
1691 in its HildonDateSelector.
1692 * src/hildon-date-button.h: Add the new public method definition.
1694 Fixes: NB#97908 (Not possible to change the year range in
1695 HildonDateSelector/HildonDateButton)
1697 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1699 * src/hildon-date-selector.c:
1700 (+hildon_date_selector_set_property),
1701 (+hildon_date_selector_get_property),
1702 (hildon_date_selector_class_init): Install new properties "min-year"
1703 and "max-year" to define boundaries for the year column.
1704 (_create_year_model): Use the boundary properties to populate the model.
1705 (+hildon_date_selector_new_with_year_range): New public method to
1706 create a HildonDateSelector with a user defined year range.
1707 (hildon_date_selector_select_current_date): Use the new boundaries to
1708 calculate the iterator of current year.
1709 * src/hildon-date-selector.h: Add the new public method definition.
1711 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1713 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1714 Install a constructor method.
1715 (+hildon_date_selector_construct_ui): construct the widget.
1716 (+hildon_date_selector_constructor): new constructor.
1717 (+hildon_date_selector_init): move out widget construction code to
1718 the new constructor.
1720 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1722 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1723 that there's actually a month or year selected before obtaining them.
1724 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1725 of the HildonTouchSelector::changed signal, as it was emitted on every
1726 single item selection.
1728 Fix some warnings and possible crashers due to the selection restoring.
1730 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1733 the signal handlers only after creating the dialog instead of on every
1736 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-button.c (hildon_button_init)
1739 * src/hildon-check-button.c (hildon_check_button_init)
1740 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1741 focus when clicked by default.
1743 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1745 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1748 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1750 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1751 Alejandro G. Castro (alex@igalia.com)
1753 * src/hildon-picker-dialog.c:
1754 (hildon_picker_dialog_class_init): install new "center-on-show"
1756 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1757 (hildon_picker_dialog_set_property): add setter code for the new
1759 (hildon_picker_dialog_get_property): add getter code for the new
1761 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1762 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1765 Fixes: NB#92849 (Selected item is not always visible when
1766 HildonTouchSelector is shown)
1768 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1770 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1771 Alejandro G. Castro (alex@igalia.com)
1773 * src/hildon-touch-selector.c:
1774 (_create_new_column): Do not connect to the "realize" signal of the
1776 (hildon_touch_selector_append_column): center on the selected items
1777 when a new column is appended.
1778 (hildon_touch_selector_select_iter): Factor out the code to select a
1779 column to hildon_touch_selector_scroll_to().
1780 (+search_nearest_element): Method to retrieve the nearest selected
1781 element to the visible area of the pannable area in a column.
1782 (+on_realize_cb): scroll to the initially selected item.
1783 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1784 the pannable area is realized, otherwise delay this until it is.
1785 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1786 selected items of a given column.
1787 (+hildon_touch_selector_center_on_selected): Public method to center
1788 all columns on the nearest selected item.
1789 * src/hildon-touch-selector.h: Add definition for
1790 hildon_touch_selector_center_on_selected().
1792 Implement public API to ensure visibility of all selected items in
1793 a HildonTouchSelector.
1795 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1797 Fixed a problem in the fading when calling the scroll_to API, and
1798 improve scrollbar fading handling.
1800 * src/hildon-pannable-area.c,
1801 (hildon_pannable_area_grab_notify): avoid the timeout when the
1803 (hildon_pannable_area_button_press_cb),
1804 (hildon_pannable_area_motion_notify_cb): Code style changes.
1805 (hildon_pannable_area_button_release_cb): Review the conditions
1806 when releasing the mouse button to avoid unrequired fading
1808 (hildon_pannable_area_scroll_to): Do not calculate and set the
1809 velocity if the scroll is not required.
1811 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1814 Don't check whether the new selector is NULL: it cannot be.
1815 Hold a reference to the selector while doing the replacement.
1817 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1819 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1820 unnecessary size_request in a removed widget.
1822 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1825 an unnecessary reference tracking that was leaking.
1827 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1829 Added delayed motion notify event handling, this way we can
1830 discard redrawing if more than 25 events arrive per second.
1832 * src/hildon-pannable-area.c,
1833 (hildon_pannable_area_init): Initialized the new private atributes
1834 controlling this timeout
1835 (hildon_pannable_area_dispose): Remove the timeout that controls
1836 the motion notify events.
1837 (hildon_pannable_area_scroll): Added a condition to control the
1838 use of the acceleration.
1839 (hildon_pannable_area_motion_event_scroll_timeout),
1840 (hildon_pannable_area_motion_event_scroll): Added this two
1841 functions, they handle the motion notify events inside the
1843 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1844 to the scroll method with the new function.
1845 (hildon_pannable_area_button_release_cb): We have to remove the
1846 timeout handler and move to the last position if the last motion
1847 events were not handled.
1849 Fixes: NB#97028 (Pannable area updates on every motion event)
1851 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1853 * src/hildon-pannable-area.c,
1854 (hildon_pannable_area_get_topmost): Added a new parameter to
1855 filter the the windows that do not include those events. Added
1856 also a condition when finding the window to filter windows that do
1857 not ask for those events.
1858 (hildon_pannable_area_button_press_cb),
1859 (hildon_pannable_area_button_release_cb),
1860 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1861 topmost function, we have added the new parameter.
1863 Fixes: NB#97458 (Pannable area prevents propagation of button
1866 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1868 * src/hildon-pannable-area.c,
1869 (hildon_pannable_area_initial_effect): Added controls before
1870 launching the timeout and the idle functions.
1871 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1872 of the method, in some situations it can return with TRUE and 0 in
1874 (hildon_pannable_area_button_press_cb): We do not need to set
1875 DELAY for fading out here.
1877 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1879 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1881 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1882 post-cleaning if the selection is not NULL.
1884 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1886 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1887 all items before restoring the selection.
1889 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1891 * src/hildon-touch-selector.c:
1892 (+hildon_touch_selector_unselect_all):
1893 * src/hildon-touch-selector.h: New API to unselect all items in a
1894 column of the touch selector.
1896 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1898 * src/hildon-pannable-area.c,
1899 (hildon_pannable_area_redraw): Added a call to the refresh
1900 function inside the redraw because apparently in some cases the
1901 change in the adjustment does not imply a size allocate.
1903 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1904 despite the view not being scrollable)
1906 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1909 leak. Check for NULL before attempting to set the window title.
1911 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1913 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1914 whether to show or not the 'Done' button each time the dialog is
1915 shown, as it depends on the HildonTouchSelector selection mode.
1917 Fixes: NB#96226 (In multiple selection mode Done button is shown
1918 sometimes in listpicker)
1920 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1922 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1923 for the number of columns in the HildonTouchSelector more than once.
1925 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1927 * src/hildon-touch-selector.c: Minor documentation fixes.
1929 * src/hildon-picker-dialog.c (+_dialog_update_title)
1930 (_select_on_selector_changed_cb)
1931 (_update_title_on_selector_changed_cb)
1932 (on_selector_columns_changed): Update dialog title when there's no
1933 'Done' button and also when the number of columns in the selector
1937 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1938 (+_selection_changed, hildon_picker_button_on_dialog_response)
1939 (hildon_picker_button_selector_selection_changed)
1940 (+hildon_picker_button_selector_columns_changed)
1941 (hildon_picker_button_set_selector): Update button value and emit
1942 'value-changed' when the number of columns in the selector
1946 Fixes: NB#96225 (Dialog titles are not shown according to the
1947 values selected in the list picker)
1949 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1951 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1952 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1953 New "arrow-width" and "arrow-height" style properties to set the
1954 size of the arrow button.
1955 Set name of arrow button ("hildon-edit-toolbar-arrow").
1957 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1958 graphics from theme)
1960 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1962 * src/hildon-picker-button.c:
1963 (hildon_picker_button_selector_selection_changed): Use
1964 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1965 the dialog is present.
1967 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1968 the selection is accepted in the dialog)
1970 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1972 * src/hildon-color-chooser.h
1973 * src/hildon-color-chooser-dialog.h:
1974 Added G_BEGIN_DECLS and G_END_DECLS
1976 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1978 (_clean_current_selection): plug a leak in the list.
1980 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1982 * src/hildon-picker-dialog.c:
1983 (+free_path_list): Method to free a GList of GtkTreePaths.
1984 (_clean_current_selection), (_save_current_selection),
1985 (_restore_current_selection): Save the current selection in
1986 as a list of lists, to support multiple selection properly.
1988 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1990 patch by Claudio Saavedra (csaavedra@igalia.com)
1992 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1993 Store the press position.
1994 (+hildon_text_view_button_release_event): If the release position is
1995 close enough to the press position, move the cursor here. Otherwise,
1997 (hildon_text_view_class_init): Override GtkTextView press, release, and
1998 motion event handlers, disabling this way text selection through
1999 pointer interaction, and allowing the container widget to handle the
2002 Fixes: NB#95828 (HildonTextView functionality)
2004 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2006 Based on a patch by Iván Gómez (igomez@igalia.com)
2008 * src/hildon-button.[ch]
2009 * src/hildon-calendar.c
2010 * src/hildon-check-button.c
2011 * src/hildon-date-editor.c
2012 * src/hildon-date-selector.c
2013 * src/hildon-picker-button.c
2014 * src/hildon-time-editor.c
2015 * src/hildon-time-selector.c
2016 * src/hildon-touch-selector.[ch]:
2017 Documentation updates
2019 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2021 * src/hildon-pannable-area.c,
2022 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2023 threshold, it was required due to X events handling.
2025 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2027 * src/hildon-pannable-area.c,
2028 (hildon_pannable_area_grab_notify),
2029 (hildon_pannable_area_initial_effect),
2030 (hildon_pannable_area_button_press_cb),
2031 (hildon_pannable_area_button_release_cb),
2032 (hildon_pannable_area_scroll_cb),
2033 (hildon_pannable_area_scroll_to): Review the timeout management of
2034 the scrollbar, the frecuency was incorrectly set.
2036 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2038 * src/hildon-picker-button.c:
2039 (+hildon_picker_button_on_dialog_response),
2040 (hildon_picker_button_clicked): Present the dialog instead of
2041 running it with gtk_dialog_run().
2043 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2046 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2049 (hildon_app_menu_finalize): When a window is hidden it doesn't
2050 emit notify::is-topmost, so make sure than the menu also
2051 disappears in that case.
2052 (parent_window_topmost_notify): Renamed from parent_window_hidden
2054 Fixes: NB#94460 (stackable window's menu is not closed when its
2057 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2059 * src/hildon-touch-selector-entry.c:
2060 (+hildon_touch_selector_entry_set_input_mode),
2061 (+hildon_touch_selector_entry_get_input_mode):
2062 * src/hildon-touch-selector-entry.h: New methods to access the input
2063 mode in the selector's entry.
2065 Fixes: NB#93410 (API required for setting IM mode in
2066 HildonTouchSelectorEntry)
2068 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2070 * configure.ac: post release version bump.
2071 * debian/changelog: version bump
2073 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2078 * configure.ac: Bump version.
2079 * debian/changelog: Updates.
2081 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2083 * src/hildon-touch-selector.c:
2084 (_hildon_touch_selector_has_multiple_selection): No need
2085 to initialize the variables here.
2087 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2089 * src/hildon-note-private.h
2090 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2091 (hildon_note_finalize, hildon_note_rebuild): Close information
2092 notes when they receive a button press.
2094 Fixes: NB#89890 (Information notes does not get disappeared after
2097 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2100 mark from the wizard title, as it's not really necessary. Also,
2101 do not display the page title if not set.
2103 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2105 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2106 (parent_window_hidden): Use the window's "is-topmost" property to
2107 detect when to hide the menu.
2109 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2111 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2112 (hildon_app_menu_finalize): If the parent window of the menu is
2113 hidden, hide the menu too.
2115 Fixes: NB#94460 (stackable window's menu is not closed when its
2118 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2121 * debian/libhildon1-examples.install
2123 * examples/Makefile.am:
2124 Use dh_install to install all examples.
2125 Use DEB_SRCDIR instead of defining SOURCE_DIR
2127 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2129 * configure.ac: post release version bump.
2130 * debian/changelog: version bump
2132 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2137 * configure.ac: bump version
2138 * debian/changelog: updates
2139 * debian/control: bump gtk+ dependency
2141 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2143 patch by Christian Dywan (christian@imendio.com)
2145 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2146 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2148 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2150 * src/hildon-check-button.c (hildon_check_button_init)
2151 (hildon_check_button_class_init, hildon_check_button_style_set)
2152 (hildon_check_button_apply_style):
2153 New "checkbox-size" style property.
2155 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2156 larger / configurable size)
2158 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2160 * configure.ac: post release version bump.
2161 * debian/changelog: version bump
2163 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2168 * configure.ac: bump version
2169 * debian/changelog: updates
2171 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2173 * doc/hildon-sections.txt
2174 * src/hildon-pannable-area.c
2175 * src/hildon-program.c
2176 * src/hildon-time-editor.c
2177 * src/hildon-touch-selector-entry.c:
2179 More documentation updates.
2181 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2183 * doc/hildon-sections.txt
2184 * src/hildon-caption.c
2185 * src/hildon-code-dialog.c
2186 * src/hildon-color-button.c
2187 * src/hildon-controlbar.c
2188 * src/hildon-date-editor.c
2189 * src/hildon-date-selector.c
2190 * src/hildon-edit-toolbar.c
2191 * src/hildon-find-toolbar.c
2192 * src/hildon-font-selection-dialog.c
2194 * src/hildon-program.c
2195 * src/hildon-range-editor.c
2196 * src/hildon-seekbar.c
2197 * src/hildon-time-editor.c
2198 * src/hildon-time-selector.c
2199 * src/hildon-volumebar-range.c
2200 * src/hildon-volumebar.c
2201 * src/hildon-vvolumebar.c
2202 * src/hildon-weekday-picker.c
2203 * src/hildon-window.c
2204 * src/hildon-wizard-dialog.c:
2206 Lots of documentation fixes.
2208 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2210 Patch contributed by Iván Gómez (igomez@igalia.com)
2212 * src/hildon-check-button.c:
2213 * src/hildon-date-button.c:
2214 * src/hildon-date-selector.c:
2215 * src/hildon-dialog.c:
2216 * src/hildon-edit-toolbar.c:
2217 * src/hildon-entry.c:
2218 * src/hildon-picker-button.c:
2219 * src/hildon-program.c:
2220 * src/hildon-text-view.c:
2221 * src/hildon-time-button.c:
2222 * src/hildon-touch-selector-entry.c:
2223 * src/hildon-window-stack.c:
2225 Add more "since" tags to the new API.
2227 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2229 * doc/hildon-sections.txt: Add below method.
2230 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2231 version for the hildonized scale.
2232 * src/hildon-gtk.h: Add the definition.
2234 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2236 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2238 * doc/hildon-sections.txt: Add missing entries for new methods.
2240 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2242 Added API to pannable are in order to get its adjustments. We
2243 added two properties to manage the values we had in the private
2246 * src/hildon-pannable-area.c:
2247 (hildon_pannable_area_class_init): Added hadjustment and
2248 vadjustment properties in order to expose horizontal and vertical
2250 (hildon_pannable_area_get_property),
2251 (hildon_pannable_area_set_property): Added code to handle the new
2253 (hildon_pannable_area_get_hadjustment),
2254 (hildon_pannable_area_get_vadjustment): API functions to get the
2256 * src/hildon-pannable-area.h:
2257 (hildon_pannable_area_get_hadjustment),
2258 (hildon_pannable_area_get_vadjustment): API functions to get the
2261 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2263 Fixed some leaks, after valgrinding.
2265 * src/hildon-touch-selector.c:
2266 (_default_print_func): Fixed a leak.
2267 (hildon_touch_selector_append_column): Fixed a leak.
2268 * src/hildon-date-button.c:
2269 (hildon_date_button_init): Fixed a leak.
2270 * src/hildon-date-selector.c
2271 (hildon_date_selector_finalize): Fixed a leak.
2273 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2275 Based on a patch by Christian Dywan (christian@imendio.com)
2277 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2279 * src/hildon-gtk.h: Add definition.
2281 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2283 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-picker-button.c: (hildon_picker_button_init),
2286 (hildon_picker_button_new): Set the HildonButton::style property
2287 in the init method, to propagate the value to the derived classes.
2289 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2291 * src/hildon-button.c: (hildon_button_class_init): Do not make
2292 the "style" property a construct property.
2294 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2296 * src/hildon-wizard-dialog.h
2297 * src/hildon-wizard-dialog.c
2298 (hildon_wizard_dialog_set_forward_page_func)
2299 * src/hildon-pannable-area.h
2300 * src/hildon-pannable-area.c
2301 (hildon_pannable_area_set_size_request_policy):
2302 Documentation fixes.
2304 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2306 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2308 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2310 * doc/hildon-sections.txt: Added sections file.
2312 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/*.[ch]: Updates.
2317 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2319 * examples/hildon-progress-indicator-example.c: new file
2320 * examples/Makefile.am: include the new example program
2322 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2326 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2328 * configure.ac: post release version bump
2329 * debian/changelog: version bump
2331 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2336 * configure.ac: bump version
2337 * debian/changelog: updates
2338 * debian/control: bump gtk+ dependency
2340 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2342 * src/hildon-dialog.c: Mark as deprecated.
2343 * src/hildon-dialog.h: Mark as deprecated.
2344 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2345 from HildonDialog and still work, even if
2346 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2347 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2349 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2350 maemo changes) instead)
2352 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2354 * src/hildon-pannable_area.h:
2355 * src/hildon-pannable_area.c:
2356 (hildon_pannable_area_class_init),
2357 (hildon_pannable_area_set_property),
2358 (hildon_pannable_area_get_property),
2359 (hildon_pannable_area_size_request),
2360 (hildon_pannable_area_get_size_request_policy),
2361 (hildon_pannable_area_set_size_request_policy): Added new API
2362 allowing applications to control the request policy. Now they can
2363 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2364 children allocation (HILDON_MOVEMENT_CHILDREN).
2366 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2370 (hildon_gtk_tree_view_set_ui_mode)
2371 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2372 mode of treeviews and iconviews.
2374 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2376 * src/hildon-touch-selector-entry.c:
2377 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2378 of a GtkEntry to get proper theming.
2380 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2381 widget, not GtkEntry)
2383 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2385 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2386 no HildonWizardDialogPageFunc.
2388 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2390 Patch contributed by Iván Gómez (igomez@igalia.com)
2392 * src/hildon-app-menu.c:
2393 * src/hildon-button.c:
2394 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2395 * src/hildon-stackable-window.c:
2396 * src/hildon-time-selector.c:
2397 * src/hildon-touch-selector.c:
2398 * src/hildon-window.c:
2400 Add more "since" tags to the new API in hildon 2.2.
2402 2008-12-05 Tim Janik <timj@imendio.com>
2404 Patch contributed by Christian Dywan (christian@imendio.com)
2406 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2407 HildonSizeType, which are supplied by Gtk+ now.
2409 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2411 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2412 (with maemo changes) instead)
2414 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2416 Patch contributed by Iván Gómez (igomez@igalia.com)
2418 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2421 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2423 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2424 (some_page_func), (main): Update the example to use a
2425 HildonWizardDialogPageFunc function.
2427 * src/hildon-wizard-dialog-private.h: Add private data for
2428 the HildonWizardDialogPageFunc function usage.
2430 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2431 (destroy), (hildon_wizard_dialog_init), (response),
2432 (hildon_wizard_dialog_set_forward_page_func):
2433 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2434 that applications can use to stop a HildonWizardDialog to jump to
2437 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2440 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2442 * src/hildon-program.h
2443 * src/hildon-program-private.h
2444 * src/hildon-program.c (hildon_program_init)
2445 (hildon_program_set_common_app_menu)
2446 (hildon_program_get_common_app_menu):
2447 New API for setting a common HildonAppMenu for all
2448 HildonStackableWindows registered with the HildonProgram.
2450 * src/hildon-stackable-window.c
2451 (hildon_stackable_window_toggle_menu):
2452 Use the common HildonAppMenu if a window doesn't have a specific
2455 * src/hildon-app-menu-private.h
2456 * src/hildon-app-menu.c
2457 (hildon_app_menu_get_parent_window):
2458 Function to obtain the window a HildonAppMenu is attached to.
2459 (hildon_app_menu_set_parent_window):
2460 Hide the menu if the parent window is set to NULL.
2462 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2464 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2465 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2466 search widget to popup.
2468 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2470 * configure.ac: post release version bump
2471 * debian/changelog: version bump
2473 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2478 * configure.ac: bump version
2479 * debian/changelog: updates
2481 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2483 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2485 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2486 (hildon_window_stack_window_realized)
2487 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2488 Set the leader GdkWindow when a window is stacked and realized,
2489 unset it when it's unstacked.
2490 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2492 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2494 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2496 * src/hildon-stackable-window.h
2497 * src/hildon-window-stack.h:
2498 Protect definition of HildonWindowStack using the preprocessor.
2500 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2502 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2503 Fix warning if all menu items are hidden.
2505 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2507 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2509 * src/hildon-controlbar.c:
2510 * src/hildon-hvolumebar.c:
2511 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2512 Multiple scale size defines updates.
2514 Fixes: NB#94322 (Scale Updates)
2516 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2518 * examples/hildon-app-menu-example.c (create_menu)
2519 Show items after adding them to the menu, as in the future the
2520 menu will no longer call gtk_widget_show() on the added items.
2522 * src/hildon-app-menu.c:
2523 Update example as explained above.
2525 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2527 * src/hildon-app-menu.c
2528 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2529 Make sure that all menu items have finger height.
2531 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2533 * src/hildon-picker-dialog.c:
2534 (_on_dialog_response), (_save_current_selection),
2535 (_restore_current_selection), (_clean_current_selection),
2536 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2537 Defined new functions in order to save the current internal selector
2538 selection previous open the dialog, in case that the use cancel the
2539 interaction, so the widget restores the previous selection.
2541 Fixes: NB#92032 (In calendar application, date values in 'new event'
2544 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2546 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-button.c: Add a reference to the button examples in
2549 hildon-button-example.c
2551 * examples/hildon-button-example.c: Added examples of the most
2552 common button layouts.
2554 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-app-menu.c (hildon_app_menu_show)
2557 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2559 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2561 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2563 * src/hildon-picker-dialog.c:
2564 (hildon_picker_dialog_init): Initialize the signal id for
2565 HildonTouchSelector::columns-changed.
2566 (+on_selector_columns_changed): Set up the interaction mode everytime a
2567 column is added or removed from the HildonTouchSelector.
2568 (_hildon_picker_dialog_set_selector): Connect to
2569 HildonTouchSelector::columns-changed and keep track of it.
2571 Make sure to update the interaction mode of the dialog everytime a
2572 column is added or removed in the HildonTouchSelector.
2574 Fixes: NB#93228 (Done button is not shown always in listpicker)
2576 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2578 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2579 a new ::columns-changed signal.
2580 (hildon_touch_selector_append_column): Emit ::columns-changed.
2581 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2583 Add a ::columns-changed signal, emitted when the number of columns in a
2584 HildonTouchSelector changes.
2586 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2588 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2589 (_hildon_picker_dialog_set_selector): Factor out the code
2590 to set up the dialog interaction mode.
2592 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2595 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2596 to signal_changed_id.
2598 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2600 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2603 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2605 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2606 Updated the logical ids related to ampm format, as now it is required to
2607 show it correctly localized even on languages with no default
2608 abbreviations for am or pm
2609 (_check_am_pm_format): check correctly the 24h format gconf property
2611 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2613 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2615 * src/hildon-button.c: Documentation updates.
2617 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2620 * src/hildon-caption.c: (hildon_caption_class_init):
2621 * src/hildon-color-button.c: (hildon_color_button_class_init):
2622 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2623 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2624 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2625 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2627 Remove deprecated GTK+ marshalers and replace them with the ones
2628 provided by GLib, for those available, add a marshaler for
2629 BOOLEAN:VOID, which is not available in GLib, and use it.
2631 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2634 the text from the previous column if there is no
2635 HildonTouchSelectorColumn::text-property set.
2637 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-button.h
2640 * src/hildon-button.c (hildon_button_set_property)
2641 (hildon_button_get_property, hildon_button_class_init)
2642 (hildon_button_set_style, hildon_button_get_style):
2643 New "style" property to change the visual appearance of the
2646 * src/hildon-picker-button.c (hildon_picker_button_new):
2647 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2649 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2650 HildonButton look like PickerButton)
2652 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2654 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2655 column while building the default string.
2657 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2660 scroll indicator by default.
2662 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2664 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2666 * src/hildon-main.c: Fix the documentation for hildon_init()
2668 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2670 * doc/hildon-docs.sgml
2674 * src/hildon-window-stack-private.h
2675 * src/hildon-window-stack.h
2676 * src/hildon-window-stack.c:
2677 New HildonWindowStack object, that adds support for multiple
2678 stacks of windows per process.
2680 * src/hildon-stackable-window-private.h
2681 * src/hildon-stackable-window.h
2682 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2683 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2684 (hildon_stackable_window_show, hildon_stackable_window_hide)
2685 (hildon_stackable_window_class_init)
2686 (hildon_stackable_window_init):
2687 Use HildonWindowStack for stack management.
2689 * src/hildon-program.c (hildon_program_pop_window_stack)
2690 (hildon_program_peek_window_stack)
2691 (hildon_program_go_to_root_window):
2692 Add a fallback implementation to the deprecated functions using
2695 * examples/hildon-stackable-window-example.c:
2696 Use the new HildonWindowStack API.
2698 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2700 * src/hildon-stackable-window-private.h
2701 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2702 (hildon_stackable_window_hide, hildon_stackable_window_init):
2703 Remove all window stack management.
2705 * src/hildon-program-private.h
2706 * src/hildon-program.h
2707 * src/hildon-program.c (hildon_program_init)
2708 (hildon_program_pop_window_stack)
2709 (hildon_program_peek_window_stack)
2710 (hildon_program_go_to_root_window):
2711 Remove all window stack management and mark functions as
2714 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2716 * src/hildon-app-menu.c (hildon_app_menu_realize):
2717 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2719 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2721 * configure.ac: post release version bump
2722 * debian/changelog: version bump
2724 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2729 * configure.ac: bump version
2730 * debian/changelog: updates
2732 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2734 Based on initial code by Christian Dywan (christian@imendio.com)
2736 * doc/hildon-docs.sgml: Add section for hildon-main.
2737 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2738 * src/Makefile.am: Add new hildon-main.[ch]
2739 * src/hildon-defines.h: Update the icon sizes.
2740 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2741 new library initialization files and register icon sizes.
2742 * src/hildon-main.h: New declarations.
2743 * src/hildon.h: Include hildon-main.h
2745 Add new initialization functions to the library. These methods
2746 will register the hildon specific icon sizes and can be used in the
2747 future for other hildon specific bits.
2749 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2751 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2753 * src/hildon-window.c: (hildon_window_realize),
2754 (hildon_window_notify), (-hildon_window_update_title): Do not set
2755 the application name in the window title.
2757 Fixes: NB#89754 (Applications shouldn't display their names in the
2760 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2762 * src/hildon-note-private.h:
2763 * src/hildon-note.c: (hildon_note_set_property),
2764 (hildon_note_get_property), (hildon_note_class_init),
2765 (hildon_note_init), (hildon_note_finalize),
2766 (hildon_note_new_confirmation_with_icon_name),
2767 (hildon_note_new_information_with_icon_name):
2769 No need to mark as deprecated the actual code. Revert
2770 to avoid missing symbols in widgets using deprecated API.
2772 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2774 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2776 * src/hildon-volumebar.h
2777 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2778 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2780 * src/hildon-helper.h
2781 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2782 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2784 * examples/Makefile.am:
2785 Deprecate hildon-insensitive-example
2787 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2789 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2791 * examples/hildon-pannable-area-buttons-scroll-example.c:
2792 Make all buttons finger height
2794 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2796 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2798 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2799 update the day model only if it is really required, and to avoid the
2800 full-reconstruction aproach. Now it only add or remove the required days.
2802 The purpose of this is avoid superfluous HildonTouchSelector::changed
2805 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2806 with strange parameters)
2808 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2810 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2812 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2813 the WINDOW_TYPE property.
2815 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2817 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2820 Fix dependency to allow parallel compilation with make -jX
2822 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2824 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2825 color frame and some minor tweaks to make it more consistent with
2828 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2829 highlighted but not visible)
2831 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2833 * examples/Makefile.am: Fixed typo in the Makefile.am.
2835 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2837 Reviewed the use of MAEMO_GTK define, now we add the define in the
2838 compilation line, and we also add it to the pc file.
2840 * configure.ac: Added MAEMO_GTK define to the compilation command
2841 and removed it from the config.h.
2843 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2844 do not have to take care about this define if the library was
2848 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2850 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2852 * examples/Makefile.am,
2853 * examples/hildon-pannable-area-buttons-scroll-example.c,
2854 * examples/hildon-pannable-area-gesture-signals-example.c,
2855 * examples/hildon-pannable-area-scroll-jump-example.c,
2856 * examples/hildon-pannable-area-tree-view-example.c:
2857 Renamed the pannable area examples, now they have more meaningful
2860 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2862 * src/hildon-touch-selector.c:
2863 (hildon_touch_selector_set_column_selection_mode): Used of
2864 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2865 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2866 to avoid re-seting the same selection mode.
2868 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2869 breaks HildonPickerDialog)
2871 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2873 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2874 conditional in the Makefile.am
2876 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2878 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2879 Remove unused methods.
2881 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2883 * src/hildon-button.c (hildon_button_init):
2884 Make button images center-aligned by default
2886 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2889 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2890 activated, we have to think about how to deal with both defines
2891 MAEMO_GTK and MAEMO_CHANGES.
2893 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2895 * examples/hildon-app-menu-example.c (create_menu): Make all
2896 buttons finger size.
2898 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2900 Fixed the compilation without maemo gtk adding ifdefs with
2901 MAEMO_GTK define to the code, we have to check this version more
2904 * examples/Makefile.am: Added control to avoid some examples that
2905 just make sense with maemo gtk.
2908 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2909 hildon modes with the define.
2911 * examples/hildon-edit-toolbar-example.c,
2912 (create_icon_view): Create the icon view without hildon-gtk
2913 helpers if we are not using maemo gtk.
2915 * src/hildon-touch-selector.c,
2916 (_create_new_column): Create the treeview without hildon-gtk
2917 helpers if we are not using maemo gtk.
2919 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2921 * src/hildon-pnnable-area.c,
2922 (hildon_pannable_area_dispose),
2923 (hildon_pannable_area_button_press_cb),
2924 (hildon_pannable_area_child_mapped),
2925 (hildon_pannable_area_add),
2926 (hildon_pannable_area_remove): Added code to control the position
2927 of the event_window when adding and removing children from the
2928 pannable. We have to raise the event window when the child is
2931 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2932 selection mode using custom widget inside pannable)
2934 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2936 * configure.ac: post release version bump
2937 * debian/changelog: version bump
2939 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2944 * configure.ac: bump version
2945 * debian/changelog: updates
2947 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2949 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2950 search mode, in order to avoid lose the focus on the treeview when
2951 a hw key (like enter) is pressed.
2953 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2954 in HildonDateSelector dialog)
2956 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2958 * debian/rules: Added --enable-maintainer-mode
2959 * Makefile.am: Added ACLOCAL_AMFLAGS
2961 This allows to properly regenerate the Makefiles if you modify the
2962 configure.ac or any Makefile.am.
2964 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2966 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2967 properties, not needed at all.
2969 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2973 * src/hildon-note.c: (hildon_note_set_property),
2974 (hildon_note_get_property), (hildon_note_class_init),
2975 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2976 (hildon_note_new_confirmation_add_buttons): Remove icons.
2977 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2978 (hildon_note_new_information_with_icon_name): Deprecate.
2979 (hildon_note_new_confirmation): Act directly, without calling
2980 the deprecated constructor.
2981 (hildon_note_new_information): Act directly, without calling
2982 the deprecated constructor.
2983 * src/hildon-note.h: Mark deprecate methods as such.
2984 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2985 not run tests on the deprecated methods if built with deprecation
2988 Fixes: NB#91688 (Never show icons in information notes/confirmation
2991 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2994 (hildon_app_menu_key_press): Remove leftover usage of the
2995 private structure in HildonAppMenu struct.
2996 * src/hildon-app-menu.h: Remove leftover private structure
2997 from the HildonAppMenu struct.
2999 Fixes a crasher when using the HildonAppMenu.
3001 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3003 * src/hildon-picker-dialog.c: Use appropriate logical id
3004 for the default "Done" text.
3006 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3008 * configure.ac: post release version bump
3009 * debian/changelog: version bump
3011 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3013 Modified the way to scroll to the current selection just when the touch
3014 selector is shown on the screen, avoiding a g_idle. Added too a property
3015 to configure this behaviour. See hildon_pannable_area_jump_to_child
3016 documentation for more information.
3018 * src/hildon-touch-selector.c
3019 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3020 Added 'initial-scroll' property
3021 (hildon_touch_selector_set_property): Added
3022 (hildon_touch_selector_map): Removed as not required anymore
3023 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3024 only a concrete column, instead of iterate along all the columns
3026 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3031 * configure.ac: bump version
3032 * debian/changelog: updates
3034 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3036 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3037 compilation time warnings.
3039 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3041 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3042 the default value for HildonPannableArea::mov-mode to
3043 HILDON_PANNABLE_AREA_MODE_VERT.
3045 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3047 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3049 Reverting following commit:
3051 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-app-menu-private.h
3054 * src/hildon-app-menu.[ch]
3055 * src/hildon-button.[ch]
3056 * src/hildon-check-button.[ch]
3057 * src/hildon-entry.[ch]
3058 * src/hildon-pannable-area.[ch]
3059 * src/hildon-text-view.[ch]:
3060 Added private field to the object's structure.
3062 because it causes an ABI breakage. We will need to introduce these
3063 changes later at some point. See NB#91636 for an extensive
3064 explanation and status.
3066 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3068 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3070 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3071 remove special cases that are no longer necessary.
3073 Fixes: NB#91016 (Change toolbar sizes, simplification)
3075 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3077 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3078 is shown in the cancel note.
3080 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3082 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3083 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3084 (hildon_seekbar_init): Remove steppers, remove expose event.
3085 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3087 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3089 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3091 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3092 label font to "SmallSystemFont" for vertically arranged buttons.
3094 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3097 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3099 * src/hildon-check-button.c
3100 (hildon_check_button_set_active, hildon_check_button_clicked):
3101 Don't access private parts directly, use getters instead.
3103 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3105 * src/hildon-check-button.c (hildon_check_button_new):
3106 Align the contents of the check button to the left.
3108 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3110 * src/hildon-pannable-area.c,
3111 (hildon_pannable_area_scroll_to),
3112 (hildon_pannable_area_jump_to),
3113 (hildon_pannable_area_scroll_to_child),
3114 (hildon_pannable_area_jump_to_child): Replace the mapped
3115 precondition of these functions with the realized, it is the
3116 correct state of the widget in this case. Changed the
3117 documentation according to this modification.
3119 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3121 Added a new EXTRA_CFLAGS option to add the deprecated define to
3122 the compilation command. This way we can avoid using the define in
3123 the documentation compilation.
3125 * configure.ac: Defined EXTRA_CFLAGS.
3127 * examples/Makefile.am:
3129 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3131 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3133 * src/hildon-picker-dialog.c:
3134 Defined a utility macro with the desired touch selector height
3135 Removed currently unused separator, and title_label variables from
3137 (hildon_picker_dialog_init): Removed code related to the creation
3138 of unused private variables title_label and separator.
3139 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3140 to ensure correct visualization of the touch selector inside the dialog.
3141 * src/hildon-touch-selector.c
3142 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3143 ensure a concrete height of the widget.
3145 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3148 * tests/Makefile.am:
3150 Remove spurious whitespaces.
3152 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3155 compilation warning after the cancel button removal.
3157 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3159 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3161 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3162 Makefile.am, that way we can choose not to compile some examples
3163 and tests of the deprecated widgets.
3165 * examples/Makefile.am: Divided the sources in deprecated and
3168 * src/Makefile.am: Added undef statement of the deprecated
3169 symbol to the enums file generation process.
3171 * src/hildon-color-chooser-dialog.c
3172 * src/hildon-color-chooser-dialog.h
3173 * src/hildon-color-button.c
3174 * src/hildon-color-button.h
3175 * src/hildon-color-chooser.c
3176 * src/hildon-color-chooser.h
3177 * src/hildon-controlbar.c
3178 * src/hildon-controlbar.h
3179 * src/hildon-date-editor.c
3180 * src/hildon-date-editor.h
3181 * src/hildon-hvolumebar.c
3182 * src/hildon-hvolumebar.h
3183 * src/hildon-private.c
3184 * src/hildon-private.h
3185 * src/hildon-range-editor.c
3186 * src/hildon-range-editor.h
3187 * src/hildon-seekbar.c
3188 * src/hildon-seekbar.h
3189 * src/hildon-time-editor.c
3190 * src/hildon-time-editor.h
3191 * src/hildon-time-picker.c
3192 * src/hildon-time-picker.h
3193 * src/hildon-volumebar.c
3194 * src/hildon-volumebar.h
3195 * src/hildon-vvolumebar.c
3196 * src/hildon-vvolumebar.h
3197 * src/hildon-bread-crumb-trail.h
3198 * src/hildon-bread-crumb-trail.c
3199 * src/hildon-calendar-popup.c
3200 * src/hildon-calendar-popup.h
3201 * src/hildon-weekday-picker.c:
3202 * src/hildon-weekday-picker.h:
3203 * src/hildon-bread-crumb-widget.c:
3204 * src/hildon-bread-crumb-widget.h:
3205 * src/hildon-bread-crumb.c:
3206 * src/hildon-bread-crumb.h:
3207 * src/hildon-calendar.c:
3208 * src/hildon-calendar.h:
3209 * src/hildon-caption.c:
3210 * src/hildon-code-dialog.c:
3211 * src/hildon-code-dialog.h:
3212 * src/hildon-font-selection-dialog.c:
3213 * src/hildon-font-selection-dialog.h:
3214 * src/hildon-get-password-dialog.c:
3215 * src/hildon-get-password-dialog.h:
3216 * src/hildon-login-dialog.c:
3217 * src/hildon-login-dialog.h:
3218 * src/hildon-number-editor.c:
3219 * src/hildon-number-editor.h:
3220 * src/hildon-set-password-dialog.c:
3221 * src/hildon-set-password-dialog.h:
3222 * src/hildon-sort-dialog.c:
3223 * src/hildon-sort-dialog.h: This is the list of deprecated
3226 * src/hildon-touch-selector.c:
3227 * src/hildon-window.c: Added undef statement to avoid compilation
3230 * tests/Makefile.am: Divided the sources in deprecated and
3233 * tests/check_test.c,
3234 (configure_tests): Marked the deprecated code that was adding
3235 suites with deprecated tests.
3237 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3239 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3241 * src/hildon-touch-selector.c: (_default_print_func): Do not
3242 duplicate a string returned by gtk_tree_model_get(), it is already
3245 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3248 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3250 * src/hildon-pannable-area.c
3251 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3252 method, it had problems when adding a widget with viewport the
3253 second time. Now checks if it already has a viewport and uses it.
3255 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3258 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3260 * src/hildon-pannable-area.c,
3261 (hildon_pannable_area_scroll_to),
3262 (hildon_pannable_area_jump_to),
3263 (hildon_pannable_area_scroll_to_child),
3264 (hildon_pannable_area_jump_to_child): Added a precondition to the
3265 scroll and jump to functions: the widget must be mapped before we
3266 can safely call these functions. We have also added documentation
3267 to the functions to explain how to use them in this situation.
3270 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3272 Reviewed the threading handling of the pannable widget, we have
3273 used the gdk_threads_add_timeout function instead of the usual
3274 glib handlers. This avoids some problems with the threads.
3276 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3277 (hildon_pannable_area_initial_effect),
3278 (hildon_pannable_area_scroll_indicator_fade),
3279 (hildon_pannable_area_button_press_cb),
3280 (hildon_pannable_area_timeout),
3281 (hildon_pannable_area_motion_notify_cb),
3282 (hildon_pannable_area_button_release_cb),
3283 (hildon_pannable_area_scroll_cb),
3284 (hildon_pannable_area_scroll_to): Removed the
3285 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3286 gdk_threads_add_timeout.
3288 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3290 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3295 * configure.ac: bump version
3296 * debian/changelog: updates
3298 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3300 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3301 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3302 * src/hildon-color-chooser-dialog.c:
3303 (hildon_color_chooser_dialog_init):
3304 * src/hildon-font-selection-dialog.c:
3305 (hildon_font_selection_dialog_init):
3306 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3308 Remove all cancel/close-like dialogs, as these are not going to be
3311 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-note.c: (hildon_note_rebuild),
3314 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3317 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3319 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3321 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3322 sure all buttons are shown, even the Cancel/Close-like ones.
3324 Fixes: NB#90861 (Custom Confirmation dialogs should be
3325 protected from cancel button removal)
3327 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3329 * debian/control: Change libhildon1-examples dependency from libhildon1
3331 * debian/libhildon1-examples.install
3333 * Makefile.am: Modified the final install directory for the examples on
3334 package libhildon1-examples
3335 * Makefile.static: Update clean target in order to remove all the binary
3338 Changes suggested by Claudio after review new libhildon1-examples package
3340 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3342 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3343 * src/hildon-touch-selector.c: Ditto.
3345 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3347 * debian/control: Added new package libhildon1-examples, in order to pack
3348 the current hildon examples as documentation
3349 * debian/rules: Not to compress .c files, modify some includes on the
3350 examples (as normally are compiled locally, but when installed it will
3351 require to include the installed libhildon1 library), and rename
3353 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3354 install all the example files on the new example package
3355 * examples/Makefile.static: Added static makefile that can be used to
3356 compile the examples, once installed the new example package
3357 * examples: Most of the examples were modified in order to grant that
3358 all use only '#include "hildon.h"', in order to be easy to prepare
3359 it on the example package
3361 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3364 * debian/libhildon1-dev.install
3365 * debian/libhildon1-doc.install:
3366 Move all gtk-doc files to a separate libhildon1-doc package.
3368 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3370 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3372 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3374 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3376 * debian/rules: Fixed a error in order to avoid unnecessary calls
3377 to autogen.sh on package building
3379 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3381 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3383 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3388 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3390 * src/hildon-picker-button.c
3391 (hildon_picker_button_finalize):
3392 Free priv->done_button_text
3394 * src/hildon-time-button.c
3395 (hildon_time_button_set_time)
3396 * src/hildon-picker-button.c
3397 (hildon_picker_button_clicked)
3398 (hildon_picker_button_selector_selection_changed)
3399 (hildon_picker_button_set_selector)
3400 * src/hildon-date-button.c
3401 (hildon_date_button_set_date):
3402 Free strings returned by hildon_touch_selector_get_current_text()
3404 * src/hildon-button.c (hildon_button_construct_child):
3405 Fix leaks in priv->image and priv->label_box
3407 Fixes: NB#90535 (Memory leak in picker button)
3409 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3411 * src/hildon-button.c: (hildon_button_get_property): Do not access
3412 private elements directly, use getters instead.
3414 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3416 * src/hildon-app-menu-private.h
3417 * src/hildon-app-menu.c
3418 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3419 Store the menu's parent window.
3421 * src/hildon-stackable-window.c
3422 (hildon_stackable_window_toggle_menu)
3423 (hildon_stackable_window_finalize):
3424 Set the menu's parent window when the menu is shown, unset it when
3427 * src/hildon-app-menu.c
3428 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3429 (hildon_app_menu_class_init):
3430 Send unhandled keyboard accelerators to the parent window.
3432 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3434 * src/hildon-stackable-window.c
3435 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3437 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3439 * configure.ac: post release version bump
3441 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3444 * configure.ac: Bump version
3445 * debian/changelog: Updates
3446 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3449 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3451 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3454 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3455 GtkMenu with Hildon style.
3457 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3459 * src/hildon-picker-button.c:
3460 (hildon_picker_button_set_done_button_text): Set the dialog's
3461 done button text here as well.
3463 Fixes: NB#90232 (Picker button does not set the label on done button
3464 for the second time)
3466 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3468 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3471 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3473 * src/hildon-app-menu.c (hildon_app_menu_insert)
3474 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3475 the HildonAppMenu to be activatable using keyboard accelerators
3476 when the menu is not being shown.
3478 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3480 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3482 * src/hildon-stackable-window.c
3483 (hildon_stackable_window_show):
3484 Don't hide old windows automatically when new windows are shown:
3485 this is now a task for the window manager.
3486 (hildon_stackable_window_class_init)
3487 (hildon_stackable_window_hide):
3488 Remove windows from the stack everytime they're hidden.
3489 (hildon_stackable_window_realize):
3490 Don't change the _NET_WM_WINDOW_TYPE property. Use
3491 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3492 it as a stackable window.
3494 * src/hildon-program.c
3495 (hildon_program_pop_window_stack):
3496 Just hide the window to remove it from the stack.
3497 (hildon_program_go_to_root_window):
3498 Don't call gtk_widget_show(), this is now a task for the window
3501 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3503 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3505 * src/hildon-button.c
3506 (hildon_button_construct_child):
3507 Don't pack anything in the button until text or image are
3508 set. This allows adding a custom child after creating the button
3509 with hildon_button_new().
3510 (hildon_button_finalize, hildon_button_class_init)
3511 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3512 alignment and the label box even when they're not packed in the
3515 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3517 * src/hildon-touch-selector.h:
3518 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3519 currently the type definition was using GTK_TYPE_VBOX
3520 * src/hildon-touch-selector.c:
3521 Added some implementation notes in order to clarify that any other widget
3522 added without the column related API will not be included on the
3523 selection logic, and how the widget is freed, as some people ask about
3525 (hildon_touch_selector_remove): Reimplemented in order to free properly
3526 the column related data when you remove the private hbox.
3527 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3528 to get a proper HildonTouchSelectorColumn documentation
3530 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3532 * src/hildon-touch-selector-entry.c:
3533 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3534 text in the GtkEntry and there is no item selected. Fixes a
3537 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3539 * src/hildon-app-menu-private.h
3540 * src/hildon-app-menu.[ch]
3541 * src/hildon-button.[ch]
3542 * src/hildon-check-button.[ch]
3543 * src/hildon-entry.[ch]
3544 * src/hildon-pannable-area.[ch]
3545 * src/hildon-text-view.[ch]:
3546 Added private field to the object's structure.
3548 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3550 * configure.ac: post-release version bump
3552 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3556 * configure.ac: pre-release version bump
3558 * debian/changelog: updates.
3560 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3562 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3563 Disconnect the handler for HildonTouchSelector::changed.
3565 (hildon_picker_button_selector_selection_changed): Update the button
3566 value if the selection change was not triggered by the
3569 (hildon_picker_button_set_selector): connect to
3570 HildonTouchSelector::changed.
3572 Fixes: NB#89650 (Picker button is not updated, when selection in
3573 selector has changed)
3575 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3577 * src/hildon-picker-dialog.c
3578 (hildon_picker_dialog_realize): Removed as not required
3579 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3580 * src/hildon-picker-button.c
3581 (_current_selector_empty): New function, checks if the selector is empty
3582 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3583 if the current selector is empty, in order to avoid to show the dialog
3584 close the dialog in this case (and shows a g_warning).
3586 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3588 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3590 * src/hildon-pannable-area.c,
3591 (hildon_pannable_area_scroll): Added clause to stop movement when
3592 the child of pannable is smaller than one page.
3593 (hildon_pannable_area_scroll_to): Added conditions to avoid
3594 starting the scrolling movement if the child is smaller than one
3595 page, the complete child is in the screen, we do not have to move.
3597 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3599 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3601 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3602 this is managed automatically by the widget when the size of the
3605 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3607 * src/hildon-picker-button.c
3608 (hildon_picker_button_set_done_button_text): Make a copy of the
3609 text, and free the previous value.
3611 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3613 * src/hildon-touch-selector-entry.c:
3614 (hildon_touch_selector_entry_print_func): Return the selected row's
3615 text if the entry is empty.
3617 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3620 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3622 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3624 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-check-button.h
3628 * src/hildon-check-button.c
3629 * examples/hildon-check-button-example.c:
3630 HildonCheckButton is now a new widget. 'toggled' signal added.
3632 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3634 * src/hildon-program-private.h
3635 * src/hildon-program.c (hildon_program_init)
3636 (hildon_program_finalize): Removed unused variables group_leader
3637 and name from HildonProgramPrivate.
3639 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-check-button.c (hildon_check_button_set_active)
3642 (hildon_check_button_get_active, hildon_check_button_new): Use
3643 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3645 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3647 * src/hildon-touch-selector.h
3648 (hildon_touch_selector_set_column_attributes): added deprecation
3649 guard HILDON_DISABLE_DEPRECATED
3650 * src/hildon-time-selector.c
3651 (hildon_time_selector_set_time)
3652 (hildon_time_selector_get_time): Fixed a typo on documentation
3653 * src/hildon-touch-selector.c: update HildonTouchSelector and
3654 HildonTouchSelectorColumn documentation
3655 * src/hildon-touch-selector-entry.c: update "text-column" property
3657 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3658 to be added to the general documentation.
3660 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3662 * examples/hildon-pannable-area-example-4.c,
3664 * examples/hildon-pannable-area-example.c,
3665 (main): Modified the code in order to use the container add, with
3666 viewport treeviews could have problems if they are really big.
3668 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3670 * src/hildon-weekday-picker.c,
3671 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3672 the agreement regarding deprecation in the library.
3674 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3676 * examples/hildon-picker-button-multicolumn-example.c:
3677 (main): Use custom "done" button text.
3679 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3680 (hildon_picker_button_set_property),
3681 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3682 (hildon_picker_button_init),
3683 (+hildon_picker_button_get_done_button_text),
3684 (+hildon_picker_button_set_done_button_text): New methods to customize
3685 the "done" button label in the launched HildonPickerDialog. Also,
3688 * src/hildon-picker-button.h: add the public API.
3690 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3692 * src/hildon-date-selector.h:
3693 * src/hildon-picker-dialog.h:
3694 * src/hildon-time-selector.h:
3695 * src/hildon-touch-selector-column.h:
3696 * src/hildon-touch-selector.h:
3698 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3699 declarations. Fixes gtk-doc warnings.
3701 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3703 * src/hildon-picker-dialog.h
3704 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3705 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3707 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3708 long text is set as label for done button)
3710 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3712 * src/hildon-dialog.c (hildon_dialog_add_button):
3713 Set fixed width to all buttons in the HildonDialog.
3715 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3717 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3719 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3720 Set widget name using class name plus "-finger" or "-thumb".
3722 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3725 'clicked' when the state of the button is manually changed.
3727 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3729 * src/hildon-app-menu.c (hildon_app_menu_realize)
3730 (hildon_app_menu_unrealize, hildon_app_menu_init)
3731 (hildon_app_menu_class_init, item_visibility_changed):
3732 Change the menu layout when the size of the screen changes.
3733 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3734 Show warning only when changing the number of colums using the
3737 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3739 * debian/compat: Set to 5
3740 * debian/control: Update dependencies.
3741 * debian/libhildon1-dbg.install: Remove.
3742 * debian/libhildon1-dev.install: Update according to cdbs paths.
3743 * debian/libhildon1.install: Update according to cdbs paths.
3744 * debian/rules: Switch to cdbs.
3746 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3749 'item' variable renamed to 'filter'
3751 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3753 * src/hildon-app-menu.c (hildon_app_menu_insert)
3754 (hildon_app_menu_add_filter, remove_item_from_list)
3755 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3756 Don't leak hidden items when the menu is destroyed.
3758 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3760 * src/hildon-app-menu.c (hildon_app_menu_insert)
3761 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3762 (hildon_app_menu_set_columns, item_visibility_changed)
3763 (filter_visibility_changed, hildon_app_menu_repack_filters)
3764 (hildon_app_menu_repack_items):
3765 Repack items and filters separately.
3767 Don't repack all items, change only the ones that are needed to
3770 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3772 * src/Makefile.am: added hildon-touch-selector-column.h
3774 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3776 * src/hildon-touch-selector.c: added the property "text-column" to the
3777 class HildonTouchSelectorColumn, and related get/set functions
3778 (_default_printf_func): updated to use "text-column" property
3779 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3780 "text-column" in his documentation, as this is now included on
3781 HildonTouchSelectorColumn. The get/set_property can still be used,
3782 working as a wrapper to the concrete column "text-column" property
3783 (_text_column_modified): callback added in order to handle the signal
3784 "notify::text-column" of the concrete HildonTouchSelectorColumn
3785 (hildon_touch_selector_entry_get_text_column)
3786 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3787 modified in order to use the HildonTouchSelectorColumn "text-column"
3789 * src/hildon-time-selector.c:
3790 * src/hildon-date-selector.c:
3791 * examples/hildon-touch-selector-example.c
3792 * examples/hildon-touch-selector-multi-cells-example.c
3793 * examples/hildon-picker-button-multicolumn-example.c
3794 Set the right value to "text-column" property on the creation of a new
3795 column using hildon_touch_selector_append_column()
3797 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3799 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-app-menu.c
3802 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3803 updating the layout of the menu, don't create all widgets again,
3804 just repack the items in their new places.
3806 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3808 * src/hildon-time-selector.c
3809 (hildon_time_selector_get_time)
3810 (hildon_time_selector_set_time)
3811 Added documentation of these public methods
3813 * src/hildon-date-button.h
3814 * src/hildon-touch-selector-column.h
3815 * src/hildon-time-button.h
3816 * src/hildon-picker-dialog.h
3817 * src/hildon-time-selector.h
3818 * src/hildon-picker-button.h
3819 * src/hildon-touch-selector.h
3820 * src/hildon-time-picker.h
3821 * src/hildon-date-selector.h
3822 * src/hildon-touch-selector-entry.h
3823 Modified in order to use hildon-widgets code style
3825 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3827 Added deprecated support to the compilation process using
3828 HILDON_DISABLE_DEPRECATED
3830 * configure.ac: Added the --disable-deprecated to the configure
3833 * src/hildon-weekday-picker.c:
3834 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3835 to use the deprecated support. We will update the other deprecated
3836 widgets status in a new patch.
3838 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3840 * configure.ac: Fixed typo with fatal warnings support, the
3841 variable name was not correct
3843 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3845 * src/hildon-app-menu.c
3846 * src/hildon-program.c: Update documentation.
3848 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3850 * configure.ac: Post-release version bump.
3852 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3857 * configure.ac: Pre-release version bump.
3858 * debian/changelog: Updates.
3860 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3862 * NEWS: Update news for previous releases.
3864 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3866 * examples/hildon-touch-selector-multi-cells-example.c:
3867 (create_selector): Update the example to use
3868 hildon_touch_selector_append_column() with a NULL renderer and set
3869 the renderers later.
3870 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3871 passed a NULL renderer. This is documented behavior now.
3873 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3874 This must be used if the developer wants full control on the layout of
3875 the renderers to be added to the column.
3877 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3879 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3881 * src/hildon-touch-selector.c: Documentation fixes.
3883 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3885 * src/hildon-wizard-dialog-private.h: Remove image and box.
3886 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3887 (hildon_wizard_dialog_set_property), (response): Completely remove
3888 image/icon support, and the containers required for the layout.
3890 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3892 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3894 * src/hildon-app-menu.c: Updated documentation.
3896 * src/hildon-stackable-window.c
3897 (hildon_stackable_window_set_main_menu): Unref the old menu after
3898 ref'ing the new one.
3900 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3902 * src/hildon-stackable-window.c
3903 (hildon_stackable_window_set_main_menu): Unref the previous menu
3904 instead of destroying it.
3906 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3907 floating reference and set has_user_ref_count to FALSE to make
3908 HildonAppMenu act like a normal ref-counted widget and not a
3911 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3914 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3916 * src/hildon-touch-selector-column.h: new file
3917 * src/hildon-touch-selector.h
3918 * src/hildon-touch-selector.c
3919 Implemented GtkCellLayout interface, in order to allow to configure
3920 the cell layout on each individual selector column
3921 (hildon_touch_selector_set_column_attributes): marked as deprecated
3922 * examples/hildon-touch-selector-multi-cells-example.c
3923 Example of how to use the GtkCellLayout interface on the selector
3925 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3927 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3929 * src/hildon-app-menu.h
3930 * src/hildon-app-menu.c
3931 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3932 (hildon_app_menu_append, hildon_app_menu_prepend):
3933 New methods to prepend, insert and move items in the menu.
3935 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3937 * src/hildon-wizard-dialog.c:
3939 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3941 (create_title): Update logical IDs and related code.
3942 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3944 * src/hildon-wizard-dialog.h: Note that
3945 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3946 point, as it is not used anymore.
3948 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3950 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-note.c:
3953 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3954 shown. Do not display an icon in confirmation notes nor information
3956 (hildon_note_set_button_text): Update logical ID for cancel button.
3958 Fixes: NB#88850 (Update HildonNote button strings + signals)
3960 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3962 * src/hildon-stackable-window.c
3963 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3965 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3967 * src/hildon-app-menu-private.h
3968 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3969 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3970 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3971 temporary property 'columns' to change the number of columns.
3973 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3975 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3977 * examples/hildon-note-example.c: (on_information_clicked),
3978 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3979 debugging information.
3980 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3982 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3983 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3984 in order to close: this will be handled by the WM from now on.
3986 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3988 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3990 * src/hildon-app-menu-private.h
3991 * src/hildon-app-menu.c
3992 (hildon_app_menu_append, hildon_app_menu_add_filter)
3993 (button_visibility_changed, hildon_app_menu_apply_style)
3994 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3995 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3996 layout everytime a button (item or filter) is shown or hidden.
3998 * src/hildon-stackable-window.c
3999 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4002 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4004 * src/hildon-touch-selector.c:
4005 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4006 that the treeview inside the touch selector is in fremantle hildon mode
4007 * examples/hildon-date-button-example.c
4008 * examples/hildon-picker-button-multicolumn-example.c
4009 * examples/hildon-touch-selector-entry-example.c
4010 * examples/hildon-touch-selector-example.c
4011 * examples/hildon-time-button-example.c
4012 * examples/hildon-picker-button-example.c:
4013 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4015 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4017 * examples/hildon-text-view-example.c: (main): Remove the
4018 gtkrc bits, now handled by the theme.
4020 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4025 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4027 * po/Makefile.am: Install properly the mo files.
4028 * po/en_GB.po: Update translation, to ease testing purposes.
4030 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4032 * examples/hildon-picker-button-example.c: (main): Select an item
4033 in the selector before setting it to the button.
4035 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4037 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4038 Update button's value if the selector has an item active.
4040 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4041 'value' with the selector)
4043 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4045 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4046 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4047 (hildon_picker_button_class_init): Plug the finalize method.
4048 (hildon_picker_button_set_selector): If there's a previously set
4049 selector, unref'it before setting a new one.
4051 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4052 HildonTouchSelector)
4054 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4056 * src/hildon-touch-selector-entry.c:
4057 (hildon_touch_selector_entry_changed): Check if there is no text
4058 selected before setting the entry text.
4061 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4063 * src/hildon-touch-selector.h
4064 * src/hildon-touch-selector.c
4065 (hildon_touch_selector_get_active)
4066 (hildon_touch_selector_set_active): New methods to set/get the
4067 index of the selected item.
4069 * src/hildon-picker-button.h
4070 * src/hildon-picker-button.c
4071 (hildon_picker_button_get_active)
4072 (hildon_picker_button_set_active): New methods to set/get the
4073 index of the selected item.
4075 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4077 * configure.ac: post-release version bump.
4079 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4083 * configure.ac: Pre-release version bump.
4084 * debian/changelog: Updates.
4085 * debian/control: Add myself as maintainer and depend on l10n
4088 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4090 * src/hildon-window.c
4091 (hildon_window_set_main_menu)
4092 * src/hildon-stackable-window.c
4093 (hildon_stackable_window_set_main_menu):
4094 Updated documentation.
4096 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4098 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4099 Don't free selector->priv manually.
4102 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4105 (hildon_gtk_window_set_progress_indicator):
4106 * src/hildon-gtk.h: Added the new API
4107 hildon_gtk_window_set_progress_indicator, it changes the state of
4108 the window progress hint.
4110 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4112 * src/hildon-button.c
4113 * src/hildon-stackable-window.c: Minor documentation updates.
4115 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-stackable-window.c: Updated documentation.
4119 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4121 * src/hildon-defines.h: Update margins definitions
4122 to the Fremantle sizes.
4125 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4127 * src/hildon-touch-selector.c,
4128 (_hildon_touch_selector_set_model): Cleaning the code after
4129 review, removed g_print and #if 0 from the code.
4131 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4133 * src/hildon-edit-toolbar.c: Update documentation.
4135 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4137 * src/hildon-check-button.h
4138 * src/hildon-check-button.c
4139 (hildon_check_button_set_label, hildon_check_button_get_label)
4140 * examples/hildon-check-button-example.c
4141 (button_clicked_cb):
4142 Removed deprecated methods.
4144 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4146 * src/hildon-text-view.c:
4147 Add sample code to the documentation.
4149 * src/hildon-entry.h
4150 * src/hildon-text-view.h:
4151 Minor cosmetic changes.
4153 * src/hildon-entry.c:
4154 Add sample code to the documentation.
4155 (hildon_entry_init, hildon_entry_refresh_contents):
4156 Don't allow NULL values in the placeholder.
4158 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4160 * doc/hildon-docs.sgml
4162 * examples/Makefile.am
4163 * examples/hildon-text-view-example.c
4165 * src/hildon-text-view.c
4166 * src/hildon-text-view.h
4168 New HildonTextView widget, with example.
4170 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4172 * po/POTFILES.in: Add missing files with translatable strings.
4173 Partially fixes NB#88287.
4175 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4177 * examples/hildon-pannable-area-example-2.c: (main): No need to
4178 set the cellrenderer height inside hildon touch lists, the theme does
4181 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4183 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4184 they are integrated in the theme.
4186 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4188 * examples/hildon-entry-example.c: Update the example adding
4189 widgets to modify the text and the placeholder of the HildonEntry.
4191 * src/hildon-entry.c: Show the placeholder everytime the widget
4192 is empty and loses the focus.
4194 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4196 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4198 * src/hildon-pannable-area.c,
4199 (hildon_pannable_area_size_request): Fixed bug in height
4200 requisition, avoid increasing size and add border twice.
4202 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4204 * configure.ac: postrelease version bump.
4206 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4210 * configure.ac: Prerelease version bump.
4211 * debian/changelog: update.
4212 * debian/rules: make -dbg package contain useful debugging symbols.
4214 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-dialog.h
4217 * src/hildon-dialog.c
4218 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4219 New methods to add buttons with finger size.
4220 (hildon_dialog_new_with_buttons):
4221 Create buttons with finger size.
4223 * examples/hildon-dialog-example.c (main): Use HildonDialog
4224 methods to add buttons.
4226 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4228 * src/hildon-entry.c: Updated HildonButton documentation.
4230 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4232 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4233 button value label with (FALSE, FALSE) to prevent NB#88126 from
4236 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4238 * examples/hildon-pannable-area-example.c,
4239 (main): Removed examples panning a vbox inside a pannable
4240 area. Check bug NB#87965
4242 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4244 Patch contributed by Kris Rietveld (kris@imendio.com)
4246 * src/hildon-pannable-area.c,
4247 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4248 get_size and get_position, this saves an X server roundtrip.
4250 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4252 * doc/hildon-docs.sgml
4254 * examples/Makefile.am
4255 * examples/hildon-entry-example.c
4257 * src/hildon-entry.c
4258 * src/hildon-entry.h
4260 New HildonEntry widget, with example.
4262 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4264 * src/hildon-button.c (hildon_button_construct_child): Pack the
4265 image with expand == fill == FALSE. This is a workaround for a bug
4268 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4270 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4271 labels for the text column, to make it more look more dynamic.
4273 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4275 * src/hildon-time-selector.c
4276 Define gettext auxiliar macro N_
4277 (_create_minutes_model)
4278 (_create_hours_model)
4279 (_create_ampm_model): use of strftime in order to fill the model
4280 * src/hildon-date-selector.c
4281 (hildon_date_selector_finalize):
4282 (_locales_init): remove the logic related to get the name of the months
4283 using nl_langinfo, as it is not required anymore
4285 (_create_year_model)
4286 (_create_month_model)
4287 (_update_day_model): use of strftime in order to fill the model properly
4290 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-button.h
4293 * src/hildon-button.c (hildon_button_get_image): New method to
4296 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4298 * src/hildon-touch-selector.c:
4299 (hildon_touch_selector_remove_column): Remove from the correct parent
4300 and also remove the list element and free it.
4303 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4305 * src/hildon-time-selector.c
4306 (_create_hours_model): change the range on 12h ampm format in order to use
4307 a 12-11 range instead of previous 01-12 range
4308 (hildon_time_selector_set_time): change the way to select the current time
4309 on 12h ampm format, due the change on the range
4310 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4313 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4315 * src/hildon-touch-selector.c
4316 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4317 in order to allow use this function on multiple row selection mode if
4318 the column is different that the first one
4321 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4323 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4324 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4326 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4328 * src/hildon-date-selector.h: clean some comments, now on the .c
4329 * src/hildon-date-selector.c
4330 (hildon_date_selector_select_month): first implementation
4331 (hildon_date_selector_select_day): added documentation, reimplemented
4332 using hildon_date_selector_select_current_date to avoid repeat code
4335 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4337 Reviewed interaction logic based on device experiences, refactored
4340 * src/hildon-pannable-area.c,
4341 (hildon_pannable_area_class_init): Updated default vmax speed.
4342 (hildon_pannable_area_calculate_velocity): Added this function, it
4343 avoids duplicate valocity calculation. Adjusted calculation to
4344 avoid problems with zero dist events.
4346 (hildon_pannable_area_motion_notify_cb): Now we use the
4347 calculate_velocity function.
4349 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4351 * src/hildon-date-selector.c
4352 (hildon_date_selector_select_current_date): fix the day range check
4353 as it failed using the last day of the current month
4356 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4358 * src/hildon-touch-selector.c
4359 (hildon_touch_selector_get_num_columns): added a parameter validation
4362 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4364 * examples/Makefile.am
4365 * examples/hildon-edit-toolbar-example.c: Example of the
4366 HildonEditToolbar widget.
4368 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4370 * configure.ac: postrelease version bump.
4372 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4376 * configure.ac: prerelease version bump.
4377 * debian/changelog: update.
4379 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4381 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4382 renderer to display stock icons in the touch list. Also, set the sizes
4383 to the recommended in the style guide.
4385 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4386 * src/hildon-touch-selector.h
4387 (hildon_touch_selector_set_active_iter): renamed, now is
4388 hildon_touch_selector_select_iter
4389 (hildon_touch_selector_get_active_iter): renamed, now is
4390 hildon_touch_selector_get_selected
4391 (hildon_touch_selector_unselect_iter): added
4392 * src/hildon-touch-selector.c
4393 Update after API modification (methods renamed)
4394 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4395 order to avoid problems selecting multiple elements on the column
4396 (hildon_touch_selector_unselect_iter): added the implementation
4397 * src/hildon-time-selector.c
4398 * src/hildon-date-selector.c
4399 * src/hildon-touch-selector-entry.c
4400 Update methods calls after hildon-touch-selector.h API modification (methods
4403 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4405 * src/hildon-stackable-window.c
4406 (hildon_stackable_window_finalize): Call the parent class's finalize.
4408 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4410 * examples/hildon-touch-selector-example.c: (create_selector): Use
4411 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4414 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4416 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4417 set a cell background color, to respect theming.
4419 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4421 * doc/hildon-docs.sgml
4424 * src/hildon-edit-toolbar.c
4425 * src/hildon-edit-toolbar.h
4426 * src/hildon.h: New HildonEditToolbar widget.
4428 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4430 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4433 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4434 * src/hildon-touch-selector.c
4435 (_create_new_column): use g_object_set instead of two g_object_set_property
4437 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4438 * src/hildon-touch-selector.c
4439 (_create_new_column): use of hildon_gtk_tree_view_new to create
4440 the treeview, instead of use directly g_object_new
4441 (_create_new_column): update the property name "vindicator-mode" for the
4442 new one "vscrollbar-policy"
4443 * examples/hildon-date-button-example.c
4444 * examples/hildon-picker-button-multicolumn-example.c
4445 * examples/hildon-touch-selector-entry-example.c
4446 * examples/hildon-touch-selector-example.c
4447 * examples/hildon-time-button-example.c
4448 * examples/hildon-picker-button-example.c
4449 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4450 to all the treeviews inside a pannable area.
4452 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4454 * src/hildon-button.h
4455 * src/hildon-button.c (hildon_button_init)
4456 (hildon_button_set_arrangement, hildon_button_set_alignment)
4457 (hildon_button_set_title_alignment)
4458 (hildon_button_set_value_alignment)
4459 (hildon_button_set_image_alignment)
4460 (hildon_button_construct_child): New methods to set the alignment
4461 of the individual components of the button (title, value,
4462 image). Also, new method to alter the xscale and yscale properties
4463 of the GtkAlignment inside the button, so more complex layouts can
4466 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4468 * src/hildon-button.c (hildon_button_style_set)
4469 (hildon_button_class_init, hildon_button_set_arrangement)
4470 (hildon_button_construct_child): Apply style properties
4471 correctly. Use the 'image-spacing' style property too.
4473 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4475 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4476 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4479 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4481 * src/hildon-pannable-area.c,
4482 (hildon_pannable_area_size_request): Fixed problem with
4483 pannable-area size_request.
4485 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4487 Added management for the grab-focus to a child widget, like a
4488 range, we need to fade out the scrollbar when releasing.
4490 * src/hildon-pannable-area.c,
4491 (hildon_pannable_area_init): Connected the grab-focus signal to
4493 (hildon_pannable_area_grab_notify): Added this function in order
4494 to manage the situation when the grab-focus ends. We have to
4495 fade-out the scrollbar.
4497 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-app-menu.c: Minor documentation update.
4501 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-app-menu.c
4504 * examples/hildon-app-menu-example.c (create_menu): Update
4505 examples and documentation to explain how to connect callbacks.
4507 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4509 * examples/hildon-button-example.c
4510 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4511 hildon_stackable_window_new instead of gtk_window_new
4513 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4515 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4516 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4517 (hildon_pannable_area_set_property),
4518 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4519 (hildon_pannable_area_unrealize),
4520 (hildon_pannable_area_size_request),
4521 (hildon_pannable_area_size_allocate),
4522 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4523 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4524 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4525 (hildon_pannable_area_initial_effect),
4526 (hildon_pannable_area_redraw),
4527 (hildon_pannable_area_scroll_indicator_fade),
4528 (hildon_pannable_area_expose_event),
4529 (hildon_pannable_area_get_topmost), (synth_crossing),
4530 (hildon_pannable_area_button_press_cb),
4531 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4532 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4533 (hildon_pannable_area_motion_notify_cb),
4534 (hildon_pannable_area_button_release_cb),
4535 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4536 (hildon_pannable_area_remove),
4537 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4538 chage the code layout to a more GtkWidget like. Review the use of
4541 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4543 * examples/hildon-pannable-area-example-4.c,
4544 (main): Modified the name of the hindicator_mode to
4547 * src/hildon-pannable-area.c,
4548 (hildon_pannable_area_class_init),
4549 (hildon_pannable_area_motion_notify_cb),
4550 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4551 we have reduced the amount of signals and managed reviewed its
4552 rationale. Changed the default decelerate value.
4554 (hildon_pannable_area_add),
4555 (hildon_pannable_area_redraw): Refactored functions.
4557 (hildon_pannable_area_init),
4558 (hildon_pannable_area_get_property),
4559 (hildon_pannable_area_set_property):
4560 (hildon_pannable_draw_vscroll),
4561 (hildon_pannable_draw_hscroll),
4562 (hildon_pannable_area_initial_effect),
4563 (hildon_pannable_area_expose_event),
4564 (hildon_pannable_area_scroll),
4565 (hildon_pannable_area_button_press_cb),
4566 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4567 and vindicator_mode with hscrollbar_policy and
4568 vscrollbar_policy. Replaced hscroll and vscroll with
4569 hscroll_visible and vscroll_visible.
4571 (hildon_pannable_area_refresh): Refactor the function, remove
4572 variables and check the calls to this function, added resize
4573 conditions in case the children change their layout.
4575 (hildon_pannable_area_size_request): Added more detailed
4576 size_request calculation.
4579 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4581 * src/hildon-color-chooser.c
4582 (init_borders): use the correct gtk_border_free instead of g_free, to
4583 avoid a crash when this widget is used (ie: the three color selection
4586 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4588 * src/hildon-check-button.c,
4589 (hildon_check_button_set_active): Fixed problem when setting the
4590 active value, the widget was not redrawn.
4592 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4594 * src/hildon-pannable-area.c,
4595 (hildon_pannable_area_refresh),
4596 (hildon_pannable_area_scroll),
4597 (hildon_pannable_area_motion_notify_cb): Small code style change.
4599 (hildon_pannable_area_class_init): Default initial_hint set to
4600 FALSE, it is not in the specs.
4602 (hildon_pannable_area_initial_effect),
4603 (hildon_pannable_area_expose_event),
4604 (hildon_pannable_area_map),
4605 (hildon_pannable_area_init): Moved the launching point of the
4606 initial effect, it was in map but the sizes where not correct in
4607 that method so we do not know if we have the reproduce it. Now it
4608 is placed in the expose_event method and uses a variable to
4609 reproduce it just once.
4611 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4613 * src/hildon-pannable-area.c,
4614 (hildon_pannable_draw_vscroll),
4615 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4616 position allowed for the scrollbars.
4618 (hildon_pannable_area_size_allocate): Small style change.
4620 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4622 * src/hildon-pannable-area.c,
4623 (hildon_pannable_area_scroll_indicator_fade),
4624 (hildon_pannable_area_button_press_cb),
4625 (hildon_pannable_area_button_release_cb),
4626 (hildon_pannable_area_scroll_cb),
4627 (hildon_pannable_area_expose_event),
4628 (hildon_pannable_area_init): Added the define parameter
4629 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4630 and refactor the fade variable.
4632 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4634 * src/hildon-pannable-area.c,
4635 (hildon_pannable_area_redraw),
4636 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4637 lines, we were reimplemeting the redraw code.
4639 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4641 * src/hildon-pannable-area.c,
4642 (hildon_pannable_area_scroll_cb),
4643 (hildon_pannable_area_realize),
4644 (hildon_pannable_area_class_init): Added scroll_event management
4645 for pannable area, now we can scroll the usual desktop method.
4647 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4648 initialization of the parameters should depend on idle_id.
4650 (hildon_pannable_area_init),
4651 (hildon_pannable_area_map): Small code style modifications
4653 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4655 * src/hildon-pannable-area.c
4656 (hildon_pannable_area_button_press_cb),
4657 (hildon_pannable_area_motion_notify_cb),
4658 (hildon_pannable_area_button_release_cb),
4659 (hildon_pannable_area_size_allocate),
4660 (hildon_pannable_area_scroll_to): Improved the timeouts
4661 management, we avoid creating them each time.
4663 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4665 * src/hildon-pannable-area.c:
4666 (hildon_pannable_area_refresh),
4667 (hildon_pannable_area_motion_notify_cb),
4668 (hildon_pannable_area_class_init):
4669 * src/hildon-pannable-area.h:
4670 * src/hildon-touch-selector.c
4671 (_create_new_column):
4672 * examples/hildon-pannable-area-example-4.c:
4673 (horizontal_movement),
4674 (vertical_movement),
4676 Replaced the names of enums in the HildonPannableArea:
4677 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4678 HILDON_MOVEMENT_MODE_*
4679 - HILDON_PANNABLE_AREA_MOV_* ->
4681 - Removed HildonPannableAreaIndicatorMode, now we
4684 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4686 * examples/hildon-pannable-area-touch-grid-example.c
4687 * examples/hildon-pannable-area-touch-list-example.c: Fix
4688 compilation warnings.
4690 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4692 * src/hildon-gtk.c (hildon_gtk_button_new)
4693 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4694 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4695 images overriding the value of the "gtk-button-images" setting.
4697 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4699 * src/hildon-check-button.c (hildon_check_button_new):
4700 Instead of using a custom container, display the label and the
4701 checkbox using the standard GtkButton API.
4703 * examples/hildon-check-button-example.c (main): Don't use
4704 hildon_check_button_set_label() anymore
4706 * src/hildon-check-button.h
4707 * src/hildon-check-button.c
4708 (hildon_check_button_set_label, hildon_check_button_get_label):
4709 Set as deprecated, now we're using gtk_button_{get,set}_label()
4711 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4713 * src/hildon-pannable-area.c,
4714 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4715 GtkTreeview first line we detected it after the inclusion of the
4716 GtkWindowImpl in gtk+. We now check if the window is visible, not
4717 just if the pointer is over the window.
4718 (hildon_pannable_axis_scroll),
4719 (hildon_pannable_area_expose_event): Small style changes.
4721 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4723 * src/hildon-button.c: Update documentation.
4725 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4727 * examples/hildon-button-example.c: Add a switch to show images in
4730 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4732 * doc/hildon-docs.sgml: Some docs reorganization.
4734 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4736 * examples/hildon-pannable-area-touch-list-example.c
4738 * examples/hildon-pannable-area-touch-grid-example.c
4739 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4740 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4741 Fix memory leak when setting the tree model.
4743 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4747 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4749 * doc/hildon.types: Remove duplicated hildon_window_get_type
4750 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4751 documentation comment.
4753 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4755 * doc/Makefile.am: Complete list of private headers.
4757 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4759 * doc/hildon-docs.sgml
4760 * src/hildon-app-menu.c
4761 * src/hildon-bread-crumb.c
4762 * src/hildon-button.c
4764 * src/hildon-program.c
4765 * src/hildon-stackable-window.c
4766 * src/hildon-window.c: Lots of documentation updates.
4768 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4770 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4772 * configure.ac: Require Gtk+ 2.12.9 at least
4774 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4776 * src/hildon-pannable-area.c
4777 (hildon_pannable_area_scroll_indicator_fade),
4778 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4779 to protect the return of this timeout callbacks, avoiding deadlocks.
4781 2008-08-12 Christian Dywan <christian@imendio.com>
4784 * src/hildon-*.h: Ensure a consistent include order,
4785 include <gtk/gtk.h> instead of particular files and
4786 only include the topmost header in the gtk stack. See NB #39857
4788 2008-08-12 Christian Dywan <christian@imendio.com>
4790 * src/hildon-picker-dialog.c
4791 * src/hildon-touch-selector.c: Fix warnings about unused and
4792 uninitialized variables.
4794 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4796 * examples/Makefile.am
4797 * examples/hildon-check-button-example.c: Example of the hildon
4800 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4802 * src/hildon-window.h
4803 * src/hildon-window.c (hildon_window_class_init)
4804 (hildon_window_unset_program): Don't make
4805 hildon_window_unset_program a virtual function anymore.
4807 * src/hildon-stackable-window.c: Update documentation
4809 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4812 * doc/hildon-docs.sgml
4813 * doc/visual_index.xml
4814 * src/hildon-defines.c
4816 * src/hildon-helper.c
4817 * src/hildon-range-editor.c: Lots of documentation fixes.
4819 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4821 * examples/hildon-picker-button-multicolumn-example.c
4822 (create_touch_selector): Fix compilation warning.
4824 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4826 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4827 (hildon_pannable_area_button_release_cb)
4828 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4830 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4832 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4835 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4837 * src/hildon-bread-crumb-trail.h
4838 * src/hildon-date-editor.c
4839 * src/hildon-date-selector.c
4840 * src/hildon-pannable-area.c
4841 * src/hildon-picker-dialog.c
4842 * src/hildon-time-selector.c
4843 * src/hildon-touch-selector-entry.c
4844 * src/hildon-touch-selector.c
4845 * src/hildon-touch-selector.h: Misc documentation fixes
4847 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4849 * examples/hildon-date-editor-example.c (main): Updated date
4852 * examples/hildon-note-example.c (on_confirmation_clicked):
4853 Updated confirmation note example.
4855 * src/hildon-date-editor.c
4856 * src/hildon-note.c: Updated sample programs in documentation.
4859 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4861 * src/hildon-date-button.h:
4862 * src/hildon-picker-button.h:
4863 * src/hildon-time-button.c:
4864 * src/hildon-time-button.h:
4866 Some declarations changes to allow gtk-doc to document the widgets
4869 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4871 * src/hildon-date-button.c: Document the widget.
4872 * src/hildon-time-button.c: Document the widget.
4874 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4876 * src/hildon-picker-button.c: Document the widget.
4877 * src/hildon-touch-selector-entry.c: Document the widget.
4879 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4881 * doc/hildon-docs.sgml
4884 * src/hildon-check-button.h
4885 * src/hildon-check-button.c: New functions to create the Hildon
4889 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4891 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4893 * src/hildon-button.h
4894 * src/hildon-button.c
4895 (hildon_button_add_title_size_group)
4896 (hildon_button_add_value_size_group)
4897 (hildon_button_add_image_size_group)
4898 (hildon_button_add_size_groups): New functions to set size groups
4899 for the button labels and image.
4900 (hildon_button_new_full): Removed
4902 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4904 * src/hildon-time-selector.c
4905 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4906 in order to avoid a crash if gconf is not available
4908 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4910 * src/hildon-button.c (hildon_button_set_arrangement)
4911 (hildon_button_construct_child): Don't construct the button child
4912 before setting the arrangement.
4914 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4916 * src/hildon-program-private.h
4917 * src/hildon-program.c
4918 * src/hildon-program.h
4919 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4920 (hildon_program_peek_window_stack)
4921 (hildon_program_pop_window_stack)
4922 (hildon_program_go_to_root_window): HildonProgram now has a
4923 separate list for stackable windows. Functions are provided to
4924 manage that list with a stack-like API.
4926 * src/hildon-stackable-window.c: Stackable window management is
4927 now much simpler with the new HildonProgram API. Windows no
4928 longer need to be manually added to the program, they're
4929 automatically pushed to the top of the stack when shown.
4931 * examples/hildon-stackable-window-example.c: Updated example to
4932 reflect the API changes.
4934 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4936 * src/hildon-touch-selector.c: Comment out unimplemented
4937 hildon_touch_selector_insert_column() to avoid a compile warning.
4939 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4941 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4942 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4943 (hildon_touch_selector_set_column_selection_mode),
4944 (_hildon_touch_selector_set_model),
4945 (hildon_touch_selector_set_model):
4947 Complete review of HildonTouchSelector documentation.
4949 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4951 * doc/hildon-docs.sgml
4955 * src/hildon-gtk.c: Convenience functions for standard Gtk
4956 widgets, used to easily perform frequent operations.
4958 * src/hildon-button-helpers.h
4959 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4961 * src/hildon-helper.h
4962 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4963 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4965 * src/hildon-button.h
4966 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4968 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-button.c (hildon_button_init)
4971 (hildon_button_set_arrangement, hildon_button_construct_child):
4972 Pack the image and the labels inside the same GtkAlignment so
4973 gtk_button_set_alignment() can be used
4975 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4977 * src/hildon-button.h
4978 * src/hildon-button.c
4979 (hildon_button_init, hildon_button_set_image)
4980 (hildon_button_set_image_position)
4981 (hildon_button_construct_child): New functions to add an image to
4984 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4986 * src/hildon-date-button.c
4987 * src/hildon-picker-button.c
4988 * src/hildon-time-button.c
4989 * src/hildon-button.c:
4990 (hildon_button_class_init): "size-flags" renamed to "size"
4991 (hildon_button_set_title): Hide the title label if set to NULL.
4993 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4995 HildonButtonFlags split into HildonButtonArrangement (to set the
4996 button layout) and HildonSizeType (which can be used for any
4999 * src/hildon-button.h
5000 * src/hildon-button.c
5001 (hildon_button_class_init)
5002 (hildon_button_set_arrangement)
5003 (hildon_button_set_property): New "size-flags"
5004 property. "arrangement-flags" renamed to "arrangement".
5005 (hildon_button_new, hildon_button_new_with_text)
5006 (hildon_button_new_full): Constructors updated to reflect type changes.
5008 * src/hildon-helper.h
5009 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5010 to set the size of a widget.
5014 * src/hildon-button-helpers.c
5015 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5017 * src/hildon-date-button.c
5018 * src/hildon-date-button.h
5019 * src/hildon-picker-button.c
5020 * src/hildon-picker-button.h
5021 * src/hildon-time-button.c
5022 * src/hildon-time-button.h: Updated widgets to reflect
5023 HildonButton API changes.
5025 * examples/hildon-button-example.c
5026 * examples/hildon-date-button-example.c
5027 * examples/hildon-picker-button-example.c
5028 * examples/hildon-picker-button-multicolumn-example.c
5029 * examples/hildon-time-button-example.c
5030 * examples/hildon-touch-selector-entry-example.c
5031 * examples/hildon-touch-selector-example.c: Updated examples to
5032 reflect HildonButton API changes.
5034 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5036 * doc/hildon-docs.sgml:
5038 * examples/Makefile.am:
5039 * examples/hildon-touch-selector-entry-example.c:
5041 * src/hildon-touch-selector-entry.c:
5042 * src/hildon-touch-selector-entry.h:
5045 Moved HildonTouchSelectorEntry from sandbox. Added its
5046 documentation and examples.
5048 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5050 * src/hildon-touch-selector.h:
5051 * examples/hildon-picker-button-multicolumn-example.c:
5052 (hildon_touch_selector_append_text_column): Add a gboolean
5053 parameter to determine if text must be centered in the column.
5055 * src/hildon-date-selector.c: (hildon_date_selector_init):
5056 * src/hildon-time-selector.c: (hildon_time_selector_init):
5057 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5058 (create_touch_selector): Update widgets and example to reflect
5061 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5063 * src/hildon-touch-selector.c:
5064 (hildon_touch_selector_set_active_iter): Set also the cursor in
5067 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5069 * doc/hildon-docs.sgml
5072 * src/hildon-toggle-button.c
5073 * src/hildon-toggle-button.h
5074 * src/hildon.h: Removed HildonToggleButton widget, a derived
5075 class is not necessary for this.
5077 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5079 * src/hildon-pannable-area.c,
5080 (hildon_pannable_area_realize),
5081 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5084 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5086 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5087 "done" button the default widget for the dialog.
5089 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5091 * src/hildon-touch-selector.c:
5092 (hildon_touch_selector_class_init),
5093 (hildon_touch_selector_get_property),
5094 (_hildon_touch_selector_set_model),
5095 (_hildon_touch_selector_has_multiple_selection),
5096 (hildon_touch_selector_has_multiple_selection):
5097 Add a "has-multiple-selection" property with a virtual
5098 has_multiple_selection() method to allow derived classes to
5099 override the default value for it. See the method and property
5100 documentation for details.
5102 * src/hildon-touch-selector.h: Add the new API.
5104 * src/hildon-picker-dialog.c: (requires_done_button): Call
5105 hildon_touch_selector_has_multiple_selection() instead of
5106 determining the need for a button itself.
5108 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5110 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5111 (_hildon_touch_selector_set_model),
5112 (hildon_touch_selector_set_model): Move working code to
5113 _hildon_touch_selector_set_mode(). Call the class method instead.
5115 * src/hildon-touch-selector.h: Add (*set_model) to
5116 HildonTouchSelectorClass.
5118 Make hildon_touch_selector_set_model() a virtual method, so that
5119 derived classes can extend it and do fancy stuff with the model.
5121 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5123 * configure.ac: Set back the tarname in AC_INIT to hildon.
5125 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5129 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5130 instead of libesd (NB#86876). Volume handling is still an open issue.
5132 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5135 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5138 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5139 derived class to ease placement of an entry widget in
5140 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5141 end, where the selector columns are packed now.
5143 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5145 * src/hildon-picker-button.c: Removed the simple _text() API.
5146 * src/hildon-picker-button.h: Likewise.
5148 * src/hildon-touch-selector.h:
5149 * src/hildon-touch-selector.c:
5150 (hildon_touch_selector_new_text),
5151 (hildon_touch_selector_append_text),
5152 (hildon_touch_selector_prepend_text),
5153 (hildon_touch_selector_insert_text):
5155 Moved the simple _text() API from HildonPickerButton to
5156 HildonTouchPicker, to provide better escalability and not to tie
5157 that API to HildonPickerButton.
5159 * examples/hildon-picker-button-example.c: (main): Example updated.
5161 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5163 * src/hildon-button.c: Updated documentation.
5165 * examples/hildon-button-example.c: Add the posibility to create
5166 the buttons using horizontal layout for title and value.
5168 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5170 * src/hildon-app-menu-private.h
5171 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5172 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5173 GtkSizeGroup for the filters, use the 'homogeneous' property of
5176 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5178 * examples/hildon-button-example.c: Updated example.
5180 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5182 * doc/hildon-docs.sgml:
5185 Update documentation.
5187 * examples/Makefile.am: Update renamed examples.
5189 * examples/hildon-picker-button-multicolumn-example.c:
5190 (create_touch_selector), (main): Update after the rename.
5192 * examples/hildon-touch-picker-example.c: Removed.
5193 * examples/hildon-touch-selector-example.c: (value_changed),
5194 (create_selector), (get_visible_content), (main): Renamed from
5195 hildon-touch-picker-example.c
5197 * src/Makefile.am: Updated renamed files.
5199 * src/hildon-date-button.c: (hildon_date_button_init),
5200 (hildon_date_button_get_date), (hildon_date_button_set_date):
5201 * src/hildon-date-selector.c: (hildon_date_selector_init),
5202 (_custom_print_func), (_update_day_model),
5203 (_manage_selector_change_cb),
5204 (hildon_date_selector_select_current_date),
5205 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5206 * src/hildon-date-selector.h:
5207 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5208 (hildon_picker_button_set_property),
5209 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5210 (hildon_picker_button_init), (hildon_picker_button_new_text),
5211 (hildon_picker_button_append_text),
5212 (hildon_picker_button_prepend_text),
5213 (hildon_picker_button_insert_text),
5214 (hildon_picker_button_set_selector),
5215 (hildon_picker_button_get_selector):
5216 * src/hildon-picker-button.h:
5217 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5218 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5219 (_update_title_on_selector_changed_cb), (requires_done_button),
5220 (_hildon_picker_dialog_set_selector),
5221 (hildon_picker_dialog_set_selector),
5222 (hildon_picker_dialog_get_selector):
5223 * src/hildon-picker-dialog.h:
5224 * src/hildon-time-button.c: (hildon_time_button_init),
5225 (hildon_time_button_get_time), (hildon_time_button_set_time):
5226 * src/hildon-time-selector.c: (hildon_time_selector_init),
5227 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5228 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5229 * src/hildon-time-selector.h:
5232 Massive code updates after the rename.
5234 * src/hildon-touch-picker.c: Removed.
5235 * src/hildon-touch-picker.h: Removed.
5237 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5238 (hildon_touch_selector_init), (hildon_touch_selector_map),
5239 (hildon_touch_selector_remove), (_default_print_func),
5240 (_selection_changed_cb), (_create_new_column),
5241 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5242 (hildon_touch_selector_append_text_column),
5243 (hildon_touch_selector_remove_column),
5244 (hildon_touch_selector_set_column_attributes),
5245 (hildon_touch_selector_insert_column),
5246 (hildon_touch_selector_get_num_columns),
5247 (hildon_touch_selector_get_column_selection_mode),
5248 (hildon_touch_selector_set_column_selection_mode),
5249 (hildon_touch_selector_set_print_func),
5250 (hildon_touch_selector_get_print_func),
5251 (hildon_touch_selector_get_active_iter),
5252 (hildon_touch_selector_set_active_iter),
5253 (hildon_touch_selector_get_selected_rows),
5254 (hildon_touch_selector_get_model),
5255 (hildon_touch_selector_set_model),
5256 (hildon_touch_selector_get_current_text),
5257 (_hildon_touch_selector_center_on_selected_items):
5258 * src/hildon-touch-selector.h: Renamed from
5259 hildon-touch-picker.[ch]
5261 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5262 references, code examples, and related documentation.
5264 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5266 * doc/hildon-docs.sgml
5269 * src/hildon-toggle-button.c
5270 * src/hildon-toggle-button.h
5271 * src/hildon.h: New HildonToggleButton widget.
5273 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5275 * src/hildon-button.c: Add API documentation.
5276 (hildon_button_set_size_groups): Check input parameters
5278 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5280 * src/hildon-pannable-area.c
5281 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5282 effect after reaching the movement thredshold. This way we start
5283 using the distance after passing the thredshold.
5285 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-button.c: (hildon_button_set_property): Use the
5288 appropriate g_value_get_flags() method.
5290 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5292 * doc/hildon-docs.sgml:
5295 Add the touch pickers, picker dialogs, and picker button widgets
5296 to the documentation.
5298 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5300 * src/hildon-button.c: (hildon_button_set_property),
5301 (hildon_button_class_init): Make "arrangement-flags" a proper
5302 G_TYPE_FLAGS derived property.
5304 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5306 * examples/Makefile.am: Add below examples.
5307 * examples/hildon-date-button-example.c:
5308 * examples/hildon-picker-button-example.c:
5309 * examples/hildon-picker-button-multicolumn-example.c:
5310 * examples/hildon-time-button-example.c:
5311 * examples/hildon-touch-picker-example.c:
5313 Add examples for the recently added touch pickers,
5314 picker dialogs, and picker button widgets.
5316 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5318 * src/hildon-button.c: Add some API documentation
5320 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5322 * src/hildon-button.h
5323 * src/hildon-button.c
5325 (hildon_button_new_with_text): New constructor to create a button
5326 with no text at all.
5327 (hildon_button_init, hildon_button_set_arrangement)
5328 (hildon_button_set_title, hildon_button_set_value)
5329 (hildon_button_set_text)
5330 (hildon_button_construct_child): Hide the value when it's not used
5331 so the rest of the text is properly aligned.
5332 Allow creating buttons with arbitrary widgets inside (not just
5333 title/value labels).
5335 * examples/hildon-button-example.c (vertical_buttons_window)
5336 (horizontal_buttons_window): Update example to use new API.
5338 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5340 * src/Makefile.am: Added HildonTimeButton.
5341 * src/hildon-time-button.c: Added missing LGPL header.
5342 * src/hildon-time-button.h: Added missing LGPL header.
5343 * src/hildon.h: Add hildon-time-button.h
5345 Copied HildonTimeButton from sandbox to trunk. Future work on this
5346 widget must take place in trunk.
5348 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5350 * src/Makefile.am: Added HildonDateButton.
5351 * src/hildon-date-button.c: Update includes.
5352 * src/hildon.h: Add hildon-date-button.h
5354 Copied HildonDateButton from sandbox to trunk. Future work on this
5355 widget must take place in trunk.
5357 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5359 * src/Makefile.am: Added HildonPickerButton.
5360 * src/hildon-picker-button.h: Update includes.
5361 * src/hildon.h: Add hildon-picker-button.h
5363 Copied HildonPickerButton from sandbox to trunk. Future work on
5364 this widget must take place in trunk.
5366 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5368 * src/Makefile.am: Added HildonPickerDialog.
5369 * src/hildon-picker-dialog.c: Update includes.
5370 * src/hildon.h: Add hildon-picker-dialog.h
5372 Copied HildonPickerDialog from sandbox to trunk. Future work
5373 on this widget must take place in trunk.
5375 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5377 * src/Makefile.am: Added HildonTimeSelector.
5378 * src/hildon.h: Add hildon-time-selector.h
5380 Copied HildonTimeSelector widget from sandbox to trunk. Future
5381 work on this widget must happen in trunk.
5383 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5385 * src/Makefile.am: Added HildonDateSelector.
5386 * src/hildon.h: Add hildon-date-selector.h
5388 Copied HildonDateSelector widget from sandbox to trunk. Future
5389 work on this widget must happen in trunk.
5391 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5393 * src/Makefile.am: Added HildonTouchPicker.
5394 * src/hildon-touch-picker.c: Update includes.
5395 * src/hildon.h: Add hildon-touch-picker.h
5397 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5398 on this widget must happen in trunk.
5400 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5402 * src/hildon-pannable-area.c:
5403 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5405 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5407 * examples/hildon-app-menu-example.c (main): Let the window
5410 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5412 * src/hildon-pannable-area.c
5413 (hildon_pannable_area_class_init): Set the min value of the
5414 overshoot properties to zero, which points out that not
5415 overshooting allowed.
5417 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5419 Modified the procedure to get the widget at a point inside the
5420 pannable area when using the movement type signals. Now the user
5421 has to call a function to get the child, that way we just
5422 calculate the child in case the user really want to use it and not
5425 * src/hildon-marshalers.list: Modified the marshallers, now we do
5426 not have the widget as a parameter.
5428 * src/hildon-pannable-area.c
5429 (hildon_pannable_area_motion_notify_cb),
5430 (hildon_pannable_area_class_init),
5431 (hildon_pannable_get_child_widget_at): Removed the widget
5432 parameter from the signal callback. We have also refactored the
5433 emission of the signals.
5435 * src/hildon-pannable-area.h: Added a new method to the API to
5436 calculate a widget at a point inside the pannable area,
5437 hildon_pannable_get_child_widget_at.
5439 * examples/hildon-pannable-area-example-4.c
5440 (horizontal_movement): Modified the example to use the new API,
5441 added condition to control which widget is under the event. This
5442 way we can avoid scrolling laterally over other widgets.
5444 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5446 * src/hildon-pannable-area.c
5447 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5448 modes, we stop getting the pointer events due to returning the
5449 callback without properly calling the get pointer again. Fixed
5450 also an error using the hscroll and vscroll.
5452 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5454 * src/hildon-app-menu-private.h
5455 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5456 (hildon_app_menu_button_release, hildon_app_menu_init)
5457 (hildon_app_menu_class_init): Don't hide the menu on button
5458 release if the user didn't press outside first.
5460 * src/hildon-window.h
5461 * src/hildon-window.c (hildon_window_toggle_menu)
5462 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5463 hildon_window_toggle_menu a virtual function for the stackable
5464 window to override it.
5466 * src/hildon-stackable-window.h
5467 * src/hildon-stackable-window-private.h
5468 * src/hildon-stackable-window.c
5469 (hildon_stackable_window_realize)
5470 (hildon_stackable_window_finalize)
5471 (hildon_stackable_window_class_init)
5472 (hildon_stackable_window_init)
5473 (hildon_stackable_window_set_main_menu): New function to set the
5474 app menu of a HildonStackableWindow.
5476 * examples/hildon-app-menu-example.c: Remove the button to show
5477 the app menu, now it'll be shown when clicking on the title bar
5480 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5482 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5483 set the widget name if the arrangement flags do not specify
5486 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5488 * src/hildon-button.c: (hildon_button_set_property),
5489 (hildon_button_class_init), (hildon_button_new_full),
5490 (hildon_button_set_arrangement): Added "arrangement-flags"
5493 Make the HildonButtonFlags a construction-only property, to allow
5494 subclasses to set them properly.
5496 2008-07-21 Tim Janik <timj@imendio.com>
5498 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5499 insertion position after backspace, so additional digits are appended,
5502 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5504 * src/hildon-pannable-area.c,
5505 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5506 TODO list, it was complete and removed the g_debug and g_print
5509 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5511 Added the movement modes to the hildon-pannable-area, with this
5512 modes the developers can control in which directions the widget
5513 can scroll. They can also connect to signals in order to do
5514 something when that happens, allowing applications scroll. There
5515 is an example uploaded showing how to use it.
5517 * examples/Makefile.am:
5518 * examples/hildon-pannable-area-example-4.c: Added this example of
5519 an application using the modes.
5521 * src/hildon-marshalers.list: Added a new marshaller for the new
5524 * src/hildon-pannable-area.h: Added new enumerations and flags in
5525 order to control the movement modes and the new signals to warn
5526 about the movements in the area.
5528 * src/hildon-pannable-area.c:
5529 (hildon_pannable_axis_scroll),
5530 (hildon_pannable_area_scroll),
5531 (hildon_pannable_area_motion_notify_cb),
5532 (hildon_pannable_area_get_property),
5533 (hildon_pannable_area_set_property),
5534 (hildon_pannable_area_map),
5535 (hildon_pannable_area_class_init),
5536 (hildon_pannable_area_init),
5537 (hildon_pannable_area_jump_to): Added the modes to control the
5538 movement in the widget. We have added properties to control it,
5539 signals to warn about the movements and refactored some code.
5541 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5543 Changes required in order to allow vfast_factor set to zero to
5546 * src/hildon-pannable-area.c:
5547 (hildon_pannable_area_button_press_cb): Changed the condition, it
5548 is required for not allowing click when vfast_factor is zero.
5549 (hildon_pannable_area_timeout): Initialized velocity variables
5550 when we stop moving, it was less than 1 but not zero and we need
5551 to check zero in some situations.
5552 (hildon_pannable_area_class_init): Changed the default value of
5553 the speed factor, now the button_press is just sent in case the
5554 speed is 2 per cent of the max speed.
5555 (hildon_pannable_area_init): Initialization with 0.
5557 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5559 * src/hildon-pannable-area.c,
5560 (hildon_pannable_area_get_topmost): replaced
5561 gdk_window_get_children with gdk_window_peek_children, this way we
5562 do not have to free the list because it is not a copy.
5564 (hildon_pannable_axis_scroll),
5565 (hildon_pannable_area_scroll),
5566 (hildon_pannable_area_timeout),
5567 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5568 two parameters that were only used inside the
5569 hildon_pannable_area_scroll function.
5571 * examples/hildon-pannable-area-example.c,
5572 (get_sawtooth_label): Fixed small memory leak.
5574 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5576 More checks for the case where the overshoot is bigger than the
5579 * src/hildon-pannable-area.c:
5580 (hildon_pannable_draw_vscroll),
5581 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5582 to draw the slider of the scrollbar under the other scrollbar.
5583 (hildon_pannable_area_expose_event): added new checks to control
5584 the drawing of the overshooting area rectangle, in case it is too
5585 big for the area of the widget.
5586 (hildon_pannable_area_size_allocate): add more checks to avoid
5587 setting a position to the child widget outside the area.
5589 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5591 * src/hildon-pannable-area.c
5592 (hildon_pannable_area_size_allocate): Added conditions to control
5593 when overshooting is bigger than the allocated space for the
5594 children, this avoids negative allocations.
5596 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5598 * doc/hildon-docs.sgml
5600 * examples/Makefile.am
5601 * examples/hildon-button-example.c
5603 * src/hildon-button.c
5604 * src/hildon-button.h
5605 * src/hildon.h: Initial version of the new HildonButton widget,
5608 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5610 * src/hildon-pannable-area.c:
5611 (hildon_pannable_area_button_press_cb),
5612 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5613 (hildon_pannable_area_motion_notify_cb),
5614 (hildon_pannable_area_button_release_cb),
5615 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5616 (hildon_pannable_area_jump_to_child):
5618 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5620 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5622 * examples/Makefile.am
5623 * examples/hildon-pannable-area-touch-grid-example.c
5624 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5625 the Hildon Touch List and Hildon Touch Grid using the
5626 HildonPannableArea widget.
5628 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5630 * src/hildon-pannable-area.c,
5631 (hildon_pannable_area_button_press_cb),
5632 (hildon_pannable_area_refresh),
5633 (hildon_pannable_area_scroll),
5634 (hildon_pannable_area_motion_notify_cb),
5635 (hildon_pannable_area_button_release_cb),
5636 (hildon_pannable_area_expose_event),
5637 (hildon_pannable_area_add),
5638 (hildon_pannable_area_remove),
5639 (hildon_pannable_area_realize),
5640 (hildon_pannable_area_size_allocate),
5641 (hildon_pannable_area_class_init),
5642 (hildon_pannable_area_init),
5643 (hildon_pannable_area_scroll_to_child),
5644 (hildon_pannable_area_jump_to_child): Fixed the problem of
5645 removing the child from the GtkBin, we have rearranged the widget
5646 hierarchy, now there is no GtkAlignment which was not doing
5647 anything interesting but breaking some of the assumptions of
5648 GtkContainer. Now developers if they want to add a GtkAlignment
5649 they could, but it is not inside the area.
5651 We had to review the whole allocation/expose process, now it is
5652 improved and we save at least three signals which would be saving
5653 some time when rendering the widget. The allocation of the
5654 scrollbars is now made in the allocate method as usual.
5656 We have also added some conditions in order to control when there
5657 is no child of the pannable area. Maybe we will need more work
5660 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5662 * src/hildon-pannable-area.c,
5663 (hildon_pannable_area_dispose): Released the fade-out timeout when
5664 disposing the widget.
5666 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5668 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5669 zero, we are going to use that property in order to deactivate the
5671 (hildon_pannable_axis_scroll),
5672 (hildon_pannable_area_size_allocate): Added conditions to control
5673 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5674 call, now it is called in all situations and we can remove calls
5675 in the allocate method.
5676 (hildon_pannable_area_map): Control the situation when
5677 overshoot_max is zero, we do not need the timeout.
5678 (hildon_pannable_area_class_init): Added documentation in order to
5679 point out that setting zero to overshoot_max means deactivate
5682 NOTE: removed trailing whitespaces from my previous comments of
5685 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5687 * src/hildon-pannable-area.c
5688 (hildon_pannable_area_get_property),
5689 (hildon_pannable_area_set_property),
5690 (hildon_pannable_area_map),
5691 (hildon_pannable_area_class_init),
5692 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5693 to cause the widget give a hint about its panning abilities upon
5696 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5698 * src/hildon-pannable-area.c: Several documentation improvements.
5700 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5702 * src/hildon-program.c
5703 * src/hildon-stackable-window.c: Update documentation.
5705 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5707 * src/hildon-stackable-window.c (get_previous_window_if_last):
5708 Renamed get_last_window()
5709 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5710 (hildon_stackable_window_unset_program):
5712 (get_previous_window_if_last):
5713 Detect if the window hasn't been added to a HildonProgram.
5715 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5717 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5719 * src/hildon-pannable-area.c
5720 (hildon_pannable_area_button_press_cb),
5721 (hildon_pannable_axis_scroll),
5722 (hildon_pannable_area_scroll),
5723 (hildon_pannable_area_timeout),
5724 (hildon_pannable_calculate_vel_factor),
5725 (hildon_pannable_area_get_property),
5726 (hildon_pannable_area_set_property),
5727 (hildon_pannable_area_class_init),
5728 (hildon_pannable_area_init),
5729 (hildon_pannable_area_scroll_to),
5730 (hildon_pannable_area_jump_to),
5731 (hildon_pannable_area_scroll_to_child),
5732 (hildon_pannable_area_jump_to_child):
5733 * src/hildon-pannable-area.h: Added the new API functions:
5734 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5735 hildon_pannable_area_scroll_to_child,
5736 hildon_pannable_area_jump_to_child
5739 * examples/Makefile.am
5740 * examples/hildon-pannable-area-example-2.c
5741 * examples/hildon-pannable-area-example-3.c: Added these two new
5742 examples in order to test and show how the new APIs work.
5744 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5746 * examples/hildon-stackable-window-example.c (new_window):
5747 * src/Makefile.am (noinst_HEADERS):
5748 * src/hildon-program.c (hildon_program_go_to_root_window):
5749 * src/hildon-program.h:
5750 * src/hildon-stackable-window-private.h:
5751 * src/hildon-stackable-window.c:
5752 * src/hildon-stackable-window.h:
5753 Create hildon-stackable-window-private.h
5754 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5756 * examples/hildon-app-menu-example.c (create_menu):
5757 * examples/hildon-hvolumebar-insensitive-example.c (main):
5758 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5759 * examples/hildon-toolbar-seekbar-example.c (main):
5760 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5761 * src/hildon-banner.c (hildon_banner_set_property):
5762 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5763 Fix compilation warnings
5765 * src/hildon-window.c:
5768 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5770 * src/hildon-stackable-window.c
5771 (hildon_stackable_window_unset_program):
5772 Calculate correctly whether to show the previous window if the
5773 last one is removed from the stack.
5774 (hildon_stackable_window_go_to_root_window):
5775 Send delete events starting from the topmost window.
5776 Stop if one of the windows is not destroyed.
5778 (hildon_stackable_window_delete_event)
5779 (hildon_stackable_window_class_init):
5780 Ignore the delete event if the window is not the topmost one.
5782 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5784 * src/hildon-pannable-area.c
5785 (hildon_pannable_area_expose_event): Fixed a problem when
5786 selecting the background color of the scrollbars.
5788 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5790 * examples/hildon-stackable-window-example.c
5791 * src/hildon-stackable-window.c
5792 * src/hildon-stackable-window.h
5793 hildon_stackable_window_go_home() renamed to
5794 hildon_stackable_window_go_to_root_window()
5795 Send delete events to windows rather than closing them with
5796 gtk_widget_destroy()
5798 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5800 * src/hildon-pannable-area.c
5801 (hildon_pannable_area_button_release_cb): Fix overshooting in
5804 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5806 * src/hildon-pannable-area.c
5807 (hildon_pannable_area_init): Initially show the scroll indicators.
5808 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5810 Add initial effect showing the widget is pannable.
5812 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5814 * src/hildon-pannable-area.c
5815 (hildon_pannable_area_class_init)
5816 (hildon_pannable_area_set_property)
5817 (hildon_pannable_area_get_property)
5818 (hildon_pannable_area_button_press_cb):
5819 New 'velocity_fast_factor' property to decide which velocity is
5822 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5824 * src/hildon-pannable-area.c
5825 (hildon_pannable_draw_hscroll)
5826 (hildon_pannable_draw_vscroll):
5827 Use float variables to calculate the size of the scrollbars to
5828 avoid error propagation and resizing during scrolling.
5830 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5832 * src/hildon-pannable-area.c
5833 (hildon_pannable_draw_vscroll)
5834 (hildon_pannable_draw_hscroll):
5835 Define a minimum size for the scroll bars
5837 * src/hildon-stackable-window.c
5838 (hildon_stackable_window_go_home): Fix compilation warning
5839 (get_last_window): Minor optimizations
5840 (hildon_stackable_window_class_init): Fix initialization of
5843 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5845 * src/hildon-stackable-window.c: Fixed typos in doc
5847 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5849 * src/hildon-pannable-area.c
5850 (hildon_pannable_area_scroll):
5851 Calculate here whether we need to scroll instead of using the booleans
5852 that tell us whether to /draw/ the scrolling bars.
5854 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5856 * src/hildon-app-menu.h
5858 * src/hildon-app-menu.c
5859 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5860 multiple filter groups related code and API. Now we support only
5862 * examples/hildon-app-menu-example.c:
5864 Update to reflect API changes.
5866 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5868 * src/hildon-stackable-window.c
5869 (hildon_stackable_window_class_init):
5870 Add hildon_stackable_window_realize.
5871 (hildon_stackable_window_realize):
5872 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5873 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5874 to apply theming and behavior specific to HildonStackableWindow
5877 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-note.c (hildon_note_button_release):
5880 Close information notes also when tapping on them
5882 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5884 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5885 ELASTICITY, refactor and review, fix some issues with drawing
5888 * src/hildon-pannable-area.c:
5889 (hildon_pannable_area_button_press_cb): removed the conditions to
5890 avoid clicks when overshooting. It is not required
5892 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5893 define. Refatored and reviewed the code, now we do not need to
5894 manage velocity in motion_notify.
5896 (hildon_pannable_area_motion_notify_cb): We have moved the code
5897 that controls the area_scroll to the axis_scroll function and get
5898 rid of duplicated code.
5900 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5902 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5904 (hildon_pannable_draw_vscroll),
5905 (hildon_pannable_draw_hscroll): Fixed the problems with the
5906 scrollbar drawing, now we do not use two surfaces, it is easier
5907 and saves resources.
5909 (hildon_pannable_area_get_property): Style modification.
5911 (hildon_pannable_area_class_init): Changed some default values.
5913 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5915 * src/hildon-stackable-window.c: Fix some typos in the
5918 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5920 * src/hildon-dialog.c:
5921 Change indentation style
5924 (hildon_note_button_release):
5925 Use root coordinates to check if the release event happened
5928 * src/hildon-app-menu.c
5929 (hildon_app_menu_button_release):
5930 Remove unnecessary check
5932 * examples/hildon-app-menu-example.c
5934 Add cast to fix warning
5936 * src/hildon-app-menu.c
5937 (hildon_app_menu_class_init):
5938 New inner-border style property.
5939 Set all default spacings to 16
5940 (hildon_app_menu_init):
5941 Use vertical-spacing to set the space between filter buttons and
5942 regular menu buttons.
5943 Set the default container border using the inner-border value.
5945 * examples/hildon-app-menu-example.c
5947 Don't set the menu border explicitly, now we have the inner-border
5948 style property for that.
5950 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5952 * src/hildon-app-menu.c (hildon_app_menu_init):
5953 Make the window modal
5955 * src/hildon-note.c (hildon_note_map)
5956 * src/hildon-app-menu.c (hildon_app_menu_map):
5957 Destroy the grab window if we're unable to grab the pointer
5959 * src/hildon-app-menu-private.h
5960 * src/hildon-app-menu.c
5961 (hildon_app_menu_init, hildon_app_menu_finalize)
5962 (hildon_app_menu_map, hildon_app_menu_unmap)
5963 (hildon_app_menu_button_release)
5964 (grab_transfer_window_get):
5965 Bring back the grab window
5966 (hildon_app_menu_realize):
5967 Decorate the window, set WM hint for Matchbox
5969 * src/hildon-note.c (hildon_note_realize):
5970 * src/hildon-banner.c (hildon_banner_realize):
5971 Add WM hints for Matchbox
5973 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5975 * src/hildon-app-menu-private.h
5976 * src/hildon-app-menu.c
5977 (hildon_app_menu_init, hildon_app_menu_finalize)
5978 (hildon_app_menu_map, hildon_app_menu_unmap)
5979 (hildon_app_menu_button_release):
5980 Remove the grab window, it's not needed anymore
5982 * src/hildon-program.c
5983 Fixed typo in documentation
5985 * src/hildon-app-menu.h
5986 * src/hildon-app-menu.c
5987 * examples/hildon-app-menu-example.c
5988 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5990 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5993 Added new transfer_window and close_if_pressed_outside private
5995 (hildon_note_rebuild):
5996 Don't add a cancel button to the information note. It will be
5997 closed when tapping outside
5998 Remove the comment about the OK button in the documentation
5999 (hildon_note_realize):
6000 Set the notification type hint
6001 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6002 Grab/ungrab pointer and keyboard if the note has to be closed when
6004 (hildon_note_button_release):
6005 Close the note when tapping outside (if applicable)
6007 * src/hildon-app-menu.c
6008 Grab/ungrab pointer and keyboard on map/unmap
6009 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6010 Close the menu on button release, not button press
6012 * src/hildon-banner.c
6013 (hildon_banner_set_property)
6014 (hildon_banner_check_position):
6015 Make the banner use the full width of the screen
6016 (hildon_banner_show_information)
6017 (hildon_banner_show_information_with_markup):
6018 Don't display an icon by default
6020 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6022 Added fading scrollbars and adapted all the overshooting code to
6023 horizontal scrolling. We have also fixed bugs with overshooting
6024 and current fading implementation.
6026 * src/hildon-pannable-area.c
6027 (hildon_pannable_area_scroll_indicator_fade): Time out function
6028 used to change the transparency of the scrollbars.
6030 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6031 control and fixed a problem with fading, we now remove the fade
6032 timeout before adding a new one.
6034 (hildon_pannable_axis_scroll):
6035 (hildon_pannable_area_scroll):
6036 (hildon_pannable_area_timeout): Added this functions so we can use
6037 the scroll code both for vertical and horizontal.
6039 (hildon_pannable_area_motion_notify_cb):
6040 (hildon_pannable_area_button_release_cb): Added the horizontal
6041 scrolling control, fixed a problem with the overshooting timeout.
6043 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6044 painting of the scrolls.
6046 (hildon_pannable_draw_vscroll):
6047 (hildon_pannable_draw_hscroll):
6048 (hildon_pannable_area_expose_event):
6049 Draw both scrollbars and rectangles in the overshooting area.
6051 (hildon_pannable_area_get_property):
6052 (hildon_pannable_area_set_property):
6053 Modified the overshoot property to overshoot_max
6055 (hildon_pannable_area_map):
6056 Replaced the comments symbols.
6058 (hildon_pannable_area_size_allocate):
6059 (hildon_pannable_area_class_init):
6060 (hildon_pannable_area_init): Added horizontal scroll, fading
6061 effect properties, fixed a problem when overshooting in the bottom
6064 * examples/hildon-pannable-area-example.c:
6065 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6066 looks better in the example.
6068 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6070 * src/hildon-window.c
6071 * src/hildon-window.h
6072 (hildon_window_class_init)
6073 (hildon_window_unset_program)
6074 (hildon_window_unset_program_real):
6075 Make unset_program a virtual function
6077 * src/hildon-stackable-window.c
6078 * src/hildon-stackable-window.h
6079 Added hildon_stackable_window_go_home()
6081 * examples/Makefile.am
6082 * examples/hildon-stackable-window-example.c
6083 HildonStackableWindow example
6085 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6087 * hildon-pannable-area.c: Added the overshoot property and removed
6088 the OVERSHOOT define. Fixed an indent style error.
6089 (hildon_pannable_area_motion_notify_cb):
6090 (hildon_pannable_area_get_property):
6091 (hildon_pannable_area_set_property): Add overshoot property.
6093 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6096 (hildon_pannable_area_class_init): Installed the new property.
6098 * hildon-pannable-area-example.c: Added a sawtooth function, this
6099 way it is easier to check the movement in the pannable.
6100 (get_sawtooth_label): Added this function.
6101 (main): Now we get the labels from the new get_sawtooth_label
6104 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6106 * src/hildon-app-menu.h
6107 * src/hildon-app-menu.c
6108 Renamed API variables for consistency
6110 (hildon_app_menu_popup): Use also the default window size to
6111 decide where to place the menu
6113 (hildon_app_menu_init, hildon_app_menu_class_init): New
6114 external-border style property
6116 2008-05-26 Michael Natterer <mitch@imendio.com>
6118 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6119 widget_class->tap_and_hold_setup signal slot doesn't exist any
6120 longer, stop overriding it.
6122 (hildon_time_editor_init): g_signal_connect() to the
6123 tap-and-hold-setup signal instead.
6125 (hildon_time_editor_entry_keypress): add cast to fix warning.
6127 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6129 * doc/hildon-docs.sgml
6131 * examples/Makefile.am
6132 * examples/hildon-app-menu-example.c
6134 * src/hildon-app-menu-private.h
6135 * src/hildon-app-menu.c
6136 * src/hildon-app-menu.h
6138 New HildonAppMenu widget
6140 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6142 Rearranged the inheritance of the pannable area, now it inherits
6143 from GtkBin. This will allow us to control the event_window and
6144 the allocation process of the widget, required for some effects.
6146 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6147 GtkBin structures. * src/hildon-pannable-area.c: Added the
6148 event_window variable.
6149 (hildon_pannable_area_button_press_cb):
6150 (hildon_pannable_area_button_release_cb):
6151 (hildon_pannable_area_motion_notify_cb):
6152 Changed the signature of the method, now we override the event
6153 callback instead of connecting to the signal.
6155 (hildon_pannable_area_realize):
6156 (hildon_pannable_area_unrealize):
6157 (hildon_pannable_area_map):
6158 (hildon_pannable_area_unmap):
6159 (hildon_pannable_area_size_allocate):
6160 Added functions to control the widget construction. We add a
6161 INPUT_ONLY window and we put it over the widgets inside the
6162 container, this event_window handles the events.
6164 (hildon_pannable_area_class_init):
6165 Replaced the signal connections with overrides of the event
6168 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6170 Bouncing effect added when touching the borders, you can change
6171 the elasticity of the border changing the ELASTICITY define.
6173 * src/hildon-pannable-area.c: Added ELASTICITY define.
6174 (hildon_pannable_area_timeout): Added inverse velocity when
6175 touching the border of the child widget, that causes a bounce.
6177 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6179 Improved performance, we now do not go to the X server in order to
6180 get the list of window children. Apparently the effect is the
6181 same, we have to be careful and check if this breaks something in
6184 * src/hildon-pannable-area.c:
6185 (get_ordered_children): Removed this function.
6186 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6187 the children windows function with gdk_window_get_children.
6189 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6191 * src/hildon-pannable-area.c:
6192 (hildon_pannable_area_dispose): Fixed a crash when closing the
6193 window and kinetics is activated.
6195 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6197 * src/hildon-pannable-area.h
6198 * src/hildon-pannable-area.c
6199 Changed indentation style to meet the one used in Hildon
6201 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6203 Reviewed the interaction of the AUTO mode, now we use the time
6204 attribute of the events and calculate the velocity in the motion,
6205 doing a gimp like calculation. The velocity is calculated in each
6206 motion event using the last velocity and the current one, the
6207 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6209 * src/hildon-pannable-area.c: Replaced the time based algorithm
6211 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6212 timeout for the AUTO mode when we are still moving the cursor. We
6213 added also the velocity calculation in this function.
6214 (hildon_pannable_area_button_release_cb): launch the timeout in
6215 case we are in AUTO mode. There are still some constants here that
6216 come from the old implementation that should be reviewed and
6219 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6221 * doc/hildon-docs.sgml
6224 * src/hildon-stackable-window.c
6225 * src/hildon-stackable-window.h
6227 New HildonStackableWindow widget
6229 * examples/hildon-dialog-example.c
6230 * examples/hildon-pannable-area-example.c
6233 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6235 * src/hildon-dialog.c
6236 (hildon_dialog_new_with_buttons): New constructor.
6238 * examples/hildon-dialog-example.c
6239 (main): Update the example to use the new
6240 hildon_dialog_new_with_buttons().
6242 * examples/hildon-pannable-area-example.c
6243 (main): Update example.
6245 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6247 * doc/hildon-docs.sgml
6249 Added HildonPannableArea to the documentation.
6251 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6253 * doc/visual_index.xml
6254 Fix reference to HildonLoginDialog in documentation
6256 * doc/hildon-docs.sgml
6258 * examples/Makefile.am
6259 * examples/hildon-dialog-example.c
6261 * src/hildon-dialog.c
6262 * src/hildon-dialog.h
6264 New HildonDialog widget.
6266 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6268 * src/hildon-pannable-area.c
6269 Merge latest changes (r4318, r4342) from libmokoui trunk
6271 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6273 * examples/Makefile.am
6274 * examples/hildon-pannable-area-example.c
6276 * src/hildon-pannable-area.c
6277 * src/hildon-pannable-area.h
6279 New HildonPannableArea widget.
6281 2008-04-15 18:05:19 <timj@imendio.com>
6283 * src/hildon-banner.c: revert the recent change, that introduced
6284 gtk_window_present() calls. this reopens:
6285 Bug 78481 - [freetest] information banners are hidden under browser menu
6286 But resolves another variant of:
6287 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6289 2008-04-15 13:21:13 <timj@imendio.com>
6291 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6292 recreated its layout, spotted by Kris. this fixes all remaining
6293 artefacts and stability issues with the banner code. in particular:
6294 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6296 2008-04-14 16:52:59 <timj@imendio.com>
6298 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6299 operating on unrealized widgets, fixes:
6300 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6302 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6304 2008-04-09 Kristian Rietveld <kris@imendio.com>
6306 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6307 makes banner disappear.
6308 Fixes: NB#79182: info banner flickering with certain message lengts.
6310 * src/hildon-banner.c (hildon_banner_constructor),
6311 (hildon_banner_init), (hildon_banner_set_text),
6312 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6313 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6314 FALSE, reset size requests of label and banner,
6315 (force_to_wrap_truncated): when the text is too wide, always enforce
6316 the maximum possible width instead of recalculating it from the
6317 layout; enforce the maximum banner height of 3 lines,
6318 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6319 nicer wrapping and no truncated chars if space gets tight.
6321 * src/hildon-banner-private.h: add has_been_wrapped and
6322 has_been_truncated fields.
6324 2008-04-07 Sven Herzberg <sven@imendio.com>
6326 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6327 local values in hildon_date_editor_size_allocate
6329 * src/hildon-date-editor.c: moved the real allocation code into the
6332 2008-04-07 Sven Herzberg <sven@imendio.com>
6334 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6335 local values in hildon_date_editor_size_allocate
6337 * src/hildon-date-editor.c: merged the two if() branches together
6339 2008-04-07 Sven Herzberg <sven@imendio.com>
6341 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6342 local values in hildon_date_editor_size_allocate
6344 * src/hildon-date-editor.c: changed the arguments of the if()
6347 2008-04-07 Sven Herzberg <sven@imendio.com>
6349 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6350 local values in hildon_date_editor_size_allocate
6352 * src/hildon-date-editor.c: split the calculation of the allocation
6353 from the real allocation
6355 2008-03-27 Michael Natterer <mitch@imendio.com>
6357 Fixes: NB#81696: The passcode is not overwritten even after
6360 * src/hildon-code-dialog.c
6361 (hildon_code_dialog_button_clicked)
6362 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6363 because that doesn't overwrite selected text. Instead, emit the
6364 "commit" signal on the entry's im_context so the entry's normal
6365 insert logic is triggered. Set the cursor to the end of the entry
6366 after each insert operation so that we *only* insert in the middle
6367 of the text if something was selected.
6369 2008-03-27 Michael Natterer <mitch@imendio.com>
6371 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6372 selector cannot be opened
6374 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6375 when the popup color selector is created. Please connect to this
6376 signal in order to set the dialog's help ID.
6378 2008-03-25 Sven Herzberg <sven@imendio.com>
6380 Fixes: MB#1212: Hide info banners (infoprints) on click
6382 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6383 extracted the close event simulation into an extra function
6384 (hildon_banner_button_press_event): simulate a close event and destroy
6385 the widget if the event wasn't handled
6386 (hildon_banner_class_init): added the button_press_event handler
6387 (hildon_banner_init): added button-press events to the widget
6389 2008-03-25 Sven Herzberg <sven@imendio.com>
6391 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6392 Patch from: Mohammad Anwari <mdamt@maemo.org>
6394 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6395 instead of the right in RTL mode
6396 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6397 breadcrumb button list in RTL mode
6398 * src/hildon-caption.c: mirror the appearance of the caption widget in
6400 * src/hildon-date-editor.c: mirror appearance of the date editor in
6402 * src/hildon-time-editor.c: mirror appearance of the time editor in
6404 * src/hildon-window.c: fix the position of the popup in RTL mode
6406 2008-03-25 Sven Herzberg <sven@imendio.com>
6408 Amendment to the fix of NB#22072. Fix compilation.
6410 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6412 2008-03-19 Sven Herzberg <sven@imendio.com>
6414 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6417 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6418 timeout id properly when the timeout will disappear this leaves no
6419 artifacts around in the destroy(); there will only be the timeout
6420 created by hildon_banner_ensure_timeout() and adding a new timeout
6421 will also work if the timeout gets removed because the timeout_handler
6424 2008-03-19 Michael Natterer <mitch@imendio.com>
6426 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6428 * src/hildon-volumebar.c
6429 * src/hildon-vvolumebar.c
6430 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6431 the widget becomes focussable at all.
6433 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6434 set the focus to wither the mute button or the volumebar.
6436 Remove own "can-focus" property and instead listen to
6437 notify::can-focus in order to update the widget's state.
6439 Implement GtkWidget::focus() and make sure we can also *leave* the
6440 widget, not only enter it, depending on volumebar orientation and
6441 requested focus direction.
6443 Clean up set_mute() to cooperate nicely with all the above.
6445 2008-03-04 Michael Natterer <mitch@imendio.com>
6447 Fixes: NB#78481: information banners are hidden under browser menu
6449 * src/hildon-banner.c: call gtk_window_present() on the banners so
6450 they are risen if they are already visible.
6452 2008-03-03 Sven Herzberg <sven@imendio.com>
6454 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6456 * examples/hildon-window-menu-example.c: (main): extended the window
6457 menu example to serve as a testcase for automatically added
6458 accelerator groups, too
6459 * src/hildon-window.c: (hildon_window_add_accel_group),
6460 (hildon_window_set_menu): added patch by Tommi Komulainen
6462 2008-03-03 Sven Herzberg <sven@imendio.com>
6464 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6466 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6467 knowledge about the border allocators used within GTK+
6469 2008-02-26 Sven Herzberg <sven@imendio.com>
6471 Fixes: MB#2981: Build with asserts broken
6473 * src/hildon-date-editor.c,
6474 * src/hildon-number-editor.c,
6475 * src/hildon-time-editor.c,
6476 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6477 the proper GType instance check
6479 2008-02-25 Sven Herzberg <sven@imendio.com>
6481 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6483 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6484 * examples/hildon-window-menu-example.c: (main): explicitly show
6486 * src/hildon-window.c:
6487 (hildon_window_set_main_menu): moved most of the code from set_menu()
6488 to this place; skipped the call to gtk_widget_show_all(); also didn't
6489 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6490 (hildon_window_set_menu): removed most of the code, just keep the
6491 questionable gtk_widget_show_all()
6492 * src/hildon-window.h: added the new function and deprecate the old
6495 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6501 * debian/changelog: Updating.
6503 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6506 * pkgconfig/Makefile.am:
6507 * pkgconfig/hildon.pc.in:
6510 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6511 use newly created API_MAJOR_VERSION.
6513 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6519 * debian/changelog: Updating.
6521 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6523 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6525 Add outer_border style property, we use it but don't define it (!).
6529 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6531 * examples/hildon-bread-crumb-trail-example.c (main):
6535 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6537 Fix logic for the bread crumb trail node removal.
6541 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6547 * debian/changelog: Updating.
6549 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6551 Patch by Alejandro to get/set passwords dialogs accesibility.
6553 * hildon-1/src/hildon-get-password-dialog.c:
6554 * hildon-1/src/hildon-set-password-dialog.c:
6555 Set atk_set_name to the passwd entries in order to allow
6556 accessibility by name on this entries.
6558 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6563 * debian/control: Updating gtk dep.
6565 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6567 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6568 USE_MAEMO_GTK is enabled.
6570 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6572 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6573 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6575 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6581 * debian/changelog: Updating.
6583 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6585 * examples/Makefile.am:
6586 * examples/hildon-logical-color-example.c:
6587 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6588 applied + adding a test case. Fixes: NB#71660.
6590 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6592 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6593 to be visible, fixes warning on map for windows without toolbars.
6595 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6597 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6598 2.11.0, add a check for that besides the MAEMO_GTK check.
6600 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6606 * debian/changelog: Updating.
6608 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6610 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6611 visibility. Fixes: NB#70842 and MB#615.
6613 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6615 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6616 set the separator as no-show-all so it doesn't unintentionally appear when
6617 someone does a show_all.
6619 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6621 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6622 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6623 toplevel item. Fixes: NB#62031
6625 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6627 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6628 fix the name of the function in the docs.
6630 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6636 * debian/changelog: Updating.
6638 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6640 * examples/hildon-banner-long-example.c: Adding a test-case for long
6643 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6645 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6647 * src/hildon-color-chooser-dialog.c:
6648 * src/hildon-color-chooser.c:
6649 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6650 memory leaks in font selector and color selector. Fixes: NB#70499 and
6653 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6655 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6657 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6659 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6660 little bit bigger. Fixes: #NB63694.
6662 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6668 * debian/changelog: Updating.
6670 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6673 * doc/hildon-docs.sgml:
6674 * doc/images/bread-crumb-trail.png:
6675 * doc/images/calendar-popup.png:
6676 * doc/images/caption.png:
6677 * doc/images/code-dialog.png:
6678 * doc/images/color-button.png:
6679 * doc/images/color-chooser-dialog.png:
6680 * doc/images/color-chooser.png:
6681 * doc/images/controlbar.png:
6682 * doc/images/date-editor.png:
6683 * doc/images/font-selection-dialog.png:
6684 * doc/images/get-password-dialog.png:
6685 * doc/images/hvolumebar.png:
6686 * doc/images/login-dialog.png:
6687 * doc/images/note.png:
6688 * doc/images/number-editor.png:
6689 * doc/images/range-editor.png:
6690 * doc/images/seekbar.png:
6691 * doc/images/set-password-dialog.png:
6692 * doc/images/sort-dialog.png:
6693 * doc/images/time-editor.png:
6694 * doc/images/time-picker.png:
6695 * doc/images/vvolumebar.png:
6696 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6697 Adding the bread-crumb-trial and helpers to the documentation.
6699 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6701 * examples/hildon-find-toolbar-example.c:
6702 * src/hildon-find-toolbar.c:
6703 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6704 actually continue firing the other handlers if connected. Adding a new
6706 hildon_find_toolbar_get_last_index that gets the index of the most
6707 recently added (last) item. Fixes: NB#52301.
6709 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6711 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6712 behaviour. Fixes: NB#68610.
6714 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6716 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6719 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6721 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6722 when realizing the banner. Should make the infonbanner effect a bit more
6725 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6727 * src/hildon-volumebar.c:
6728 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6729 hildon_volumebar_set_range_insensitive_message and
6730 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6732 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6734 * src/hildon-window.c: Fixing the border freeing on destroy.
6736 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6738 * src/hildon-code-dialog-private.h:
6739 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6740 kw keyboard support in HildonCodeDialog.
6742 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6748 * debian/changelog: Updating.
6750 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6752 * src/hildon-date-editor.c:
6753 * src/hildon-number-editor.c:
6754 * src/hildon-private.c:
6755 * src/hildon-private.h:
6756 * src/hildon-time-editor.c:
6757 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6758 handling in subclassed composite widgets. Fixes: NB#66628.
6760 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6762 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6763 from destroy_ callback as it introduces problems in async dbus signal
6764 handlers. Fixes NB#66673.
6766 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6768 * examples/hildon-hvolumebar-example.c:
6769 * src/hildon-volumebar.c: Improving the focus handling in the
6770 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6771 set_property accessor so that "mute" property can be actually set. I'm
6772 scared that nobody noticed it's totally broken.
6774 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6776 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6779 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6781 * src/hildon-calendar.c:
6782 * src/hildon-number-editor.c:
6783 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6784 matches the spec of 6 chars per second. Fixes: NB#60489.
6786 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6788 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6789 gtk_style_lookup_color sometime returns FALSE even though color was
6790 found and values were filled properly. Weird. Removing the warning for the
6793 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6795 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6796 expand vertically. Adding some extra space to the find toolbar buttons to
6797 make them thumbable. Fixes NB#66060.
6799 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6801 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6802 popup with "Ok" and "Cancel". Fixes NB#59299.
6804 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6806 * src/hildon-calendar.c: Process all window updates before executing next
6807 timeout. Fixes: NB#54146.
6809 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6815 * debian/changelog: Updating.
6817 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6819 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6820 the client event and ignore it, since we use the delete event to close
6823 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6825 * src/hildon-helper.c: Remove the bogus warning about color not being
6826 found. Fixes NB#58352.
6828 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6830 * examples/Makefile.am:
6831 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6832 HildonSeekbar widget inside a toolbar.
6834 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6836 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6837 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6838 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6839 don't want to be closed by non-temporary windows on map.
6841 Also use G_DEFINE_TYPE instead of manually typed code.
6843 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6850 * debian/rules: Updating.
6852 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6854 * examples/Makefile.am:
6855 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6856 bug NB#61128. Strangely it works.
6858 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6860 * src/hildon-date-editor.c: When the date editor entry has been changed
6861 but the numbers of characters < max, turn off the skip validation flag.
6862 Prevents a situation when we enter first a valid year and later re-write
6863 it with an invalid one. Fixes NB#60154.
6865 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6867 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6868 code dialog. Fixes NB#64355.
6870 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6872 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6873 switching the page. Fixes NB#49374.
6875 * examples/Makefile.am:
6876 * examples/hildon-wizard-dialog-example.c: Adding an example for
6877 HildonWizardDialog that shows how to handle manual sensitivity setting on
6880 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6884 * src/hildon-version.h.in:
6885 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6887 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6889 * src/hildon-volumebar.c: Updating the docs.
6891 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6897 * debian/changelog: Updating.
6899 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6901 * src/hildon-find-toolbar.c:
6902 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6903 selected item: hildon_find_toolbar_set_active,
6904 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6905 hildon_find_toolbar_get_active_iter . They correspond to respective
6906 GtkComboBox functions.
6908 * examples/Makefile.am:
6909 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6912 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6914 * examples/Makefile.am:
6915 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6918 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6919 when font size > 32 and we pack a focusable widget inside. Actually using
6920 the default response would work too, but since we don't show default
6921 response state in any way (no theming) it would not be visible to the
6922 user. Fixes NB#63430.
6924 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6926 * src/hildon-date-editor.c: Adding the missing variable setter in the
6927 set_property handler. Fixes NB#54182.
6929 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6931 * src/hildon-window.h: Changing the long key press time from 1500ms to
6932 800ms as requested in NB#63700. I have a bad feeling about this, let's
6933 see... Fixes NB#63700.
6935 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6937 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6938 hildon_time_picker_map, hildon_time_picker_realize,
6939 hildon_time_picker_style_set): Split the contents of map to more
6940 appropriate functions; set window decorations on realize and update
6941 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6943 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6948 * debian/changelog: Updating.
6950 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6952 * src/Makefile.am: fixed installation of the header files
6954 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6960 * debian/changelog: Updating.
6962 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6964 * configure.ac: Removing some remaining of --enable-xan.
6966 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6968 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6969 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6971 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6972 2.10.12-osso6 because the move-focus signal needs to be available in
6975 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6977 * examples/Makefile.am:
6978 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6979 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6980 fine. Prolly NB#61128 is fixed now.
6982 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6984 * src/hildon-volumebar.c:
6985 * src/hildon-volumebar.h: Adding the
6986 hildon_volumebar_set_range_insensitive_message and
6987 hildon_volumebar_set_range_insensitive_messagef functions to set
6988 insensitive message on the slider of the volumebar. Fixes NB#61129.
6990 * examples/Makefile.am:
6991 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6992 test the new insensitive messsage functionality on HildonVolumebar.
6994 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6996 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6999 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7001 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7002 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7003 button on after clearing the trail.
7005 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7007 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7009 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7011 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7012 by splitting the installed headers in generated and non-generated groups. Use
7013 only the non-generated headers to create the hildon-enum-types.h file.
7015 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7017 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7019 * src/hildon-window.c: Hide the window before performing the destroy.
7020 Should make the app closing a little tiny bit more snappy.
7022 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7024 * src/hildon-seekbar.c: add gtkrange.h header
7025 * src/hildon-caption.c: remove unused variable
7027 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7029 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7032 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7038 * debian/changelog: Updating.
7040 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7042 * src/hildon-window.c (hildon_window_window_state_event,
7043 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7044 escape timeout on focus-out-event rather than notify::is-topmost; the
7045 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7047 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7049 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7050 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7052 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7054 * src/hildon-window: actually, you need to use the macro always, there's
7055 no private pointer in the instance structure. We should have cleaned this up
7056 when we had the chance...
7058 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7060 * src/hildon-window.c: do not get the private date from HildonWindow before
7061 it passes the g_return_if_fail check. Once it's passed the test, there's no
7062 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7063 if you are only going to access the data once. Whitespace cleanups.
7065 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7067 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7068 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7070 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7076 * debian/changelog: Updating.
7078 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7080 * src/hildon-window.c: When destroying the window, remove (if exists) the
7081 escape timeout handler. Fixes #NB59276.
7083 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7085 * src/hildon-banner.c: When realizing the widget, set the window
7086 transiency. Setting the transiency in the gobject constructor is not
7087 good, as the widget is not realized at that point. Fixes: #NB56624.
7089 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7091 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7092 Add padding for future expansions.
7094 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7096 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7097 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7098 will fake an activation on the previous to the last item of the trail, so
7099 the effect can be overrided by the developer as usual.
7100 Also change the callback for the back button to do the same thing, so its
7101 effect can be overrided too. Fixes: NB#58982
7103 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7105 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7106 HildonCaption. Fixes NB#52379.
7108 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7110 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7111 the internal state of the trail after the user has had the chance of executing
7112 his handler for the signal. Specifically, it may happen that the activated button
7113 is removed and the user still lets the default handler run. This would segfault
7116 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7118 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7119 scrollbar to the preview dialog. Fixes NB#54147.
7121 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7123 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7124 max/min year properties can be altered, so the client can modify it
7125 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7127 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7129 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7130 hildonlike by default. Fixing a problem with disappearing arrows when
7131 scrolling through months and years. Fixes NB#54127.
7133 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7135 * examples/hildon-date-editor-example.c: Adding error callback to the date
7138 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7144 * configure.ac: Updating.
7146 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7148 * configure.ac: Adding a special '--enable-xan' configure option that
7149 turns off the -Werror compilation setting. Usefull for development.
7151 * src/hildon-calendar.c:
7152 * src/hildon-number-editor.c:
7153 * src/hildon-time-picker.c: Adding the 5* multiplier to
7156 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7158 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7159 instead of g_object_ref + gtk_object_sink.
7161 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7167 * debian/changelog: Updating.
7169 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7171 * src/hildon-color-chooser-dialog.c:
7172 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7173 straight from Tommi labs.
7175 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7177 * examples/hildon-finger-example.c: Correcting the header file path.
7179 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7180 the changed signal. Fixes a small memory leak.
7182 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7186 * src/hildon-banner.c: Importing several usefull fixes from the
7187 ubuntu-mobile branch.
7189 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7191 * examples/Makefile.am:
7192 * examples/hildon-finger-example.c: Adding a finger-checking code
7195 * src/hildon-font-selection-dialog.c: Do not allocate the color
7196 structure using the g_new. Fixes NB#54061.
7198 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7200 * src/hildon-helper.c: Correcting tabs in file.
7202 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7204 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7205 control the visibility of the children.
7207 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7209 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7215 * debian/changelog: Updating.
7217 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7219 * src/hildon-bread-crumb-trail.c:
7220 (hildon_bread_crumb_trail_size_allocate):
7222 Make the back button always a square.
7224 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7226 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7227 from the .c file as it's a private file.
7229 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7231 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7232 uses slightly bigger height.
7234 * src/hildon-font-selection-dialog.c: Adding some checks before
7235 freeing memory in the font selection dialog.
7237 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * src/hildon-font-selection-dialog.c: Adding a small check when
7242 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7243 buttons sensitivity on page switching.
7245 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7247 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7248 internal details of adding a bread crumb to the trail.
7250 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7256 * debian/changelog: Updating.
7258 * src/hildon-bread-crumb-trail.h:
7259 * src/hildon-bread-crumb.h: Changing the API guard to
7260 HILDON_ENABLE_UNSTABLE_API.
7262 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7270 * src/hildon-helper.h: Updating.
7272 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7280 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7284 * src/hildon-helper.h: Small fix to make the package actually compile.
7286 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7288 * src/hildon-bread-crumb-trail.h:
7289 * src/hildon-bread-crumb.h:
7291 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7292 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7294 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7296 * examples/hildon-bread-crumb-trail-example.c:
7298 * src/hildon-bread-crumb-trail.c:
7299 * src/hildon-bread-crumb-trail.h:
7300 * src/hildon-bread-crumb.c:
7301 * src/hildon-bread-crumb.h:
7302 * src/hildon-marshalers.list:
7303 * src/hildon-bread-crumb-widget.c:
7304 * src/hildon-bread-crumb-widget.h:
7306 Slight change in the widget design. The bread crumb trail API is
7307 unchanged, but HildonBreadCrumb is now an interface. A *private*
7308 implementation, hildon-bread-crumb-widget, is provided and used
7309 internally by the trail for the push_text/push_icon functions.
7311 The generic push API is still available, so anyone can implement
7312 and use its own bread crumb widget.
7314 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7316 * debian/rules: Fixing the shlibs.
7318 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * src/hildon-banner.c: Fixing a problem with timed banners having
7321 their parrent destroyed before they are.
7323 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7325 * src/hildon-bread-crumb.c:
7326 * src/hildon-bread-crumb.h:
7328 Make the get_natural_size function a vfunc.
7330 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7332 * src/hildon-bread-crumb.c:
7333 * src/hildon-bread-crumb-trail.c:
7337 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7344 * debian/changelog: Updating for release.
7346 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7348 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7349 don't leak the pango layout.
7351 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7354 * examples/hildon-bread-crumb-trail-example.c:
7358 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7360 * debian/changelog: Removing the bug-fixed entries that were actually
7361 resolved as WONTFIX.
7363 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7366 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7368 * src/hildon-bread-crumb-trail.c:
7369 * src/hildon-bread-crumb-trail.h:
7370 * src/hildon-bread-crumb.c:
7371 * src/hildon-bread-crumb.h:
7375 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7377 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7378 until it's passed the type check.
7380 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7382 * examples/hildon-bread-crumb-trail-example.c
7386 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7388 * examples/Makefile.am
7389 * examples/hildon-bread-crumb-trail-example.c
7391 * src/hildon-bread-crumb-trail.c
7392 * src/hildon-bread-crumb-trail.h
7393 * src/hildon-bread-crumb.c
7394 * src/hildon-bread-crumb.h
7396 New HildonBreadCrumbTrail widget.
7398 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7400 * src/hildon-range-editor.c (hildon_range_editor_init),
7401 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7402 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7403 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7404 hildon_time_editor_class_init, hildon_time_editor_init),
7405 src/hildon-get-password-dialog.c (invalid_input,
7406 hildon_get_password_set_property, hildon_get_password_get_property,
7407 create_contents, hildon_get_password_dialog_set_max_characters),
7408 src/hildon-set-password-dialog.c (create_contents),
7409 src/hildon-date-editor.c (hildon_date_editor_init),
7410 src/hildon-login-dialog.c (hildon_login_dialog_init),
7411 src/hildon-number-editor.c (hildon_number_editor_init),
7412 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7413 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7414 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7415 configure option and adding the respective checks in the code.
7416 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7417 hildon_calendar_drag_data_received): fixed some build warnings.
7419 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7421 * debian/changelog: A 1.0.0 release notes.