1 2009-04-02 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-app-menu.c (hildon_app_menu_popup)
4 (hildon_app_menu_class_init, -hildon_app_menu_show):
5 Remove hildon_app_menu_show() and move all its checks to
6 hildon_app_menu_popup()
8 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
10 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
11 (_hildon_picker_dialog_set_selector): removed call to
12 gtk_widget_set_size_request
13 * src/hildon-touch-selector.c
14 (_create_new_column): change the pannable size request policy
16 Avoid to use a hardcoded height for the hildon picker dialog. In order
17 to get that, we needed to change the hildon pannable size request
19 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
21 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
23 * src/hildon-window.c (hildon_window_map): Check for vbox to be
24 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
27 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
29 * debian/control: Depend on osso-system-lock localization package.
30 * src/hildon-code-dialog.c: Obtain the secu_application_title
31 translation from osso-system-lock.
32 * src/hildon-get-password-dialog.c (create_contents): Do not mark
33 for translation the atk related strings, that's not necessary.
34 * src/hildon-set-password-dialog.c (create_contents): Ditto.
35 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
36 cancel button, it is not required.
38 2009-04-02 Alejandro G. Castro <alex@igalia.com>
40 * src/hildon-pannable-area.c,
41 (hildon_pannable_area_class_init): Modified the default value of
42 the overshooting max speed, we have reduced it.
44 2009-04-02 Alberto Garcia <agarcia@igalia.com>
46 * doc/hildon-sections.txt
47 * src/hildon-window-private.h
49 * src/hildon-window.c (hildon_window_class_init)
50 (hildon_window_init, hildon_window_finalize)
51 (hildon_window_realize, hildon_window_get_property)
52 (hildon_window_set_property, hildon_window_update_markup)
53 (hildon_window_get_markup, hildon_window_set_markup):
54 New "markup" property and hildon_window_{get,set}_markup() methods.
56 * examples/hildon-stackable-window-example.c (new_window):
57 Update example to use hildon_window_set_markup()
59 Fixes: NB#106375 (Need API to retitle a window with a title
62 2009-04-01 Alejandro G. Castro <alex@igalia.com>
64 * src/hildon-pannable-area.c,
65 (hildon_pannable_area_class_init): Changed the default value of
66 the initial_hint to TRUE.
67 (hildon_pannable_area_initial_effect): Changed the initial effect,
68 not the effect is just the fade-out of the scrollbars.
70 Fixes: NB#107775 (No scrollbars can be seen when several items are
71 available in a dialog)
73 2009-04-01 Alberto Garcia <agarcia@igalia.com>
75 * src/hildon-program.c (hildon_program_update_top_most):
78 Fixes: NB#109179 (Memory leak in Hildon program)
80 2009-04-01 Alberto Garcia <agarcia@igalia.com>
82 * src/hildon-banner.c (-get_current_app_window):
83 Remove unused function.
85 2009-04-01 Alejandro G. Castro <alex@igalia.com>
87 * src/hildon-pannable-area.c: Modified the documentation of the
88 get adjustments functions to explain the problem of using the
90 (hildon_pannable_area_class_init): Improved the explanation about
93 2009-04-01 Alberto Garcia <agarcia@igalia.com>
95 * src/hildon-app-menu-private.h
96 * src/hildon-app-menu.c
97 (hildon_app_menu_class_init):
98 Bring back the 'external-border' style property
99 (hildon_app_menu_class_init, hildon_app_menu_init)
100 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
101 Set a fixed width-request for the menu, independent of the number
104 Fixes: NB#94957 (Smoothly opened application menu)
106 2009-03-30 Alberto Garcia <agarcia@igalia.com>
108 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
110 * src/hildon-banner.c
111 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
113 Make sure that the banner is correctly placed the first time it's
115 (hildon_banner_check_position, -check_fullscreen_state):
116 Show the banner in the same place no matter if the window is in
117 fullscreen mode or not.
119 Fixes: NB#107386 (Odd stacking behaviour for information banners)
121 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
123 * src/hildon-touch-selector.c (_default_print_func): reorder
124 concatenation for clarity.
126 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
128 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
129 for multicolumn selectors.
131 Fixes: NB#109099 (Memory leak in Hildon touch selector)
133 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
138 * configure.ac: Bump version.
139 * debian/changelog: Updates.
141 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
143 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
146 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
148 * configure.ac: removed libcangerra-gtk dependency
149 * debian/control: removed libcanberra-gtk dependency
150 * src/Makefile.am: removed libcanberra gtk related flags
151 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
152 context, and manage a global canberra context instead
154 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
156 2009-03-26 Alberto Garcia <agarcia@igalia.com>
158 Patch by Daniel Borgmann (danielb@openismus.com)
160 * src/hildon-edit-toolbar.c:
161 Adjust the left padding.
162 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
163 Paint background of the edit toolbar.
165 Fixes: NB#107897 (Patch to make editmodetoolbar background
166 themeable and adjust margin)
168 2009-03-25 Alberto Garcia <agarcia@igalia.com>
170 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
172 * src/hildon-program.c (hildon_program_update_top_most):
173 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
175 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
176 change when the user tasks in/out of an application)
178 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
180 * configure.ac: added libcangerra-gtk dependency
181 * debian/control: added libcanberra-gtk dependency
182 * src/Makefile.am: added libcanberra gtk related flags
183 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
186 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
188 2009-03-25 Alberto Garcia <agarcia@igalia.com>
190 * src/hildon-program.c (hildon_program_remove_window)
191 (hildon_program_add_window): Add checks for the window
192 parameter. Don't decrease the window counter if the window is not
195 2009-03-24 Alejandro G. Castro <alex@igalia.com>
197 * src/hildon-pannable-area.c,
198 (hildon_pannable_area_realize): Fixed position of the event_window
199 in the realize method.
201 2009-03-24 Alberto Garcia <agarcia@igalia.com>
203 * src/hildon-app-menu-private.h
204 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
205 (hildon_app_menu_map, hildon_app_menu_hide_idle)
206 (hildon_app_menu_key_press, hildon_app_menu_init)
207 (hildon_app_menu_finalize):
208 Make sure that all idle functions are removed when the widget is
211 Fixes: NB#107583 (Hildon app menu crashes in various applications)
213 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
218 * configure.ac: Bump version.
219 * debian/changelog: Updates.
221 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
224 (+hildon_entry_show_placeholder),
225 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
226 that replace hildon_entry_update_contents().
227 (hildon_entry_set_text),
228 (hildon_entry_set_placeholder),
229 (hildon_entry_focus_in_event),
230 (hildon_entry_focus_out_event): Determine when it is needed
231 either to show or hide the placeholder and call the above methods.
233 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
234 when the placeholder text is already set)
236 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
238 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
239 simple GdkPixbufAnim using the new icons for the banner.
240 (hildon_banner_show_animation): Use the above mentioned method to
241 create the animation widget.
243 Fixes: NB#103564 (Make hildon animation banner use individual
244 image files as the animation)
246 2009-03-24 Alejandro G. Castro <alex@igalia.com>
248 * src/hildon-pannable-area.c,
249 (hildon_pannable_leave_notify_event): Check if the child is NULL
250 to avoid sending the leave.
252 2009-03-24 Alejandro G. Castro <alex@igalia.com>
254 * src/hildon-pannable-area.c,
255 (hildon_pannable_area_class_init),
256 (hildon_pannable_leave_notify_event): Added a handler of the
257 leave-notify-signal to consider when no motion notify before
260 Fixes: NB#107494 (Items stay selected when clicking and moving
261 away when inside pannable area)
263 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
268 * configure.ac: Bump version.
269 * debian/changelog: Updates.
271 2009-03-19 Alejandro G. Castro <alex@igalia.com>
273 Patch by Alberto Garcia (agarcia@igalia.com)
275 * src/hildon-date-button.c,
276 (hildon_date_button_class_init),
277 (hildon_date_button_init): Removed the construct property handling
278 and created a default selector in the init method.
279 * src/hildon-picker-button.c,
280 (hildon_picker_button_class_init): Removed the construct flag of the
283 2009-03-18 Alberto Garcia <agarcia@igalia.com>
285 * src/hildon-main.c (hildon_init):
286 Don't allow hildon_init() to be called more than once.
288 Fixes: NB#106607 (hildon_init should issue error message upon
291 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
293 * examples/hildon-pannable-area-touch-list-example.c
294 * examples/hildon-pannagle-area-touch-grid-example.c
295 * examples/hildon-edit-toolbar-example.c
296 * examples/hildon-touch-selector-multi-cells-example.c
297 Removed the call to gtk_rc_parse_string, as it is not required since
300 2009-03-17 Alejandro G. Castro <alex@igalia.com>
302 * src/hildon-pannable-area.c,
303 (hildon_pannable_area_class_init): Modified the default panning
304 threshold of the widget to 6px.
306 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
307 than the threshold value ) within the button is not sending the
310 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
312 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
313 for the treeview in the new column. This way, the touch list will never
316 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
317 be selected manually for the HW keys to work)
319 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
321 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
322 comparison instead of using strcmp(). Fixes a compiler warning as well.
324 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
326 * doc/hildon-docs.sgml: Do not set the library version in the
327 document title, use the releaseinfo tag for that purpose instead.
329 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
331 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
332 Do not jump to the first item if the text in the entry is removed.
334 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
339 * configure.ac: Bump version.
340 * debian/changelog: Updates.
342 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
344 * src/hildon-entry.c (hildon_entry_refresh_contents):
345 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
346 Use "ReversedSecondaryTextColor" for the placeholder text.
348 2009-03-12 Alberto Garcia <agarcia@igalia.com>
350 * src/hildon-text-view.c: Fix compilation warning.
352 2009-03-12 Alberto Garcia <agarcia@igalia.com>
354 * src/hildon-button.c (hildon_button_class_init): Don't make
355 "title" and "value" construction properties, to prevent them from
356 overwriting labels set from derived classes.
358 * src/hildon-picker-button.c
359 (hildon_picker_button_set_selector): Allow setting a NULL selector.
360 (hildon_picker_button_class_init): Make touch-selector a
361 construction property.
363 * src/hildon-date-button.c (hildon_date_button_class_init)
364 (+hildon_date_button_constructed): Add a default date selector if
367 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
369 * src/hildon-touch-selector.c: Small documentation fixes.
371 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
373 Based on a patch by Daniel Borgmann (danielb@openismus.com)
375 * src/hildon-entry.c (hildon_entry_refresh_contents),
376 (hildon_entry_get_text), (hildon_entry_init): Do not use the
377 widget name, set the logical color directly instead and a boolean
378 showing_placeholder instead.
379 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
380 use the widget name here either.
382 Fixes: NB#105678 (HildonTextView should use logical colours
383 instead of setting widget name)
385 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
387 Patch by Daniel Elster (danielk@openismus.com)
389 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
390 Add user_data parameter.
391 (hildon_touch_selector_set_print_func_full): New function akin
392 hildon_touch_selector_set_print_func() but with support for user
393 data and a destroy callback.
394 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
395 to clean up the print function user data.
396 (hildon_touch_selector_class_init): Install dispose function.
397 (HildonTouchSelectorPrivate::print_user_data),
398 (HildonTouchSelectorPrivate::print_destroy_func): New private
400 (hildon_touch_selector_init): Initialize new private members.
401 (hildon_touch_selector_get_current_text): Pass along user data
402 to the print function.
403 (_default_print_func): Add dummy user_data to parameter list.
404 * hildon-date-selector.c (_custom_print_func): ditto,
405 * hildon-time-selector.c (_custom_print_func): ditto,
406 * hildon-touch-selector-entry.c
407 (hildon_touch_selector_entry_print_func): ditto.
409 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
411 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
413 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
415 2009-03-12 Alejandro G. Castro <alex@igalia.com>
417 * src/hildon-pannable-area.c,
418 (hildon_pannable_area_init),
419 (hildon_pannable_area_button_press_cb),
420 (hildon_pannable_area_motion_notify_cb): We have added code to
421 handle the leave and enter events when using the motion events.
423 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
425 2009-03-11 Alberto Garcia <agarcia@igalia.com>
427 * src/hildon-date-button.c (hildon_date_button_get_date)
428 (hildon_date_button_set_date): Make sure that the button has a
431 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
433 2009-03-11 Alejandro G. Castro <alex@igalia.com>
435 * src/hildon-pannable-area.c,
436 (hildon_pannable_area_class_init),
437 (hildon_pannable_area_calculate_velocity): Modify the use of the
438 force and adapt the value.
440 2009-03-10 Alberto Garcia <agarcia@igalia.com>
442 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
443 (hildon_app_menu_class_init): Hide the menu if it receives a
444 delete-event, but don't destroy it
446 Fixes: NB#104485 (Not able to address the call when application
447 menu is opened at background)
449 2009-03-10 Alberto Garcia <agarcia@igalia.com>
451 * src/hildon-app-menu.c
452 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
453 Remove the "external-border" style property, let the menu take its
454 natural size (or the one set by the window manager)
455 (hildon_app_menu_repack_items):
456 Don't reshow the menu, avoid flickers.
458 Partially fixes NB#94957 (Smoothly opened application menu)
460 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
465 * configure.ac: Bump version.
466 * debian/changelog: Updates.
468 2009-03-10 Alejandro G. Castro <alex@igalia.com>
470 * src/hildon-pannable-area.c,
471 (hildon_pannable_area_motion_notify_cb): We control that the
472 direction error margin is used just in case the movement is
473 allowed in the other direction.
475 Fixes: NB#105012 (buttons inside a pannable area not getting
476 release event when dragging/releasing)
478 2009-03-10 Alejandro G. Castro <alex@igalia.com>
480 * src/hildon-pannable-area.c,
481 (hildon_pannable_area_class_init),
482 (hildon_pannable_area_get_property),
483 (hildon_pannable_area_set_property),
484 (hildon_pannable_area_initial_effect),
485 (hildon_pannable_axis_scroll),
486 (hildon_pannable_area_button_release_cb): Reviewed the
487 overshooting effect, now it has its own max
488 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
491 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
496 * configure.ac: Bump version.
497 * debian/changelog: Updates.
499 2009-03-09 Alejandro G. Castro <alex@igalia.com>
501 * src/hildon-pannable-area.c,
502 (hildon_pannable_area_class_init): Changed the max speed, now
503 users can launch the widget very fast. Reduced the default force,
504 that way it is easier to control the launch speed.
506 2009-03-09 Alejandro G. Castro <alex@igalia.com>
508 * src/hildon-pannable-area.c,
509 (hildon_pannable_area_button_release_cb): Removed this check
510 because it causes problems when the device is overloaded.
512 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
514 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
515 add a current_text field to store the text entered in the
516 touch selector entry.
517 (_clean_current_selection): clean up the current text as well.
518 (_save_current_selection), (_restore_current_selection):
519 Save/restore the text in the entry if the selector is a
520 HildonTouchSelectorEntry.
522 Fixes: NB#102541 (value entered in the touch selector entry is not
523 shown when opened for second time)
525 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
527 * doc/hildon-sections.txt:
528 * src/hildon-touch-selector-entry.c
529 (+hildon_touch_selector_entry_get_entry):
530 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
532 Fixes: NB#104815 (I need accessor to the entry inside
533 HildonTouchSelectorEntry)
535 2009-03-06 Alberto Garcia <agarcia@igalia.com>
537 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
538 (hildon_app_menu_class_init):
539 New "filter-vertical-spacing" style property.
541 2009-03-06 Alberto Garcia <agarcia@igalia.com>
543 * src/hildon-find-toolbar.c
544 (hildon_find_toolbar_emit_close)
545 (hildon_find_toolbar_emit_invalid_input)
546 (hildon_find_toolbar_entry_activate):
547 Use g_signal_emit() instead of g_signal_emit_by_name()
549 2009-03-06 Alberto Garcia <agarcia@igalia.com>
551 Patch by Mox Soini (ext-mox.soini@nokia.com)
553 * tests/TEST-CASES.txt
554 * tests/check-hildon-banner.c
555 * tests/check-hildon-note.c
556 * src/hildon-banner.c
557 * src/hildon-code-dialog.c
558 * src/hildon-date-editor.c (real_set_calendar_icon_state)
559 * src/hildon-time-editor.c
560 * examples/hildon-lookup-example.c (main):
561 Replace obsolete icon names with new ones.
563 * src/hildon-find-toolbar-private.h:
564 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
565 (-hildon_find_toolbar_emit_search):
566 Remove find button and change icon of close button.
568 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
570 2009-03-05 Alberto Garcia <agarcia@igalia.com>
572 * src/hildon-time-button.c (hildon_time_button_new_step):
573 Use the "touch-selector" property to set the selector directly
574 when creating the object.
576 2009-03-05 Alejandro G. Castro <alex@igalia.com>
578 Added a new example application that allows tuning the pannable
579 area and replaced defines with properties in order to simplify the
580 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
581 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
582 PROP_DIRECTION_ERROR_MARGIN.
584 * examples/hildon-pannable-area-tuning-example.c: New example
586 * src/hildon-pannable-area.c,
587 (hildon_pannable_area_class_init),
588 (hildon_pannable_area_init),
589 (hildon_pannable_area_get_property),
590 (hildon_pannable_area_set_property),
591 (hildon_pannable_area_launch_fade_timeout),
592 (hildon_pannable_area_adjust_value_changed),
593 (hildon_pannable_axis_scroll),
594 (hildon_pannable_area_motion_notify_cb),
595 (hildon_pannable_area_scroll_cb),
596 (hildon_pannable_area_button_release_cb): We have converted some
597 of the defines that control the widget to properties to simplify
600 2009-03-05 Alberto Garcia <agarcia@igalia.com>
602 * src/hildon-app-menu.c (hildon_app_menu_map)
603 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
604 so it's closed if a new window appears.
606 Fixes: NB#104485 (Not able to address the call when application
607 menu is opened at background)
609 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
611 * src/hildon-color-button.c (hildon_color_button_get_property):Add
612 missing 'break' statement in in 'case' construct to avoid
615 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
617 * src/hildon-touch-selector-entry.c
618 (hildon_touch_selector_entry_get_property),
619 (hildon_touch_selector_entry_set_property): Add missing 'break'
620 statements in in 'case' constructs to avoid incorrect warnings.
622 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
624 * src/hildon-time-editor.c
625 (hildon_time_editor_get_time_separators): Do not crash if
626 the first label is NULL.
628 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
630 * src/hildon-date-selector.c (_month_days): Check for month to be
631 strictly less than 12, since otherwise we may overrun the array.
633 2009-03-04 Alberto Garcia <agarcia@igalia.com>
635 * src/hildon-date-button.c (+hildon_date_button_new_full)
636 (hildon_date_button_new, hildon_date_button_new_with_year_range)
637 (hildon_date_button_init): Set the date selector using a
638 construction property, to make it happen after HildonButton's
639 "value" property is set.
641 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
642 current date by default)
644 2009-03-04 Alberto Garcia <agarcia@igalia.com>
646 * doc/hildon-sections.txt
647 * src/hildon-program.c
648 * src/hildon-stackable-window.c
649 * src/hildon-window.c:
650 Documentation updates
652 2009-03-04 Alberto Garcia <agarcia@igalia.com>
654 * src/hildon-window-stack.c (hildon_window_stack_get_default)
655 (hildon_window_stack_new, +hildon_window_stack_set_property)
656 (+hildon_window_stack_get_property)
657 (hildon_window_stack_class_init)
658 (+hildon_window_stack_set_window_group)
659 (+hildon_window_stack_get_window_group):
660 Make the window group a construction property.
662 2009-03-04 Alberto Garcia <agarcia@igalia.com>
664 * doc/hildon-sections.txt
665 * src/hildon-stackable-window-private.h
666 * src/hildon-stackable-window.h
667 * src/hildon-stackable-window.c
668 (-hildon_stackable_window_set_app_menu)
669 (-hildon_stackable_window_get_app_menu)
670 (-hildon_stackable_window_toggle_menu)
671 (-hildon_stackable_window_finalize)
672 (hildon_stackable_window_class_init)
673 (hildon_stackable_window_init)
674 * src/hildon-window-private.h
675 * src/hildon-window.h
676 * src/hildon-window.c (hildon_window_init)
677 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
678 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
679 (hildon_window_get_main_menu, hildon_window_set_main_menu)
680 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
681 Moved all HildonAppMenu code to HildonWindow. The menu does not
682 require a HildonStackableWindow anymore.
684 * src/hildon-app-menu.c
685 * src/hildon-program.c
686 * examples/hildon-app-menu-example.c (main):
687 Update examples and documentation to reflect HildonAppMenu
690 2009-03-04 Alberto Garcia <agarcia@igalia.com>
692 * src/hildon-remote-texture.c
693 * src/hildon-animation-actor.c:
694 Don't include unused private headers.
696 2009-03-04 Alberto Garcia <agarcia@igalia.com>
698 * src/hildon-program-private.h
699 * src/hildon-program.c
700 (hildon_program_set_common_menu)
701 (hildon_program_get_common_menu)
702 (hildon_program_set_common_app_menu)
703 (hildon_program_get_common_app_menu):
704 Change common menu pointers from GtkWidget* to GtkMenu* and
705 HildonAppMenu* to avoid unnecessary casts.
707 2009-03-03 Alberto Garcia <agarcia@igalia.com>
709 * src/hildon-window.c (hildon_window_set_main_menu):
710 Removed incorrect 'Since:' tag
712 2009-03-03 Alejandro G. Castro <alex@igalia.com>
714 * src/hildon-pannable-area.c,
715 (hildon_pannable_area_calculate_velocity): We use now the
716 RATIO_TOLERANCE here to check the distance, fixed typo in the
718 (hildon_pannable_area_motion_notify_cb): We have to set the type
719 and time even if we are not sending the motion.
721 2009-03-02 Alberto Garcia <agarcia@igalia.com>
723 * doc/hildon-sections.txt
724 * src/hildon-app-menu.h
725 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
726 (+hildon_app_menu_get_filters): New methods to get the contents of
729 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
732 2009-03-02 Alberto Garcia <agarcia@igalia.com>
734 * src/hildon-app-menu.c (hildon_app_menu_popup):
737 2009-03-02 Alberto Garcia <agarcia@igalia.com>
739 * src/hildon-window.h
740 * src/hildon-window.c (+hildon_window_get_main_menu)
741 (hildon_window_get_menu): Created hildon_window_get_main_menu()
742 and deprecated hildon_window_get_menu().
744 * src/hildon-stackable-window.h
745 * src/hildon-stackable-window.c
746 (+hildon_stackable_window_set_app_menu)
747 (+hildon_stackable_window_get_app_menu)
748 (hildon_stackable_window_set_main_menu): Created
749 hildon_stackable_window_{get,set}_app_menu() and deprecated
750 hildon_stackable_window_set_main_menu().
752 * doc/hildon-sections.txt
753 * examples/hildon-app-menu-example.c (main)
754 * src/hildon-app-menu.c
755 * src/hildon-program.c:
756 Updated examples and documentation.
758 Fixes: NB#103758 (No way to obtain a menu from a
759 HildonStackableWindow)
761 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
766 * configure.ac: Bump version.
767 * debian/changelog: Updates.
769 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
771 * examples/hildon-remote-texture-example.c: Include
772 hildon-remote-texture.h explicitely.
773 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
774 applications not defining _XOPEN_SOURCE which don't require this header.
776 2009-02-27 Alberto Garcia <agarcia@igalia.com>
778 * doc/hildon-sections.txt
779 * src/hildon-app-menu.h
780 * src/hildon-app-menu.c (+hildon_app_menu_popup):
781 New function to pop up a HildonAppMenu
783 * src/hildon-stackable-window.c
784 (hildon_stackable_window_toggle_menu):
785 Use hildon_app_menu_popup() to show the menu.
787 2009-02-27 Alberto Garcia <agarcia@igalia.com>
789 * src/hildon-app-menu.c (hildon_app_menu_show)
790 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
791 menu if there's another window between it and its parent window.
793 Fixes: NB#100468 (Application menu window is launched even when a
794 new secondary-window/dialog is pending to be shown/realized)
796 2009-02-27 Alberto Garcia <agarcia@igalia.com>
798 * src/hildon-window-stack.c (hildon_window_stack_push)
799 (hildon_window_stack_pop_and_push):
800 Don't forget to push/pop the first window.
801 Reverse the window list before calling _push_list()
803 2009-02-27 Alberto Garcia <agarcia@igalia.com>
805 * src/hildon-picker-button.h
806 * src/hildon-picker-button.c (hildon_picker_button_class_init):
807 Remove "value_changed" slot to avoid ABI breakage
809 2009-02-26 Alejandro G. Castro <alex@igalia.com>
811 * src/hildon-pannable-area.c,
812 (hildon_pannable_area_realize),
813 (hildon_pannable_area_unrealize),
814 (hildon_pannable_draw_vscroll),
815 (hildon_pannable_draw_hscroll): Changed the method to handle the
816 GC used to draw the transparent scrollbar, this way we avoid
817 creating the GC all the time when drawing the scrollbars.
819 2009-02-26 Alejandro G. Castro <alex@igalia.com>
821 * src/hildon-pannable-area.c,
822 (hildon_pannable_area_init),
823 (hildon_pannable_area_remove): Removed some unnecessary casts.
824 (hildon_pannable_area_dispose): Disconnected some signals before
825 releasing the adjustments.
827 2009-02-26 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
830 Make sure that all widgets contained in the toolbar are shown.
832 2009-02-25 Alberto Garcia <agarcia@igalia.com>
834 * doc/hildon-sections.txt
835 * src/hildon-picker-button.h
836 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
837 (_selection_changed, hildon_picker_button_on_dialog_response)
838 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
839 New hildon_picker_button_value_changed() method.
842 * src/hildon-picker-button-private.h
843 * src/hildon-picker-button.c (hildon_picker_button_init)
844 (+hildon_picker_button_disable_value_changed): Add protected
845 function for disabling the "value-changed" signal.
847 * src/hildon-date-button.c (hildon_date_button_set_date):
848 Don't emit "value-changed" for each one of the three columns.
850 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
851 before actual change of values)
853 2009-02-24 Alejandro G. Castro <alex@igalia.com>
855 * src/hildon-pannable-area.c,
856 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
857 for the treeview overshooting.
859 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
861 * src/hildon-banner.c (+hildon_banner_bind_style):
862 Renamed from hildon_banner_bind_label_style(), now naming the
863 banner itself as well.
864 (hildon_banner_show_information),
865 (hildon_banner_show_information_with_markup),
866 (hildon_banner_show_animation), (hildon_banner_show_progress):
867 Name the widgets and labels, based on their type.
869 See NB#98597 (Hildon Note and Hildon Banner should use themeable
872 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
874 * src/hildon-note.c (hildon_note_set_property): call
875 hildon_note_rename() on HildonNote:note-type set.
876 (hildon_note_rename): Name the note and its label, based on the
877 HildonNote:note-type property.
879 See NB#98597 (Hildon Note and Hildon Banner should use themeable
882 2009-02-24 Alejandro G. Castro <alex@igalia.com>
884 * src/hildon-pannable-area.c,
885 (hildon_pannable_area_class_init),
886 (hildon_pannable_area_motion_notify_cb): Reviewed the default
887 panning parameters, increased SPS and deceleration factor. Added
888 also a margin to control fake directions.
890 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
892 Patch by Sven Herzberg (sven@imendio.com)
894 * configure.ac: Add missing AM_PROG_CC_C_0
895 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
897 See NB#101420 (Update unit tests and fix make check)
899 2009-02-23 Alejandro G. Castro <alex@igalia.com>
901 This patch was applied before but reverted because it caused
902 problems, we have changed the main condition and tested the
903 regressions we detected before and they work ok. We have done a
904 complete review of the topmost algorithm in order to get a more
907 * src/hildon-pannable-area.c,
908 (hildon_pannable_area_get_topmost): Added a new parameter to
909 filter the the windows that do not include those events.
910 (hildon_pannable_area_button_press_cb),
911 (hildon_pannable_area_button_release_cb),
912 (hildon_pannable_get_child_widget_at): Reviewed the call the the
913 topmost function, we have added the new parameter.
915 Fixes: NB#97458 (Pannable area prevents propagation of button
918 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
920 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
921 if all columns in the selector have an item selected.
922 (_on_dialog_response): Stop "response" signal emission if there is
923 any selector column without selected items.
925 Fixes: NB#101889 (Picker dialog should not close when nothing is
926 selected in multiple selection list)
928 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
930 * src/hildon-font-selection-dialog.c
931 (hildon_font_selection_dialog_class_init),
932 (hildon_font_selection_dialog_init): Remove the preview
933 button and dialog, since previewing with default theming is likely
934 to be overcomplicated. The :preview property has now no effect.
935 Update documentation blurbs to inform about this.
937 Fixes: NB#92297 (Preview content is not clearly visible for
940 2009-02-20 Alejandro G. Castro <alex@igalia.com>
942 Reviewed the geometry that handles the children size and
943 scrollbar, now it tries a size and reviews the results depending
944 on the scrollbars visibility.
946 * src/hildon-pannable-area.c,
947 (hildon_pannable_area_realize): Fixed a typo.
948 (hildon_pannable_area_child_allocate_calculate): Added this
949 function to calculate the child allocation.
950 (hildon_pannable_area_size_allocate): Reviewed the allocation
952 (hildon_pannable_area_check_scrollbars),
953 (hildon_pannable_area_refresh): Refactored refresh function, this
954 way we can call the code handling the scrollbars without causing a
955 size_request, it is interesting in the allocate.
956 (hildon_pannable_area_init): Replace the callbacks of the
957 value_changed and changed signals to propertly deal with the
959 (hildon_pannable_area_grab_notify),
960 (hildon_pannable_area_initial_effect),
961 (hildon_pannable_area_launch_fade_timeout),
962 (hildon_pannable_area_adjust_changed),
963 (hildon_pannable_area_adjust_value_changed),
964 (hildon_pannable_area_redraw),
965 (hildon_pannable_area_button_press_cb),
966 (hildon_pannable_area_button_release_cb),
967 (hildon_pannable_area_scroll_cb),
968 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
969 code and use the new functions adjust_changed and
970 adjust_value_changed.
972 Fixes: NB#101603 (Focus is not even for the text entry boxes in
973 Contact editor dialog)
975 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
980 * configure.ac: Bump version.
981 * debian/changelog: Updates.
983 2009-02-20 Alejandro G. Castro <alex@igalia.com>
985 * src/hildon-pannable-area.c,
986 (hildon_pannable_area_get_topmost),
987 (hildon_pannable_area_button_press_cb),
988 (hildon_pannable_area_button_release_cb),
989 (hildon_pannable_get_child_widget_at): Reverted the patch for the
990 topmost function adding the event mask. We have to try a
991 differente approach because it is still causing problems (NB#9745,
994 2009-02-19 Alberto Garcia <agarcia@igalia.com>
996 * src/hildon-banner.c:
997 Update the maximum width of timed banners.
998 (force_to_wrap_truncated): Enforce the maximum text width if the
1001 Fixes: NB#102413 (The text margins (wrapping) in information
1002 banner should be HILDON_MARGIN_TRIPLE)
1004 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1006 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1008 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1009 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1010 bound when calculating the scroll indicator position.
1012 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1013 treat ->lower correctly)
1015 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1017 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1018 expose event handling, since it is not necessary to draw the focus
1021 Fixes: NB#102467 (Do not show highlight on the text in
1024 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1026 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1027 full height of the toolbar for the button and the label.
1029 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1031 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1032 padding before the label and after the button.
1034 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1036 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1038 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1039 Add a GtkVSeparator between the button and the back arrow.
1040 Let the button have automatic size.
1041 Set a name to the widget for theming handling.
1043 Fixes: NB#101793 (Make edit toolbar the same height as window
1044 title bar (use title area theming))
1046 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-helper.c (attach_new_color_element): Fix memory
1051 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1053 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1055 * examples/hildon-button-example.c (common_buttons_window): Don't
1058 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1060 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1061 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1063 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1065 * src/hildon-gtk.c: Check that the window is realized.
1067 Fixes: NB#102225 (Crash setting the progress indicator to a non
1070 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1072 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1073 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1074 instead of modifying the one in the widget style.
1076 Fixes: NB#101043 (Second row of all the command button are
1077 displayed in transparent mode.)
1079 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1081 * src/hildon-date-button.c
1082 * src/hildon-time-button.c: Add gettext macros
1084 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1086 * src/hildon-date-button.c (hildon_date_button_new):
1087 * src/hildon-time-button.c (hildon_time_button_new_step):
1088 Use new logical strings to set the button default title.
1090 Fixes: NB#99915 (Date and Time options are not localised in Date
1093 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1095 * src/hildon-pannable-area.c
1096 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1097 the PANNING_THRESHOLD.
1099 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1101 * src/hildon-pannable-area.c,
1102 (hildon_pannable_area_class_init): Increased the maximum speed.
1103 (hildon_pannable_area_get_property),
1104 (hildon_pannable_area_set_property),
1105 (hildon_pannable_area_timeout): Added a new low friction mode, it
1106 allows the user avoid friction when launching the widget fast
1107 enough. It is interesting to traverse long lists.
1109 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1111 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1112 (+hildon_stackable_window_delete_event): Ignore delete events if
1113 the window is not the topmost one.
1115 Fixes: NB#101698 (Back button long press and delete-event handling)
1117 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1119 * src/hildon-pannable-area.c,
1120 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1121 gtk-dnd-drag-threshold, it was too big. We have defined our own
1122 dnd define and set a smaller value: PANNIG_THRESHOLD.
1124 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1126 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1127 user-defined icons, use always the default one.
1129 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1131 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1133 This patch was applied before but reverted because it caused
1134 problems, we have changed the main condition and tested the
1135 regressions we detected before and they work ok.
1137 * src/hildon-pannable-area.c,
1138 (hildon_pannable_area_get_topmost): Added a new parameter to
1139 filter the the windows that do not include those events. Added
1140 also a condition when finding the window to filter windows that do
1141 not ask for those events.
1142 (hildon_pannable_area_button_press_cb),
1143 (hildon_pannable_area_button_release_cb),
1144 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1145 topmost function, we have added the new parameter.
1147 Fixes: NB#97458 (Pannable area prevents propagation of button
1150 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1152 * tests/check-hildon-color-button.c (START_TEST): do not leak
1155 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1157 * src/hildon-font-selection-dialog.c
1158 (hildon_font_selection_dialog_get_preview_text): Return NULL
1159 instead of FALSE on the g_return_val_if_fail().
1161 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1163 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1164 * src/hildon-date-selector.c
1165 (hildon_date_selector_select_current_date):
1166 Do not compare unsigned integers to be greater than or equal 0,
1167 because it's always TRUE.
1169 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1171 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1172 (hildon_date_selector_constructor): Do not select the current
1173 date until we are handle the "changed" signal, to avoid having bogus
1174 elements in the days model.
1176 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1178 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1179 for num_days, since _month_days() can return a negative value.
1181 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1183 * src/hildon-caption.c (hildon_caption_size_allocate):
1184 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1185 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1187 Initialize allocation variables to 0, to avoid eventually using
1188 unitialized variables.
1190 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1192 * src/hildon-bread-crumb-trail.c
1193 (hildon_bread_crumb_trail_size_allocate):
1194 * src/hildon-calendar.c (hildon_calendar_set_background):
1195 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1196 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1197 * src/hildon-seekbar.c (hildon_seekbar_init):
1198 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1199 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1200 * src/hildon-touch-selector-entry.c
1201 (hildon_touch_selector_get_text_from_model):
1202 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1203 * src/hildon-window.c (hildon_window_finalize):
1205 Remove many unused variables.
1207 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-seekbar.c: (hildon_seekbar_init),
1210 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1212 Remove unnecessary g_assert() calls.
1214 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1216 * src/hildon-caption.c: (hildon_caption_expose),
1217 (hildon_caption_set_property), (hildon_caption_init),
1218 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1219 (hildon_caption_size_request), (hildon_caption_size_allocate),
1220 (hildon_caption_forall), (hildon_caption_set_separator),
1221 (hildon_caption_activate), (hildon_caption_set_child_expand),
1222 (hildon_caption_set_label_text),
1223 (hildon_caption_get_label_alignment):
1225 Remove unnecessary g_assert() calls.
1227 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-banner.c
1230 (hildon_banner_map, hildon_banner_init): Make banner temporary
1231 before mapping it to avoid closing other temporary windows, but
1232 make it non-temporary afterwards to avoid being closed by other
1233 non-temporary windows.
1234 (-hildon_banner_client_event, hildon_banner_init):
1235 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1237 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1240 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1242 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1245 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1247 * src/hildon-remote-texture.c
1248 * src/hildon-remote-texture.h
1249 * src/hildon-remote-texture-private.h
1250 * examples/hildon-remote-texture-example.c:
1251 Updates/fixes to remote-texture and its example.
1253 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1255 Patch by Mox Soini (ext-mox.soini@nokia.com)
1257 * src/hildon-code-dialog.c: Update logical id.
1258 * src/hildon-set-password-dialog.c: Update logical id.
1260 Fixes: NB#100646 (Logical strings is shown for ok in set
1261 password,Password needed dialogs)
1263 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1266 * src/hildon-remote-texture.c
1267 * src/hildon-remote-texture.h
1268 * src/hildon-remote-texture-private.h
1270 Added remote texture widget (for Clutter shared memory textures)
1272 * examples/hildon-remote-texture-example.c
1273 * examples/Makefile.am
1274 Added example file for remote texture usage
1276 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1278 * configure.ac: post release version bump.
1279 * debian/changelog: version bump.
1281 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1286 * configure.ac: Bump version.
1287 * debian/changelog: Updates.
1289 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1291 * src/hildon-date-selector.c (hildon_date_selector_init)
1292 (hildon_date_selector_constructor): Don't connect to the "changed"
1293 signal until the selector is completely constructed.
1295 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1297 * src/hildon-touch-selector.c: (_create_new_column),
1298 (hildon_touch_selector_append_column),
1299 (hildon_touch_selector_set_column_selection_mode),
1300 (hildon_touch_selector_set_active),
1301 (hildon_touch_selector_select_iter):
1302 Emit the HildonTouchSelector::changed signal every time selection
1303 is changed in any of the methods above. This behavior was already
1304 documented but not fully functional.
1306 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1307 selection is programmatically changed)
1309 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1311 * doc/hildon-sections.txt: Remove obsolete icon
1312 sizes from here as well.
1314 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1316 * examples/hildon-stackable-window-example.c (add_window): Remove
1319 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1321 * src/hildon-app-menu.c
1322 (hildon_app_menu_show): Check whether the parent window of a menu
1323 is topmost before popping it up.
1325 Fixes: NB#100468 (Application menu window is launched even when a
1326 new secondary-window/dialog is pending to be shown/realized.)
1328 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1330 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1333 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1335 Patch by Mox Soini (ext-mox.soini@nokia.com)
1337 * src/hildon-banner.c: (hildon_banner_show_animation):
1338 use stylus size instead of obsolete note size.
1339 * src/hildon-defines.h: Update icon sizes.
1341 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1343 * src/hildon-touch-selector-entry.c:
1344 (hildon_touch_selector_entry_init): Disable unsupported
1346 (hildon_touch_selector_entry_get_text_column): Emit a warning
1347 if an unsupported input modes is used and explicitile state
1348 these modes in the documentation.
1350 Fixes: NB#99802 (Hildon touch selector entry not working properly
1351 for some of the input modes)
1353 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1355 * src/hildon-pannable-area.c,
1356 (hildon_pannable_area_init): Added the changed signal handlers of
1359 Fixes: NB#100320 (HildonPannableArea does not listen to
1360 GtkAdjustment "change" signals)
1362 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1364 * doc/hildon-sections.txt
1365 * src/hildon-window-private.h
1366 * src/hildon-window.h
1367 * src/hildon-window.c (hildon_window_init)
1368 (hildon_window_realize, hildon_window_unrealize)
1369 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1370 (hildon_window_size_request, hildon_window_size_allocate)
1371 (hildon_window_forall, hildon_window_show_all)
1372 (hildon_window_destroy, +paint_edit_toolbar)
1373 (+hildon_window_set_edit_toolbar):
1374 New hildon_window_set_edit_toolbar() method, to add a
1375 HildonEditToolbar to a window without having to pack it manually.
1377 Reorganize hildon_window_size_allocate()
1379 * src/hildon-edit-toolbar.c: Update documentation.
1381 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1382 example to use the new API.
1384 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1386 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1388 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1389 Remove from stack before calling parent's hide.
1391 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1394 window is removed from the middle of the stack, update the
1395 transiency of the previous one.
1397 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1400 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1402 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1403 block/unblock the signal handler if it's not actually being used.
1404 Fixes some critical warnings.
1406 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1408 Based on a patch by Iván Gómez (igomez@igalia.com)
1410 * src/hildon-banner.c
1414 * src/hildon-pannable-area.c
1415 * src/hildon-picker-dialog.c
1416 * src/hildon-wizard-dialog.h
1417 * src/hildon-wizard-dialog.c: Documentation updates.
1419 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1420 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1422 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1424 * configure.ac: post release version bump.
1425 * debian/changelog: version bump.
1427 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1432 * configure.ac: Bump version.
1433 * debian/changelog: Updates.
1435 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1437 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1438 a stock icon nor change the relief of the back arrow.
1440 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1441 graphics from theme)
1443 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-button.c (hildon_button_set_alignment): Use
1446 priv->alignment if the button has no child yet.
1448 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-button.c: (hildon_button_init): Set the
1451 button style during initialization to give it the proper
1454 Fixes: NB#99713 (HildonButton value label color is wrong)
1456 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-touch-selector.c: Document
1459 hildon_touch_selector_center_on_selected()
1461 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1464 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1465 all menu items, but not the menu itself.
1466 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1467 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1468 items after adding them to the menu so keyboard accelerators work.
1469 (hildon_app_menu_show): Don't show the menu if it contains items
1470 but none of them are visible.
1472 * examples/hildon-app-menu-example.c (create_menu): Use
1473 gtk_widget_show_all() to show all menu items.
1475 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1477 * src/hildon-picker-dialog.c:
1478 (-_update_title_on_selector_changed_cb),
1479 (-_dialog_update_title): Removed.
1480 (_select_on_selector_changed_cb), (_on_dialog_response),
1481 (on_selector_columns_changed): Do not update the dialog title.
1482 (setup_interaction_mode): Do not connect to
1483 HildonTouchSelector::changed signal if there's a "done" button, as
1484 the dialog title doesn't need to be updated.
1486 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1489 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1491 Patch by Kristian Rietveld (kris@imendio.com)
1493 * src/hildon-touch-selector.c: (_create_new_column): Use new
1494 GtkTreeView::hildon-row-tapped signal to react to user interactions
1495 instead of ::changed.
1497 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1498 with some dynamic tree model)
1500 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1502 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1503 (+screen_size_changed, +label_size_request)
1504 (hildon_note_class_init): Make the Hildon information note have a
1505 minimum height, and make its text hvae a maximum width.
1507 Fixes: NB#98614 (Hildon information note (background) should have
1508 minimum height and maximum text width)
1510 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1512 * src/hildon-banner.h
1513 * src/hildon-banner.c (hildon_banner_show_information)
1514 (hildon_banner_show_informationf)
1515 (hildon_banner_show_information_with_markup): Update documentation
1516 to reflect that the icon_name parameter is not used anymore.
1517 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1518 Remove all code from these functions and mark them as deprecated.
1519 (hildon_banner_show_progress): Mark as deprecated.
1521 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1523 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1525 * src/hildon-pannable-area.c,
1526 (hildon_pannable_area_class_init),
1527 (tranparency_color),
1528 (hildon_pannable_draw_vscroll),
1529 (hildon_pannable_draw_hscroll),
1530 (hildon_pannable_area_expose_event): Added a new way to render the
1531 scrollbars of the pannable area avoiding using cairo at all. This
1532 way we improve the performance of the pannable area rendering. The
1533 cairo rendering procedure is still in the code, we can control
1534 which one to use changing the value of the define
1535 USE_CAIRO_SCROLLBARS.
1537 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1539 * configure.ac: post release version bump.
1540 * debian/changelog: version bump.
1542 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1547 * configure.ac: Bump version.
1548 * debian/changelog: Updates.
1550 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1552 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1553 banners instead of destroying them when they receive a button
1556 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1558 Reverted commit 34028, it was causing regressions, probably the
1559 topmost condition is not correct, we have to check it in more
1560 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1561 propagation of button press events)
1563 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1565 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1566 that the selection is not empty before attempting to retrieve the
1567 current ampm selection.
1569 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1571 * src/hildon-picker-button.c:
1572 (hildon_picker_button_on_dialog_response): Directly update the
1573 button contents when required instead of calling _selection_changed.
1575 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1577 * src/hildon-program.c (hildon_program_update_top_most): Update
1578 'is-topmost' property also when wm_hints is not set.
1580 Fixes: NB#98383 (is-topmost signal is not emitted when task
1581 switcher is clicked.)
1583 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1585 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1589 * src/hildon-animation-actor.c,
1590 * src/hildon-animation-actor.h: Added the animation actor class,
1591 this widget represents an animation actor for WM-assisted
1592 animation effects in the Hildon framework.
1594 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1596 * src/hildon-window-stack-private.h
1597 * src/hildon-window-stack.c
1598 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1599 Avoid calling gtk_widget_show() again indirectly from
1600 hildon_stackable_window_show()
1602 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1607 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1610 (hildon_time_selector_init): Move the construction of the hours and
1611 ampm columns to the constructor to preserve the order the columns
1614 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1616 * src/hildon-picker-dialog.c:
1617 (hildon_picker_dialog_class_init): Connect a realize method.
1618 (+hildon_picker_dialog_realize): Setup the interaction mode here
1620 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1621 yet, do it during the realize instead.
1622 (_on_dialog_response):
1623 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1624 if the widget is not realized, to avoid the dialog response before it
1627 Avoid premature responses in the HildonPickerDialog that can cause it
1628 to be hidden before it's even shown.
1630 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1632 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1633 (on_selector_columns_changed), (requires_done_button),
1634 (+prepare_action_area), (setup_interaction_mode),
1635 (_hildon_picker_dialog_set_selector):
1637 Split the interaction mode setup into preparation of the
1638 action area (prepare_action_area()) and the connection of
1639 the signals in setup_interaction_mode() and update the code to
1642 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1644 * src/hildon-pannable-area.c,
1645 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1646 per second to 15, we will check if this is ok regarding
1649 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1651 * src/hildon-pannable-area.c,
1652 (hildon_pannable_axis_scroll): Avoid resize if we already have
1653 reached overshoot_max.
1655 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1657 * src/hildon-pannable-area.c,
1658 (hildon_pannable_area_init),
1659 (hildon_pannable_area_realize),
1660 (hildon_pannable_area_size_allocate),
1661 (hildon_pannable_area_map),
1662 (hildon_pannable_area_unmap),
1663 (hildon_pannable_draw_vscroll),
1664 (hildon_pannable_draw_hscroll),
1665 (hildon_pannable_area_expose_event),
1666 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1667 pannable are to avoid the expose events go to the window and
1668 redraw the window. We save this way that part of the stack and the
1669 paint_boxes. We had to change the positions of the elements when
1672 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1675 * src/hildon-color-chooser-dialog.c:
1676 (hildon_color_chooser_dialog_init):
1677 * src/hildon-font-selection-dialog.c:
1678 (hildon_font_selection_dialog_init),
1679 (hildon_font_selection_dialog_show_preview):
1680 * src/hildon-get-password-dialog.c:
1681 * src/hildon-login-dialog.c:
1682 * src/hildon-set-password-dialog.c:
1683 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1684 * src/hildon-time-picker.c: (hildon_time_picker_init):
1686 Remove obsolete logical string IDs and update to the appropriate ones.
1688 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1690 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1692 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1693 that happens if the window hasn't been realized yet.
1695 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1696 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1698 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1701 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1704 Fixes: NB#98537 (Device hangs in account settings dialog)
1706 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1708 * configure.ac: post release version bump.
1709 * debian/changelog: version bump
1711 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1716 * configure.ac: Bump version.
1717 * debian/changelog: Updates.
1719 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1721 Added a new function to the HildonTimeButton widget that allows to
1722 change the step of the minutes in the selector associated with the
1723 button: hildon_time_button_new_step
1725 * src/hildon-time-button.c,
1726 (hildon_time_button_init),
1727 (hildon_time_button_new),
1728 (hildon_time_button_new_step):
1729 * src/hildon-time-button.h: Added the new function and refactored
1731 * examples/hildon-time-button-example.c,
1732 (main): We have replaced the function without parameters with the
1733 function with the steps set to 5
1735 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1737 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1739 * src/hildon-time-selector.c,
1740 (hildon_time_selector_class_init),
1741 (hildon_time_selector_constructor),
1742 (hildon_time_selector_get_property),
1743 (hildon_time_selector_set_property),
1744 (_create_minutes_model),
1745 (hildon_time_selector_new_step),
1746 (hildon_time_selector_set_time),
1747 * src/hildon-time-selector.h: Added a new property to the
1748 HildonTimeSelector (minutes-step), we use that property to control
1749 the steps between the minutes in the list of the selector. We have
1750 added a new function to the API to create a widget changing the
1751 step: hildon_time_selector_new_step.
1753 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-time-selector.c,
1756 (hildon_time_selector_class_init),
1757 (hildon_time_selector_constructor),
1758 (hildon_time_selector_init): Overrided the construct function when
1759 creating the time selector object. We have moved the minutes model
1760 handling code from the init to the new construction function:
1761 hildon_time_selector_constructor.
1763 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1765 * examples/hildon-date-button-example.c: (main): Use the new
1766 hildon_date_button_new_with_year_range() method in the example.
1767 * src/hildon-date-button.c:
1768 (+hildon_date_button_new_with_year_range): New public method
1769 to conveniently create a HildonDateButton with a custom year range
1770 in its HildonDateSelector.
1771 * src/hildon-date-button.h: Add the new public method definition.
1773 Fixes: NB#97908 (Not possible to change the year range in
1774 HildonDateSelector/HildonDateButton)
1776 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1778 * src/hildon-date-selector.c:
1779 (+hildon_date_selector_set_property),
1780 (+hildon_date_selector_get_property),
1781 (hildon_date_selector_class_init): Install new properties "min-year"
1782 and "max-year" to define boundaries for the year column.
1783 (_create_year_model): Use the boundary properties to populate the model.
1784 (+hildon_date_selector_new_with_year_range): New public method to
1785 create a HildonDateSelector with a user defined year range.
1786 (hildon_date_selector_select_current_date): Use the new boundaries to
1787 calculate the iterator of current year.
1788 * src/hildon-date-selector.h: Add the new public method definition.
1790 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1793 Install a constructor method.
1794 (+hildon_date_selector_construct_ui): construct the widget.
1795 (+hildon_date_selector_constructor): new constructor.
1796 (+hildon_date_selector_init): move out widget construction code to
1797 the new constructor.
1799 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1801 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1802 that there's actually a month or year selected before obtaining them.
1803 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1804 of the HildonTouchSelector::changed signal, as it was emitted on every
1805 single item selection.
1807 Fix some warnings and possible crashers due to the selection restoring.
1809 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1812 the signal handlers only after creating the dialog instead of on every
1815 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1817 * src/hildon-button.c (hildon_button_init)
1818 * src/hildon-check-button.c (hildon_check_button_init)
1819 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1820 focus when clicked by default.
1822 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1827 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1829 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1830 Alejandro G. Castro (alex@igalia.com)
1832 * src/hildon-picker-dialog.c:
1833 (hildon_picker_dialog_class_init): install new "center-on-show"
1835 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1836 (hildon_picker_dialog_set_property): add setter code for the new
1838 (hildon_picker_dialog_get_property): add getter code for the new
1840 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1841 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1844 Fixes: NB#92849 (Selected item is not always visible when
1845 HildonTouchSelector is shown)
1847 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1849 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1850 Alejandro G. Castro (alex@igalia.com)
1852 * src/hildon-touch-selector.c:
1853 (_create_new_column): Do not connect to the "realize" signal of the
1855 (hildon_touch_selector_append_column): center on the selected items
1856 when a new column is appended.
1857 (hildon_touch_selector_select_iter): Factor out the code to select a
1858 column to hildon_touch_selector_scroll_to().
1859 (+search_nearest_element): Method to retrieve the nearest selected
1860 element to the visible area of the pannable area in a column.
1861 (+on_realize_cb): scroll to the initially selected item.
1862 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1863 the pannable area is realized, otherwise delay this until it is.
1864 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1865 selected items of a given column.
1866 (+hildon_touch_selector_center_on_selected): Public method to center
1867 all columns on the nearest selected item.
1868 * src/hildon-touch-selector.h: Add definition for
1869 hildon_touch_selector_center_on_selected().
1871 Implement public API to ensure visibility of all selected items in
1872 a HildonTouchSelector.
1874 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1876 Fixed a problem in the fading when calling the scroll_to API, and
1877 improve scrollbar fading handling.
1879 * src/hildon-pannable-area.c,
1880 (hildon_pannable_area_grab_notify): avoid the timeout when the
1882 (hildon_pannable_area_button_press_cb),
1883 (hildon_pannable_area_motion_notify_cb): Code style changes.
1884 (hildon_pannable_area_button_release_cb): Review the conditions
1885 when releasing the mouse button to avoid unrequired fading
1887 (hildon_pannable_area_scroll_to): Do not calculate and set the
1888 velocity if the scroll is not required.
1890 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1892 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1893 Don't check whether the new selector is NULL: it cannot be.
1894 Hold a reference to the selector while doing the replacement.
1896 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1899 unnecessary size_request in a removed widget.
1901 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1903 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1904 an unnecessary reference tracking that was leaking.
1906 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1908 Added delayed motion notify event handling, this way we can
1909 discard redrawing if more than 25 events arrive per second.
1911 * src/hildon-pannable-area.c,
1912 (hildon_pannable_area_init): Initialized the new private atributes
1913 controlling this timeout
1914 (hildon_pannable_area_dispose): Remove the timeout that controls
1915 the motion notify events.
1916 (hildon_pannable_area_scroll): Added a condition to control the
1917 use of the acceleration.
1918 (hildon_pannable_area_motion_event_scroll_timeout),
1919 (hildon_pannable_area_motion_event_scroll): Added this two
1920 functions, they handle the motion notify events inside the
1922 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1923 to the scroll method with the new function.
1924 (hildon_pannable_area_button_release_cb): We have to remove the
1925 timeout handler and move to the last position if the last motion
1926 events were not handled.
1928 Fixes: NB#97028 (Pannable area updates on every motion event)
1930 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1932 * src/hildon-pannable-area.c,
1933 (hildon_pannable_area_get_topmost): Added a new parameter to
1934 filter the the windows that do not include those events. Added
1935 also a condition when finding the window to filter windows that do
1936 not ask for those events.
1937 (hildon_pannable_area_button_press_cb),
1938 (hildon_pannable_area_button_release_cb),
1939 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1940 topmost function, we have added the new parameter.
1942 Fixes: NB#97458 (Pannable area prevents propagation of button
1945 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1947 * src/hildon-pannable-area.c,
1948 (hildon_pannable_area_initial_effect): Added controls before
1949 launching the timeout and the idle functions.
1950 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1951 of the method, in some situations it can return with TRUE and 0 in
1953 (hildon_pannable_area_button_press_cb): We do not need to set
1954 DELAY for fading out here.
1956 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1958 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1961 post-cleaning if the selection is not NULL.
1963 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1965 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1966 all items before restoring the selection.
1968 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-touch-selector.c:
1971 (+hildon_touch_selector_unselect_all):
1972 * src/hildon-touch-selector.h: New API to unselect all items in a
1973 column of the touch selector.
1975 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1977 * src/hildon-pannable-area.c,
1978 (hildon_pannable_area_redraw): Added a call to the refresh
1979 function inside the redraw because apparently in some cases the
1980 change in the adjustment does not imply a size allocate.
1982 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1983 despite the view not being scrollable)
1985 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1988 leak. Check for NULL before attempting to set the window title.
1990 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1992 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1993 whether to show or not the 'Done' button each time the dialog is
1994 shown, as it depends on the HildonTouchSelector selection mode.
1996 Fixes: NB#96226 (In multiple selection mode Done button is shown
1997 sometimes in listpicker)
1999 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2002 for the number of columns in the HildonTouchSelector more than once.
2004 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-touch-selector.c: Minor documentation fixes.
2008 * src/hildon-picker-dialog.c (+_dialog_update_title)
2009 (_select_on_selector_changed_cb)
2010 (_update_title_on_selector_changed_cb)
2011 (on_selector_columns_changed): Update dialog title when there's no
2012 'Done' button and also when the number of columns in the selector
2016 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2017 (+_selection_changed, hildon_picker_button_on_dialog_response)
2018 (hildon_picker_button_selector_selection_changed)
2019 (+hildon_picker_button_selector_columns_changed)
2020 (hildon_picker_button_set_selector): Update button value and emit
2021 'value-changed' when the number of columns in the selector
2025 Fixes: NB#96225 (Dialog titles are not shown according to the
2026 values selected in the list picker)
2028 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2030 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2031 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2032 New "arrow-width" and "arrow-height" style properties to set the
2033 size of the arrow button.
2034 Set name of arrow button ("hildon-edit-toolbar-arrow").
2036 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2037 graphics from theme)
2039 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2041 * src/hildon-picker-button.c:
2042 (hildon_picker_button_selector_selection_changed): Use
2043 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2044 the dialog is present.
2046 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2047 the selection is accepted in the dialog)
2049 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2051 * src/hildon-color-chooser.h
2052 * src/hildon-color-chooser-dialog.h:
2053 Added G_BEGIN_DECLS and G_END_DECLS
2055 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2057 (_clean_current_selection): plug a leak in the list.
2059 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2061 * src/hildon-picker-dialog.c:
2062 (+free_path_list): Method to free a GList of GtkTreePaths.
2063 (_clean_current_selection), (_save_current_selection),
2064 (_restore_current_selection): Save the current selection in
2065 as a list of lists, to support multiple selection properly.
2067 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2069 patch by Claudio Saavedra (csaavedra@igalia.com)
2071 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2072 Store the press position.
2073 (+hildon_text_view_button_release_event): If the release position is
2074 close enough to the press position, move the cursor here. Otherwise,
2076 (hildon_text_view_class_init): Override GtkTextView press, release, and
2077 motion event handlers, disabling this way text selection through
2078 pointer interaction, and allowing the container widget to handle the
2081 Fixes: NB#95828 (HildonTextView functionality)
2083 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2085 Based on a patch by Iván Gómez (igomez@igalia.com)
2087 * src/hildon-button.[ch]
2088 * src/hildon-calendar.c
2089 * src/hildon-check-button.c
2090 * src/hildon-date-editor.c
2091 * src/hildon-date-selector.c
2092 * src/hildon-picker-button.c
2093 * src/hildon-time-editor.c
2094 * src/hildon-time-selector.c
2095 * src/hildon-touch-selector.[ch]:
2096 Documentation updates
2098 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2100 * src/hildon-pannable-area.c,
2101 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2102 threshold, it was required due to X events handling.
2104 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2106 * src/hildon-pannable-area.c,
2107 (hildon_pannable_area_grab_notify),
2108 (hildon_pannable_area_initial_effect),
2109 (hildon_pannable_area_button_press_cb),
2110 (hildon_pannable_area_button_release_cb),
2111 (hildon_pannable_area_scroll_cb),
2112 (hildon_pannable_area_scroll_to): Review the timeout management of
2113 the scrollbar, the frecuency was incorrectly set.
2115 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2117 * src/hildon-picker-button.c:
2118 (+hildon_picker_button_on_dialog_response),
2119 (hildon_picker_button_clicked): Present the dialog instead of
2120 running it with gtk_dialog_run().
2122 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2125 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2127 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2128 (hildon_app_menu_finalize): When a window is hidden it doesn't
2129 emit notify::is-topmost, so make sure than the menu also
2130 disappears in that case.
2131 (parent_window_topmost_notify): Renamed from parent_window_hidden
2133 Fixes: NB#94460 (stackable window's menu is not closed when its
2136 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-touch-selector-entry.c:
2139 (+hildon_touch_selector_entry_set_input_mode),
2140 (+hildon_touch_selector_entry_get_input_mode):
2141 * src/hildon-touch-selector-entry.h: New methods to access the input
2142 mode in the selector's entry.
2144 Fixes: NB#93410 (API required for setting IM mode in
2145 HildonTouchSelectorEntry)
2147 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2149 * configure.ac: post release version bump.
2150 * debian/changelog: version bump
2152 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2157 * configure.ac: Bump version.
2158 * debian/changelog: Updates.
2160 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2162 * src/hildon-touch-selector.c:
2163 (_hildon_touch_selector_has_multiple_selection): No need
2164 to initialize the variables here.
2166 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2168 * src/hildon-note-private.h
2169 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2170 (hildon_note_finalize, hildon_note_rebuild): Close information
2171 notes when they receive a button press.
2173 Fixes: NB#89890 (Information notes does not get disappeared after
2176 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2178 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2179 mark from the wizard title, as it's not really necessary. Also,
2180 do not display the page title if not set.
2182 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2185 (parent_window_hidden): Use the window's "is-topmost" property to
2186 detect when to hide the menu.
2188 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2190 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2191 (hildon_app_menu_finalize): If the parent window of the menu is
2192 hidden, hide the menu too.
2194 Fixes: NB#94460 (stackable window's menu is not closed when its
2197 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2200 * debian/libhildon1-examples.install
2202 * examples/Makefile.am:
2203 Use dh_install to install all examples.
2204 Use DEB_SRCDIR instead of defining SOURCE_DIR
2206 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2208 * configure.ac: post release version bump.
2209 * debian/changelog: version bump
2211 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2216 * configure.ac: bump version
2217 * debian/changelog: updates
2218 * debian/control: bump gtk+ dependency
2220 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2222 patch by Christian Dywan (christian@imendio.com)
2224 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2225 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2227 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-check-button.c (hildon_check_button_init)
2230 (hildon_check_button_class_init, hildon_check_button_style_set)
2231 (hildon_check_button_apply_style):
2232 New "checkbox-size" style property.
2234 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2235 larger / configurable size)
2237 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2239 * configure.ac: post release version bump.
2240 * debian/changelog: version bump
2242 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2247 * configure.ac: bump version
2248 * debian/changelog: updates
2250 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2252 * doc/hildon-sections.txt
2253 * src/hildon-pannable-area.c
2254 * src/hildon-program.c
2255 * src/hildon-time-editor.c
2256 * src/hildon-touch-selector-entry.c:
2258 More documentation updates.
2260 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2262 * doc/hildon-sections.txt
2263 * src/hildon-caption.c
2264 * src/hildon-code-dialog.c
2265 * src/hildon-color-button.c
2266 * src/hildon-controlbar.c
2267 * src/hildon-date-editor.c
2268 * src/hildon-date-selector.c
2269 * src/hildon-edit-toolbar.c
2270 * src/hildon-find-toolbar.c
2271 * src/hildon-font-selection-dialog.c
2273 * src/hildon-program.c
2274 * src/hildon-range-editor.c
2275 * src/hildon-seekbar.c
2276 * src/hildon-time-editor.c
2277 * src/hildon-time-selector.c
2278 * src/hildon-volumebar-range.c
2279 * src/hildon-volumebar.c
2280 * src/hildon-vvolumebar.c
2281 * src/hildon-weekday-picker.c
2282 * src/hildon-window.c
2283 * src/hildon-wizard-dialog.c:
2285 Lots of documentation fixes.
2287 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2289 Patch contributed by Iván Gómez (igomez@igalia.com)
2291 * src/hildon-check-button.c:
2292 * src/hildon-date-button.c:
2293 * src/hildon-date-selector.c:
2294 * src/hildon-dialog.c:
2295 * src/hildon-edit-toolbar.c:
2296 * src/hildon-entry.c:
2297 * src/hildon-picker-button.c:
2298 * src/hildon-program.c:
2299 * src/hildon-text-view.c:
2300 * src/hildon-time-button.c:
2301 * src/hildon-touch-selector-entry.c:
2302 * src/hildon-window-stack.c:
2304 Add more "since" tags to the new API.
2306 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2308 * doc/hildon-sections.txt: Add below method.
2309 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2310 version for the hildonized scale.
2311 * src/hildon-gtk.h: Add the definition.
2313 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2315 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2317 * doc/hildon-sections.txt: Add missing entries for new methods.
2319 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2321 Added API to pannable are in order to get its adjustments. We
2322 added two properties to manage the values we had in the private
2325 * src/hildon-pannable-area.c:
2326 (hildon_pannable_area_class_init): Added hadjustment and
2327 vadjustment properties in order to expose horizontal and vertical
2329 (hildon_pannable_area_get_property),
2330 (hildon_pannable_area_set_property): Added code to handle the new
2332 (hildon_pannable_area_get_hadjustment),
2333 (hildon_pannable_area_get_vadjustment): API functions to get the
2335 * src/hildon-pannable-area.h:
2336 (hildon_pannable_area_get_hadjustment),
2337 (hildon_pannable_area_get_vadjustment): API functions to get the
2340 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2342 Fixed some leaks, after valgrinding.
2344 * src/hildon-touch-selector.c:
2345 (_default_print_func): Fixed a leak.
2346 (hildon_touch_selector_append_column): Fixed a leak.
2347 * src/hildon-date-button.c:
2348 (hildon_date_button_init): Fixed a leak.
2349 * src/hildon-date-selector.c
2350 (hildon_date_selector_finalize): Fixed a leak.
2352 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2354 Based on a patch by Christian Dywan (christian@imendio.com)
2356 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2358 * src/hildon-gtk.h: Add definition.
2360 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2362 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2364 * src/hildon-picker-button.c: (hildon_picker_button_init),
2365 (hildon_picker_button_new): Set the HildonButton::style property
2366 in the init method, to propagate the value to the derived classes.
2368 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2370 * src/hildon-button.c: (hildon_button_class_init): Do not make
2371 the "style" property a construct property.
2373 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2375 * src/hildon-wizard-dialog.h
2376 * src/hildon-wizard-dialog.c
2377 (hildon_wizard_dialog_set_forward_page_func)
2378 * src/hildon-pannable-area.h
2379 * src/hildon-pannable-area.c
2380 (hildon_pannable_area_set_size_request_policy):
2381 Documentation fixes.
2383 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2385 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2387 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2389 * doc/hildon-sections.txt: Added sections file.
2391 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/*.[ch]: Updates.
2396 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2398 * examples/hildon-progress-indicator-example.c: new file
2399 * examples/Makefile.am: include the new example program
2401 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2403 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2405 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2407 * configure.ac: post release version bump
2408 * debian/changelog: version bump
2410 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2415 * configure.ac: bump version
2416 * debian/changelog: updates
2417 * debian/control: bump gtk+ dependency
2419 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2421 * src/hildon-dialog.c: Mark as deprecated.
2422 * src/hildon-dialog.h: Mark as deprecated.
2423 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2424 from HildonDialog and still work, even if
2425 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2426 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2428 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2429 maemo changes) instead)
2431 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2433 * src/hildon-pannable_area.h:
2434 * src/hildon-pannable_area.c:
2435 (hildon_pannable_area_class_init),
2436 (hildon_pannable_area_set_property),
2437 (hildon_pannable_area_get_property),
2438 (hildon_pannable_area_size_request),
2439 (hildon_pannable_area_get_size_request_policy),
2440 (hildon_pannable_area_set_size_request_policy): Added new API
2441 allowing applications to control the request policy. Now they can
2442 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2443 children allocation (HILDON_MOVEMENT_CHILDREN).
2445 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2449 (hildon_gtk_tree_view_set_ui_mode)
2450 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2451 mode of treeviews and iconviews.
2453 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2455 * src/hildon-touch-selector-entry.c:
2456 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2457 of a GtkEntry to get proper theming.
2459 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2460 widget, not GtkEntry)
2462 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2464 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2465 no HildonWizardDialogPageFunc.
2467 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2469 Patch contributed by Iván Gómez (igomez@igalia.com)
2471 * src/hildon-app-menu.c:
2472 * src/hildon-button.c:
2473 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2474 * src/hildon-stackable-window.c:
2475 * src/hildon-time-selector.c:
2476 * src/hildon-touch-selector.c:
2477 * src/hildon-window.c:
2479 Add more "since" tags to the new API in hildon 2.2.
2481 2008-12-05 Tim Janik <timj@imendio.com>
2483 Patch contributed by Christian Dywan (christian@imendio.com)
2485 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2486 HildonSizeType, which are supplied by Gtk+ now.
2488 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2490 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2491 (with maemo changes) instead)
2493 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2495 Patch contributed by Iván Gómez (igomez@igalia.com)
2497 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2500 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2502 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2503 (some_page_func), (main): Update the example to use a
2504 HildonWizardDialogPageFunc function.
2506 * src/hildon-wizard-dialog-private.h: Add private data for
2507 the HildonWizardDialogPageFunc function usage.
2509 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2510 (destroy), (hildon_wizard_dialog_init), (response),
2511 (hildon_wizard_dialog_set_forward_page_func):
2512 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2513 that applications can use to stop a HildonWizardDialog to jump to
2516 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2519 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2521 * src/hildon-program.h
2522 * src/hildon-program-private.h
2523 * src/hildon-program.c (hildon_program_init)
2524 (hildon_program_set_common_app_menu)
2525 (hildon_program_get_common_app_menu):
2526 New API for setting a common HildonAppMenu for all
2527 HildonStackableWindows registered with the HildonProgram.
2529 * src/hildon-stackable-window.c
2530 (hildon_stackable_window_toggle_menu):
2531 Use the common HildonAppMenu if a window doesn't have a specific
2534 * src/hildon-app-menu-private.h
2535 * src/hildon-app-menu.c
2536 (hildon_app_menu_get_parent_window):
2537 Function to obtain the window a HildonAppMenu is attached to.
2538 (hildon_app_menu_set_parent_window):
2539 Hide the menu if the parent window is set to NULL.
2541 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2543 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2544 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2545 search widget to popup.
2547 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2549 * configure.ac: post release version bump
2550 * debian/changelog: version bump
2552 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2557 * configure.ac: bump version
2558 * debian/changelog: updates
2560 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2562 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2564 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2565 (hildon_window_stack_window_realized)
2566 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2567 Set the leader GdkWindow when a window is stacked and realized,
2568 unset it when it's unstacked.
2569 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2571 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2573 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2575 * src/hildon-stackable-window.h
2576 * src/hildon-window-stack.h:
2577 Protect definition of HildonWindowStack using the preprocessor.
2579 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2581 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2582 Fix warning if all menu items are hidden.
2584 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2586 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2588 * src/hildon-controlbar.c:
2589 * src/hildon-hvolumebar.c:
2590 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2591 Multiple scale size defines updates.
2593 Fixes: NB#94322 (Scale Updates)
2595 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2597 * examples/hildon-app-menu-example.c (create_menu)
2598 Show items after adding them to the menu, as in the future the
2599 menu will no longer call gtk_widget_show() on the added items.
2601 * src/hildon-app-menu.c:
2602 Update example as explained above.
2604 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c
2607 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2608 Make sure that all menu items have finger height.
2610 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2612 * src/hildon-picker-dialog.c:
2613 (_on_dialog_response), (_save_current_selection),
2614 (_restore_current_selection), (_clean_current_selection),
2615 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2616 Defined new functions in order to save the current internal selector
2617 selection previous open the dialog, in case that the use cancel the
2618 interaction, so the widget restores the previous selection.
2620 Fixes: NB#92032 (In calendar application, date values in 'new event'
2623 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2625 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2627 * src/hildon-button.c: Add a reference to the button examples in
2628 hildon-button-example.c
2630 * examples/hildon-button-example.c: Added examples of the most
2631 common button layouts.
2633 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2635 * src/hildon-app-menu.c (hildon_app_menu_show)
2636 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2638 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2640 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2642 * src/hildon-picker-dialog.c:
2643 (hildon_picker_dialog_init): Initialize the signal id for
2644 HildonTouchSelector::columns-changed.
2645 (+on_selector_columns_changed): Set up the interaction mode everytime a
2646 column is added or removed from the HildonTouchSelector.
2647 (_hildon_picker_dialog_set_selector): Connect to
2648 HildonTouchSelector::columns-changed and keep track of it.
2650 Make sure to update the interaction mode of the dialog everytime a
2651 column is added or removed in the HildonTouchSelector.
2653 Fixes: NB#93228 (Done button is not shown always in listpicker)
2655 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2657 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2658 a new ::columns-changed signal.
2659 (hildon_touch_selector_append_column): Emit ::columns-changed.
2660 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2662 Add a ::columns-changed signal, emitted when the number of columns in a
2663 HildonTouchSelector changes.
2665 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2668 (_hildon_picker_dialog_set_selector): Factor out the code
2669 to set up the dialog interaction mode.
2671 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2674 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2675 to signal_changed_id.
2677 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2679 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2682 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2684 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2685 Updated the logical ids related to ampm format, as now it is required to
2686 show it correctly localized even on languages with no default
2687 abbreviations for am or pm
2688 (_check_am_pm_format): check correctly the 24h format gconf property
2690 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2692 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-button.c: Documentation updates.
2696 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2699 * src/hildon-caption.c: (hildon_caption_class_init):
2700 * src/hildon-color-button.c: (hildon_color_button_class_init):
2701 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2702 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2703 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2704 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2706 Remove deprecated GTK+ marshalers and replace them with the ones
2707 provided by GLib, for those available, add a marshaler for
2708 BOOLEAN:VOID, which is not available in GLib, and use it.
2710 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2713 the text from the previous column if there is no
2714 HildonTouchSelectorColumn::text-property set.
2716 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2718 * src/hildon-button.h
2719 * src/hildon-button.c (hildon_button_set_property)
2720 (hildon_button_get_property, hildon_button_class_init)
2721 (hildon_button_set_style, hildon_button_get_style):
2722 New "style" property to change the visual appearance of the
2725 * src/hildon-picker-button.c (hildon_picker_button_new):
2726 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2728 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2729 HildonButton look like PickerButton)
2731 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2733 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2734 column while building the default string.
2736 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2739 scroll indicator by default.
2741 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2743 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2745 * src/hildon-main.c: Fix the documentation for hildon_init()
2747 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2749 * doc/hildon-docs.sgml
2753 * src/hildon-window-stack-private.h
2754 * src/hildon-window-stack.h
2755 * src/hildon-window-stack.c:
2756 New HildonWindowStack object, that adds support for multiple
2757 stacks of windows per process.
2759 * src/hildon-stackable-window-private.h
2760 * src/hildon-stackable-window.h
2761 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2762 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2763 (hildon_stackable_window_show, hildon_stackable_window_hide)
2764 (hildon_stackable_window_class_init)
2765 (hildon_stackable_window_init):
2766 Use HildonWindowStack for stack management.
2768 * src/hildon-program.c (hildon_program_pop_window_stack)
2769 (hildon_program_peek_window_stack)
2770 (hildon_program_go_to_root_window):
2771 Add a fallback implementation to the deprecated functions using
2774 * examples/hildon-stackable-window-example.c:
2775 Use the new HildonWindowStack API.
2777 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-stackable-window-private.h
2780 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2781 (hildon_stackable_window_hide, hildon_stackable_window_init):
2782 Remove all window stack management.
2784 * src/hildon-program-private.h
2785 * src/hildon-program.h
2786 * src/hildon-program.c (hildon_program_init)
2787 (hildon_program_pop_window_stack)
2788 (hildon_program_peek_window_stack)
2789 (hildon_program_go_to_root_window):
2790 Remove all window stack management and mark functions as
2793 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-app-menu.c (hildon_app_menu_realize):
2796 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2798 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2800 * configure.ac: post release version bump
2801 * debian/changelog: version bump
2803 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2808 * configure.ac: bump version
2809 * debian/changelog: updates
2811 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2813 Based on initial code by Christian Dywan (christian@imendio.com)
2815 * doc/hildon-docs.sgml: Add section for hildon-main.
2816 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2817 * src/Makefile.am: Add new hildon-main.[ch]
2818 * src/hildon-defines.h: Update the icon sizes.
2819 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2820 new library initialization files and register icon sizes.
2821 * src/hildon-main.h: New declarations.
2822 * src/hildon.h: Include hildon-main.h
2824 Add new initialization functions to the library. These methods
2825 will register the hildon specific icon sizes and can be used in the
2826 future for other hildon specific bits.
2828 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2830 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/hildon-window.c: (hildon_window_realize),
2833 (hildon_window_notify), (-hildon_window_update_title): Do not set
2834 the application name in the window title.
2836 Fixes: NB#89754 (Applications shouldn't display their names in the
2839 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-note-private.h:
2842 * src/hildon-note.c: (hildon_note_set_property),
2843 (hildon_note_get_property), (hildon_note_class_init),
2844 (hildon_note_init), (hildon_note_finalize),
2845 (hildon_note_new_confirmation_with_icon_name),
2846 (hildon_note_new_information_with_icon_name):
2848 No need to mark as deprecated the actual code. Revert
2849 to avoid missing symbols in widgets using deprecated API.
2851 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2853 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2855 * src/hildon-volumebar.h
2856 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2857 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2859 * src/hildon-helper.h
2860 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2861 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2863 * examples/Makefile.am:
2864 Deprecate hildon-insensitive-example
2866 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2868 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2870 * examples/hildon-pannable-area-buttons-scroll-example.c:
2871 Make all buttons finger height
2873 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2875 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2877 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2878 update the day model only if it is really required, and to avoid the
2879 full-reconstruction aproach. Now it only add or remove the required days.
2881 The purpose of this is avoid superfluous HildonTouchSelector::changed
2884 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2885 with strange parameters)
2887 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2889 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2891 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2892 the WINDOW_TYPE property.
2894 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2896 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2899 Fix dependency to allow parallel compilation with make -jX
2901 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2903 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2904 color frame and some minor tweaks to make it more consistent with
2907 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2908 highlighted but not visible)
2910 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2912 * examples/Makefile.am: Fixed typo in the Makefile.am.
2914 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2916 Reviewed the use of MAEMO_GTK define, now we add the define in the
2917 compilation line, and we also add it to the pc file.
2919 * configure.ac: Added MAEMO_GTK define to the compilation command
2920 and removed it from the config.h.
2922 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2923 do not have to take care about this define if the library was
2927 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2929 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2931 * examples/Makefile.am,
2932 * examples/hildon-pannable-area-buttons-scroll-example.c,
2933 * examples/hildon-pannable-area-gesture-signals-example.c,
2934 * examples/hildon-pannable-area-scroll-jump-example.c,
2935 * examples/hildon-pannable-area-tree-view-example.c:
2936 Renamed the pannable area examples, now they have more meaningful
2939 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2941 * src/hildon-touch-selector.c:
2942 (hildon_touch_selector_set_column_selection_mode): Used of
2943 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2944 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2945 to avoid re-seting the same selection mode.
2947 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2948 breaks HildonPickerDialog)
2950 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2952 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2953 conditional in the Makefile.am
2955 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2958 Remove unused methods.
2960 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2962 * src/hildon-button.c (hildon_button_init):
2963 Make button images center-aligned by default
2965 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2968 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2969 activated, we have to think about how to deal with both defines
2970 MAEMO_GTK and MAEMO_CHANGES.
2972 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2974 * examples/hildon-app-menu-example.c (create_menu): Make all
2975 buttons finger size.
2977 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2979 Fixed the compilation without maemo gtk adding ifdefs with
2980 MAEMO_GTK define to the code, we have to check this version more
2983 * examples/Makefile.am: Added control to avoid some examples that
2984 just make sense with maemo gtk.
2987 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2988 hildon modes with the define.
2990 * examples/hildon-edit-toolbar-example.c,
2991 (create_icon_view): Create the icon view without hildon-gtk
2992 helpers if we are not using maemo gtk.
2994 * src/hildon-touch-selector.c,
2995 (_create_new_column): Create the treeview without hildon-gtk
2996 helpers if we are not using maemo gtk.
2998 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3000 * src/hildon-pnnable-area.c,
3001 (hildon_pannable_area_dispose),
3002 (hildon_pannable_area_button_press_cb),
3003 (hildon_pannable_area_child_mapped),
3004 (hildon_pannable_area_add),
3005 (hildon_pannable_area_remove): Added code to control the position
3006 of the event_window when adding and removing children from the
3007 pannable. We have to raise the event window when the child is
3010 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3011 selection mode using custom widget inside pannable)
3013 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3015 * configure.ac: post release version bump
3016 * debian/changelog: version bump
3018 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3023 * configure.ac: bump version
3024 * debian/changelog: updates
3026 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3028 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3029 search mode, in order to avoid lose the focus on the treeview when
3030 a hw key (like enter) is pressed.
3032 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3033 in HildonDateSelector dialog)
3035 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3037 * debian/rules: Added --enable-maintainer-mode
3038 * Makefile.am: Added ACLOCAL_AMFLAGS
3040 This allows to properly regenerate the Makefiles if you modify the
3041 configure.ac or any Makefile.am.
3043 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3045 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3046 properties, not needed at all.
3048 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3050 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3052 * src/hildon-note.c: (hildon_note_set_property),
3053 (hildon_note_get_property), (hildon_note_class_init),
3054 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3055 (hildon_note_new_confirmation_add_buttons): Remove icons.
3056 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3057 (hildon_note_new_information_with_icon_name): Deprecate.
3058 (hildon_note_new_confirmation): Act directly, without calling
3059 the deprecated constructor.
3060 (hildon_note_new_information): Act directly, without calling
3061 the deprecated constructor.
3062 * src/hildon-note.h: Mark deprecate methods as such.
3063 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3064 not run tests on the deprecated methods if built with deprecation
3067 Fixes: NB#91688 (Never show icons in information notes/confirmation
3070 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3072 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3073 (hildon_app_menu_key_press): Remove leftover usage of the
3074 private structure in HildonAppMenu struct.
3075 * src/hildon-app-menu.h: Remove leftover private structure
3076 from the HildonAppMenu struct.
3078 Fixes a crasher when using the HildonAppMenu.
3080 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3082 * src/hildon-picker-dialog.c: Use appropriate logical id
3083 for the default "Done" text.
3085 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3087 * configure.ac: post release version bump
3088 * debian/changelog: version bump
3090 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3092 Modified the way to scroll to the current selection just when the touch
3093 selector is shown on the screen, avoiding a g_idle. Added too a property
3094 to configure this behaviour. See hildon_pannable_area_jump_to_child
3095 documentation for more information.
3097 * src/hildon-touch-selector.c
3098 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3099 Added 'initial-scroll' property
3100 (hildon_touch_selector_set_property): Added
3101 (hildon_touch_selector_map): Removed as not required anymore
3102 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3103 only a concrete column, instead of iterate along all the columns
3105 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3110 * configure.ac: bump version
3111 * debian/changelog: updates
3113 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3115 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3116 compilation time warnings.
3118 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3121 the default value for HildonPannableArea::mov-mode to
3122 HILDON_PANNABLE_AREA_MODE_VERT.
3124 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3126 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3128 Reverting following commit:
3130 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-app-menu-private.h
3133 * src/hildon-app-menu.[ch]
3134 * src/hildon-button.[ch]
3135 * src/hildon-check-button.[ch]
3136 * src/hildon-entry.[ch]
3137 * src/hildon-pannable-area.[ch]
3138 * src/hildon-text-view.[ch]:
3139 Added private field to the object's structure.
3141 because it causes an ABI breakage. We will need to introduce these
3142 changes later at some point. See NB#91636 for an extensive
3143 explanation and status.
3145 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3147 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3149 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3150 remove special cases that are no longer necessary.
3152 Fixes: NB#91016 (Change toolbar sizes, simplification)
3154 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3156 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3157 is shown in the cancel note.
3159 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3161 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3162 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3163 (hildon_seekbar_init): Remove steppers, remove expose event.
3164 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3166 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3168 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3170 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3171 label font to "SmallSystemFont" for vertically arranged buttons.
3173 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3176 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3178 * src/hildon-check-button.c
3179 (hildon_check_button_set_active, hildon_check_button_clicked):
3180 Don't access private parts directly, use getters instead.
3182 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-check-button.c (hildon_check_button_new):
3185 Align the contents of the check button to the left.
3187 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3189 * src/hildon-pannable-area.c,
3190 (hildon_pannable_area_scroll_to),
3191 (hildon_pannable_area_jump_to),
3192 (hildon_pannable_area_scroll_to_child),
3193 (hildon_pannable_area_jump_to_child): Replace the mapped
3194 precondition of these functions with the realized, it is the
3195 correct state of the widget in this case. Changed the
3196 documentation according to this modification.
3198 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3200 Added a new EXTRA_CFLAGS option to add the deprecated define to
3201 the compilation command. This way we can avoid using the define in
3202 the documentation compilation.
3204 * configure.ac: Defined EXTRA_CFLAGS.
3206 * examples/Makefile.am:
3208 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3210 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3212 * src/hildon-picker-dialog.c:
3213 Defined a utility macro with the desired touch selector height
3214 Removed currently unused separator, and title_label variables from
3216 (hildon_picker_dialog_init): Removed code related to the creation
3217 of unused private variables title_label and separator.
3218 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3219 to ensure correct visualization of the touch selector inside the dialog.
3220 * src/hildon-touch-selector.c
3221 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3222 ensure a concrete height of the widget.
3224 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3227 * tests/Makefile.am:
3229 Remove spurious whitespaces.
3231 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3233 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3234 compilation warning after the cancel button removal.
3236 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3238 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3240 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3241 Makefile.am, that way we can choose not to compile some examples
3242 and tests of the deprecated widgets.
3244 * examples/Makefile.am: Divided the sources in deprecated and
3247 * src/Makefile.am: Added undef statement of the deprecated
3248 symbol to the enums file generation process.
3250 * src/hildon-color-chooser-dialog.c
3251 * src/hildon-color-chooser-dialog.h
3252 * src/hildon-color-button.c
3253 * src/hildon-color-button.h
3254 * src/hildon-color-chooser.c
3255 * src/hildon-color-chooser.h
3256 * src/hildon-controlbar.c
3257 * src/hildon-controlbar.h
3258 * src/hildon-date-editor.c
3259 * src/hildon-date-editor.h
3260 * src/hildon-hvolumebar.c
3261 * src/hildon-hvolumebar.h
3262 * src/hildon-private.c
3263 * src/hildon-private.h
3264 * src/hildon-range-editor.c
3265 * src/hildon-range-editor.h
3266 * src/hildon-seekbar.c
3267 * src/hildon-seekbar.h
3268 * src/hildon-time-editor.c
3269 * src/hildon-time-editor.h
3270 * src/hildon-time-picker.c
3271 * src/hildon-time-picker.h
3272 * src/hildon-volumebar.c
3273 * src/hildon-volumebar.h
3274 * src/hildon-vvolumebar.c
3275 * src/hildon-vvolumebar.h
3276 * src/hildon-bread-crumb-trail.h
3277 * src/hildon-bread-crumb-trail.c
3278 * src/hildon-calendar-popup.c
3279 * src/hildon-calendar-popup.h
3280 * src/hildon-weekday-picker.c:
3281 * src/hildon-weekday-picker.h:
3282 * src/hildon-bread-crumb-widget.c:
3283 * src/hildon-bread-crumb-widget.h:
3284 * src/hildon-bread-crumb.c:
3285 * src/hildon-bread-crumb.h:
3286 * src/hildon-calendar.c:
3287 * src/hildon-calendar.h:
3288 * src/hildon-caption.c:
3289 * src/hildon-code-dialog.c:
3290 * src/hildon-code-dialog.h:
3291 * src/hildon-font-selection-dialog.c:
3292 * src/hildon-font-selection-dialog.h:
3293 * src/hildon-get-password-dialog.c:
3294 * src/hildon-get-password-dialog.h:
3295 * src/hildon-login-dialog.c:
3296 * src/hildon-login-dialog.h:
3297 * src/hildon-number-editor.c:
3298 * src/hildon-number-editor.h:
3299 * src/hildon-set-password-dialog.c:
3300 * src/hildon-set-password-dialog.h:
3301 * src/hildon-sort-dialog.c:
3302 * src/hildon-sort-dialog.h: This is the list of deprecated
3305 * src/hildon-touch-selector.c:
3306 * src/hildon-window.c: Added undef statement to avoid compilation
3309 * tests/Makefile.am: Divided the sources in deprecated and
3312 * tests/check_test.c,
3313 (configure_tests): Marked the deprecated code that was adding
3314 suites with deprecated tests.
3316 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3318 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3320 * src/hildon-touch-selector.c: (_default_print_func): Do not
3321 duplicate a string returned by gtk_tree_model_get(), it is already
3324 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3327 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3329 * src/hildon-pannable-area.c
3330 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3331 method, it had problems when adding a widget with viewport the
3332 second time. Now checks if it already has a viewport and uses it.
3334 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3337 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3339 * src/hildon-pannable-area.c,
3340 (hildon_pannable_area_scroll_to),
3341 (hildon_pannable_area_jump_to),
3342 (hildon_pannable_area_scroll_to_child),
3343 (hildon_pannable_area_jump_to_child): Added a precondition to the
3344 scroll and jump to functions: the widget must be mapped before we
3345 can safely call these functions. We have also added documentation
3346 to the functions to explain how to use them in this situation.
3349 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3351 Reviewed the threading handling of the pannable widget, we have
3352 used the gdk_threads_add_timeout function instead of the usual
3353 glib handlers. This avoids some problems with the threads.
3355 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3356 (hildon_pannable_area_initial_effect),
3357 (hildon_pannable_area_scroll_indicator_fade),
3358 (hildon_pannable_area_button_press_cb),
3359 (hildon_pannable_area_timeout),
3360 (hildon_pannable_area_motion_notify_cb),
3361 (hildon_pannable_area_button_release_cb),
3362 (hildon_pannable_area_scroll_cb),
3363 (hildon_pannable_area_scroll_to): Removed the
3364 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3365 gdk_threads_add_timeout.
3367 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3369 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3374 * configure.ac: bump version
3375 * debian/changelog: updates
3377 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3380 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3381 * src/hildon-color-chooser-dialog.c:
3382 (hildon_color_chooser_dialog_init):
3383 * src/hildon-font-selection-dialog.c:
3384 (hildon_font_selection_dialog_init):
3385 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3387 Remove all cancel/close-like dialogs, as these are not going to be
3390 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3392 * src/hildon-note.c: (hildon_note_rebuild),
3393 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3396 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3398 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3400 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3401 sure all buttons are shown, even the Cancel/Close-like ones.
3403 Fixes: NB#90861 (Custom Confirmation dialogs should be
3404 protected from cancel button removal)
3406 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3408 * debian/control: Change libhildon1-examples dependency from libhildon1
3410 * debian/libhildon1-examples.install
3412 * Makefile.am: Modified the final install directory for the examples on
3413 package libhildon1-examples
3414 * Makefile.static: Update clean target in order to remove all the binary
3417 Changes suggested by Claudio after review new libhildon1-examples package
3419 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3421 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3422 * src/hildon-touch-selector.c: Ditto.
3424 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3426 * debian/control: Added new package libhildon1-examples, in order to pack
3427 the current hildon examples as documentation
3428 * debian/rules: Not to compress .c files, modify some includes on the
3429 examples (as normally are compiled locally, but when installed it will
3430 require to include the installed libhildon1 library), and rename
3432 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3433 install all the example files on the new example package
3434 * examples/Makefile.static: Added static makefile that can be used to
3435 compile the examples, once installed the new example package
3436 * examples: Most of the examples were modified in order to grant that
3437 all use only '#include "hildon.h"', in order to be easy to prepare
3438 it on the example package
3440 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3443 * debian/libhildon1-dev.install
3444 * debian/libhildon1-doc.install:
3445 Move all gtk-doc files to a separate libhildon1-doc package.
3447 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3449 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3451 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3453 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3455 * debian/rules: Fixed a error in order to avoid unnecessary calls
3456 to autogen.sh on package building
3458 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3460 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3462 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3464 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3467 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3469 * src/hildon-picker-button.c
3470 (hildon_picker_button_finalize):
3471 Free priv->done_button_text
3473 * src/hildon-time-button.c
3474 (hildon_time_button_set_time)
3475 * src/hildon-picker-button.c
3476 (hildon_picker_button_clicked)
3477 (hildon_picker_button_selector_selection_changed)
3478 (hildon_picker_button_set_selector)
3479 * src/hildon-date-button.c
3480 (hildon_date_button_set_date):
3481 Free strings returned by hildon_touch_selector_get_current_text()
3483 * src/hildon-button.c (hildon_button_construct_child):
3484 Fix leaks in priv->image and priv->label_box
3486 Fixes: NB#90535 (Memory leak in picker button)
3488 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3490 * src/hildon-button.c: (hildon_button_get_property): Do not access
3491 private elements directly, use getters instead.
3493 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3495 * src/hildon-app-menu-private.h
3496 * src/hildon-app-menu.c
3497 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3498 Store the menu's parent window.
3500 * src/hildon-stackable-window.c
3501 (hildon_stackable_window_toggle_menu)
3502 (hildon_stackable_window_finalize):
3503 Set the menu's parent window when the menu is shown, unset it when
3506 * src/hildon-app-menu.c
3507 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3508 (hildon_app_menu_class_init):
3509 Send unhandled keyboard accelerators to the parent window.
3511 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3513 * src/hildon-stackable-window.c
3514 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3516 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3518 * configure.ac: post release version bump
3520 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3523 * configure.ac: Bump version
3524 * debian/changelog: Updates
3525 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3528 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3530 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3533 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3534 GtkMenu with Hildon style.
3536 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3538 * src/hildon-picker-button.c:
3539 (hildon_picker_button_set_done_button_text): Set the dialog's
3540 done button text here as well.
3542 Fixes: NB#90232 (Picker button does not set the label on done button
3543 for the second time)
3545 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3547 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3550 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3552 * src/hildon-app-menu.c (hildon_app_menu_insert)
3553 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3554 the HildonAppMenu to be activatable using keyboard accelerators
3555 when the menu is not being shown.
3557 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3559 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-stackable-window.c
3562 (hildon_stackable_window_show):
3563 Don't hide old windows automatically when new windows are shown:
3564 this is now a task for the window manager.
3565 (hildon_stackable_window_class_init)
3566 (hildon_stackable_window_hide):
3567 Remove windows from the stack everytime they're hidden.
3568 (hildon_stackable_window_realize):
3569 Don't change the _NET_WM_WINDOW_TYPE property. Use
3570 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3571 it as a stackable window.
3573 * src/hildon-program.c
3574 (hildon_program_pop_window_stack):
3575 Just hide the window to remove it from the stack.
3576 (hildon_program_go_to_root_window):
3577 Don't call gtk_widget_show(), this is now a task for the window
3580 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3582 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-button.c
3585 (hildon_button_construct_child):
3586 Don't pack anything in the button until text or image are
3587 set. This allows adding a custom child after creating the button
3588 with hildon_button_new().
3589 (hildon_button_finalize, hildon_button_class_init)
3590 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3591 alignment and the label box even when they're not packed in the
3594 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3596 * src/hildon-touch-selector.h:
3597 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3598 currently the type definition was using GTK_TYPE_VBOX
3599 * src/hildon-touch-selector.c:
3600 Added some implementation notes in order to clarify that any other widget
3601 added without the column related API will not be included on the
3602 selection logic, and how the widget is freed, as some people ask about
3604 (hildon_touch_selector_remove): Reimplemented in order to free properly
3605 the column related data when you remove the private hbox.
3606 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3607 to get a proper HildonTouchSelectorColumn documentation
3609 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3611 * src/hildon-touch-selector-entry.c:
3612 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3613 text in the GtkEntry and there is no item selected. Fixes a
3616 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3618 * src/hildon-app-menu-private.h
3619 * src/hildon-app-menu.[ch]
3620 * src/hildon-button.[ch]
3621 * src/hildon-check-button.[ch]
3622 * src/hildon-entry.[ch]
3623 * src/hildon-pannable-area.[ch]
3624 * src/hildon-text-view.[ch]:
3625 Added private field to the object's structure.
3627 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3629 * configure.ac: post-release version bump
3631 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3635 * configure.ac: pre-release version bump
3637 * debian/changelog: updates.
3639 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3641 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3642 Disconnect the handler for HildonTouchSelector::changed.
3644 (hildon_picker_button_selector_selection_changed): Update the button
3645 value if the selection change was not triggered by the
3648 (hildon_picker_button_set_selector): connect to
3649 HildonTouchSelector::changed.
3651 Fixes: NB#89650 (Picker button is not updated, when selection in
3652 selector has changed)
3654 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3656 * src/hildon-picker-dialog.c
3657 (hildon_picker_dialog_realize): Removed as not required
3658 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3659 * src/hildon-picker-button.c
3660 (_current_selector_empty): New function, checks if the selector is empty
3661 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3662 if the current selector is empty, in order to avoid to show the dialog
3663 close the dialog in this case (and shows a g_warning).
3665 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3667 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3669 * src/hildon-pannable-area.c,
3670 (hildon_pannable_area_scroll): Added clause to stop movement when
3671 the child of pannable is smaller than one page.
3672 (hildon_pannable_area_scroll_to): Added conditions to avoid
3673 starting the scrolling movement if the child is smaller than one
3674 page, the complete child is in the screen, we do not have to move.
3676 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3678 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3680 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3681 this is managed automatically by the widget when the size of the
3684 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3686 * src/hildon-picker-button.c
3687 (hildon_picker_button_set_done_button_text): Make a copy of the
3688 text, and free the previous value.
3690 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3692 * src/hildon-touch-selector-entry.c:
3693 (hildon_touch_selector_entry_print_func): Return the selected row's
3694 text if the entry is empty.
3696 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3699 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3701 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3703 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-check-button.h
3707 * src/hildon-check-button.c
3708 * examples/hildon-check-button-example.c:
3709 HildonCheckButton is now a new widget. 'toggled' signal added.
3711 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3713 * src/hildon-program-private.h
3714 * src/hildon-program.c (hildon_program_init)
3715 (hildon_program_finalize): Removed unused variables group_leader
3716 and name from HildonProgramPrivate.
3718 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3720 * src/hildon-check-button.c (hildon_check_button_set_active)
3721 (hildon_check_button_get_active, hildon_check_button_new): Use
3722 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3724 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3726 * src/hildon-touch-selector.h
3727 (hildon_touch_selector_set_column_attributes): added deprecation
3728 guard HILDON_DISABLE_DEPRECATED
3729 * src/hildon-time-selector.c
3730 (hildon_time_selector_set_time)
3731 (hildon_time_selector_get_time): Fixed a typo on documentation
3732 * src/hildon-touch-selector.c: update HildonTouchSelector and
3733 HildonTouchSelectorColumn documentation
3734 * src/hildon-touch-selector-entry.c: update "text-column" property
3736 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3737 to be added to the general documentation.
3739 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3741 * examples/hildon-pannable-area-example-4.c,
3743 * examples/hildon-pannable-area-example.c,
3744 (main): Modified the code in order to use the container add, with
3745 viewport treeviews could have problems if they are really big.
3747 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3749 * src/hildon-weekday-picker.c,
3750 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3751 the agreement regarding deprecation in the library.
3753 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3755 * examples/hildon-picker-button-multicolumn-example.c:
3756 (main): Use custom "done" button text.
3758 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3759 (hildon_picker_button_set_property),
3760 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3761 (hildon_picker_button_init),
3762 (+hildon_picker_button_get_done_button_text),
3763 (+hildon_picker_button_set_done_button_text): New methods to customize
3764 the "done" button label in the launched HildonPickerDialog. Also,
3767 * src/hildon-picker-button.h: add the public API.
3769 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3771 * src/hildon-date-selector.h:
3772 * src/hildon-picker-dialog.h:
3773 * src/hildon-time-selector.h:
3774 * src/hildon-touch-selector-column.h:
3775 * src/hildon-touch-selector.h:
3777 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3778 declarations. Fixes gtk-doc warnings.
3780 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3782 * src/hildon-picker-dialog.h
3783 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3784 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3786 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3787 long text is set as label for done button)
3789 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3791 * src/hildon-dialog.c (hildon_dialog_add_button):
3792 Set fixed width to all buttons in the HildonDialog.
3794 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3796 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3798 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3799 Set widget name using class name plus "-finger" or "-thumb".
3801 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3804 'clicked' when the state of the button is manually changed.
3806 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-app-menu.c (hildon_app_menu_realize)
3809 (hildon_app_menu_unrealize, hildon_app_menu_init)
3810 (hildon_app_menu_class_init, item_visibility_changed):
3811 Change the menu layout when the size of the screen changes.
3812 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3813 Show warning only when changing the number of colums using the
3816 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3818 * debian/compat: Set to 5
3819 * debian/control: Update dependencies.
3820 * debian/libhildon1-dbg.install: Remove.
3821 * debian/libhildon1-dev.install: Update according to cdbs paths.
3822 * debian/libhildon1.install: Update according to cdbs paths.
3823 * debian/rules: Switch to cdbs.
3825 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3827 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3828 'item' variable renamed to 'filter'
3830 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-app-menu.c (hildon_app_menu_insert)
3833 (hildon_app_menu_add_filter, remove_item_from_list)
3834 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3835 Don't leak hidden items when the menu is destroyed.
3837 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-app-menu.c (hildon_app_menu_insert)
3840 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3841 (hildon_app_menu_set_columns, item_visibility_changed)
3842 (filter_visibility_changed, hildon_app_menu_repack_filters)
3843 (hildon_app_menu_repack_items):
3844 Repack items and filters separately.
3846 Don't repack all items, change only the ones that are needed to
3849 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3851 * src/Makefile.am: added hildon-touch-selector-column.h
3853 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3855 * src/hildon-touch-selector.c: added the property "text-column" to the
3856 class HildonTouchSelectorColumn, and related get/set functions
3857 (_default_printf_func): updated to use "text-column" property
3858 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3859 "text-column" in his documentation, as this is now included on
3860 HildonTouchSelectorColumn. The get/set_property can still be used,
3861 working as a wrapper to the concrete column "text-column" property
3862 (_text_column_modified): callback added in order to handle the signal
3863 "notify::text-column" of the concrete HildonTouchSelectorColumn
3864 (hildon_touch_selector_entry_get_text_column)
3865 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3866 modified in order to use the HildonTouchSelectorColumn "text-column"
3868 * src/hildon-time-selector.c:
3869 * src/hildon-date-selector.c:
3870 * examples/hildon-touch-selector-example.c
3871 * examples/hildon-touch-selector-multi-cells-example.c
3872 * examples/hildon-picker-button-multicolumn-example.c
3873 Set the right value to "text-column" property on the creation of a new
3874 column using hildon_touch_selector_append_column()
3876 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3878 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3880 * src/hildon-app-menu.c
3881 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3882 updating the layout of the menu, don't create all widgets again,
3883 just repack the items in their new places.
3885 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3887 * src/hildon-time-selector.c
3888 (hildon_time_selector_get_time)
3889 (hildon_time_selector_set_time)
3890 Added documentation of these public methods
3892 * src/hildon-date-button.h
3893 * src/hildon-touch-selector-column.h
3894 * src/hildon-time-button.h
3895 * src/hildon-picker-dialog.h
3896 * src/hildon-time-selector.h
3897 * src/hildon-picker-button.h
3898 * src/hildon-touch-selector.h
3899 * src/hildon-time-picker.h
3900 * src/hildon-date-selector.h
3901 * src/hildon-touch-selector-entry.h
3902 Modified in order to use hildon-widgets code style
3904 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3906 Added deprecated support to the compilation process using
3907 HILDON_DISABLE_DEPRECATED
3909 * configure.ac: Added the --disable-deprecated to the configure
3912 * src/hildon-weekday-picker.c:
3913 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3914 to use the deprecated support. We will update the other deprecated
3915 widgets status in a new patch.
3917 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3919 * configure.ac: Fixed typo with fatal warnings support, the
3920 variable name was not correct
3922 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3924 * src/hildon-app-menu.c
3925 * src/hildon-program.c: Update documentation.
3927 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3929 * configure.ac: Post-release version bump.
3931 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3936 * configure.ac: Pre-release version bump.
3937 * debian/changelog: Updates.
3939 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3941 * NEWS: Update news for previous releases.
3943 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3945 * examples/hildon-touch-selector-multi-cells-example.c:
3946 (create_selector): Update the example to use
3947 hildon_touch_selector_append_column() with a NULL renderer and set
3948 the renderers later.
3949 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3950 passed a NULL renderer. This is documented behavior now.
3952 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3953 This must be used if the developer wants full control on the layout of
3954 the renderers to be added to the column.
3956 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3958 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3960 * src/hildon-touch-selector.c: Documentation fixes.
3962 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3964 * src/hildon-wizard-dialog-private.h: Remove image and box.
3965 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3966 (hildon_wizard_dialog_set_property), (response): Completely remove
3967 image/icon support, and the containers required for the layout.
3969 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3971 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3973 * src/hildon-app-menu.c: Updated documentation.
3975 * src/hildon-stackable-window.c
3976 (hildon_stackable_window_set_main_menu): Unref the old menu after
3977 ref'ing the new one.
3979 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3981 * src/hildon-stackable-window.c
3982 (hildon_stackable_window_set_main_menu): Unref the previous menu
3983 instead of destroying it.
3985 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3986 floating reference and set has_user_ref_count to FALSE to make
3987 HildonAppMenu act like a normal ref-counted widget and not a
3990 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3993 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3995 * src/hildon-touch-selector-column.h: new file
3996 * src/hildon-touch-selector.h
3997 * src/hildon-touch-selector.c
3998 Implemented GtkCellLayout interface, in order to allow to configure
3999 the cell layout on each individual selector column
4000 (hildon_touch_selector_set_column_attributes): marked as deprecated
4001 * examples/hildon-touch-selector-multi-cells-example.c
4002 Example of how to use the GtkCellLayout interface on the selector
4004 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4006 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4008 * src/hildon-app-menu.h
4009 * src/hildon-app-menu.c
4010 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4011 (hildon_app_menu_append, hildon_app_menu_prepend):
4012 New methods to prepend, insert and move items in the menu.
4014 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4016 * src/hildon-wizard-dialog.c:
4018 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4020 (create_title): Update logical IDs and related code.
4021 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4023 * src/hildon-wizard-dialog.h: Note that
4024 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4025 point, as it is not used anymore.
4027 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4029 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4031 * src/hildon-note.c:
4032 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4033 shown. Do not display an icon in confirmation notes nor information
4035 (hildon_note_set_button_text): Update logical ID for cancel button.
4037 Fixes: NB#88850 (Update HildonNote button strings + signals)
4039 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4041 * src/hildon-stackable-window.c
4042 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4044 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4046 * src/hildon-app-menu-private.h
4047 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4048 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4049 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4050 temporary property 'columns' to change the number of columns.
4052 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4054 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4056 * examples/hildon-note-example.c: (on_information_clicked),
4057 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4058 debugging information.
4059 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4061 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4062 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4063 in order to close: this will be handled by the WM from now on.
4065 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4067 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4069 * src/hildon-app-menu-private.h
4070 * src/hildon-app-menu.c
4071 (hildon_app_menu_append, hildon_app_menu_add_filter)
4072 (button_visibility_changed, hildon_app_menu_apply_style)
4073 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4074 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4075 layout everytime a button (item or filter) is shown or hidden.
4077 * src/hildon-stackable-window.c
4078 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4081 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4083 * src/hildon-touch-selector.c:
4084 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4085 that the treeview inside the touch selector is in fremantle hildon mode
4086 * examples/hildon-date-button-example.c
4087 * examples/hildon-picker-button-multicolumn-example.c
4088 * examples/hildon-touch-selector-entry-example.c
4089 * examples/hildon-touch-selector-example.c
4090 * examples/hildon-time-button-example.c
4091 * examples/hildon-picker-button-example.c:
4092 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4094 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4096 * examples/hildon-text-view-example.c: (main): Remove the
4097 gtkrc bits, now handled by the theme.
4099 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4104 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4106 * po/Makefile.am: Install properly the mo files.
4107 * po/en_GB.po: Update translation, to ease testing purposes.
4109 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4111 * examples/hildon-picker-button-example.c: (main): Select an item
4112 in the selector before setting it to the button.
4114 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4116 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4117 Update button's value if the selector has an item active.
4119 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4120 'value' with the selector)
4122 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4125 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4126 (hildon_picker_button_class_init): Plug the finalize method.
4127 (hildon_picker_button_set_selector): If there's a previously set
4128 selector, unref'it before setting a new one.
4130 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4131 HildonTouchSelector)
4133 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4135 * src/hildon-touch-selector-entry.c:
4136 (hildon_touch_selector_entry_changed): Check if there is no text
4137 selected before setting the entry text.
4140 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4142 * src/hildon-touch-selector.h
4143 * src/hildon-touch-selector.c
4144 (hildon_touch_selector_get_active)
4145 (hildon_touch_selector_set_active): New methods to set/get the
4146 index of the selected item.
4148 * src/hildon-picker-button.h
4149 * src/hildon-picker-button.c
4150 (hildon_picker_button_get_active)
4151 (hildon_picker_button_set_active): New methods to set/get the
4152 index of the selected item.
4154 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4156 * configure.ac: post-release version bump.
4158 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4162 * configure.ac: Pre-release version bump.
4163 * debian/changelog: Updates.
4164 * debian/control: Add myself as maintainer and depend on l10n
4167 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4169 * src/hildon-window.c
4170 (hildon_window_set_main_menu)
4171 * src/hildon-stackable-window.c
4172 (hildon_stackable_window_set_main_menu):
4173 Updated documentation.
4175 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4177 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4178 Don't free selector->priv manually.
4181 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4184 (hildon_gtk_window_set_progress_indicator):
4185 * src/hildon-gtk.h: Added the new API
4186 hildon_gtk_window_set_progress_indicator, it changes the state of
4187 the window progress hint.
4189 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4191 * src/hildon-button.c
4192 * src/hildon-stackable-window.c: Minor documentation updates.
4194 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4196 * src/hildon-stackable-window.c: Updated documentation.
4198 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4200 * src/hildon-defines.h: Update margins definitions
4201 to the Fremantle sizes.
4204 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4206 * src/hildon-touch-selector.c,
4207 (_hildon_touch_selector_set_model): Cleaning the code after
4208 review, removed g_print and #if 0 from the code.
4210 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4212 * src/hildon-edit-toolbar.c: Update documentation.
4214 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4216 * src/hildon-check-button.h
4217 * src/hildon-check-button.c
4218 (hildon_check_button_set_label, hildon_check_button_get_label)
4219 * examples/hildon-check-button-example.c
4220 (button_clicked_cb):
4221 Removed deprecated methods.
4223 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4225 * src/hildon-text-view.c:
4226 Add sample code to the documentation.
4228 * src/hildon-entry.h
4229 * src/hildon-text-view.h:
4230 Minor cosmetic changes.
4232 * src/hildon-entry.c:
4233 Add sample code to the documentation.
4234 (hildon_entry_init, hildon_entry_refresh_contents):
4235 Don't allow NULL values in the placeholder.
4237 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4239 * doc/hildon-docs.sgml
4241 * examples/Makefile.am
4242 * examples/hildon-text-view-example.c
4244 * src/hildon-text-view.c
4245 * src/hildon-text-view.h
4247 New HildonTextView widget, with example.
4249 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4251 * po/POTFILES.in: Add missing files with translatable strings.
4252 Partially fixes NB#88287.
4254 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4256 * examples/hildon-pannable-area-example-2.c: (main): No need to
4257 set the cellrenderer height inside hildon touch lists, the theme does
4260 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4262 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4263 they are integrated in the theme.
4265 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4267 * examples/hildon-entry-example.c: Update the example adding
4268 widgets to modify the text and the placeholder of the HildonEntry.
4270 * src/hildon-entry.c: Show the placeholder everytime the widget
4271 is empty and loses the focus.
4273 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4275 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4277 * src/hildon-pannable-area.c,
4278 (hildon_pannable_area_size_request): Fixed bug in height
4279 requisition, avoid increasing size and add border twice.
4281 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4283 * configure.ac: postrelease version bump.
4285 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4289 * configure.ac: Prerelease version bump.
4290 * debian/changelog: update.
4291 * debian/rules: make -dbg package contain useful debugging symbols.
4293 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4295 * src/hildon-dialog.h
4296 * src/hildon-dialog.c
4297 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4298 New methods to add buttons with finger size.
4299 (hildon_dialog_new_with_buttons):
4300 Create buttons with finger size.
4302 * examples/hildon-dialog-example.c (main): Use HildonDialog
4303 methods to add buttons.
4305 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4307 * src/hildon-entry.c: Updated HildonButton documentation.
4309 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4311 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4312 button value label with (FALSE, FALSE) to prevent NB#88126 from
4315 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4317 * examples/hildon-pannable-area-example.c,
4318 (main): Removed examples panning a vbox inside a pannable
4319 area. Check bug NB#87965
4321 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4323 Patch contributed by Kris Rietveld (kris@imendio.com)
4325 * src/hildon-pannable-area.c,
4326 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4327 get_size and get_position, this saves an X server roundtrip.
4329 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4331 * doc/hildon-docs.sgml
4333 * examples/Makefile.am
4334 * examples/hildon-entry-example.c
4336 * src/hildon-entry.c
4337 * src/hildon-entry.h
4339 New HildonEntry widget, with example.
4341 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4343 * src/hildon-button.c (hildon_button_construct_child): Pack the
4344 image with expand == fill == FALSE. This is a workaround for a bug
4347 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4349 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4350 labels for the text column, to make it more look more dynamic.
4352 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4354 * src/hildon-time-selector.c
4355 Define gettext auxiliar macro N_
4356 (_create_minutes_model)
4357 (_create_hours_model)
4358 (_create_ampm_model): use of strftime in order to fill the model
4359 * src/hildon-date-selector.c
4360 (hildon_date_selector_finalize):
4361 (_locales_init): remove the logic related to get the name of the months
4362 using nl_langinfo, as it is not required anymore
4364 (_create_year_model)
4365 (_create_month_model)
4366 (_update_day_model): use of strftime in order to fill the model properly
4369 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4371 * src/hildon-button.h
4372 * src/hildon-button.c (hildon_button_get_image): New method to
4375 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4377 * src/hildon-touch-selector.c:
4378 (hildon_touch_selector_remove_column): Remove from the correct parent
4379 and also remove the list element and free it.
4382 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4384 * src/hildon-time-selector.c
4385 (_create_hours_model): change the range on 12h ampm format in order to use
4386 a 12-11 range instead of previous 01-12 range
4387 (hildon_time_selector_set_time): change the way to select the current time
4388 on 12h ampm format, due the change on the range
4389 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4392 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4394 * src/hildon-touch-selector.c
4395 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4396 in order to allow use this function on multiple row selection mode if
4397 the column is different that the first one
4400 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4403 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4405 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4407 * src/hildon-date-selector.h: clean some comments, now on the .c
4408 * src/hildon-date-selector.c
4409 (hildon_date_selector_select_month): first implementation
4410 (hildon_date_selector_select_day): added documentation, reimplemented
4411 using hildon_date_selector_select_current_date to avoid repeat code
4414 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4416 Reviewed interaction logic based on device experiences, refactored
4419 * src/hildon-pannable-area.c,
4420 (hildon_pannable_area_class_init): Updated default vmax speed.
4421 (hildon_pannable_area_calculate_velocity): Added this function, it
4422 avoids duplicate valocity calculation. Adjusted calculation to
4423 avoid problems with zero dist events.
4425 (hildon_pannable_area_motion_notify_cb): Now we use the
4426 calculate_velocity function.
4428 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4430 * src/hildon-date-selector.c
4431 (hildon_date_selector_select_current_date): fix the day range check
4432 as it failed using the last day of the current month
4435 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4437 * src/hildon-touch-selector.c
4438 (hildon_touch_selector_get_num_columns): added a parameter validation
4441 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4443 * examples/Makefile.am
4444 * examples/hildon-edit-toolbar-example.c: Example of the
4445 HildonEditToolbar widget.
4447 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4449 * configure.ac: postrelease version bump.
4451 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4455 * configure.ac: prerelease version bump.
4456 * debian/changelog: update.
4458 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4460 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4461 renderer to display stock icons in the touch list. Also, set the sizes
4462 to the recommended in the style guide.
4464 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4465 * src/hildon-touch-selector.h
4466 (hildon_touch_selector_set_active_iter): renamed, now is
4467 hildon_touch_selector_select_iter
4468 (hildon_touch_selector_get_active_iter): renamed, now is
4469 hildon_touch_selector_get_selected
4470 (hildon_touch_selector_unselect_iter): added
4471 * src/hildon-touch-selector.c
4472 Update after API modification (methods renamed)
4473 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4474 order to avoid problems selecting multiple elements on the column
4475 (hildon_touch_selector_unselect_iter): added the implementation
4476 * src/hildon-time-selector.c
4477 * src/hildon-date-selector.c
4478 * src/hildon-touch-selector-entry.c
4479 Update methods calls after hildon-touch-selector.h API modification (methods
4482 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4484 * src/hildon-stackable-window.c
4485 (hildon_stackable_window_finalize): Call the parent class's finalize.
4487 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4489 * examples/hildon-touch-selector-example.c: (create_selector): Use
4490 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4493 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4495 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4496 set a cell background color, to respect theming.
4498 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4500 * doc/hildon-docs.sgml
4503 * src/hildon-edit-toolbar.c
4504 * src/hildon-edit-toolbar.h
4505 * src/hildon.h: New HildonEditToolbar widget.
4507 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4509 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4512 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4513 * src/hildon-touch-selector.c
4514 (_create_new_column): use g_object_set instead of two g_object_set_property
4516 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4517 * src/hildon-touch-selector.c
4518 (_create_new_column): use of hildon_gtk_tree_view_new to create
4519 the treeview, instead of use directly g_object_new
4520 (_create_new_column): update the property name "vindicator-mode" for the
4521 new one "vscrollbar-policy"
4522 * examples/hildon-date-button-example.c
4523 * examples/hildon-picker-button-multicolumn-example.c
4524 * examples/hildon-touch-selector-entry-example.c
4525 * examples/hildon-touch-selector-example.c
4526 * examples/hildon-time-button-example.c
4527 * examples/hildon-picker-button-example.c
4528 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4529 to all the treeviews inside a pannable area.
4531 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4533 * src/hildon-button.h
4534 * src/hildon-button.c (hildon_button_init)
4535 (hildon_button_set_arrangement, hildon_button_set_alignment)
4536 (hildon_button_set_title_alignment)
4537 (hildon_button_set_value_alignment)
4538 (hildon_button_set_image_alignment)
4539 (hildon_button_construct_child): New methods to set the alignment
4540 of the individual components of the button (title, value,
4541 image). Also, new method to alter the xscale and yscale properties
4542 of the GtkAlignment inside the button, so more complex layouts can
4545 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-button.c (hildon_button_style_set)
4548 (hildon_button_class_init, hildon_button_set_arrangement)
4549 (hildon_button_construct_child): Apply style properties
4550 correctly. Use the 'image-spacing' style property too.
4552 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4554 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4555 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4558 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4560 * src/hildon-pannable-area.c,
4561 (hildon_pannable_area_size_request): Fixed problem with
4562 pannable-area size_request.
4564 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4566 Added management for the grab-focus to a child widget, like a
4567 range, we need to fade out the scrollbar when releasing.
4569 * src/hildon-pannable-area.c,
4570 (hildon_pannable_area_init): Connected the grab-focus signal to
4572 (hildon_pannable_area_grab_notify): Added this function in order
4573 to manage the situation when the grab-focus ends. We have to
4574 fade-out the scrollbar.
4576 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-app-menu.c: Minor documentation update.
4580 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4582 * src/hildon-app-menu.c
4583 * examples/hildon-app-menu-example.c (create_menu): Update
4584 examples and documentation to explain how to connect callbacks.
4586 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4588 * examples/hildon-button-example.c
4589 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4590 hildon_stackable_window_new instead of gtk_window_new
4592 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4594 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4595 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4596 (hildon_pannable_area_set_property),
4597 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4598 (hildon_pannable_area_unrealize),
4599 (hildon_pannable_area_size_request),
4600 (hildon_pannable_area_size_allocate),
4601 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4602 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4603 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4604 (hildon_pannable_area_initial_effect),
4605 (hildon_pannable_area_redraw),
4606 (hildon_pannable_area_scroll_indicator_fade),
4607 (hildon_pannable_area_expose_event),
4608 (hildon_pannable_area_get_topmost), (synth_crossing),
4609 (hildon_pannable_area_button_press_cb),
4610 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4611 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4612 (hildon_pannable_area_motion_notify_cb),
4613 (hildon_pannable_area_button_release_cb),
4614 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4615 (hildon_pannable_area_remove),
4616 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4617 chage the code layout to a more GtkWidget like. Review the use of
4620 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4622 * examples/hildon-pannable-area-example-4.c,
4623 (main): Modified the name of the hindicator_mode to
4626 * src/hildon-pannable-area.c,
4627 (hildon_pannable_area_class_init),
4628 (hildon_pannable_area_motion_notify_cb),
4629 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4630 we have reduced the amount of signals and managed reviewed its
4631 rationale. Changed the default decelerate value.
4633 (hildon_pannable_area_add),
4634 (hildon_pannable_area_redraw): Refactored functions.
4636 (hildon_pannable_area_init),
4637 (hildon_pannable_area_get_property),
4638 (hildon_pannable_area_set_property):
4639 (hildon_pannable_draw_vscroll),
4640 (hildon_pannable_draw_hscroll),
4641 (hildon_pannable_area_initial_effect),
4642 (hildon_pannable_area_expose_event),
4643 (hildon_pannable_area_scroll),
4644 (hildon_pannable_area_button_press_cb),
4645 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4646 and vindicator_mode with hscrollbar_policy and
4647 vscrollbar_policy. Replaced hscroll and vscroll with
4648 hscroll_visible and vscroll_visible.
4650 (hildon_pannable_area_refresh): Refactor the function, remove
4651 variables and check the calls to this function, added resize
4652 conditions in case the children change their layout.
4654 (hildon_pannable_area_size_request): Added more detailed
4655 size_request calculation.
4658 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4660 * src/hildon-color-chooser.c
4661 (init_borders): use the correct gtk_border_free instead of g_free, to
4662 avoid a crash when this widget is used (ie: the three color selection
4665 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4667 * src/hildon-check-button.c,
4668 (hildon_check_button_set_active): Fixed problem when setting the
4669 active value, the widget was not redrawn.
4671 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4673 * src/hildon-pannable-area.c,
4674 (hildon_pannable_area_refresh),
4675 (hildon_pannable_area_scroll),
4676 (hildon_pannable_area_motion_notify_cb): Small code style change.
4678 (hildon_pannable_area_class_init): Default initial_hint set to
4679 FALSE, it is not in the specs.
4681 (hildon_pannable_area_initial_effect),
4682 (hildon_pannable_area_expose_event),
4683 (hildon_pannable_area_map),
4684 (hildon_pannable_area_init): Moved the launching point of the
4685 initial effect, it was in map but the sizes where not correct in
4686 that method so we do not know if we have the reproduce it. Now it
4687 is placed in the expose_event method and uses a variable to
4688 reproduce it just once.
4690 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4692 * src/hildon-pannable-area.c,
4693 (hildon_pannable_draw_vscroll),
4694 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4695 position allowed for the scrollbars.
4697 (hildon_pannable_area_size_allocate): Small style change.
4699 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4701 * src/hildon-pannable-area.c,
4702 (hildon_pannable_area_scroll_indicator_fade),
4703 (hildon_pannable_area_button_press_cb),
4704 (hildon_pannable_area_button_release_cb),
4705 (hildon_pannable_area_scroll_cb),
4706 (hildon_pannable_area_expose_event),
4707 (hildon_pannable_area_init): Added the define parameter
4708 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4709 and refactor the fade variable.
4711 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4713 * src/hildon-pannable-area.c,
4714 (hildon_pannable_area_redraw),
4715 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4716 lines, we were reimplemeting the redraw code.
4718 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4720 * src/hildon-pannable-area.c,
4721 (hildon_pannable_area_scroll_cb),
4722 (hildon_pannable_area_realize),
4723 (hildon_pannable_area_class_init): Added scroll_event management
4724 for pannable area, now we can scroll the usual desktop method.
4726 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4727 initialization of the parameters should depend on idle_id.
4729 (hildon_pannable_area_init),
4730 (hildon_pannable_area_map): Small code style modifications
4732 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4734 * src/hildon-pannable-area.c
4735 (hildon_pannable_area_button_press_cb),
4736 (hildon_pannable_area_motion_notify_cb),
4737 (hildon_pannable_area_button_release_cb),
4738 (hildon_pannable_area_size_allocate),
4739 (hildon_pannable_area_scroll_to): Improved the timeouts
4740 management, we avoid creating them each time.
4742 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4744 * src/hildon-pannable-area.c:
4745 (hildon_pannable_area_refresh),
4746 (hildon_pannable_area_motion_notify_cb),
4747 (hildon_pannable_area_class_init):
4748 * src/hildon-pannable-area.h:
4749 * src/hildon-touch-selector.c
4750 (_create_new_column):
4751 * examples/hildon-pannable-area-example-4.c:
4752 (horizontal_movement),
4753 (vertical_movement),
4755 Replaced the names of enums in the HildonPannableArea:
4756 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4757 HILDON_MOVEMENT_MODE_*
4758 - HILDON_PANNABLE_AREA_MOV_* ->
4760 - Removed HildonPannableAreaIndicatorMode, now we
4763 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4765 * examples/hildon-pannable-area-touch-grid-example.c
4766 * examples/hildon-pannable-area-touch-list-example.c: Fix
4767 compilation warnings.
4769 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4771 * src/hildon-gtk.c (hildon_gtk_button_new)
4772 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4773 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4774 images overriding the value of the "gtk-button-images" setting.
4776 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4778 * src/hildon-check-button.c (hildon_check_button_new):
4779 Instead of using a custom container, display the label and the
4780 checkbox using the standard GtkButton API.
4782 * examples/hildon-check-button-example.c (main): Don't use
4783 hildon_check_button_set_label() anymore
4785 * src/hildon-check-button.h
4786 * src/hildon-check-button.c
4787 (hildon_check_button_set_label, hildon_check_button_get_label):
4788 Set as deprecated, now we're using gtk_button_{get,set}_label()
4790 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4792 * src/hildon-pannable-area.c,
4793 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4794 GtkTreeview first line we detected it after the inclusion of the
4795 GtkWindowImpl in gtk+. We now check if the window is visible, not
4796 just if the pointer is over the window.
4797 (hildon_pannable_axis_scroll),
4798 (hildon_pannable_area_expose_event): Small style changes.
4800 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4802 * src/hildon-button.c: Update documentation.
4804 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4806 * examples/hildon-button-example.c: Add a switch to show images in
4809 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4811 * doc/hildon-docs.sgml: Some docs reorganization.
4813 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4815 * examples/hildon-pannable-area-touch-list-example.c
4817 * examples/hildon-pannable-area-touch-grid-example.c
4818 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4819 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4820 Fix memory leak when setting the tree model.
4822 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4826 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4828 * doc/hildon.types: Remove duplicated hildon_window_get_type
4829 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4830 documentation comment.
4832 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4834 * doc/Makefile.am: Complete list of private headers.
4836 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4838 * doc/hildon-docs.sgml
4839 * src/hildon-app-menu.c
4840 * src/hildon-bread-crumb.c
4841 * src/hildon-button.c
4843 * src/hildon-program.c
4844 * src/hildon-stackable-window.c
4845 * src/hildon-window.c: Lots of documentation updates.
4847 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4849 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4851 * configure.ac: Require Gtk+ 2.12.9 at least
4853 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4855 * src/hildon-pannable-area.c
4856 (hildon_pannable_area_scroll_indicator_fade),
4857 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4858 to protect the return of this timeout callbacks, avoiding deadlocks.
4860 2008-08-12 Christian Dywan <christian@imendio.com>
4863 * src/hildon-*.h: Ensure a consistent include order,
4864 include <gtk/gtk.h> instead of particular files and
4865 only include the topmost header in the gtk stack. See NB #39857
4867 2008-08-12 Christian Dywan <christian@imendio.com>
4869 * src/hildon-picker-dialog.c
4870 * src/hildon-touch-selector.c: Fix warnings about unused and
4871 uninitialized variables.
4873 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4875 * examples/Makefile.am
4876 * examples/hildon-check-button-example.c: Example of the hildon
4879 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4881 * src/hildon-window.h
4882 * src/hildon-window.c (hildon_window_class_init)
4883 (hildon_window_unset_program): Don't make
4884 hildon_window_unset_program a virtual function anymore.
4886 * src/hildon-stackable-window.c: Update documentation
4888 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4891 * doc/hildon-docs.sgml
4892 * doc/visual_index.xml
4893 * src/hildon-defines.c
4895 * src/hildon-helper.c
4896 * src/hildon-range-editor.c: Lots of documentation fixes.
4898 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4900 * examples/hildon-picker-button-multicolumn-example.c
4901 (create_touch_selector): Fix compilation warning.
4903 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4906 (hildon_pannable_area_button_release_cb)
4907 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4909 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4911 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4914 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4916 * src/hildon-bread-crumb-trail.h
4917 * src/hildon-date-editor.c
4918 * src/hildon-date-selector.c
4919 * src/hildon-pannable-area.c
4920 * src/hildon-picker-dialog.c
4921 * src/hildon-time-selector.c
4922 * src/hildon-touch-selector-entry.c
4923 * src/hildon-touch-selector.c
4924 * src/hildon-touch-selector.h: Misc documentation fixes
4926 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4928 * examples/hildon-date-editor-example.c (main): Updated date
4931 * examples/hildon-note-example.c (on_confirmation_clicked):
4932 Updated confirmation note example.
4934 * src/hildon-date-editor.c
4935 * src/hildon-note.c: Updated sample programs in documentation.
4938 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4940 * src/hildon-date-button.h:
4941 * src/hildon-picker-button.h:
4942 * src/hildon-time-button.c:
4943 * src/hildon-time-button.h:
4945 Some declarations changes to allow gtk-doc to document the widgets
4948 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-date-button.c: Document the widget.
4951 * src/hildon-time-button.c: Document the widget.
4953 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4955 * src/hildon-picker-button.c: Document the widget.
4956 * src/hildon-touch-selector-entry.c: Document the widget.
4958 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4960 * doc/hildon-docs.sgml
4963 * src/hildon-check-button.h
4964 * src/hildon-check-button.c: New functions to create the Hildon
4968 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4970 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-button.h
4973 * src/hildon-button.c
4974 (hildon_button_add_title_size_group)
4975 (hildon_button_add_value_size_group)
4976 (hildon_button_add_image_size_group)
4977 (hildon_button_add_size_groups): New functions to set size groups
4978 for the button labels and image.
4979 (hildon_button_new_full): Removed
4981 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4983 * src/hildon-time-selector.c
4984 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4985 in order to avoid a crash if gconf is not available
4987 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4989 * src/hildon-button.c (hildon_button_set_arrangement)
4990 (hildon_button_construct_child): Don't construct the button child
4991 before setting the arrangement.
4993 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4995 * src/hildon-program-private.h
4996 * src/hildon-program.c
4997 * src/hildon-program.h
4998 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4999 (hildon_program_peek_window_stack)
5000 (hildon_program_pop_window_stack)
5001 (hildon_program_go_to_root_window): HildonProgram now has a
5002 separate list for stackable windows. Functions are provided to
5003 manage that list with a stack-like API.
5005 * src/hildon-stackable-window.c: Stackable window management is
5006 now much simpler with the new HildonProgram API. Windows no
5007 longer need to be manually added to the program, they're
5008 automatically pushed to the top of the stack when shown.
5010 * examples/hildon-stackable-window-example.c: Updated example to
5011 reflect the API changes.
5013 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5015 * src/hildon-touch-selector.c: Comment out unimplemented
5016 hildon_touch_selector_insert_column() to avoid a compile warning.
5018 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5020 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5021 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5022 (hildon_touch_selector_set_column_selection_mode),
5023 (_hildon_touch_selector_set_model),
5024 (hildon_touch_selector_set_model):
5026 Complete review of HildonTouchSelector documentation.
5028 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5030 * doc/hildon-docs.sgml
5034 * src/hildon-gtk.c: Convenience functions for standard Gtk
5035 widgets, used to easily perform frequent operations.
5037 * src/hildon-button-helpers.h
5038 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5040 * src/hildon-helper.h
5041 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5042 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5044 * src/hildon-button.h
5045 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5047 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-button.c (hildon_button_init)
5050 (hildon_button_set_arrangement, hildon_button_construct_child):
5051 Pack the image and the labels inside the same GtkAlignment so
5052 gtk_button_set_alignment() can be used
5054 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5056 * src/hildon-button.h
5057 * src/hildon-button.c
5058 (hildon_button_init, hildon_button_set_image)
5059 (hildon_button_set_image_position)
5060 (hildon_button_construct_child): New functions to add an image to
5063 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5065 * src/hildon-date-button.c
5066 * src/hildon-picker-button.c
5067 * src/hildon-time-button.c
5068 * src/hildon-button.c:
5069 (hildon_button_class_init): "size-flags" renamed to "size"
5070 (hildon_button_set_title): Hide the title label if set to NULL.
5072 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5074 HildonButtonFlags split into HildonButtonArrangement (to set the
5075 button layout) and HildonSizeType (which can be used for any
5078 * src/hildon-button.h
5079 * src/hildon-button.c
5080 (hildon_button_class_init)
5081 (hildon_button_set_arrangement)
5082 (hildon_button_set_property): New "size-flags"
5083 property. "arrangement-flags" renamed to "arrangement".
5084 (hildon_button_new, hildon_button_new_with_text)
5085 (hildon_button_new_full): Constructors updated to reflect type changes.
5087 * src/hildon-helper.h
5088 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5089 to set the size of a widget.
5093 * src/hildon-button-helpers.c
5094 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5096 * src/hildon-date-button.c
5097 * src/hildon-date-button.h
5098 * src/hildon-picker-button.c
5099 * src/hildon-picker-button.h
5100 * src/hildon-time-button.c
5101 * src/hildon-time-button.h: Updated widgets to reflect
5102 HildonButton API changes.
5104 * examples/hildon-button-example.c
5105 * examples/hildon-date-button-example.c
5106 * examples/hildon-picker-button-example.c
5107 * examples/hildon-picker-button-multicolumn-example.c
5108 * examples/hildon-time-button-example.c
5109 * examples/hildon-touch-selector-entry-example.c
5110 * examples/hildon-touch-selector-example.c: Updated examples to
5111 reflect HildonButton API changes.
5113 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5115 * doc/hildon-docs.sgml:
5117 * examples/Makefile.am:
5118 * examples/hildon-touch-selector-entry-example.c:
5120 * src/hildon-touch-selector-entry.c:
5121 * src/hildon-touch-selector-entry.h:
5124 Moved HildonTouchSelectorEntry from sandbox. Added its
5125 documentation and examples.
5127 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5129 * src/hildon-touch-selector.h:
5130 * examples/hildon-picker-button-multicolumn-example.c:
5131 (hildon_touch_selector_append_text_column): Add a gboolean
5132 parameter to determine if text must be centered in the column.
5134 * src/hildon-date-selector.c: (hildon_date_selector_init):
5135 * src/hildon-time-selector.c: (hildon_time_selector_init):
5136 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5137 (create_touch_selector): Update widgets and example to reflect
5140 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5142 * src/hildon-touch-selector.c:
5143 (hildon_touch_selector_set_active_iter): Set also the cursor in
5146 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5148 * doc/hildon-docs.sgml
5151 * src/hildon-toggle-button.c
5152 * src/hildon-toggle-button.h
5153 * src/hildon.h: Removed HildonToggleButton widget, a derived
5154 class is not necessary for this.
5156 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5158 * src/hildon-pannable-area.c,
5159 (hildon_pannable_area_realize),
5160 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5163 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5165 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5166 "done" button the default widget for the dialog.
5168 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5170 * src/hildon-touch-selector.c:
5171 (hildon_touch_selector_class_init),
5172 (hildon_touch_selector_get_property),
5173 (_hildon_touch_selector_set_model),
5174 (_hildon_touch_selector_has_multiple_selection),
5175 (hildon_touch_selector_has_multiple_selection):
5176 Add a "has-multiple-selection" property with a virtual
5177 has_multiple_selection() method to allow derived classes to
5178 override the default value for it. See the method and property
5179 documentation for details.
5181 * src/hildon-touch-selector.h: Add the new API.
5183 * src/hildon-picker-dialog.c: (requires_done_button): Call
5184 hildon_touch_selector_has_multiple_selection() instead of
5185 determining the need for a button itself.
5187 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5189 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5190 (_hildon_touch_selector_set_model),
5191 (hildon_touch_selector_set_model): Move working code to
5192 _hildon_touch_selector_set_mode(). Call the class method instead.
5194 * src/hildon-touch-selector.h: Add (*set_model) to
5195 HildonTouchSelectorClass.
5197 Make hildon_touch_selector_set_model() a virtual method, so that
5198 derived classes can extend it and do fancy stuff with the model.
5200 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5202 * configure.ac: Set back the tarname in AC_INIT to hildon.
5204 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5208 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5209 instead of libesd (NB#86876). Volume handling is still an open issue.
5211 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5214 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5216 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5217 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5218 derived class to ease placement of an entry widget in
5219 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5220 end, where the selector columns are packed now.
5222 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5224 * src/hildon-picker-button.c: Removed the simple _text() API.
5225 * src/hildon-picker-button.h: Likewise.
5227 * src/hildon-touch-selector.h:
5228 * src/hildon-touch-selector.c:
5229 (hildon_touch_selector_new_text),
5230 (hildon_touch_selector_append_text),
5231 (hildon_touch_selector_prepend_text),
5232 (hildon_touch_selector_insert_text):
5234 Moved the simple _text() API from HildonPickerButton to
5235 HildonTouchPicker, to provide better escalability and not to tie
5236 that API to HildonPickerButton.
5238 * examples/hildon-picker-button-example.c: (main): Example updated.
5240 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-button.c: Updated documentation.
5244 * examples/hildon-button-example.c: Add the posibility to create
5245 the buttons using horizontal layout for title and value.
5247 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5249 * src/hildon-app-menu-private.h
5250 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5251 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5252 GtkSizeGroup for the filters, use the 'homogeneous' property of
5255 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5257 * examples/hildon-button-example.c: Updated example.
5259 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5261 * doc/hildon-docs.sgml:
5264 Update documentation.
5266 * examples/Makefile.am: Update renamed examples.
5268 * examples/hildon-picker-button-multicolumn-example.c:
5269 (create_touch_selector), (main): Update after the rename.
5271 * examples/hildon-touch-picker-example.c: Removed.
5272 * examples/hildon-touch-selector-example.c: (value_changed),
5273 (create_selector), (get_visible_content), (main): Renamed from
5274 hildon-touch-picker-example.c
5276 * src/Makefile.am: Updated renamed files.
5278 * src/hildon-date-button.c: (hildon_date_button_init),
5279 (hildon_date_button_get_date), (hildon_date_button_set_date):
5280 * src/hildon-date-selector.c: (hildon_date_selector_init),
5281 (_custom_print_func), (_update_day_model),
5282 (_manage_selector_change_cb),
5283 (hildon_date_selector_select_current_date),
5284 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5285 * src/hildon-date-selector.h:
5286 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5287 (hildon_picker_button_set_property),
5288 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5289 (hildon_picker_button_init), (hildon_picker_button_new_text),
5290 (hildon_picker_button_append_text),
5291 (hildon_picker_button_prepend_text),
5292 (hildon_picker_button_insert_text),
5293 (hildon_picker_button_set_selector),
5294 (hildon_picker_button_get_selector):
5295 * src/hildon-picker-button.h:
5296 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5297 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5298 (_update_title_on_selector_changed_cb), (requires_done_button),
5299 (_hildon_picker_dialog_set_selector),
5300 (hildon_picker_dialog_set_selector),
5301 (hildon_picker_dialog_get_selector):
5302 * src/hildon-picker-dialog.h:
5303 * src/hildon-time-button.c: (hildon_time_button_init),
5304 (hildon_time_button_get_time), (hildon_time_button_set_time):
5305 * src/hildon-time-selector.c: (hildon_time_selector_init),
5306 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5307 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5308 * src/hildon-time-selector.h:
5311 Massive code updates after the rename.
5313 * src/hildon-touch-picker.c: Removed.
5314 * src/hildon-touch-picker.h: Removed.
5316 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5317 (hildon_touch_selector_init), (hildon_touch_selector_map),
5318 (hildon_touch_selector_remove), (_default_print_func),
5319 (_selection_changed_cb), (_create_new_column),
5320 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5321 (hildon_touch_selector_append_text_column),
5322 (hildon_touch_selector_remove_column),
5323 (hildon_touch_selector_set_column_attributes),
5324 (hildon_touch_selector_insert_column),
5325 (hildon_touch_selector_get_num_columns),
5326 (hildon_touch_selector_get_column_selection_mode),
5327 (hildon_touch_selector_set_column_selection_mode),
5328 (hildon_touch_selector_set_print_func),
5329 (hildon_touch_selector_get_print_func),
5330 (hildon_touch_selector_get_active_iter),
5331 (hildon_touch_selector_set_active_iter),
5332 (hildon_touch_selector_get_selected_rows),
5333 (hildon_touch_selector_get_model),
5334 (hildon_touch_selector_set_model),
5335 (hildon_touch_selector_get_current_text),
5336 (_hildon_touch_selector_center_on_selected_items):
5337 * src/hildon-touch-selector.h: Renamed from
5338 hildon-touch-picker.[ch]
5340 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5341 references, code examples, and related documentation.
5343 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5345 * doc/hildon-docs.sgml
5348 * src/hildon-toggle-button.c
5349 * src/hildon-toggle-button.h
5350 * src/hildon.h: New HildonToggleButton widget.
5352 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-button.c: Add API documentation.
5355 (hildon_button_set_size_groups): Check input parameters
5357 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5359 * src/hildon-pannable-area.c
5360 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5361 effect after reaching the movement thredshold. This way we start
5362 using the distance after passing the thredshold.
5364 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5366 * src/hildon-button.c: (hildon_button_set_property): Use the
5367 appropriate g_value_get_flags() method.
5369 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5371 * doc/hildon-docs.sgml:
5374 Add the touch pickers, picker dialogs, and picker button widgets
5375 to the documentation.
5377 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5379 * src/hildon-button.c: (hildon_button_set_property),
5380 (hildon_button_class_init): Make "arrangement-flags" a proper
5381 G_TYPE_FLAGS derived property.
5383 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5385 * examples/Makefile.am: Add below examples.
5386 * examples/hildon-date-button-example.c:
5387 * examples/hildon-picker-button-example.c:
5388 * examples/hildon-picker-button-multicolumn-example.c:
5389 * examples/hildon-time-button-example.c:
5390 * examples/hildon-touch-picker-example.c:
5392 Add examples for the recently added touch pickers,
5393 picker dialogs, and picker button widgets.
5395 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5397 * src/hildon-button.c: Add some API documentation
5399 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5401 * src/hildon-button.h
5402 * src/hildon-button.c
5404 (hildon_button_new_with_text): New constructor to create a button
5405 with no text at all.
5406 (hildon_button_init, hildon_button_set_arrangement)
5407 (hildon_button_set_title, hildon_button_set_value)
5408 (hildon_button_set_text)
5409 (hildon_button_construct_child): Hide the value when it's not used
5410 so the rest of the text is properly aligned.
5411 Allow creating buttons with arbitrary widgets inside (not just
5412 title/value labels).
5414 * examples/hildon-button-example.c (vertical_buttons_window)
5415 (horizontal_buttons_window): Update example to use new API.
5417 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5419 * src/Makefile.am: Added HildonTimeButton.
5420 * src/hildon-time-button.c: Added missing LGPL header.
5421 * src/hildon-time-button.h: Added missing LGPL header.
5422 * src/hildon.h: Add hildon-time-button.h
5424 Copied HildonTimeButton from sandbox to trunk. Future work on this
5425 widget must take place in trunk.
5427 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5429 * src/Makefile.am: Added HildonDateButton.
5430 * src/hildon-date-button.c: Update includes.
5431 * src/hildon.h: Add hildon-date-button.h
5433 Copied HildonDateButton from sandbox to trunk. Future work on this
5434 widget must take place in trunk.
5436 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5438 * src/Makefile.am: Added HildonPickerButton.
5439 * src/hildon-picker-button.h: Update includes.
5440 * src/hildon.h: Add hildon-picker-button.h
5442 Copied HildonPickerButton from sandbox to trunk. Future work on
5443 this widget must take place in trunk.
5445 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5447 * src/Makefile.am: Added HildonPickerDialog.
5448 * src/hildon-picker-dialog.c: Update includes.
5449 * src/hildon.h: Add hildon-picker-dialog.h
5451 Copied HildonPickerDialog from sandbox to trunk. Future work
5452 on this widget must take place in trunk.
5454 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5456 * src/Makefile.am: Added HildonTimeSelector.
5457 * src/hildon.h: Add hildon-time-selector.h
5459 Copied HildonTimeSelector widget from sandbox to trunk. Future
5460 work on this widget must happen in trunk.
5462 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5464 * src/Makefile.am: Added HildonDateSelector.
5465 * src/hildon.h: Add hildon-date-selector.h
5467 Copied HildonDateSelector widget from sandbox to trunk. Future
5468 work on this widget must happen in trunk.
5470 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5472 * src/Makefile.am: Added HildonTouchPicker.
5473 * src/hildon-touch-picker.c: Update includes.
5474 * src/hildon.h: Add hildon-touch-picker.h
5476 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5477 on this widget must happen in trunk.
5479 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5481 * src/hildon-pannable-area.c:
5482 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5484 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5486 * examples/hildon-app-menu-example.c (main): Let the window
5489 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5491 * src/hildon-pannable-area.c
5492 (hildon_pannable_area_class_init): Set the min value of the
5493 overshoot properties to zero, which points out that not
5494 overshooting allowed.
5496 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5498 Modified the procedure to get the widget at a point inside the
5499 pannable area when using the movement type signals. Now the user
5500 has to call a function to get the child, that way we just
5501 calculate the child in case the user really want to use it and not
5504 * src/hildon-marshalers.list: Modified the marshallers, now we do
5505 not have the widget as a parameter.
5507 * src/hildon-pannable-area.c
5508 (hildon_pannable_area_motion_notify_cb),
5509 (hildon_pannable_area_class_init),
5510 (hildon_pannable_get_child_widget_at): Removed the widget
5511 parameter from the signal callback. We have also refactored the
5512 emission of the signals.
5514 * src/hildon-pannable-area.h: Added a new method to the API to
5515 calculate a widget at a point inside the pannable area,
5516 hildon_pannable_get_child_widget_at.
5518 * examples/hildon-pannable-area-example-4.c
5519 (horizontal_movement): Modified the example to use the new API,
5520 added condition to control which widget is under the event. This
5521 way we can avoid scrolling laterally over other widgets.
5523 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5525 * src/hildon-pannable-area.c
5526 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5527 modes, we stop getting the pointer events due to returning the
5528 callback without properly calling the get pointer again. Fixed
5529 also an error using the hscroll and vscroll.
5531 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5533 * src/hildon-app-menu-private.h
5534 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5535 (hildon_app_menu_button_release, hildon_app_menu_init)
5536 (hildon_app_menu_class_init): Don't hide the menu on button
5537 release if the user didn't press outside first.
5539 * src/hildon-window.h
5540 * src/hildon-window.c (hildon_window_toggle_menu)
5541 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5542 hildon_window_toggle_menu a virtual function for the stackable
5543 window to override it.
5545 * src/hildon-stackable-window.h
5546 * src/hildon-stackable-window-private.h
5547 * src/hildon-stackable-window.c
5548 (hildon_stackable_window_realize)
5549 (hildon_stackable_window_finalize)
5550 (hildon_stackable_window_class_init)
5551 (hildon_stackable_window_init)
5552 (hildon_stackable_window_set_main_menu): New function to set the
5553 app menu of a HildonStackableWindow.
5555 * examples/hildon-app-menu-example.c: Remove the button to show
5556 the app menu, now it'll be shown when clicking on the title bar
5559 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5561 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5562 set the widget name if the arrangement flags do not specify
5565 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5567 * src/hildon-button.c: (hildon_button_set_property),
5568 (hildon_button_class_init), (hildon_button_new_full),
5569 (hildon_button_set_arrangement): Added "arrangement-flags"
5572 Make the HildonButtonFlags a construction-only property, to allow
5573 subclasses to set them properly.
5575 2008-07-21 Tim Janik <timj@imendio.com>
5577 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5578 insertion position after backspace, so additional digits are appended,
5581 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5583 * src/hildon-pannable-area.c,
5584 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5585 TODO list, it was complete and removed the g_debug and g_print
5588 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5590 Added the movement modes to the hildon-pannable-area, with this
5591 modes the developers can control in which directions the widget
5592 can scroll. They can also connect to signals in order to do
5593 something when that happens, allowing applications scroll. There
5594 is an example uploaded showing how to use it.
5596 * examples/Makefile.am:
5597 * examples/hildon-pannable-area-example-4.c: Added this example of
5598 an application using the modes.
5600 * src/hildon-marshalers.list: Added a new marshaller for the new
5603 * src/hildon-pannable-area.h: Added new enumerations and flags in
5604 order to control the movement modes and the new signals to warn
5605 about the movements in the area.
5607 * src/hildon-pannable-area.c:
5608 (hildon_pannable_axis_scroll),
5609 (hildon_pannable_area_scroll),
5610 (hildon_pannable_area_motion_notify_cb),
5611 (hildon_pannable_area_get_property),
5612 (hildon_pannable_area_set_property),
5613 (hildon_pannable_area_map),
5614 (hildon_pannable_area_class_init),
5615 (hildon_pannable_area_init),
5616 (hildon_pannable_area_jump_to): Added the modes to control the
5617 movement in the widget. We have added properties to control it,
5618 signals to warn about the movements and refactored some code.
5620 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5622 Changes required in order to allow vfast_factor set to zero to
5625 * src/hildon-pannable-area.c:
5626 (hildon_pannable_area_button_press_cb): Changed the condition, it
5627 is required for not allowing click when vfast_factor is zero.
5628 (hildon_pannable_area_timeout): Initialized velocity variables
5629 when we stop moving, it was less than 1 but not zero and we need
5630 to check zero in some situations.
5631 (hildon_pannable_area_class_init): Changed the default value of
5632 the speed factor, now the button_press is just sent in case the
5633 speed is 2 per cent of the max speed.
5634 (hildon_pannable_area_init): Initialization with 0.
5636 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5638 * src/hildon-pannable-area.c,
5639 (hildon_pannable_area_get_topmost): replaced
5640 gdk_window_get_children with gdk_window_peek_children, this way we
5641 do not have to free the list because it is not a copy.
5643 (hildon_pannable_axis_scroll),
5644 (hildon_pannable_area_scroll),
5645 (hildon_pannable_area_timeout),
5646 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5647 two parameters that were only used inside the
5648 hildon_pannable_area_scroll function.
5650 * examples/hildon-pannable-area-example.c,
5651 (get_sawtooth_label): Fixed small memory leak.
5653 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5655 More checks for the case where the overshoot is bigger than the
5658 * src/hildon-pannable-area.c:
5659 (hildon_pannable_draw_vscroll),
5660 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5661 to draw the slider of the scrollbar under the other scrollbar.
5662 (hildon_pannable_area_expose_event): added new checks to control
5663 the drawing of the overshooting area rectangle, in case it is too
5664 big for the area of the widget.
5665 (hildon_pannable_area_size_allocate): add more checks to avoid
5666 setting a position to the child widget outside the area.
5668 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5670 * src/hildon-pannable-area.c
5671 (hildon_pannable_area_size_allocate): Added conditions to control
5672 when overshooting is bigger than the allocated space for the
5673 children, this avoids negative allocations.
5675 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5677 * doc/hildon-docs.sgml
5679 * examples/Makefile.am
5680 * examples/hildon-button-example.c
5682 * src/hildon-button.c
5683 * src/hildon-button.h
5684 * src/hildon.h: Initial version of the new HildonButton widget,
5687 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5689 * src/hildon-pannable-area.c:
5690 (hildon_pannable_area_button_press_cb),
5691 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5692 (hildon_pannable_area_motion_notify_cb),
5693 (hildon_pannable_area_button_release_cb),
5694 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5695 (hildon_pannable_area_jump_to_child):
5697 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5699 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5701 * examples/Makefile.am
5702 * examples/hildon-pannable-area-touch-grid-example.c
5703 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5704 the Hildon Touch List and Hildon Touch Grid using the
5705 HildonPannableArea widget.
5707 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5709 * src/hildon-pannable-area.c,
5710 (hildon_pannable_area_button_press_cb),
5711 (hildon_pannable_area_refresh),
5712 (hildon_pannable_area_scroll),
5713 (hildon_pannable_area_motion_notify_cb),
5714 (hildon_pannable_area_button_release_cb),
5715 (hildon_pannable_area_expose_event),
5716 (hildon_pannable_area_add),
5717 (hildon_pannable_area_remove),
5718 (hildon_pannable_area_realize),
5719 (hildon_pannable_area_size_allocate),
5720 (hildon_pannable_area_class_init),
5721 (hildon_pannable_area_init),
5722 (hildon_pannable_area_scroll_to_child),
5723 (hildon_pannable_area_jump_to_child): Fixed the problem of
5724 removing the child from the GtkBin, we have rearranged the widget
5725 hierarchy, now there is no GtkAlignment which was not doing
5726 anything interesting but breaking some of the assumptions of
5727 GtkContainer. Now developers if they want to add a GtkAlignment
5728 they could, but it is not inside the area.
5730 We had to review the whole allocation/expose process, now it is
5731 improved and we save at least three signals which would be saving
5732 some time when rendering the widget. The allocation of the
5733 scrollbars is now made in the allocate method as usual.
5735 We have also added some conditions in order to control when there
5736 is no child of the pannable area. Maybe we will need more work
5739 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5741 * src/hildon-pannable-area.c,
5742 (hildon_pannable_area_dispose): Released the fade-out timeout when
5743 disposing the widget.
5745 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5747 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5748 zero, we are going to use that property in order to deactivate the
5750 (hildon_pannable_axis_scroll),
5751 (hildon_pannable_area_size_allocate): Added conditions to control
5752 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5753 call, now it is called in all situations and we can remove calls
5754 in the allocate method.
5755 (hildon_pannable_area_map): Control the situation when
5756 overshoot_max is zero, we do not need the timeout.
5757 (hildon_pannable_area_class_init): Added documentation in order to
5758 point out that setting zero to overshoot_max means deactivate
5761 NOTE: removed trailing whitespaces from my previous comments of
5764 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5766 * src/hildon-pannable-area.c
5767 (hildon_pannable_area_get_property),
5768 (hildon_pannable_area_set_property),
5769 (hildon_pannable_area_map),
5770 (hildon_pannable_area_class_init),
5771 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5772 to cause the widget give a hint about its panning abilities upon
5775 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5777 * src/hildon-pannable-area.c: Several documentation improvements.
5779 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5781 * src/hildon-program.c
5782 * src/hildon-stackable-window.c: Update documentation.
5784 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5786 * src/hildon-stackable-window.c (get_previous_window_if_last):
5787 Renamed get_last_window()
5788 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5789 (hildon_stackable_window_unset_program):
5791 (get_previous_window_if_last):
5792 Detect if the window hasn't been added to a HildonProgram.
5794 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5796 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5798 * src/hildon-pannable-area.c
5799 (hildon_pannable_area_button_press_cb),
5800 (hildon_pannable_axis_scroll),
5801 (hildon_pannable_area_scroll),
5802 (hildon_pannable_area_timeout),
5803 (hildon_pannable_calculate_vel_factor),
5804 (hildon_pannable_area_get_property),
5805 (hildon_pannable_area_set_property),
5806 (hildon_pannable_area_class_init),
5807 (hildon_pannable_area_init),
5808 (hildon_pannable_area_scroll_to),
5809 (hildon_pannable_area_jump_to),
5810 (hildon_pannable_area_scroll_to_child),
5811 (hildon_pannable_area_jump_to_child):
5812 * src/hildon-pannable-area.h: Added the new API functions:
5813 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5814 hildon_pannable_area_scroll_to_child,
5815 hildon_pannable_area_jump_to_child
5818 * examples/Makefile.am
5819 * examples/hildon-pannable-area-example-2.c
5820 * examples/hildon-pannable-area-example-3.c: Added these two new
5821 examples in order to test and show how the new APIs work.
5823 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5825 * examples/hildon-stackable-window-example.c (new_window):
5826 * src/Makefile.am (noinst_HEADERS):
5827 * src/hildon-program.c (hildon_program_go_to_root_window):
5828 * src/hildon-program.h:
5829 * src/hildon-stackable-window-private.h:
5830 * src/hildon-stackable-window.c:
5831 * src/hildon-stackable-window.h:
5832 Create hildon-stackable-window-private.h
5833 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5835 * examples/hildon-app-menu-example.c (create_menu):
5836 * examples/hildon-hvolumebar-insensitive-example.c (main):
5837 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5838 * examples/hildon-toolbar-seekbar-example.c (main):
5839 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5840 * src/hildon-banner.c (hildon_banner_set_property):
5841 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5842 Fix compilation warnings
5844 * src/hildon-window.c:
5847 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5849 * src/hildon-stackable-window.c
5850 (hildon_stackable_window_unset_program):
5851 Calculate correctly whether to show the previous window if the
5852 last one is removed from the stack.
5853 (hildon_stackable_window_go_to_root_window):
5854 Send delete events starting from the topmost window.
5855 Stop if one of the windows is not destroyed.
5857 (hildon_stackable_window_delete_event)
5858 (hildon_stackable_window_class_init):
5859 Ignore the delete event if the window is not the topmost one.
5861 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5863 * src/hildon-pannable-area.c
5864 (hildon_pannable_area_expose_event): Fixed a problem when
5865 selecting the background color of the scrollbars.
5867 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5869 * examples/hildon-stackable-window-example.c
5870 * src/hildon-stackable-window.c
5871 * src/hildon-stackable-window.h
5872 hildon_stackable_window_go_home() renamed to
5873 hildon_stackable_window_go_to_root_window()
5874 Send delete events to windows rather than closing them with
5875 gtk_widget_destroy()
5877 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5879 * src/hildon-pannable-area.c
5880 (hildon_pannable_area_button_release_cb): Fix overshooting in
5883 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5885 * src/hildon-pannable-area.c
5886 (hildon_pannable_area_init): Initially show the scroll indicators.
5887 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5889 Add initial effect showing the widget is pannable.
5891 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5893 * src/hildon-pannable-area.c
5894 (hildon_pannable_area_class_init)
5895 (hildon_pannable_area_set_property)
5896 (hildon_pannable_area_get_property)
5897 (hildon_pannable_area_button_press_cb):
5898 New 'velocity_fast_factor' property to decide which velocity is
5901 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5903 * src/hildon-pannable-area.c
5904 (hildon_pannable_draw_hscroll)
5905 (hildon_pannable_draw_vscroll):
5906 Use float variables to calculate the size of the scrollbars to
5907 avoid error propagation and resizing during scrolling.
5909 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-pannable-area.c
5912 (hildon_pannable_draw_vscroll)
5913 (hildon_pannable_draw_hscroll):
5914 Define a minimum size for the scroll bars
5916 * src/hildon-stackable-window.c
5917 (hildon_stackable_window_go_home): Fix compilation warning
5918 (get_last_window): Minor optimizations
5919 (hildon_stackable_window_class_init): Fix initialization of
5922 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5924 * src/hildon-stackable-window.c: Fixed typos in doc
5926 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5928 * src/hildon-pannable-area.c
5929 (hildon_pannable_area_scroll):
5930 Calculate here whether we need to scroll instead of using the booleans
5931 that tell us whether to /draw/ the scrolling bars.
5933 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5935 * src/hildon-app-menu.h
5937 * src/hildon-app-menu.c
5938 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5939 multiple filter groups related code and API. Now we support only
5941 * examples/hildon-app-menu-example.c:
5943 Update to reflect API changes.
5945 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5947 * src/hildon-stackable-window.c
5948 (hildon_stackable_window_class_init):
5949 Add hildon_stackable_window_realize.
5950 (hildon_stackable_window_realize):
5951 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5952 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5953 to apply theming and behavior specific to HildonStackableWindow
5956 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5958 * src/hildon-note.c (hildon_note_button_release):
5959 Close information notes also when tapping on them
5961 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5963 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5964 ELASTICITY, refactor and review, fix some issues with drawing
5967 * src/hildon-pannable-area.c:
5968 (hildon_pannable_area_button_press_cb): removed the conditions to
5969 avoid clicks when overshooting. It is not required
5971 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5972 define. Refatored and reviewed the code, now we do not need to
5973 manage velocity in motion_notify.
5975 (hildon_pannable_area_motion_notify_cb): We have moved the code
5976 that controls the area_scroll to the axis_scroll function and get
5977 rid of duplicated code.
5979 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5981 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5983 (hildon_pannable_draw_vscroll),
5984 (hildon_pannable_draw_hscroll): Fixed the problems with the
5985 scrollbar drawing, now we do not use two surfaces, it is easier
5986 and saves resources.
5988 (hildon_pannable_area_get_property): Style modification.
5990 (hildon_pannable_area_class_init): Changed some default values.
5992 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5994 * src/hildon-stackable-window.c: Fix some typos in the
5997 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5999 * src/hildon-dialog.c:
6000 Change indentation style
6003 (hildon_note_button_release):
6004 Use root coordinates to check if the release event happened
6007 * src/hildon-app-menu.c
6008 (hildon_app_menu_button_release):
6009 Remove unnecessary check
6011 * examples/hildon-app-menu-example.c
6013 Add cast to fix warning
6015 * src/hildon-app-menu.c
6016 (hildon_app_menu_class_init):
6017 New inner-border style property.
6018 Set all default spacings to 16
6019 (hildon_app_menu_init):
6020 Use vertical-spacing to set the space between filter buttons and
6021 regular menu buttons.
6022 Set the default container border using the inner-border value.
6024 * examples/hildon-app-menu-example.c
6026 Don't set the menu border explicitly, now we have the inner-border
6027 style property for that.
6029 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6031 * src/hildon-app-menu.c (hildon_app_menu_init):
6032 Make the window modal
6034 * src/hildon-note.c (hildon_note_map)
6035 * src/hildon-app-menu.c (hildon_app_menu_map):
6036 Destroy the grab window if we're unable to grab the pointer
6038 * src/hildon-app-menu-private.h
6039 * src/hildon-app-menu.c
6040 (hildon_app_menu_init, hildon_app_menu_finalize)
6041 (hildon_app_menu_map, hildon_app_menu_unmap)
6042 (hildon_app_menu_button_release)
6043 (grab_transfer_window_get):
6044 Bring back the grab window
6045 (hildon_app_menu_realize):
6046 Decorate the window, set WM hint for Matchbox
6048 * src/hildon-note.c (hildon_note_realize):
6049 * src/hildon-banner.c (hildon_banner_realize):
6050 Add WM hints for Matchbox
6052 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6054 * src/hildon-app-menu-private.h
6055 * src/hildon-app-menu.c
6056 (hildon_app_menu_init, hildon_app_menu_finalize)
6057 (hildon_app_menu_map, hildon_app_menu_unmap)
6058 (hildon_app_menu_button_release):
6059 Remove the grab window, it's not needed anymore
6061 * src/hildon-program.c
6062 Fixed typo in documentation
6064 * src/hildon-app-menu.h
6065 * src/hildon-app-menu.c
6066 * examples/hildon-app-menu-example.c
6067 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6069 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6072 Added new transfer_window and close_if_pressed_outside private
6074 (hildon_note_rebuild):
6075 Don't add a cancel button to the information note. It will be
6076 closed when tapping outside
6077 Remove the comment about the OK button in the documentation
6078 (hildon_note_realize):
6079 Set the notification type hint
6080 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6081 Grab/ungrab pointer and keyboard if the note has to be closed when
6083 (hildon_note_button_release):
6084 Close the note when tapping outside (if applicable)
6086 * src/hildon-app-menu.c
6087 Grab/ungrab pointer and keyboard on map/unmap
6088 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6089 Close the menu on button release, not button press
6091 * src/hildon-banner.c
6092 (hildon_banner_set_property)
6093 (hildon_banner_check_position):
6094 Make the banner use the full width of the screen
6095 (hildon_banner_show_information)
6096 (hildon_banner_show_information_with_markup):
6097 Don't display an icon by default
6099 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6101 Added fading scrollbars and adapted all the overshooting code to
6102 horizontal scrolling. We have also fixed bugs with overshooting
6103 and current fading implementation.
6105 * src/hildon-pannable-area.c
6106 (hildon_pannable_area_scroll_indicator_fade): Time out function
6107 used to change the transparency of the scrollbars.
6109 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6110 control and fixed a problem with fading, we now remove the fade
6111 timeout before adding a new one.
6113 (hildon_pannable_axis_scroll):
6114 (hildon_pannable_area_scroll):
6115 (hildon_pannable_area_timeout): Added this functions so we can use
6116 the scroll code both for vertical and horizontal.
6118 (hildon_pannable_area_motion_notify_cb):
6119 (hildon_pannable_area_button_release_cb): Added the horizontal
6120 scrolling control, fixed a problem with the overshooting timeout.
6122 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6123 painting of the scrolls.
6125 (hildon_pannable_draw_vscroll):
6126 (hildon_pannable_draw_hscroll):
6127 (hildon_pannable_area_expose_event):
6128 Draw both scrollbars and rectangles in the overshooting area.
6130 (hildon_pannable_area_get_property):
6131 (hildon_pannable_area_set_property):
6132 Modified the overshoot property to overshoot_max
6134 (hildon_pannable_area_map):
6135 Replaced the comments symbols.
6137 (hildon_pannable_area_size_allocate):
6138 (hildon_pannable_area_class_init):
6139 (hildon_pannable_area_init): Added horizontal scroll, fading
6140 effect properties, fixed a problem when overshooting in the bottom
6143 * examples/hildon-pannable-area-example.c:
6144 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6145 looks better in the example.
6147 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6149 * src/hildon-window.c
6150 * src/hildon-window.h
6151 (hildon_window_class_init)
6152 (hildon_window_unset_program)
6153 (hildon_window_unset_program_real):
6154 Make unset_program a virtual function
6156 * src/hildon-stackable-window.c
6157 * src/hildon-stackable-window.h
6158 Added hildon_stackable_window_go_home()
6160 * examples/Makefile.am
6161 * examples/hildon-stackable-window-example.c
6162 HildonStackableWindow example
6164 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6166 * hildon-pannable-area.c: Added the overshoot property and removed
6167 the OVERSHOOT define. Fixed an indent style error.
6168 (hildon_pannable_area_motion_notify_cb):
6169 (hildon_pannable_area_get_property):
6170 (hildon_pannable_area_set_property): Add overshoot property.
6172 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6175 (hildon_pannable_area_class_init): Installed the new property.
6177 * hildon-pannable-area-example.c: Added a sawtooth function, this
6178 way it is easier to check the movement in the pannable.
6179 (get_sawtooth_label): Added this function.
6180 (main): Now we get the labels from the new get_sawtooth_label
6183 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6185 * src/hildon-app-menu.h
6186 * src/hildon-app-menu.c
6187 Renamed API variables for consistency
6189 (hildon_app_menu_popup): Use also the default window size to
6190 decide where to place the menu
6192 (hildon_app_menu_init, hildon_app_menu_class_init): New
6193 external-border style property
6195 2008-05-26 Michael Natterer <mitch@imendio.com>
6197 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6198 widget_class->tap_and_hold_setup signal slot doesn't exist any
6199 longer, stop overriding it.
6201 (hildon_time_editor_init): g_signal_connect() to the
6202 tap-and-hold-setup signal instead.
6204 (hildon_time_editor_entry_keypress): add cast to fix warning.
6206 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6208 * doc/hildon-docs.sgml
6210 * examples/Makefile.am
6211 * examples/hildon-app-menu-example.c
6213 * src/hildon-app-menu-private.h
6214 * src/hildon-app-menu.c
6215 * src/hildon-app-menu.h
6217 New HildonAppMenu widget
6219 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6221 Rearranged the inheritance of the pannable area, now it inherits
6222 from GtkBin. This will allow us to control the event_window and
6223 the allocation process of the widget, required for some effects.
6225 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6226 GtkBin structures. * src/hildon-pannable-area.c: Added the
6227 event_window variable.
6228 (hildon_pannable_area_button_press_cb):
6229 (hildon_pannable_area_button_release_cb):
6230 (hildon_pannable_area_motion_notify_cb):
6231 Changed the signature of the method, now we override the event
6232 callback instead of connecting to the signal.
6234 (hildon_pannable_area_realize):
6235 (hildon_pannable_area_unrealize):
6236 (hildon_pannable_area_map):
6237 (hildon_pannable_area_unmap):
6238 (hildon_pannable_area_size_allocate):
6239 Added functions to control the widget construction. We add a
6240 INPUT_ONLY window and we put it over the widgets inside the
6241 container, this event_window handles the events.
6243 (hildon_pannable_area_class_init):
6244 Replaced the signal connections with overrides of the event
6247 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6249 Bouncing effect added when touching the borders, you can change
6250 the elasticity of the border changing the ELASTICITY define.
6252 * src/hildon-pannable-area.c: Added ELASTICITY define.
6253 (hildon_pannable_area_timeout): Added inverse velocity when
6254 touching the border of the child widget, that causes a bounce.
6256 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6258 Improved performance, we now do not go to the X server in order to
6259 get the list of window children. Apparently the effect is the
6260 same, we have to be careful and check if this breaks something in
6263 * src/hildon-pannable-area.c:
6264 (get_ordered_children): Removed this function.
6265 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6266 the children windows function with gdk_window_get_children.
6268 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6270 * src/hildon-pannable-area.c:
6271 (hildon_pannable_area_dispose): Fixed a crash when closing the
6272 window and kinetics is activated.
6274 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6276 * src/hildon-pannable-area.h
6277 * src/hildon-pannable-area.c
6278 Changed indentation style to meet the one used in Hildon
6280 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6282 Reviewed the interaction of the AUTO mode, now we use the time
6283 attribute of the events and calculate the velocity in the motion,
6284 doing a gimp like calculation. The velocity is calculated in each
6285 motion event using the last velocity and the current one, the
6286 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6288 * src/hildon-pannable-area.c: Replaced the time based algorithm
6290 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6291 timeout for the AUTO mode when we are still moving the cursor. We
6292 added also the velocity calculation in this function.
6293 (hildon_pannable_area_button_release_cb): launch the timeout in
6294 case we are in AUTO mode. There are still some constants here that
6295 come from the old implementation that should be reviewed and
6298 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6300 * doc/hildon-docs.sgml
6303 * src/hildon-stackable-window.c
6304 * src/hildon-stackable-window.h
6306 New HildonStackableWindow widget
6308 * examples/hildon-dialog-example.c
6309 * examples/hildon-pannable-area-example.c
6312 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6314 * src/hildon-dialog.c
6315 (hildon_dialog_new_with_buttons): New constructor.
6317 * examples/hildon-dialog-example.c
6318 (main): Update the example to use the new
6319 hildon_dialog_new_with_buttons().
6321 * examples/hildon-pannable-area-example.c
6322 (main): Update example.
6324 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6326 * doc/hildon-docs.sgml
6328 Added HildonPannableArea to the documentation.
6330 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6332 * doc/visual_index.xml
6333 Fix reference to HildonLoginDialog in documentation
6335 * doc/hildon-docs.sgml
6337 * examples/Makefile.am
6338 * examples/hildon-dialog-example.c
6340 * src/hildon-dialog.c
6341 * src/hildon-dialog.h
6343 New HildonDialog widget.
6345 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-pannable-area.c
6348 Merge latest changes (r4318, r4342) from libmokoui trunk
6350 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6352 * examples/Makefile.am
6353 * examples/hildon-pannable-area-example.c
6355 * src/hildon-pannable-area.c
6356 * src/hildon-pannable-area.h
6358 New HildonPannableArea widget.
6360 2008-04-15 18:05:19 <timj@imendio.com>
6362 * src/hildon-banner.c: revert the recent change, that introduced
6363 gtk_window_present() calls. this reopens:
6364 Bug 78481 - [freetest] information banners are hidden under browser menu
6365 But resolves another variant of:
6366 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6368 2008-04-15 13:21:13 <timj@imendio.com>
6370 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6371 recreated its layout, spotted by Kris. this fixes all remaining
6372 artefacts and stability issues with the banner code. in particular:
6373 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6375 2008-04-14 16:52:59 <timj@imendio.com>
6377 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6378 operating on unrealized widgets, fixes:
6379 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6381 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6383 2008-04-09 Kristian Rietveld <kris@imendio.com>
6385 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6386 makes banner disappear.
6387 Fixes: NB#79182: info banner flickering with certain message lengts.
6389 * src/hildon-banner.c (hildon_banner_constructor),
6390 (hildon_banner_init), (hildon_banner_set_text),
6391 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6392 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6393 FALSE, reset size requests of label and banner,
6394 (force_to_wrap_truncated): when the text is too wide, always enforce
6395 the maximum possible width instead of recalculating it from the
6396 layout; enforce the maximum banner height of 3 lines,
6397 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6398 nicer wrapping and no truncated chars if space gets tight.
6400 * src/hildon-banner-private.h: add has_been_wrapped and
6401 has_been_truncated fields.
6403 2008-04-07 Sven Herzberg <sven@imendio.com>
6405 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6406 local values in hildon_date_editor_size_allocate
6408 * src/hildon-date-editor.c: moved the real allocation code into the
6411 2008-04-07 Sven Herzberg <sven@imendio.com>
6413 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6414 local values in hildon_date_editor_size_allocate
6416 * src/hildon-date-editor.c: merged the two if() branches together
6418 2008-04-07 Sven Herzberg <sven@imendio.com>
6420 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6421 local values in hildon_date_editor_size_allocate
6423 * src/hildon-date-editor.c: changed the arguments of the if()
6426 2008-04-07 Sven Herzberg <sven@imendio.com>
6428 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6429 local values in hildon_date_editor_size_allocate
6431 * src/hildon-date-editor.c: split the calculation of the allocation
6432 from the real allocation
6434 2008-03-27 Michael Natterer <mitch@imendio.com>
6436 Fixes: NB#81696: The passcode is not overwritten even after
6439 * src/hildon-code-dialog.c
6440 (hildon_code_dialog_button_clicked)
6441 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6442 because that doesn't overwrite selected text. Instead, emit the
6443 "commit" signal on the entry's im_context so the entry's normal
6444 insert logic is triggered. Set the cursor to the end of the entry
6445 after each insert operation so that we *only* insert in the middle
6446 of the text if something was selected.
6448 2008-03-27 Michael Natterer <mitch@imendio.com>
6450 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6451 selector cannot be opened
6453 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6454 when the popup color selector is created. Please connect to this
6455 signal in order to set the dialog's help ID.
6457 2008-03-25 Sven Herzberg <sven@imendio.com>
6459 Fixes: MB#1212: Hide info banners (infoprints) on click
6461 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6462 extracted the close event simulation into an extra function
6463 (hildon_banner_button_press_event): simulate a close event and destroy
6464 the widget if the event wasn't handled
6465 (hildon_banner_class_init): added the button_press_event handler
6466 (hildon_banner_init): added button-press events to the widget
6468 2008-03-25 Sven Herzberg <sven@imendio.com>
6470 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6471 Patch from: Mohammad Anwari <mdamt@maemo.org>
6473 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6474 instead of the right in RTL mode
6475 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6476 breadcrumb button list in RTL mode
6477 * src/hildon-caption.c: mirror the appearance of the caption widget in
6479 * src/hildon-date-editor.c: mirror appearance of the date editor in
6481 * src/hildon-time-editor.c: mirror appearance of the time editor in
6483 * src/hildon-window.c: fix the position of the popup in RTL mode
6485 2008-03-25 Sven Herzberg <sven@imendio.com>
6487 Amendment to the fix of NB#22072. Fix compilation.
6489 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6491 2008-03-19 Sven Herzberg <sven@imendio.com>
6493 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6496 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6497 timeout id properly when the timeout will disappear this leaves no
6498 artifacts around in the destroy(); there will only be the timeout
6499 created by hildon_banner_ensure_timeout() and adding a new timeout
6500 will also work if the timeout gets removed because the timeout_handler
6503 2008-03-19 Michael Natterer <mitch@imendio.com>
6505 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6507 * src/hildon-volumebar.c
6508 * src/hildon-vvolumebar.c
6509 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6510 the widget becomes focussable at all.
6512 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6513 set the focus to wither the mute button or the volumebar.
6515 Remove own "can-focus" property and instead listen to
6516 notify::can-focus in order to update the widget's state.
6518 Implement GtkWidget::focus() and make sure we can also *leave* the
6519 widget, not only enter it, depending on volumebar orientation and
6520 requested focus direction.
6522 Clean up set_mute() to cooperate nicely with all the above.
6524 2008-03-04 Michael Natterer <mitch@imendio.com>
6526 Fixes: NB#78481: information banners are hidden under browser menu
6528 * src/hildon-banner.c: call gtk_window_present() on the banners so
6529 they are risen if they are already visible.
6531 2008-03-03 Sven Herzberg <sven@imendio.com>
6533 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6535 * examples/hildon-window-menu-example.c: (main): extended the window
6536 menu example to serve as a testcase for automatically added
6537 accelerator groups, too
6538 * src/hildon-window.c: (hildon_window_add_accel_group),
6539 (hildon_window_set_menu): added patch by Tommi Komulainen
6541 2008-03-03 Sven Herzberg <sven@imendio.com>
6543 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6545 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6546 knowledge about the border allocators used within GTK+
6548 2008-02-26 Sven Herzberg <sven@imendio.com>
6550 Fixes: MB#2981: Build with asserts broken
6552 * src/hildon-date-editor.c,
6553 * src/hildon-number-editor.c,
6554 * src/hildon-time-editor.c,
6555 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6556 the proper GType instance check
6558 2008-02-25 Sven Herzberg <sven@imendio.com>
6560 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6562 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6563 * examples/hildon-window-menu-example.c: (main): explicitly show
6565 * src/hildon-window.c:
6566 (hildon_window_set_main_menu): moved most of the code from set_menu()
6567 to this place; skipped the call to gtk_widget_show_all(); also didn't
6568 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6569 (hildon_window_set_menu): removed most of the code, just keep the
6570 questionable gtk_widget_show_all()
6571 * src/hildon-window.h: added the new function and deprecate the old
6574 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6580 * debian/changelog: Updating.
6582 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6585 * pkgconfig/Makefile.am:
6586 * pkgconfig/hildon.pc.in:
6589 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6590 use newly created API_MAJOR_VERSION.
6592 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6598 * debian/changelog: Updating.
6600 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6602 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6604 Add outer_border style property, we use it but don't define it (!).
6608 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6610 * examples/hildon-bread-crumb-trail-example.c (main):
6614 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6616 Fix logic for the bread crumb trail node removal.
6620 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6626 * debian/changelog: Updating.
6628 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6630 Patch by Alejandro to get/set passwords dialogs accesibility.
6632 * hildon-1/src/hildon-get-password-dialog.c:
6633 * hildon-1/src/hildon-set-password-dialog.c:
6634 Set atk_set_name to the passwd entries in order to allow
6635 accessibility by name on this entries.
6637 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6642 * debian/control: Updating gtk dep.
6644 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6646 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6647 USE_MAEMO_GTK is enabled.
6649 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6651 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6652 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6654 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6660 * debian/changelog: Updating.
6662 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6664 * examples/Makefile.am:
6665 * examples/hildon-logical-color-example.c:
6666 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6667 applied + adding a test case. Fixes: NB#71660.
6669 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6671 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6672 to be visible, fixes warning on map for windows without toolbars.
6674 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6676 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6677 2.11.0, add a check for that besides the MAEMO_GTK check.
6679 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6685 * debian/changelog: Updating.
6687 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6689 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6690 visibility. Fixes: NB#70842 and MB#615.
6692 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6694 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6695 set the separator as no-show-all so it doesn't unintentionally appear when
6696 someone does a show_all.
6698 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6700 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6701 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6702 toplevel item. Fixes: NB#62031
6704 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6706 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6707 fix the name of the function in the docs.
6709 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6715 * debian/changelog: Updating.
6717 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6719 * examples/hildon-banner-long-example.c: Adding a test-case for long
6722 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6724 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6726 * src/hildon-color-chooser-dialog.c:
6727 * src/hildon-color-chooser.c:
6728 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6729 memory leaks in font selector and color selector. Fixes: NB#70499 and
6732 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6734 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6736 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6738 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6739 little bit bigger. Fixes: #NB63694.
6741 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6747 * debian/changelog: Updating.
6749 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6752 * doc/hildon-docs.sgml:
6753 * doc/images/bread-crumb-trail.png:
6754 * doc/images/calendar-popup.png:
6755 * doc/images/caption.png:
6756 * doc/images/code-dialog.png:
6757 * doc/images/color-button.png:
6758 * doc/images/color-chooser-dialog.png:
6759 * doc/images/color-chooser.png:
6760 * doc/images/controlbar.png:
6761 * doc/images/date-editor.png:
6762 * doc/images/font-selection-dialog.png:
6763 * doc/images/get-password-dialog.png:
6764 * doc/images/hvolumebar.png:
6765 * doc/images/login-dialog.png:
6766 * doc/images/note.png:
6767 * doc/images/number-editor.png:
6768 * doc/images/range-editor.png:
6769 * doc/images/seekbar.png:
6770 * doc/images/set-password-dialog.png:
6771 * doc/images/sort-dialog.png:
6772 * doc/images/time-editor.png:
6773 * doc/images/time-picker.png:
6774 * doc/images/vvolumebar.png:
6775 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6776 Adding the bread-crumb-trial and helpers to the documentation.
6778 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6780 * examples/hildon-find-toolbar-example.c:
6781 * src/hildon-find-toolbar.c:
6782 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6783 actually continue firing the other handlers if connected. Adding a new
6785 hildon_find_toolbar_get_last_index that gets the index of the most
6786 recently added (last) item. Fixes: NB#52301.
6788 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6790 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6791 behaviour. Fixes: NB#68610.
6793 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6795 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6798 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6800 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6801 when realizing the banner. Should make the infonbanner effect a bit more
6804 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6806 * src/hildon-volumebar.c:
6807 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6808 hildon_volumebar_set_range_insensitive_message and
6809 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6811 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6813 * src/hildon-window.c: Fixing the border freeing on destroy.
6815 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6817 * src/hildon-code-dialog-private.h:
6818 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6819 kw keyboard support in HildonCodeDialog.
6821 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6827 * debian/changelog: Updating.
6829 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6831 * src/hildon-date-editor.c:
6832 * src/hildon-number-editor.c:
6833 * src/hildon-private.c:
6834 * src/hildon-private.h:
6835 * src/hildon-time-editor.c:
6836 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6837 handling in subclassed composite widgets. Fixes: NB#66628.
6839 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6841 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6842 from destroy_ callback as it introduces problems in async dbus signal
6843 handlers. Fixes NB#66673.
6845 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6847 * examples/hildon-hvolumebar-example.c:
6848 * src/hildon-volumebar.c: Improving the focus handling in the
6849 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6850 set_property accessor so that "mute" property can be actually set. I'm
6851 scared that nobody noticed it's totally broken.
6853 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6855 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6858 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6860 * src/hildon-calendar.c:
6861 * src/hildon-number-editor.c:
6862 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6863 matches the spec of 6 chars per second. Fixes: NB#60489.
6865 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6867 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6868 gtk_style_lookup_color sometime returns FALSE even though color was
6869 found and values were filled properly. Weird. Removing the warning for the
6872 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6874 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6875 expand vertically. Adding some extra space to the find toolbar buttons to
6876 make them thumbable. Fixes NB#66060.
6878 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6880 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6881 popup with "Ok" and "Cancel". Fixes NB#59299.
6883 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6885 * src/hildon-calendar.c: Process all window updates before executing next
6886 timeout. Fixes: NB#54146.
6888 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6894 * debian/changelog: Updating.
6896 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6898 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6899 the client event and ignore it, since we use the delete event to close
6902 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6904 * src/hildon-helper.c: Remove the bogus warning about color not being
6905 found. Fixes NB#58352.
6907 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6909 * examples/Makefile.am:
6910 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6911 HildonSeekbar widget inside a toolbar.
6913 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6915 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6916 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6917 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6918 don't want to be closed by non-temporary windows on map.
6920 Also use G_DEFINE_TYPE instead of manually typed code.
6922 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6929 * debian/rules: Updating.
6931 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6933 * examples/Makefile.am:
6934 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6935 bug NB#61128. Strangely it works.
6937 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6939 * src/hildon-date-editor.c: When the date editor entry has been changed
6940 but the numbers of characters < max, turn off the skip validation flag.
6941 Prevents a situation when we enter first a valid year and later re-write
6942 it with an invalid one. Fixes NB#60154.
6944 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6946 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6947 code dialog. Fixes NB#64355.
6949 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6951 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6952 switching the page. Fixes NB#49374.
6954 * examples/Makefile.am:
6955 * examples/hildon-wizard-dialog-example.c: Adding an example for
6956 HildonWizardDialog that shows how to handle manual sensitivity setting on
6959 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6963 * src/hildon-version.h.in:
6964 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6966 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6968 * src/hildon-volumebar.c: Updating the docs.
6970 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6976 * debian/changelog: Updating.
6978 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6980 * src/hildon-find-toolbar.c:
6981 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6982 selected item: hildon_find_toolbar_set_active,
6983 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6984 hildon_find_toolbar_get_active_iter . They correspond to respective
6985 GtkComboBox functions.
6987 * examples/Makefile.am:
6988 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6991 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6993 * examples/Makefile.am:
6994 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6997 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6998 when font size > 32 and we pack a focusable widget inside. Actually using
6999 the default response would work too, but since we don't show default
7000 response state in any way (no theming) it would not be visible to the
7001 user. Fixes NB#63430.
7003 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7005 * src/hildon-date-editor.c: Adding the missing variable setter in the
7006 set_property handler. Fixes NB#54182.
7008 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7010 * src/hildon-window.h: Changing the long key press time from 1500ms to
7011 800ms as requested in NB#63700. I have a bad feeling about this, let's
7012 see... Fixes NB#63700.
7014 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7016 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7017 hildon_time_picker_map, hildon_time_picker_realize,
7018 hildon_time_picker_style_set): Split the contents of map to more
7019 appropriate functions; set window decorations on realize and update
7020 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7022 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7027 * debian/changelog: Updating.
7029 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7031 * src/Makefile.am: fixed installation of the header files
7033 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7039 * debian/changelog: Updating.
7041 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7043 * configure.ac: Removing some remaining of --enable-xan.
7045 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7047 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7048 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7050 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7051 2.10.12-osso6 because the move-focus signal needs to be available in
7054 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7056 * examples/Makefile.am:
7057 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7058 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7059 fine. Prolly NB#61128 is fixed now.
7061 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7063 * src/hildon-volumebar.c:
7064 * src/hildon-volumebar.h: Adding the
7065 hildon_volumebar_set_range_insensitive_message and
7066 hildon_volumebar_set_range_insensitive_messagef functions to set
7067 insensitive message on the slider of the volumebar. Fixes NB#61129.
7069 * examples/Makefile.am:
7070 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7071 test the new insensitive messsage functionality on HildonVolumebar.
7073 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7075 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7078 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7080 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7081 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7082 button on after clearing the trail.
7084 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7086 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7088 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7090 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7091 by splitting the installed headers in generated and non-generated groups. Use
7092 only the non-generated headers to create the hildon-enum-types.h file.
7094 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7096 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7098 * src/hildon-window.c: Hide the window before performing the destroy.
7099 Should make the app closing a little tiny bit more snappy.
7101 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7103 * src/hildon-seekbar.c: add gtkrange.h header
7104 * src/hildon-caption.c: remove unused variable
7106 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7108 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7111 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7117 * debian/changelog: Updating.
7119 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7121 * src/hildon-window.c (hildon_window_window_state_event,
7122 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7123 escape timeout on focus-out-event rather than notify::is-topmost; the
7124 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7126 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7128 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7129 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7131 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7133 * src/hildon-window: actually, you need to use the macro always, there's
7134 no private pointer in the instance structure. We should have cleaned this up
7135 when we had the chance...
7137 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7139 * src/hildon-window.c: do not get the private date from HildonWindow before
7140 it passes the g_return_if_fail check. Once it's passed the test, there's no
7141 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7142 if you are only going to access the data once. Whitespace cleanups.
7144 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7146 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7147 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7149 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7155 * debian/changelog: Updating.
7157 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7159 * src/hildon-window.c: When destroying the window, remove (if exists) the
7160 escape timeout handler. Fixes #NB59276.
7162 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7164 * src/hildon-banner.c: When realizing the widget, set the window
7165 transiency. Setting the transiency in the gobject constructor is not
7166 good, as the widget is not realized at that point. Fixes: #NB56624.
7168 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7170 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7171 Add padding for future expansions.
7173 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7175 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7176 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7177 will fake an activation on the previous to the last item of the trail, so
7178 the effect can be overrided by the developer as usual.
7179 Also change the callback for the back button to do the same thing, so its
7180 effect can be overrided too. Fixes: NB#58982
7182 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7184 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7185 HildonCaption. Fixes NB#52379.
7187 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7189 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7190 the internal state of the trail after the user has had the chance of executing
7191 his handler for the signal. Specifically, it may happen that the activated button
7192 is removed and the user still lets the default handler run. This would segfault
7195 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7197 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7198 scrollbar to the preview dialog. Fixes NB#54147.
7200 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7202 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7203 max/min year properties can be altered, so the client can modify it
7204 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7206 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7208 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7209 hildonlike by default. Fixing a problem with disappearing arrows when
7210 scrolling through months and years. Fixes NB#54127.
7212 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7214 * examples/hildon-date-editor-example.c: Adding error callback to the date
7217 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7223 * configure.ac: Updating.
7225 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7227 * configure.ac: Adding a special '--enable-xan' configure option that
7228 turns off the -Werror compilation setting. Usefull for development.
7230 * src/hildon-calendar.c:
7231 * src/hildon-number-editor.c:
7232 * src/hildon-time-picker.c: Adding the 5* multiplier to
7235 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7237 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7238 instead of g_object_ref + gtk_object_sink.
7240 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7246 * debian/changelog: Updating.
7248 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7250 * src/hildon-color-chooser-dialog.c:
7251 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7252 straight from Tommi labs.
7254 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7256 * examples/hildon-finger-example.c: Correcting the header file path.
7258 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7259 the changed signal. Fixes a small memory leak.
7261 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7265 * src/hildon-banner.c: Importing several usefull fixes from the
7266 ubuntu-mobile branch.
7268 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7270 * examples/Makefile.am:
7271 * examples/hildon-finger-example.c: Adding a finger-checking code
7274 * src/hildon-font-selection-dialog.c: Do not allocate the color
7275 structure using the g_new. Fixes NB#54061.
7277 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7279 * src/hildon-helper.c: Correcting tabs in file.
7281 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7283 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7284 control the visibility of the children.
7286 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7288 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7294 * debian/changelog: Updating.
7296 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7298 * src/hildon-bread-crumb-trail.c:
7299 (hildon_bread_crumb_trail_size_allocate):
7301 Make the back button always a square.
7303 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7305 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7306 from the .c file as it's a private file.
7308 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7310 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7311 uses slightly bigger height.
7313 * src/hildon-font-selection-dialog.c: Adding some checks before
7314 freeing memory in the font selection dialog.
7316 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * src/hildon-font-selection-dialog.c: Adding a small check when
7321 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7322 buttons sensitivity on page switching.
7324 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7326 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7327 internal details of adding a bread crumb to the trail.
7329 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7335 * debian/changelog: Updating.
7337 * src/hildon-bread-crumb-trail.h:
7338 * src/hildon-bread-crumb.h: Changing the API guard to
7339 HILDON_ENABLE_UNSTABLE_API.
7341 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7349 * src/hildon-helper.h: Updating.
7351 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7359 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7363 * src/hildon-helper.h: Small fix to make the package actually compile.
7365 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7367 * src/hildon-bread-crumb-trail.h:
7368 * src/hildon-bread-crumb.h:
7370 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7371 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7373 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7375 * examples/hildon-bread-crumb-trail-example.c:
7377 * src/hildon-bread-crumb-trail.c:
7378 * src/hildon-bread-crumb-trail.h:
7379 * src/hildon-bread-crumb.c:
7380 * src/hildon-bread-crumb.h:
7381 * src/hildon-marshalers.list:
7382 * src/hildon-bread-crumb-widget.c:
7383 * src/hildon-bread-crumb-widget.h:
7385 Slight change in the widget design. The bread crumb trail API is
7386 unchanged, but HildonBreadCrumb is now an interface. A *private*
7387 implementation, hildon-bread-crumb-widget, is provided and used
7388 internally by the trail for the push_text/push_icon functions.
7390 The generic push API is still available, so anyone can implement
7391 and use its own bread crumb widget.
7393 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7395 * debian/rules: Fixing the shlibs.
7397 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7399 * src/hildon-banner.c: Fixing a problem with timed banners having
7400 their parrent destroyed before they are.
7402 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7404 * src/hildon-bread-crumb.c:
7405 * src/hildon-bread-crumb.h:
7407 Make the get_natural_size function a vfunc.
7409 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7411 * src/hildon-bread-crumb.c:
7412 * src/hildon-bread-crumb-trail.c:
7416 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * debian/changelog: Updating for release.
7425 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7427 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7428 don't leak the pango layout.
7430 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7433 * examples/hildon-bread-crumb-trail-example.c:
7437 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7439 * debian/changelog: Removing the bug-fixed entries that were actually
7440 resolved as WONTFIX.
7442 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7445 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7447 * src/hildon-bread-crumb-trail.c:
7448 * src/hildon-bread-crumb-trail.h:
7449 * src/hildon-bread-crumb.c:
7450 * src/hildon-bread-crumb.h:
7454 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7456 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7457 until it's passed the type check.
7459 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7461 * examples/hildon-bread-crumb-trail-example.c
7465 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7467 * examples/Makefile.am
7468 * examples/hildon-bread-crumb-trail-example.c
7470 * src/hildon-bread-crumb-trail.c
7471 * src/hildon-bread-crumb-trail.h
7472 * src/hildon-bread-crumb.c
7473 * src/hildon-bread-crumb.h
7475 New HildonBreadCrumbTrail widget.
7477 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7479 * src/hildon-range-editor.c (hildon_range_editor_init),
7480 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7481 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7482 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7483 hildon_time_editor_class_init, hildon_time_editor_init),
7484 src/hildon-get-password-dialog.c (invalid_input,
7485 hildon_get_password_set_property, hildon_get_password_get_property,
7486 create_contents, hildon_get_password_dialog_set_max_characters),
7487 src/hildon-set-password-dialog.c (create_contents),
7488 src/hildon-date-editor.c (hildon_date_editor_init),
7489 src/hildon-login-dialog.c (hildon_login_dialog_init),
7490 src/hildon-number-editor.c (hildon_number_editor_init),
7491 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7492 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7493 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7494 configure option and adding the respective checks in the code.
7495 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7496 hildon_calendar_drag_data_received): fixed some build warnings.
7498 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7500 * debian/changelog: A 1.0.0 release notes.