1 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
3 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
5 * src/hildon-get-password-dialog.c
6 (hildon_get_password_set_property),
7 (hildon_get_password_get_property), (create_contents):
8 * src/hildon-login-dialog-private.h:
9 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
10 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
11 (hildon_login_dialog_get_password):
12 * src/hildon-set-password-dialog-private.h:
13 * src/hildon-set-password-dialog.c
14 (hildon_set_password_set_property),
15 (hildon_set_password_get_property), (create_contents),
16 (hildon_set_password_response_change),
17 (hildon_set_password_response_set), (hildon_checkbox_toggled):
19 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
20 instead and look more Fremantle style.
22 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
24 2009-04-03 Alberto Garcia <agarcia@igalia.com>
26 * doc/hildon-sections.txt
27 * src/hildon-window-stack.h
28 * src/hildon-window-stack.c
29 (+hildon_window_stack_get_windows):
30 New API to obtain the list of windows on a stack.
32 2009-04-02 Alberto Garcia <agarcia@igalia.com>
34 * src/hildon-app-menu.c (hildon_app_menu_popup)
35 (hildon_app_menu_class_init, -hildon_app_menu_show):
36 Remove hildon_app_menu_show() and move all its checks to
37 hildon_app_menu_popup()
39 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
41 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
42 (_hildon_picker_dialog_set_selector): removed call to
43 gtk_widget_set_size_request
44 * src/hildon-touch-selector.c
45 (_create_new_column): change the pannable size request policy
47 Avoid to use a hardcoded height for the hildon picker dialog. In order
48 to get that, we needed to change the hildon pannable size request
50 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
52 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
54 * src/hildon-window.c (hildon_window_map): Check for vbox to be
55 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
58 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
60 * debian/control: Depend on osso-system-lock localization package.
61 * src/hildon-code-dialog.c: Obtain the secu_application_title
62 translation from osso-system-lock.
63 * src/hildon-get-password-dialog.c (create_contents): Do not mark
64 for translation the atk related strings, that's not necessary.
65 * src/hildon-set-password-dialog.c (create_contents): Ditto.
66 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
67 cancel button, it is not required.
69 2009-04-02 Alejandro G. Castro <alex@igalia.com>
71 * src/hildon-pannable-area.c,
72 (hildon_pannable_area_class_init): Modified the default value of
73 the overshooting max speed, we have reduced it.
75 2009-04-02 Alberto Garcia <agarcia@igalia.com>
77 * doc/hildon-sections.txt
78 * src/hildon-window-private.h
80 * src/hildon-window.c (hildon_window_class_init)
81 (hildon_window_init, hildon_window_finalize)
82 (hildon_window_realize, hildon_window_get_property)
83 (hildon_window_set_property, hildon_window_update_markup)
84 (hildon_window_get_markup, hildon_window_set_markup):
85 New "markup" property and hildon_window_{get,set}_markup() methods.
87 * examples/hildon-stackable-window-example.c (new_window):
88 Update example to use hildon_window_set_markup()
90 Fixes: NB#106375 (Need API to retitle a window with a title
93 2009-04-01 Alejandro G. Castro <alex@igalia.com>
95 * src/hildon-pannable-area.c,
96 (hildon_pannable_area_class_init): Changed the default value of
97 the initial_hint to TRUE.
98 (hildon_pannable_area_initial_effect): Changed the initial effect,
99 not the effect is just the fade-out of the scrollbars.
101 Fixes: NB#107775 (No scrollbars can be seen when several items are
102 available in a dialog)
104 2009-04-01 Alberto Garcia <agarcia@igalia.com>
106 * src/hildon-program.c (hildon_program_update_top_most):
109 Fixes: NB#109179 (Memory leak in Hildon program)
111 2009-04-01 Alberto Garcia <agarcia@igalia.com>
113 * src/hildon-banner.c (-get_current_app_window):
114 Remove unused function.
116 2009-04-01 Alejandro G. Castro <alex@igalia.com>
118 * src/hildon-pannable-area.c: Modified the documentation of the
119 get adjustments functions to explain the problem of using the
121 (hildon_pannable_area_class_init): Improved the explanation about
124 2009-04-01 Alberto Garcia <agarcia@igalia.com>
126 * src/hildon-app-menu-private.h
127 * src/hildon-app-menu.c
128 (hildon_app_menu_class_init):
129 Bring back the 'external-border' style property
130 (hildon_app_menu_class_init, hildon_app_menu_init)
131 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
132 Set a fixed width-request for the menu, independent of the number
135 Fixes: NB#94957 (Smoothly opened application menu)
137 2009-03-30 Alberto Garcia <agarcia@igalia.com>
139 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
141 * src/hildon-banner.c
142 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
144 Make sure that the banner is correctly placed the first time it's
146 (hildon_banner_check_position, -check_fullscreen_state):
147 Show the banner in the same place no matter if the window is in
148 fullscreen mode or not.
150 Fixes: NB#107386 (Odd stacking behaviour for information banners)
152 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
154 * src/hildon-touch-selector.c (_default_print_func): reorder
155 concatenation for clarity.
157 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
159 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
160 for multicolumn selectors.
162 Fixes: NB#109099 (Memory leak in Hildon touch selector)
164 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: Bump version.
170 * debian/changelog: Updates.
172 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
174 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
177 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
179 * configure.ac: removed libcangerra-gtk dependency
180 * debian/control: removed libcanberra-gtk dependency
181 * src/Makefile.am: removed libcanberra gtk related flags
182 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
183 context, and manage a global canberra context instead
185 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
187 2009-03-26 Alberto Garcia <agarcia@igalia.com>
189 Patch by Daniel Borgmann (danielb@openismus.com)
191 * src/hildon-edit-toolbar.c:
192 Adjust the left padding.
193 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
194 Paint background of the edit toolbar.
196 Fixes: NB#107897 (Patch to make editmodetoolbar background
197 themeable and adjust margin)
199 2009-03-25 Alberto Garcia <agarcia@igalia.com>
201 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
203 * src/hildon-program.c (hildon_program_update_top_most):
204 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
206 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
207 change when the user tasks in/out of an application)
209 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
211 * configure.ac: added libcangerra-gtk dependency
212 * debian/control: added libcanberra-gtk dependency
213 * src/Makefile.am: added libcanberra gtk related flags
214 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
217 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
219 2009-03-25 Alberto Garcia <agarcia@igalia.com>
221 * src/hildon-program.c (hildon_program_remove_window)
222 (hildon_program_add_window): Add checks for the window
223 parameter. Don't decrease the window counter if the window is not
226 2009-03-24 Alejandro G. Castro <alex@igalia.com>
228 * src/hildon-pannable-area.c,
229 (hildon_pannable_area_realize): Fixed position of the event_window
230 in the realize method.
232 2009-03-24 Alberto Garcia <agarcia@igalia.com>
234 * src/hildon-app-menu-private.h
235 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
236 (hildon_app_menu_map, hildon_app_menu_hide_idle)
237 (hildon_app_menu_key_press, hildon_app_menu_init)
238 (hildon_app_menu_finalize):
239 Make sure that all idle functions are removed when the widget is
242 Fixes: NB#107583 (Hildon app menu crashes in various applications)
244 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: Bump version.
250 * debian/changelog: Updates.
252 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
255 (+hildon_entry_show_placeholder),
256 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
257 that replace hildon_entry_update_contents().
258 (hildon_entry_set_text),
259 (hildon_entry_set_placeholder),
260 (hildon_entry_focus_in_event),
261 (hildon_entry_focus_out_event): Determine when it is needed
262 either to show or hide the placeholder and call the above methods.
264 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
265 when the placeholder text is already set)
267 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
269 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
270 simple GdkPixbufAnim using the new icons for the banner.
271 (hildon_banner_show_animation): Use the above mentioned method to
272 create the animation widget.
274 Fixes: NB#103564 (Make hildon animation banner use individual
275 image files as the animation)
277 2009-03-24 Alejandro G. Castro <alex@igalia.com>
279 * src/hildon-pannable-area.c,
280 (hildon_pannable_leave_notify_event): Check if the child is NULL
281 to avoid sending the leave.
283 2009-03-24 Alejandro G. Castro <alex@igalia.com>
285 * src/hildon-pannable-area.c,
286 (hildon_pannable_area_class_init),
287 (hildon_pannable_leave_notify_event): Added a handler of the
288 leave-notify-signal to consider when no motion notify before
291 Fixes: NB#107494 (Items stay selected when clicking and moving
292 away when inside pannable area)
294 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
299 * configure.ac: Bump version.
300 * debian/changelog: Updates.
302 2009-03-19 Alejandro G. Castro <alex@igalia.com>
304 Patch by Alberto Garcia (agarcia@igalia.com)
306 * src/hildon-date-button.c,
307 (hildon_date_button_class_init),
308 (hildon_date_button_init): Removed the construct property handling
309 and created a default selector in the init method.
310 * src/hildon-picker-button.c,
311 (hildon_picker_button_class_init): Removed the construct flag of the
314 2009-03-18 Alberto Garcia <agarcia@igalia.com>
316 * src/hildon-main.c (hildon_init):
317 Don't allow hildon_init() to be called more than once.
319 Fixes: NB#106607 (hildon_init should issue error message upon
322 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
324 * examples/hildon-pannable-area-touch-list-example.c
325 * examples/hildon-pannagle-area-touch-grid-example.c
326 * examples/hildon-edit-toolbar-example.c
327 * examples/hildon-touch-selector-multi-cells-example.c
328 Removed the call to gtk_rc_parse_string, as it is not required since
331 2009-03-17 Alejandro G. Castro <alex@igalia.com>
333 * src/hildon-pannable-area.c,
334 (hildon_pannable_area_class_init): Modified the default panning
335 threshold of the widget to 6px.
337 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
338 than the threshold value ) within the button is not sending the
341 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
343 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
344 for the treeview in the new column. This way, the touch list will never
347 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
348 be selected manually for the HW keys to work)
350 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
353 comparison instead of using strcmp(). Fixes a compiler warning as well.
355 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
357 * doc/hildon-docs.sgml: Do not set the library version in the
358 document title, use the releaseinfo tag for that purpose instead.
360 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
362 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
363 Do not jump to the first item if the text in the entry is removed.
365 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
370 * configure.ac: Bump version.
371 * debian/changelog: Updates.
373 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
375 * src/hildon-entry.c (hildon_entry_refresh_contents):
376 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
377 Use "ReversedSecondaryTextColor" for the placeholder text.
379 2009-03-12 Alberto Garcia <agarcia@igalia.com>
381 * src/hildon-text-view.c: Fix compilation warning.
383 2009-03-12 Alberto Garcia <agarcia@igalia.com>
385 * src/hildon-button.c (hildon_button_class_init): Don't make
386 "title" and "value" construction properties, to prevent them from
387 overwriting labels set from derived classes.
389 * src/hildon-picker-button.c
390 (hildon_picker_button_set_selector): Allow setting a NULL selector.
391 (hildon_picker_button_class_init): Make touch-selector a
392 construction property.
394 * src/hildon-date-button.c (hildon_date_button_class_init)
395 (+hildon_date_button_constructed): Add a default date selector if
398 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
400 * src/hildon-touch-selector.c: Small documentation fixes.
402 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
404 Based on a patch by Daniel Borgmann (danielb@openismus.com)
406 * src/hildon-entry.c (hildon_entry_refresh_contents),
407 (hildon_entry_get_text), (hildon_entry_init): Do not use the
408 widget name, set the logical color directly instead and a boolean
409 showing_placeholder instead.
410 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
411 use the widget name here either.
413 Fixes: NB#105678 (HildonTextView should use logical colours
414 instead of setting widget name)
416 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
418 Patch by Daniel Elster (danielk@openismus.com)
420 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
421 Add user_data parameter.
422 (hildon_touch_selector_set_print_func_full): New function akin
423 hildon_touch_selector_set_print_func() but with support for user
424 data and a destroy callback.
425 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
426 to clean up the print function user data.
427 (hildon_touch_selector_class_init): Install dispose function.
428 (HildonTouchSelectorPrivate::print_user_data),
429 (HildonTouchSelectorPrivate::print_destroy_func): New private
431 (hildon_touch_selector_init): Initialize new private members.
432 (hildon_touch_selector_get_current_text): Pass along user data
433 to the print function.
434 (_default_print_func): Add dummy user_data to parameter list.
435 * hildon-date-selector.c (_custom_print_func): ditto,
436 * hildon-time-selector.c (_custom_print_func): ditto,
437 * hildon-touch-selector-entry.c
438 (hildon_touch_selector_entry_print_func): ditto.
440 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
442 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
444 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
446 2009-03-12 Alejandro G. Castro <alex@igalia.com>
448 * src/hildon-pannable-area.c,
449 (hildon_pannable_area_init),
450 (hildon_pannable_area_button_press_cb),
451 (hildon_pannable_area_motion_notify_cb): We have added code to
452 handle the leave and enter events when using the motion events.
454 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
456 2009-03-11 Alberto Garcia <agarcia@igalia.com>
458 * src/hildon-date-button.c (hildon_date_button_get_date)
459 (hildon_date_button_set_date): Make sure that the button has a
462 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
464 2009-03-11 Alejandro G. Castro <alex@igalia.com>
466 * src/hildon-pannable-area.c,
467 (hildon_pannable_area_class_init),
468 (hildon_pannable_area_calculate_velocity): Modify the use of the
469 force and adapt the value.
471 2009-03-10 Alberto Garcia <agarcia@igalia.com>
473 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
474 (hildon_app_menu_class_init): Hide the menu if it receives a
475 delete-event, but don't destroy it
477 Fixes: NB#104485 (Not able to address the call when application
478 menu is opened at background)
480 2009-03-10 Alberto Garcia <agarcia@igalia.com>
482 * src/hildon-app-menu.c
483 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
484 Remove the "external-border" style property, let the menu take its
485 natural size (or the one set by the window manager)
486 (hildon_app_menu_repack_items):
487 Don't reshow the menu, avoid flickers.
489 Partially fixes NB#94957 (Smoothly opened application menu)
491 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
496 * configure.ac: Bump version.
497 * debian/changelog: Updates.
499 2009-03-10 Alejandro G. Castro <alex@igalia.com>
501 * src/hildon-pannable-area.c,
502 (hildon_pannable_area_motion_notify_cb): We control that the
503 direction error margin is used just in case the movement is
504 allowed in the other direction.
506 Fixes: NB#105012 (buttons inside a pannable area not getting
507 release event when dragging/releasing)
509 2009-03-10 Alejandro G. Castro <alex@igalia.com>
511 * src/hildon-pannable-area.c,
512 (hildon_pannable_area_class_init),
513 (hildon_pannable_area_get_property),
514 (hildon_pannable_area_set_property),
515 (hildon_pannable_area_initial_effect),
516 (hildon_pannable_axis_scroll),
517 (hildon_pannable_area_button_release_cb): Reviewed the
518 overshooting effect, now it has its own max
519 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
522 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
527 * configure.ac: Bump version.
528 * debian/changelog: Updates.
530 2009-03-09 Alejandro G. Castro <alex@igalia.com>
532 * src/hildon-pannable-area.c,
533 (hildon_pannable_area_class_init): Changed the max speed, now
534 users can launch the widget very fast. Reduced the default force,
535 that way it is easier to control the launch speed.
537 2009-03-09 Alejandro G. Castro <alex@igalia.com>
539 * src/hildon-pannable-area.c,
540 (hildon_pannable_area_button_release_cb): Removed this check
541 because it causes problems when the device is overloaded.
543 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
545 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
546 add a current_text field to store the text entered in the
547 touch selector entry.
548 (_clean_current_selection): clean up the current text as well.
549 (_save_current_selection), (_restore_current_selection):
550 Save/restore the text in the entry if the selector is a
551 HildonTouchSelectorEntry.
553 Fixes: NB#102541 (value entered in the touch selector entry is not
554 shown when opened for second time)
556 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
558 * doc/hildon-sections.txt:
559 * src/hildon-touch-selector-entry.c
560 (+hildon_touch_selector_entry_get_entry):
561 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
563 Fixes: NB#104815 (I need accessor to the entry inside
564 HildonTouchSelectorEntry)
566 2009-03-06 Alberto Garcia <agarcia@igalia.com>
568 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
569 (hildon_app_menu_class_init):
570 New "filter-vertical-spacing" style property.
572 2009-03-06 Alberto Garcia <agarcia@igalia.com>
574 * src/hildon-find-toolbar.c
575 (hildon_find_toolbar_emit_close)
576 (hildon_find_toolbar_emit_invalid_input)
577 (hildon_find_toolbar_entry_activate):
578 Use g_signal_emit() instead of g_signal_emit_by_name()
580 2009-03-06 Alberto Garcia <agarcia@igalia.com>
582 Patch by Mox Soini (ext-mox.soini@nokia.com)
584 * tests/TEST-CASES.txt
585 * tests/check-hildon-banner.c
586 * tests/check-hildon-note.c
587 * src/hildon-banner.c
588 * src/hildon-code-dialog.c
589 * src/hildon-date-editor.c (real_set_calendar_icon_state)
590 * src/hildon-time-editor.c
591 * examples/hildon-lookup-example.c (main):
592 Replace obsolete icon names with new ones.
594 * src/hildon-find-toolbar-private.h:
595 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
596 (-hildon_find_toolbar_emit_search):
597 Remove find button and change icon of close button.
599 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
601 2009-03-05 Alberto Garcia <agarcia@igalia.com>
603 * src/hildon-time-button.c (hildon_time_button_new_step):
604 Use the "touch-selector" property to set the selector directly
605 when creating the object.
607 2009-03-05 Alejandro G. Castro <alex@igalia.com>
609 Added a new example application that allows tuning the pannable
610 area and replaced defines with properties in order to simplify the
611 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
612 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
613 PROP_DIRECTION_ERROR_MARGIN.
615 * examples/hildon-pannable-area-tuning-example.c: New example
617 * src/hildon-pannable-area.c,
618 (hildon_pannable_area_class_init),
619 (hildon_pannable_area_init),
620 (hildon_pannable_area_get_property),
621 (hildon_pannable_area_set_property),
622 (hildon_pannable_area_launch_fade_timeout),
623 (hildon_pannable_area_adjust_value_changed),
624 (hildon_pannable_axis_scroll),
625 (hildon_pannable_area_motion_notify_cb),
626 (hildon_pannable_area_scroll_cb),
627 (hildon_pannable_area_button_release_cb): We have converted some
628 of the defines that control the widget to properties to simplify
631 2009-03-05 Alberto Garcia <agarcia@igalia.com>
633 * src/hildon-app-menu.c (hildon_app_menu_map)
634 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
635 so it's closed if a new window appears.
637 Fixes: NB#104485 (Not able to address the call when application
638 menu is opened at background)
640 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
642 * src/hildon-color-button.c (hildon_color_button_get_property):Add
643 missing 'break' statement in in 'case' construct to avoid
646 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
648 * src/hildon-touch-selector-entry.c
649 (hildon_touch_selector_entry_get_property),
650 (hildon_touch_selector_entry_set_property): Add missing 'break'
651 statements in in 'case' constructs to avoid incorrect warnings.
653 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
655 * src/hildon-time-editor.c
656 (hildon_time_editor_get_time_separators): Do not crash if
657 the first label is NULL.
659 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
661 * src/hildon-date-selector.c (_month_days): Check for month to be
662 strictly less than 12, since otherwise we may overrun the array.
664 2009-03-04 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-date-button.c (+hildon_date_button_new_full)
667 (hildon_date_button_new, hildon_date_button_new_with_year_range)
668 (hildon_date_button_init): Set the date selector using a
669 construction property, to make it happen after HildonButton's
670 "value" property is set.
672 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
673 current date by default)
675 2009-03-04 Alberto Garcia <agarcia@igalia.com>
677 * doc/hildon-sections.txt
678 * src/hildon-program.c
679 * src/hildon-stackable-window.c
680 * src/hildon-window.c:
681 Documentation updates
683 2009-03-04 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-window-stack.c (hildon_window_stack_get_default)
686 (hildon_window_stack_new, +hildon_window_stack_set_property)
687 (+hildon_window_stack_get_property)
688 (hildon_window_stack_class_init)
689 (+hildon_window_stack_set_window_group)
690 (+hildon_window_stack_get_window_group):
691 Make the window group a construction property.
693 2009-03-04 Alberto Garcia <agarcia@igalia.com>
695 * doc/hildon-sections.txt
696 * src/hildon-stackable-window-private.h
697 * src/hildon-stackable-window.h
698 * src/hildon-stackable-window.c
699 (-hildon_stackable_window_set_app_menu)
700 (-hildon_stackable_window_get_app_menu)
701 (-hildon_stackable_window_toggle_menu)
702 (-hildon_stackable_window_finalize)
703 (hildon_stackable_window_class_init)
704 (hildon_stackable_window_init)
705 * src/hildon-window-private.h
706 * src/hildon-window.h
707 * src/hildon-window.c (hildon_window_init)
708 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
709 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
710 (hildon_window_get_main_menu, hildon_window_set_main_menu)
711 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
712 Moved all HildonAppMenu code to HildonWindow. The menu does not
713 require a HildonStackableWindow anymore.
715 * src/hildon-app-menu.c
716 * src/hildon-program.c
717 * examples/hildon-app-menu-example.c (main):
718 Update examples and documentation to reflect HildonAppMenu
721 2009-03-04 Alberto Garcia <agarcia@igalia.com>
723 * src/hildon-remote-texture.c
724 * src/hildon-animation-actor.c:
725 Don't include unused private headers.
727 2009-03-04 Alberto Garcia <agarcia@igalia.com>
729 * src/hildon-program-private.h
730 * src/hildon-program.c
731 (hildon_program_set_common_menu)
732 (hildon_program_get_common_menu)
733 (hildon_program_set_common_app_menu)
734 (hildon_program_get_common_app_menu):
735 Change common menu pointers from GtkWidget* to GtkMenu* and
736 HildonAppMenu* to avoid unnecessary casts.
738 2009-03-03 Alberto Garcia <agarcia@igalia.com>
740 * src/hildon-window.c (hildon_window_set_main_menu):
741 Removed incorrect 'Since:' tag
743 2009-03-03 Alejandro G. Castro <alex@igalia.com>
745 * src/hildon-pannable-area.c,
746 (hildon_pannable_area_calculate_velocity): We use now the
747 RATIO_TOLERANCE here to check the distance, fixed typo in the
749 (hildon_pannable_area_motion_notify_cb): We have to set the type
750 and time even if we are not sending the motion.
752 2009-03-02 Alberto Garcia <agarcia@igalia.com>
754 * doc/hildon-sections.txt
755 * src/hildon-app-menu.h
756 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
757 (+hildon_app_menu_get_filters): New methods to get the contents of
760 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
763 2009-03-02 Alberto Garcia <agarcia@igalia.com>
765 * src/hildon-app-menu.c (hildon_app_menu_popup):
768 2009-03-02 Alberto Garcia <agarcia@igalia.com>
770 * src/hildon-window.h
771 * src/hildon-window.c (+hildon_window_get_main_menu)
772 (hildon_window_get_menu): Created hildon_window_get_main_menu()
773 and deprecated hildon_window_get_menu().
775 * src/hildon-stackable-window.h
776 * src/hildon-stackable-window.c
777 (+hildon_stackable_window_set_app_menu)
778 (+hildon_stackable_window_get_app_menu)
779 (hildon_stackable_window_set_main_menu): Created
780 hildon_stackable_window_{get,set}_app_menu() and deprecated
781 hildon_stackable_window_set_main_menu().
783 * doc/hildon-sections.txt
784 * examples/hildon-app-menu-example.c (main)
785 * src/hildon-app-menu.c
786 * src/hildon-program.c:
787 Updated examples and documentation.
789 Fixes: NB#103758 (No way to obtain a menu from a
790 HildonStackableWindow)
792 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
797 * configure.ac: Bump version.
798 * debian/changelog: Updates.
800 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
802 * examples/hildon-remote-texture-example.c: Include
803 hildon-remote-texture.h explicitely.
804 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
805 applications not defining _XOPEN_SOURCE which don't require this header.
807 2009-02-27 Alberto Garcia <agarcia@igalia.com>
809 * doc/hildon-sections.txt
810 * src/hildon-app-menu.h
811 * src/hildon-app-menu.c (+hildon_app_menu_popup):
812 New function to pop up a HildonAppMenu
814 * src/hildon-stackable-window.c
815 (hildon_stackable_window_toggle_menu):
816 Use hildon_app_menu_popup() to show the menu.
818 2009-02-27 Alberto Garcia <agarcia@igalia.com>
820 * src/hildon-app-menu.c (hildon_app_menu_show)
821 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
822 menu if there's another window between it and its parent window.
824 Fixes: NB#100468 (Application menu window is launched even when a
825 new secondary-window/dialog is pending to be shown/realized)
827 2009-02-27 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-window-stack.c (hildon_window_stack_push)
830 (hildon_window_stack_pop_and_push):
831 Don't forget to push/pop the first window.
832 Reverse the window list before calling _push_list()
834 2009-02-27 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-picker-button.h
837 * src/hildon-picker-button.c (hildon_picker_button_class_init):
838 Remove "value_changed" slot to avoid ABI breakage
840 2009-02-26 Alejandro G. Castro <alex@igalia.com>
842 * src/hildon-pannable-area.c,
843 (hildon_pannable_area_realize),
844 (hildon_pannable_area_unrealize),
845 (hildon_pannable_draw_vscroll),
846 (hildon_pannable_draw_hscroll): Changed the method to handle the
847 GC used to draw the transparent scrollbar, this way we avoid
848 creating the GC all the time when drawing the scrollbars.
850 2009-02-26 Alejandro G. Castro <alex@igalia.com>
852 * src/hildon-pannable-area.c,
853 (hildon_pannable_area_init),
854 (hildon_pannable_area_remove): Removed some unnecessary casts.
855 (hildon_pannable_area_dispose): Disconnected some signals before
856 releasing the adjustments.
858 2009-02-26 Alberto Garcia <agarcia@igalia.com>
860 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
861 Make sure that all widgets contained in the toolbar are shown.
863 2009-02-25 Alberto Garcia <agarcia@igalia.com>
865 * doc/hildon-sections.txt
866 * src/hildon-picker-button.h
867 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
868 (_selection_changed, hildon_picker_button_on_dialog_response)
869 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
870 New hildon_picker_button_value_changed() method.
873 * src/hildon-picker-button-private.h
874 * src/hildon-picker-button.c (hildon_picker_button_init)
875 (+hildon_picker_button_disable_value_changed): Add protected
876 function for disabling the "value-changed" signal.
878 * src/hildon-date-button.c (hildon_date_button_set_date):
879 Don't emit "value-changed" for each one of the three columns.
881 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
882 before actual change of values)
884 2009-02-24 Alejandro G. Castro <alex@igalia.com>
886 * src/hildon-pannable-area.c,
887 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
888 for the treeview overshooting.
890 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
892 * src/hildon-banner.c (+hildon_banner_bind_style):
893 Renamed from hildon_banner_bind_label_style(), now naming the
894 banner itself as well.
895 (hildon_banner_show_information),
896 (hildon_banner_show_information_with_markup),
897 (hildon_banner_show_animation), (hildon_banner_show_progress):
898 Name the widgets and labels, based on their type.
900 See NB#98597 (Hildon Note and Hildon Banner should use themeable
903 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
905 * src/hildon-note.c (hildon_note_set_property): call
906 hildon_note_rename() on HildonNote:note-type set.
907 (hildon_note_rename): Name the note and its label, based on the
908 HildonNote:note-type property.
910 See NB#98597 (Hildon Note and Hildon Banner should use themeable
913 2009-02-24 Alejandro G. Castro <alex@igalia.com>
915 * src/hildon-pannable-area.c,
916 (hildon_pannable_area_class_init),
917 (hildon_pannable_area_motion_notify_cb): Reviewed the default
918 panning parameters, increased SPS and deceleration factor. Added
919 also a margin to control fake directions.
921 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
923 Patch by Sven Herzberg (sven@imendio.com)
925 * configure.ac: Add missing AM_PROG_CC_C_0
926 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
928 See NB#101420 (Update unit tests and fix make check)
930 2009-02-23 Alejandro G. Castro <alex@igalia.com>
932 This patch was applied before but reverted because it caused
933 problems, we have changed the main condition and tested the
934 regressions we detected before and they work ok. We have done a
935 complete review of the topmost algorithm in order to get a more
938 * src/hildon-pannable-area.c,
939 (hildon_pannable_area_get_topmost): Added a new parameter to
940 filter the the windows that do not include those events.
941 (hildon_pannable_area_button_press_cb),
942 (hildon_pannable_area_button_release_cb),
943 (hildon_pannable_get_child_widget_at): Reviewed the call the the
944 topmost function, we have added the new parameter.
946 Fixes: NB#97458 (Pannable area prevents propagation of button
949 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
951 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
952 if all columns in the selector have an item selected.
953 (_on_dialog_response): Stop "response" signal emission if there is
954 any selector column without selected items.
956 Fixes: NB#101889 (Picker dialog should not close when nothing is
957 selected in multiple selection list)
959 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
961 * src/hildon-font-selection-dialog.c
962 (hildon_font_selection_dialog_class_init),
963 (hildon_font_selection_dialog_init): Remove the preview
964 button and dialog, since previewing with default theming is likely
965 to be overcomplicated. The :preview property has now no effect.
966 Update documentation blurbs to inform about this.
968 Fixes: NB#92297 (Preview content is not clearly visible for
971 2009-02-20 Alejandro G. Castro <alex@igalia.com>
973 Reviewed the geometry that handles the children size and
974 scrollbar, now it tries a size and reviews the results depending
975 on the scrollbars visibility.
977 * src/hildon-pannable-area.c,
978 (hildon_pannable_area_realize): Fixed a typo.
979 (hildon_pannable_area_child_allocate_calculate): Added this
980 function to calculate the child allocation.
981 (hildon_pannable_area_size_allocate): Reviewed the allocation
983 (hildon_pannable_area_check_scrollbars),
984 (hildon_pannable_area_refresh): Refactored refresh function, this
985 way we can call the code handling the scrollbars without causing a
986 size_request, it is interesting in the allocate.
987 (hildon_pannable_area_init): Replace the callbacks of the
988 value_changed and changed signals to propertly deal with the
990 (hildon_pannable_area_grab_notify),
991 (hildon_pannable_area_initial_effect),
992 (hildon_pannable_area_launch_fade_timeout),
993 (hildon_pannable_area_adjust_changed),
994 (hildon_pannable_area_adjust_value_changed),
995 (hildon_pannable_area_redraw),
996 (hildon_pannable_area_button_press_cb),
997 (hildon_pannable_area_button_release_cb),
998 (hildon_pannable_area_scroll_cb),
999 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1000 code and use the new functions adjust_changed and
1001 adjust_value_changed.
1003 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1004 Contact editor dialog)
1006 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1011 * configure.ac: Bump version.
1012 * debian/changelog: Updates.
1014 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1016 * src/hildon-pannable-area.c,
1017 (hildon_pannable_area_get_topmost),
1018 (hildon_pannable_area_button_press_cb),
1019 (hildon_pannable_area_button_release_cb),
1020 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1021 topmost function adding the event mask. We have to try a
1022 differente approach because it is still causing problems (NB#9745,
1025 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1027 * src/hildon-banner.c:
1028 Update the maximum width of timed banners.
1029 (force_to_wrap_truncated): Enforce the maximum text width if the
1032 Fixes: NB#102413 (The text margins (wrapping) in information
1033 banner should be HILDON_MARGIN_TRIPLE)
1035 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1037 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1039 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1040 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1041 bound when calculating the scroll indicator position.
1043 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1044 treat ->lower correctly)
1046 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1048 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1049 expose event handling, since it is not necessary to draw the focus
1052 Fixes: NB#102467 (Do not show highlight on the text in
1055 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1058 full height of the toolbar for the button and the label.
1060 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1062 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1063 padding before the label and after the button.
1065 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1067 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1069 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1070 Add a GtkVSeparator between the button and the back arrow.
1071 Let the button have automatic size.
1072 Set a name to the widget for theming handling.
1074 Fixes: NB#101793 (Make edit toolbar the same height as window
1075 title bar (use title area theming))
1077 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1079 * src/hildon-helper.c (attach_new_color_element): Fix memory
1082 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1084 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1086 * examples/hildon-button-example.c (common_buttons_window): Don't
1089 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1091 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1092 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1094 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-gtk.c: Check that the window is realized.
1098 Fixes: NB#102225 (Crash setting the progress indicator to a non
1101 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1104 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1105 instead of modifying the one in the widget style.
1107 Fixes: NB#101043 (Second row of all the command button are
1108 displayed in transparent mode.)
1110 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-date-button.c
1113 * src/hildon-time-button.c: Add gettext macros
1115 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1117 * src/hildon-date-button.c (hildon_date_button_new):
1118 * src/hildon-time-button.c (hildon_time_button_new_step):
1119 Use new logical strings to set the button default title.
1121 Fixes: NB#99915 (Date and Time options are not localised in Date
1124 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1126 * src/hildon-pannable-area.c
1127 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1128 the PANNING_THRESHOLD.
1130 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1132 * src/hildon-pannable-area.c,
1133 (hildon_pannable_area_class_init): Increased the maximum speed.
1134 (hildon_pannable_area_get_property),
1135 (hildon_pannable_area_set_property),
1136 (hildon_pannable_area_timeout): Added a new low friction mode, it
1137 allows the user avoid friction when launching the widget fast
1138 enough. It is interesting to traverse long lists.
1140 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1142 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1143 (+hildon_stackable_window_delete_event): Ignore delete events if
1144 the window is not the topmost one.
1146 Fixes: NB#101698 (Back button long press and delete-event handling)
1148 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1150 * src/hildon-pannable-area.c,
1151 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1152 gtk-dnd-drag-threshold, it was too big. We have defined our own
1153 dnd define and set a smaller value: PANNIG_THRESHOLD.
1155 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1157 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1158 user-defined icons, use always the default one.
1160 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1162 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1164 This patch was applied before but reverted because it caused
1165 problems, we have changed the main condition and tested the
1166 regressions we detected before and they work ok.
1168 * src/hildon-pannable-area.c,
1169 (hildon_pannable_area_get_topmost): Added a new parameter to
1170 filter the the windows that do not include those events. Added
1171 also a condition when finding the window to filter windows that do
1172 not ask for those events.
1173 (hildon_pannable_area_button_press_cb),
1174 (hildon_pannable_area_button_release_cb),
1175 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1176 topmost function, we have added the new parameter.
1178 Fixes: NB#97458 (Pannable area prevents propagation of button
1181 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1183 * tests/check-hildon-color-button.c (START_TEST): do not leak
1186 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1188 * src/hildon-font-selection-dialog.c
1189 (hildon_font_selection_dialog_get_preview_text): Return NULL
1190 instead of FALSE on the g_return_val_if_fail().
1192 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1194 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1195 * src/hildon-date-selector.c
1196 (hildon_date_selector_select_current_date):
1197 Do not compare unsigned integers to be greater than or equal 0,
1198 because it's always TRUE.
1200 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1202 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1203 (hildon_date_selector_constructor): Do not select the current
1204 date until we are handle the "changed" signal, to avoid having bogus
1205 elements in the days model.
1207 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1210 for num_days, since _month_days() can return a negative value.
1212 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1214 * src/hildon-caption.c (hildon_caption_size_allocate):
1215 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1216 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1218 Initialize allocation variables to 0, to avoid eventually using
1219 unitialized variables.
1221 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1223 * src/hildon-bread-crumb-trail.c
1224 (hildon_bread_crumb_trail_size_allocate):
1225 * src/hildon-calendar.c (hildon_calendar_set_background):
1226 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1227 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1228 * src/hildon-seekbar.c (hildon_seekbar_init):
1229 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1230 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1231 * src/hildon-touch-selector-entry.c
1232 (hildon_touch_selector_get_text_from_model):
1233 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1234 * src/hildon-window.c (hildon_window_finalize):
1236 Remove many unused variables.
1238 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1240 * src/hildon-seekbar.c: (hildon_seekbar_init),
1241 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1243 Remove unnecessary g_assert() calls.
1245 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1247 * src/hildon-caption.c: (hildon_caption_expose),
1248 (hildon_caption_set_property), (hildon_caption_init),
1249 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1250 (hildon_caption_size_request), (hildon_caption_size_allocate),
1251 (hildon_caption_forall), (hildon_caption_set_separator),
1252 (hildon_caption_activate), (hildon_caption_set_child_expand),
1253 (hildon_caption_set_label_text),
1254 (hildon_caption_get_label_alignment):
1256 Remove unnecessary g_assert() calls.
1258 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1260 * src/hildon-banner.c
1261 (hildon_banner_map, hildon_banner_init): Make banner temporary
1262 before mapping it to avoid closing other temporary windows, but
1263 make it non-temporary afterwards to avoid being closed by other
1264 non-temporary windows.
1265 (-hildon_banner_client_event, hildon_banner_init):
1266 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1268 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1271 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1273 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1276 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1278 * src/hildon-remote-texture.c
1279 * src/hildon-remote-texture.h
1280 * src/hildon-remote-texture-private.h
1281 * examples/hildon-remote-texture-example.c:
1282 Updates/fixes to remote-texture and its example.
1284 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1286 Patch by Mox Soini (ext-mox.soini@nokia.com)
1288 * src/hildon-code-dialog.c: Update logical id.
1289 * src/hildon-set-password-dialog.c: Update logical id.
1291 Fixes: NB#100646 (Logical strings is shown for ok in set
1292 password,Password needed dialogs)
1294 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1297 * src/hildon-remote-texture.c
1298 * src/hildon-remote-texture.h
1299 * src/hildon-remote-texture-private.h
1301 Added remote texture widget (for Clutter shared memory textures)
1303 * examples/hildon-remote-texture-example.c
1304 * examples/Makefile.am
1305 Added example file for remote texture usage
1307 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1309 * configure.ac: post release version bump.
1310 * debian/changelog: version bump.
1312 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1317 * configure.ac: Bump version.
1318 * debian/changelog: Updates.
1320 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1322 * src/hildon-date-selector.c (hildon_date_selector_init)
1323 (hildon_date_selector_constructor): Don't connect to the "changed"
1324 signal until the selector is completely constructed.
1326 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1328 * src/hildon-touch-selector.c: (_create_new_column),
1329 (hildon_touch_selector_append_column),
1330 (hildon_touch_selector_set_column_selection_mode),
1331 (hildon_touch_selector_set_active),
1332 (hildon_touch_selector_select_iter):
1333 Emit the HildonTouchSelector::changed signal every time selection
1334 is changed in any of the methods above. This behavior was already
1335 documented but not fully functional.
1337 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1338 selection is programmatically changed)
1340 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1342 * doc/hildon-sections.txt: Remove obsolete icon
1343 sizes from here as well.
1345 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1347 * examples/hildon-stackable-window-example.c (add_window): Remove
1350 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-app-menu.c
1353 (hildon_app_menu_show): Check whether the parent window of a menu
1354 is topmost before popping it up.
1356 Fixes: NB#100468 (Application menu window is launched even when a
1357 new secondary-window/dialog is pending to be shown/realized.)
1359 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1361 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1364 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1366 Patch by Mox Soini (ext-mox.soini@nokia.com)
1368 * src/hildon-banner.c: (hildon_banner_show_animation):
1369 use stylus size instead of obsolete note size.
1370 * src/hildon-defines.h: Update icon sizes.
1372 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1374 * src/hildon-touch-selector-entry.c:
1375 (hildon_touch_selector_entry_init): Disable unsupported
1377 (hildon_touch_selector_entry_get_text_column): Emit a warning
1378 if an unsupported input modes is used and explicitile state
1379 these modes in the documentation.
1381 Fixes: NB#99802 (Hildon touch selector entry not working properly
1382 for some of the input modes)
1384 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1386 * src/hildon-pannable-area.c,
1387 (hildon_pannable_area_init): Added the changed signal handlers of
1390 Fixes: NB#100320 (HildonPannableArea does not listen to
1391 GtkAdjustment "change" signals)
1393 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1395 * doc/hildon-sections.txt
1396 * src/hildon-window-private.h
1397 * src/hildon-window.h
1398 * src/hildon-window.c (hildon_window_init)
1399 (hildon_window_realize, hildon_window_unrealize)
1400 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1401 (hildon_window_size_request, hildon_window_size_allocate)
1402 (hildon_window_forall, hildon_window_show_all)
1403 (hildon_window_destroy, +paint_edit_toolbar)
1404 (+hildon_window_set_edit_toolbar):
1405 New hildon_window_set_edit_toolbar() method, to add a
1406 HildonEditToolbar to a window without having to pack it manually.
1408 Reorganize hildon_window_size_allocate()
1410 * src/hildon-edit-toolbar.c: Update documentation.
1412 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1413 example to use the new API.
1415 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1417 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1419 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1420 Remove from stack before calling parent's hide.
1422 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1424 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1425 window is removed from the middle of the stack, update the
1426 transiency of the previous one.
1428 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1431 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1433 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1434 block/unblock the signal handler if it's not actually being used.
1435 Fixes some critical warnings.
1437 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1439 Based on a patch by Iván Gómez (igomez@igalia.com)
1441 * src/hildon-banner.c
1445 * src/hildon-pannable-area.c
1446 * src/hildon-picker-dialog.c
1447 * src/hildon-wizard-dialog.h
1448 * src/hildon-wizard-dialog.c: Documentation updates.
1450 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1451 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1453 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1455 * configure.ac: post release version bump.
1456 * debian/changelog: version bump.
1458 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1463 * configure.ac: Bump version.
1464 * debian/changelog: Updates.
1466 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1468 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1469 a stock icon nor change the relief of the back arrow.
1471 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1472 graphics from theme)
1474 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-button.c (hildon_button_set_alignment): Use
1477 priv->alignment if the button has no child yet.
1479 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1481 * src/hildon-button.c: (hildon_button_init): Set the
1482 button style during initialization to give it the proper
1485 Fixes: NB#99713 (HildonButton value label color is wrong)
1487 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1489 * src/hildon-touch-selector.c: Document
1490 hildon_touch_selector_center_on_selected()
1492 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1494 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1495 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1496 all menu items, but not the menu itself.
1497 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1498 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1499 items after adding them to the menu so keyboard accelerators work.
1500 (hildon_app_menu_show): Don't show the menu if it contains items
1501 but none of them are visible.
1503 * examples/hildon-app-menu-example.c (create_menu): Use
1504 gtk_widget_show_all() to show all menu items.
1506 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1508 * src/hildon-picker-dialog.c:
1509 (-_update_title_on_selector_changed_cb),
1510 (-_dialog_update_title): Removed.
1511 (_select_on_selector_changed_cb), (_on_dialog_response),
1512 (on_selector_columns_changed): Do not update the dialog title.
1513 (setup_interaction_mode): Do not connect to
1514 HildonTouchSelector::changed signal if there's a "done" button, as
1515 the dialog title doesn't need to be updated.
1517 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1520 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1522 Patch by Kristian Rietveld (kris@imendio.com)
1524 * src/hildon-touch-selector.c: (_create_new_column): Use new
1525 GtkTreeView::hildon-row-tapped signal to react to user interactions
1526 instead of ::changed.
1528 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1529 with some dynamic tree model)
1531 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1533 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1534 (+screen_size_changed, +label_size_request)
1535 (hildon_note_class_init): Make the Hildon information note have a
1536 minimum height, and make its text hvae a maximum width.
1538 Fixes: NB#98614 (Hildon information note (background) should have
1539 minimum height and maximum text width)
1541 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1543 * src/hildon-banner.h
1544 * src/hildon-banner.c (hildon_banner_show_information)
1545 (hildon_banner_show_informationf)
1546 (hildon_banner_show_information_with_markup): Update documentation
1547 to reflect that the icon_name parameter is not used anymore.
1548 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1549 Remove all code from these functions and mark them as deprecated.
1550 (hildon_banner_show_progress): Mark as deprecated.
1552 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1554 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1556 * src/hildon-pannable-area.c,
1557 (hildon_pannable_area_class_init),
1558 (tranparency_color),
1559 (hildon_pannable_draw_vscroll),
1560 (hildon_pannable_draw_hscroll),
1561 (hildon_pannable_area_expose_event): Added a new way to render the
1562 scrollbars of the pannable area avoiding using cairo at all. This
1563 way we improve the performance of the pannable area rendering. The
1564 cairo rendering procedure is still in the code, we can control
1565 which one to use changing the value of the define
1566 USE_CAIRO_SCROLLBARS.
1568 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1570 * configure.ac: post release version bump.
1571 * debian/changelog: version bump.
1573 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1578 * configure.ac: Bump version.
1579 * debian/changelog: Updates.
1581 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1583 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1584 banners instead of destroying them when they receive a button
1587 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1589 Reverted commit 34028, it was causing regressions, probably the
1590 topmost condition is not correct, we have to check it in more
1591 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1592 propagation of button press events)
1594 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1596 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1597 that the selection is not empty before attempting to retrieve the
1598 current ampm selection.
1600 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1602 * src/hildon-picker-button.c:
1603 (hildon_picker_button_on_dialog_response): Directly update the
1604 button contents when required instead of calling _selection_changed.
1606 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1608 * src/hildon-program.c (hildon_program_update_top_most): Update
1609 'is-topmost' property also when wm_hints is not set.
1611 Fixes: NB#98383 (is-topmost signal is not emitted when task
1612 switcher is clicked.)
1614 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1616 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1620 * src/hildon-animation-actor.c,
1621 * src/hildon-animation-actor.h: Added the animation actor class,
1622 this widget represents an animation actor for WM-assisted
1623 animation effects in the Hildon framework.
1625 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1627 * src/hildon-window-stack-private.h
1628 * src/hildon-window-stack.c
1629 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1630 Avoid calling gtk_widget_show() again indirectly from
1631 hildon_stackable_window_show()
1633 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1635 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1638 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1640 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1641 (hildon_time_selector_init): Move the construction of the hours and
1642 ampm columns to the constructor to preserve the order the columns
1645 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1647 * src/hildon-picker-dialog.c:
1648 (hildon_picker_dialog_class_init): Connect a realize method.
1649 (+hildon_picker_dialog_realize): Setup the interaction mode here
1651 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1652 yet, do it during the realize instead.
1653 (_on_dialog_response):
1654 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1655 if the widget is not realized, to avoid the dialog response before it
1658 Avoid premature responses in the HildonPickerDialog that can cause it
1659 to be hidden before it's even shown.
1661 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1663 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1664 (on_selector_columns_changed), (requires_done_button),
1665 (+prepare_action_area), (setup_interaction_mode),
1666 (_hildon_picker_dialog_set_selector):
1668 Split the interaction mode setup into preparation of the
1669 action area (prepare_action_area()) and the connection of
1670 the signals in setup_interaction_mode() and update the code to
1673 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1675 * src/hildon-pannable-area.c,
1676 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1677 per second to 15, we will check if this is ok regarding
1680 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1682 * src/hildon-pannable-area.c,
1683 (hildon_pannable_axis_scroll): Avoid resize if we already have
1684 reached overshoot_max.
1686 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1688 * src/hildon-pannable-area.c,
1689 (hildon_pannable_area_init),
1690 (hildon_pannable_area_realize),
1691 (hildon_pannable_area_size_allocate),
1692 (hildon_pannable_area_map),
1693 (hildon_pannable_area_unmap),
1694 (hildon_pannable_draw_vscroll),
1695 (hildon_pannable_draw_hscroll),
1696 (hildon_pannable_area_expose_event),
1697 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1698 pannable are to avoid the expose events go to the window and
1699 redraw the window. We save this way that part of the stack and the
1700 paint_boxes. We had to change the positions of the elements when
1703 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1706 * src/hildon-color-chooser-dialog.c:
1707 (hildon_color_chooser_dialog_init):
1708 * src/hildon-font-selection-dialog.c:
1709 (hildon_font_selection_dialog_init),
1710 (hildon_font_selection_dialog_show_preview):
1711 * src/hildon-get-password-dialog.c:
1712 * src/hildon-login-dialog.c:
1713 * src/hildon-set-password-dialog.c:
1714 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1715 * src/hildon-time-picker.c: (hildon_time_picker_init):
1717 Remove obsolete logical string IDs and update to the appropriate ones.
1719 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1721 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1724 that happens if the window hasn't been realized yet.
1726 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1727 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1729 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1731 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1732 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1735 Fixes: NB#98537 (Device hangs in account settings dialog)
1737 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1739 * configure.ac: post release version bump.
1740 * debian/changelog: version bump
1742 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1747 * configure.ac: Bump version.
1748 * debian/changelog: Updates.
1750 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1752 Added a new function to the HildonTimeButton widget that allows to
1753 change the step of the minutes in the selector associated with the
1754 button: hildon_time_button_new_step
1756 * src/hildon-time-button.c,
1757 (hildon_time_button_init),
1758 (hildon_time_button_new),
1759 (hildon_time_button_new_step):
1760 * src/hildon-time-button.h: Added the new function and refactored
1762 * examples/hildon-time-button-example.c,
1763 (main): We have replaced the function without parameters with the
1764 function with the steps set to 5
1766 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1768 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1770 * src/hildon-time-selector.c,
1771 (hildon_time_selector_class_init),
1772 (hildon_time_selector_constructor),
1773 (hildon_time_selector_get_property),
1774 (hildon_time_selector_set_property),
1775 (_create_minutes_model),
1776 (hildon_time_selector_new_step),
1777 (hildon_time_selector_set_time),
1778 * src/hildon-time-selector.h: Added a new property to the
1779 HildonTimeSelector (minutes-step), we use that property to control
1780 the steps between the minutes in the list of the selector. We have
1781 added a new function to the API to create a widget changing the
1782 step: hildon_time_selector_new_step.
1784 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1786 * src/hildon-time-selector.c,
1787 (hildon_time_selector_class_init),
1788 (hildon_time_selector_constructor),
1789 (hildon_time_selector_init): Overrided the construct function when
1790 creating the time selector object. We have moved the minutes model
1791 handling code from the init to the new construction function:
1792 hildon_time_selector_constructor.
1794 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1796 * examples/hildon-date-button-example.c: (main): Use the new
1797 hildon_date_button_new_with_year_range() method in the example.
1798 * src/hildon-date-button.c:
1799 (+hildon_date_button_new_with_year_range): New public method
1800 to conveniently create a HildonDateButton with a custom year range
1801 in its HildonDateSelector.
1802 * src/hildon-date-button.h: Add the new public method definition.
1804 Fixes: NB#97908 (Not possible to change the year range in
1805 HildonDateSelector/HildonDateButton)
1807 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1809 * src/hildon-date-selector.c:
1810 (+hildon_date_selector_set_property),
1811 (+hildon_date_selector_get_property),
1812 (hildon_date_selector_class_init): Install new properties "min-year"
1813 and "max-year" to define boundaries for the year column.
1814 (_create_year_model): Use the boundary properties to populate the model.
1815 (+hildon_date_selector_new_with_year_range): New public method to
1816 create a HildonDateSelector with a user defined year range.
1817 (hildon_date_selector_select_current_date): Use the new boundaries to
1818 calculate the iterator of current year.
1819 * src/hildon-date-selector.h: Add the new public method definition.
1821 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1823 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1824 Install a constructor method.
1825 (+hildon_date_selector_construct_ui): construct the widget.
1826 (+hildon_date_selector_constructor): new constructor.
1827 (+hildon_date_selector_init): move out widget construction code to
1828 the new constructor.
1830 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1832 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1833 that there's actually a month or year selected before obtaining them.
1834 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1835 of the HildonTouchSelector::changed signal, as it was emitted on every
1836 single item selection.
1838 Fix some warnings and possible crashers due to the selection restoring.
1840 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1842 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1843 the signal handlers only after creating the dialog instead of on every
1846 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1848 * src/hildon-button.c (hildon_button_init)
1849 * src/hildon-check-button.c (hildon_check_button_init)
1850 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1851 focus when clicked by default.
1853 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1855 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1858 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1860 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1861 Alejandro G. Castro (alex@igalia.com)
1863 * src/hildon-picker-dialog.c:
1864 (hildon_picker_dialog_class_init): install new "center-on-show"
1866 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1867 (hildon_picker_dialog_set_property): add setter code for the new
1869 (hildon_picker_dialog_get_property): add getter code for the new
1871 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1872 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1875 Fixes: NB#92849 (Selected item is not always visible when
1876 HildonTouchSelector is shown)
1878 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1880 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1881 Alejandro G. Castro (alex@igalia.com)
1883 * src/hildon-touch-selector.c:
1884 (_create_new_column): Do not connect to the "realize" signal of the
1886 (hildon_touch_selector_append_column): center on the selected items
1887 when a new column is appended.
1888 (hildon_touch_selector_select_iter): Factor out the code to select a
1889 column to hildon_touch_selector_scroll_to().
1890 (+search_nearest_element): Method to retrieve the nearest selected
1891 element to the visible area of the pannable area in a column.
1892 (+on_realize_cb): scroll to the initially selected item.
1893 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1894 the pannable area is realized, otherwise delay this until it is.
1895 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1896 selected items of a given column.
1897 (+hildon_touch_selector_center_on_selected): Public method to center
1898 all columns on the nearest selected item.
1899 * src/hildon-touch-selector.h: Add definition for
1900 hildon_touch_selector_center_on_selected().
1902 Implement public API to ensure visibility of all selected items in
1903 a HildonTouchSelector.
1905 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1907 Fixed a problem in the fading when calling the scroll_to API, and
1908 improve scrollbar fading handling.
1910 * src/hildon-pannable-area.c,
1911 (hildon_pannable_area_grab_notify): avoid the timeout when the
1913 (hildon_pannable_area_button_press_cb),
1914 (hildon_pannable_area_motion_notify_cb): Code style changes.
1915 (hildon_pannable_area_button_release_cb): Review the conditions
1916 when releasing the mouse button to avoid unrequired fading
1918 (hildon_pannable_area_scroll_to): Do not calculate and set the
1919 velocity if the scroll is not required.
1921 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1924 Don't check whether the new selector is NULL: it cannot be.
1925 Hold a reference to the selector while doing the replacement.
1927 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1929 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1930 unnecessary size_request in a removed widget.
1932 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1935 an unnecessary reference tracking that was leaking.
1937 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1939 Added delayed motion notify event handling, this way we can
1940 discard redrawing if more than 25 events arrive per second.
1942 * src/hildon-pannable-area.c,
1943 (hildon_pannable_area_init): Initialized the new private atributes
1944 controlling this timeout
1945 (hildon_pannable_area_dispose): Remove the timeout that controls
1946 the motion notify events.
1947 (hildon_pannable_area_scroll): Added a condition to control the
1948 use of the acceleration.
1949 (hildon_pannable_area_motion_event_scroll_timeout),
1950 (hildon_pannable_area_motion_event_scroll): Added this two
1951 functions, they handle the motion notify events inside the
1953 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1954 to the scroll method with the new function.
1955 (hildon_pannable_area_button_release_cb): We have to remove the
1956 timeout handler and move to the last position if the last motion
1957 events were not handled.
1959 Fixes: NB#97028 (Pannable area updates on every motion event)
1961 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1963 * src/hildon-pannable-area.c,
1964 (hildon_pannable_area_get_topmost): Added a new parameter to
1965 filter the the windows that do not include those events. Added
1966 also a condition when finding the window to filter windows that do
1967 not ask for those events.
1968 (hildon_pannable_area_button_press_cb),
1969 (hildon_pannable_area_button_release_cb),
1970 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1971 topmost function, we have added the new parameter.
1973 Fixes: NB#97458 (Pannable area prevents propagation of button
1976 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1978 * src/hildon-pannable-area.c,
1979 (hildon_pannable_area_initial_effect): Added controls before
1980 launching the timeout and the idle functions.
1981 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1982 of the method, in some situations it can return with TRUE and 0 in
1984 (hildon_pannable_area_button_press_cb): We do not need to set
1985 DELAY for fading out here.
1987 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1989 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1991 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1992 post-cleaning if the selection is not NULL.
1994 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1996 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1997 all items before restoring the selection.
1999 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-touch-selector.c:
2002 (+hildon_touch_selector_unselect_all):
2003 * src/hildon-touch-selector.h: New API to unselect all items in a
2004 column of the touch selector.
2006 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2008 * src/hildon-pannable-area.c,
2009 (hildon_pannable_area_redraw): Added a call to the refresh
2010 function inside the redraw because apparently in some cases the
2011 change in the adjustment does not imply a size allocate.
2013 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2014 despite the view not being scrollable)
2016 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2018 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2019 leak. Check for NULL before attempting to set the window title.
2021 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2024 whether to show or not the 'Done' button each time the dialog is
2025 shown, as it depends on the HildonTouchSelector selection mode.
2027 Fixes: NB#96226 (In multiple selection mode Done button is shown
2028 sometimes in listpicker)
2030 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2032 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2033 for the number of columns in the HildonTouchSelector more than once.
2035 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2037 * src/hildon-touch-selector.c: Minor documentation fixes.
2039 * src/hildon-picker-dialog.c (+_dialog_update_title)
2040 (_select_on_selector_changed_cb)
2041 (_update_title_on_selector_changed_cb)
2042 (on_selector_columns_changed): Update dialog title when there's no
2043 'Done' button and also when the number of columns in the selector
2047 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2048 (+_selection_changed, hildon_picker_button_on_dialog_response)
2049 (hildon_picker_button_selector_selection_changed)
2050 (+hildon_picker_button_selector_columns_changed)
2051 (hildon_picker_button_set_selector): Update button value and emit
2052 'value-changed' when the number of columns in the selector
2056 Fixes: NB#96225 (Dialog titles are not shown according to the
2057 values selected in the list picker)
2059 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2061 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2062 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2063 New "arrow-width" and "arrow-height" style properties to set the
2064 size of the arrow button.
2065 Set name of arrow button ("hildon-edit-toolbar-arrow").
2067 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2068 graphics from theme)
2070 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-picker-button.c:
2073 (hildon_picker_button_selector_selection_changed): Use
2074 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2075 the dialog is present.
2077 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2078 the selection is accepted in the dialog)
2080 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2082 * src/hildon-color-chooser.h
2083 * src/hildon-color-chooser-dialog.h:
2084 Added G_BEGIN_DECLS and G_END_DECLS
2086 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2088 (_clean_current_selection): plug a leak in the list.
2090 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2092 * src/hildon-picker-dialog.c:
2093 (+free_path_list): Method to free a GList of GtkTreePaths.
2094 (_clean_current_selection), (_save_current_selection),
2095 (_restore_current_selection): Save the current selection in
2096 as a list of lists, to support multiple selection properly.
2098 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2100 patch by Claudio Saavedra (csaavedra@igalia.com)
2102 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2103 Store the press position.
2104 (+hildon_text_view_button_release_event): If the release position is
2105 close enough to the press position, move the cursor here. Otherwise,
2107 (hildon_text_view_class_init): Override GtkTextView press, release, and
2108 motion event handlers, disabling this way text selection through
2109 pointer interaction, and allowing the container widget to handle the
2112 Fixes: NB#95828 (HildonTextView functionality)
2114 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2116 Based on a patch by Iván Gómez (igomez@igalia.com)
2118 * src/hildon-button.[ch]
2119 * src/hildon-calendar.c
2120 * src/hildon-check-button.c
2121 * src/hildon-date-editor.c
2122 * src/hildon-date-selector.c
2123 * src/hildon-picker-button.c
2124 * src/hildon-time-editor.c
2125 * src/hildon-time-selector.c
2126 * src/hildon-touch-selector.[ch]:
2127 Documentation updates
2129 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2131 * src/hildon-pannable-area.c,
2132 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2133 threshold, it was required due to X events handling.
2135 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2137 * src/hildon-pannable-area.c,
2138 (hildon_pannable_area_grab_notify),
2139 (hildon_pannable_area_initial_effect),
2140 (hildon_pannable_area_button_press_cb),
2141 (hildon_pannable_area_button_release_cb),
2142 (hildon_pannable_area_scroll_cb),
2143 (hildon_pannable_area_scroll_to): Review the timeout management of
2144 the scrollbar, the frecuency was incorrectly set.
2146 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2148 * src/hildon-picker-button.c:
2149 (+hildon_picker_button_on_dialog_response),
2150 (hildon_picker_button_clicked): Present the dialog instead of
2151 running it with gtk_dialog_run().
2153 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2156 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2158 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2159 (hildon_app_menu_finalize): When a window is hidden it doesn't
2160 emit notify::is-topmost, so make sure than the menu also
2161 disappears in that case.
2162 (parent_window_topmost_notify): Renamed from parent_window_hidden
2164 Fixes: NB#94460 (stackable window's menu is not closed when its
2167 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2169 * src/hildon-touch-selector-entry.c:
2170 (+hildon_touch_selector_entry_set_input_mode),
2171 (+hildon_touch_selector_entry_get_input_mode):
2172 * src/hildon-touch-selector-entry.h: New methods to access the input
2173 mode in the selector's entry.
2175 Fixes: NB#93410 (API required for setting IM mode in
2176 HildonTouchSelectorEntry)
2178 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2180 * configure.ac: post release version bump.
2181 * debian/changelog: version bump
2183 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2188 * configure.ac: Bump version.
2189 * debian/changelog: Updates.
2191 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-touch-selector.c:
2194 (_hildon_touch_selector_has_multiple_selection): No need
2195 to initialize the variables here.
2197 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2199 * src/hildon-note-private.h
2200 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2201 (hildon_note_finalize, hildon_note_rebuild): Close information
2202 notes when they receive a button press.
2204 Fixes: NB#89890 (Information notes does not get disappeared after
2207 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2209 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2210 mark from the wizard title, as it's not really necessary. Also,
2211 do not display the page title if not set.
2213 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2215 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2216 (parent_window_hidden): Use the window's "is-topmost" property to
2217 detect when to hide the menu.
2219 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2222 (hildon_app_menu_finalize): If the parent window of the menu is
2223 hidden, hide the menu too.
2225 Fixes: NB#94460 (stackable window's menu is not closed when its
2228 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2231 * debian/libhildon1-examples.install
2233 * examples/Makefile.am:
2234 Use dh_install to install all examples.
2235 Use DEB_SRCDIR instead of defining SOURCE_DIR
2237 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2239 * configure.ac: post release version bump.
2240 * debian/changelog: version bump
2242 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2247 * configure.ac: bump version
2248 * debian/changelog: updates
2249 * debian/control: bump gtk+ dependency
2251 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2253 patch by Christian Dywan (christian@imendio.com)
2255 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2256 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2258 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2260 * src/hildon-check-button.c (hildon_check_button_init)
2261 (hildon_check_button_class_init, hildon_check_button_style_set)
2262 (hildon_check_button_apply_style):
2263 New "checkbox-size" style property.
2265 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2266 larger / configurable size)
2268 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2270 * configure.ac: post release version bump.
2271 * debian/changelog: version bump
2273 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2278 * configure.ac: bump version
2279 * debian/changelog: updates
2281 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2283 * doc/hildon-sections.txt
2284 * src/hildon-pannable-area.c
2285 * src/hildon-program.c
2286 * src/hildon-time-editor.c
2287 * src/hildon-touch-selector-entry.c:
2289 More documentation updates.
2291 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2293 * doc/hildon-sections.txt
2294 * src/hildon-caption.c
2295 * src/hildon-code-dialog.c
2296 * src/hildon-color-button.c
2297 * src/hildon-controlbar.c
2298 * src/hildon-date-editor.c
2299 * src/hildon-date-selector.c
2300 * src/hildon-edit-toolbar.c
2301 * src/hildon-find-toolbar.c
2302 * src/hildon-font-selection-dialog.c
2304 * src/hildon-program.c
2305 * src/hildon-range-editor.c
2306 * src/hildon-seekbar.c
2307 * src/hildon-time-editor.c
2308 * src/hildon-time-selector.c
2309 * src/hildon-volumebar-range.c
2310 * src/hildon-volumebar.c
2311 * src/hildon-vvolumebar.c
2312 * src/hildon-weekday-picker.c
2313 * src/hildon-window.c
2314 * src/hildon-wizard-dialog.c:
2316 Lots of documentation fixes.
2318 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2320 Patch contributed by Iván Gómez (igomez@igalia.com)
2322 * src/hildon-check-button.c:
2323 * src/hildon-date-button.c:
2324 * src/hildon-date-selector.c:
2325 * src/hildon-dialog.c:
2326 * src/hildon-edit-toolbar.c:
2327 * src/hildon-entry.c:
2328 * src/hildon-picker-button.c:
2329 * src/hildon-program.c:
2330 * src/hildon-text-view.c:
2331 * src/hildon-time-button.c:
2332 * src/hildon-touch-selector-entry.c:
2333 * src/hildon-window-stack.c:
2335 Add more "since" tags to the new API.
2337 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2339 * doc/hildon-sections.txt: Add below method.
2340 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2341 version for the hildonized scale.
2342 * src/hildon-gtk.h: Add the definition.
2344 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2346 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2348 * doc/hildon-sections.txt: Add missing entries for new methods.
2350 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2352 Added API to pannable are in order to get its adjustments. We
2353 added two properties to manage the values we had in the private
2356 * src/hildon-pannable-area.c:
2357 (hildon_pannable_area_class_init): Added hadjustment and
2358 vadjustment properties in order to expose horizontal and vertical
2360 (hildon_pannable_area_get_property),
2361 (hildon_pannable_area_set_property): Added code to handle the new
2363 (hildon_pannable_area_get_hadjustment),
2364 (hildon_pannable_area_get_vadjustment): API functions to get the
2366 * src/hildon-pannable-area.h:
2367 (hildon_pannable_area_get_hadjustment),
2368 (hildon_pannable_area_get_vadjustment): API functions to get the
2371 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2373 Fixed some leaks, after valgrinding.
2375 * src/hildon-touch-selector.c:
2376 (_default_print_func): Fixed a leak.
2377 (hildon_touch_selector_append_column): Fixed a leak.
2378 * src/hildon-date-button.c:
2379 (hildon_date_button_init): Fixed a leak.
2380 * src/hildon-date-selector.c
2381 (hildon_date_selector_finalize): Fixed a leak.
2383 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2385 Based on a patch by Christian Dywan (christian@imendio.com)
2387 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2389 * src/hildon-gtk.h: Add definition.
2391 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2393 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-picker-button.c: (hildon_picker_button_init),
2396 (hildon_picker_button_new): Set the HildonButton::style property
2397 in the init method, to propagate the value to the derived classes.
2399 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-button.c: (hildon_button_class_init): Do not make
2402 the "style" property a construct property.
2404 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-wizard-dialog.h
2407 * src/hildon-wizard-dialog.c
2408 (hildon_wizard_dialog_set_forward_page_func)
2409 * src/hildon-pannable-area.h
2410 * src/hildon-pannable-area.c
2411 (hildon_pannable_area_set_size_request_policy):
2412 Documentation fixes.
2414 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2416 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2418 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2420 * doc/hildon-sections.txt: Added sections file.
2422 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2425 * src/*.[ch]: Updates.
2427 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2429 * examples/hildon-progress-indicator-example.c: new file
2430 * examples/Makefile.am: include the new example program
2432 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2436 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2438 * configure.ac: post release version bump
2439 * debian/changelog: version bump
2441 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2446 * configure.ac: bump version
2447 * debian/changelog: updates
2448 * debian/control: bump gtk+ dependency
2450 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2452 * src/hildon-dialog.c: Mark as deprecated.
2453 * src/hildon-dialog.h: Mark as deprecated.
2454 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2455 from HildonDialog and still work, even if
2456 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2457 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2459 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2460 maemo changes) instead)
2462 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2464 * src/hildon-pannable_area.h:
2465 * src/hildon-pannable_area.c:
2466 (hildon_pannable_area_class_init),
2467 (hildon_pannable_area_set_property),
2468 (hildon_pannable_area_get_property),
2469 (hildon_pannable_area_size_request),
2470 (hildon_pannable_area_get_size_request_policy),
2471 (hildon_pannable_area_set_size_request_policy): Added new API
2472 allowing applications to control the request policy. Now they can
2473 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2474 children allocation (HILDON_MOVEMENT_CHILDREN).
2476 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2480 (hildon_gtk_tree_view_set_ui_mode)
2481 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2482 mode of treeviews and iconviews.
2484 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2486 * src/hildon-touch-selector-entry.c:
2487 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2488 of a GtkEntry to get proper theming.
2490 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2491 widget, not GtkEntry)
2493 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2496 no HildonWizardDialogPageFunc.
2498 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2500 Patch contributed by Iván Gómez (igomez@igalia.com)
2502 * src/hildon-app-menu.c:
2503 * src/hildon-button.c:
2504 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2505 * src/hildon-stackable-window.c:
2506 * src/hildon-time-selector.c:
2507 * src/hildon-touch-selector.c:
2508 * src/hildon-window.c:
2510 Add more "since" tags to the new API in hildon 2.2.
2512 2008-12-05 Tim Janik <timj@imendio.com>
2514 Patch contributed by Christian Dywan (christian@imendio.com)
2516 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2517 HildonSizeType, which are supplied by Gtk+ now.
2519 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2521 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2522 (with maemo changes) instead)
2524 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2526 Patch contributed by Iván Gómez (igomez@igalia.com)
2528 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2531 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2533 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2534 (some_page_func), (main): Update the example to use a
2535 HildonWizardDialogPageFunc function.
2537 * src/hildon-wizard-dialog-private.h: Add private data for
2538 the HildonWizardDialogPageFunc function usage.
2540 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2541 (destroy), (hildon_wizard_dialog_init), (response),
2542 (hildon_wizard_dialog_set_forward_page_func):
2543 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2544 that applications can use to stop a HildonWizardDialog to jump to
2547 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2550 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2552 * src/hildon-program.h
2553 * src/hildon-program-private.h
2554 * src/hildon-program.c (hildon_program_init)
2555 (hildon_program_set_common_app_menu)
2556 (hildon_program_get_common_app_menu):
2557 New API for setting a common HildonAppMenu for all
2558 HildonStackableWindows registered with the HildonProgram.
2560 * src/hildon-stackable-window.c
2561 (hildon_stackable_window_toggle_menu):
2562 Use the common HildonAppMenu if a window doesn't have a specific
2565 * src/hildon-app-menu-private.h
2566 * src/hildon-app-menu.c
2567 (hildon_app_menu_get_parent_window):
2568 Function to obtain the window a HildonAppMenu is attached to.
2569 (hildon_app_menu_set_parent_window):
2570 Hide the menu if the parent window is set to NULL.
2572 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2575 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2576 search widget to popup.
2578 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2580 * configure.ac: post release version bump
2581 * debian/changelog: version bump
2583 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2588 * configure.ac: bump version
2589 * debian/changelog: updates
2591 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2593 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2595 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2596 (hildon_window_stack_window_realized)
2597 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2598 Set the leader GdkWindow when a window is stacked and realized,
2599 unset it when it's unstacked.
2600 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2602 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2604 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-stackable-window.h
2607 * src/hildon-window-stack.h:
2608 Protect definition of HildonWindowStack using the preprocessor.
2610 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2612 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2613 Fix warning if all menu items are hidden.
2615 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2617 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2619 * src/hildon-controlbar.c:
2620 * src/hildon-hvolumebar.c:
2621 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2622 Multiple scale size defines updates.
2624 Fixes: NB#94322 (Scale Updates)
2626 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2628 * examples/hildon-app-menu-example.c (create_menu)
2629 Show items after adding them to the menu, as in the future the
2630 menu will no longer call gtk_widget_show() on the added items.
2632 * src/hildon-app-menu.c:
2633 Update example as explained above.
2635 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2637 * src/hildon-app-menu.c
2638 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2639 Make sure that all menu items have finger height.
2641 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2643 * src/hildon-picker-dialog.c:
2644 (_on_dialog_response), (_save_current_selection),
2645 (_restore_current_selection), (_clean_current_selection),
2646 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2647 Defined new functions in order to save the current internal selector
2648 selection previous open the dialog, in case that the use cancel the
2649 interaction, so the widget restores the previous selection.
2651 Fixes: NB#92032 (In calendar application, date values in 'new event'
2654 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2656 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2658 * src/hildon-button.c: Add a reference to the button examples in
2659 hildon-button-example.c
2661 * examples/hildon-button-example.c: Added examples of the most
2662 common button layouts.
2664 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2666 * src/hildon-app-menu.c (hildon_app_menu_show)
2667 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2669 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2671 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/hildon-picker-dialog.c:
2674 (hildon_picker_dialog_init): Initialize the signal id for
2675 HildonTouchSelector::columns-changed.
2676 (+on_selector_columns_changed): Set up the interaction mode everytime a
2677 column is added or removed from the HildonTouchSelector.
2678 (_hildon_picker_dialog_set_selector): Connect to
2679 HildonTouchSelector::columns-changed and keep track of it.
2681 Make sure to update the interaction mode of the dialog everytime a
2682 column is added or removed in the HildonTouchSelector.
2684 Fixes: NB#93228 (Done button is not shown always in listpicker)
2686 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2688 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2689 a new ::columns-changed signal.
2690 (hildon_touch_selector_append_column): Emit ::columns-changed.
2691 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2693 Add a ::columns-changed signal, emitted when the number of columns in a
2694 HildonTouchSelector changes.
2696 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2699 (_hildon_picker_dialog_set_selector): Factor out the code
2700 to set up the dialog interaction mode.
2702 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2705 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2706 to signal_changed_id.
2708 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2710 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2713 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2715 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2716 Updated the logical ids related to ampm format, as now it is required to
2717 show it correctly localized even on languages with no default
2718 abbreviations for am or pm
2719 (_check_am_pm_format): check correctly the 24h format gconf property
2721 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2723 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-button.c: Documentation updates.
2727 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2729 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2730 * src/hildon-caption.c: (hildon_caption_class_init):
2731 * src/hildon-color-button.c: (hildon_color_button_class_init):
2732 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2733 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2734 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2735 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2737 Remove deprecated GTK+ marshalers and replace them with the ones
2738 provided by GLib, for those available, add a marshaler for
2739 BOOLEAN:VOID, which is not available in GLib, and use it.
2741 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2744 the text from the previous column if there is no
2745 HildonTouchSelectorColumn::text-property set.
2747 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2749 * src/hildon-button.h
2750 * src/hildon-button.c (hildon_button_set_property)
2751 (hildon_button_get_property, hildon_button_class_init)
2752 (hildon_button_set_style, hildon_button_get_style):
2753 New "style" property to change the visual appearance of the
2756 * src/hildon-picker-button.c (hildon_picker_button_new):
2757 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2759 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2760 HildonButton look like PickerButton)
2762 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2764 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2765 column while building the default string.
2767 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2770 scroll indicator by default.
2772 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2774 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2776 * src/hildon-main.c: Fix the documentation for hildon_init()
2778 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2780 * doc/hildon-docs.sgml
2784 * src/hildon-window-stack-private.h
2785 * src/hildon-window-stack.h
2786 * src/hildon-window-stack.c:
2787 New HildonWindowStack object, that adds support for multiple
2788 stacks of windows per process.
2790 * src/hildon-stackable-window-private.h
2791 * src/hildon-stackable-window.h
2792 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2793 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2794 (hildon_stackable_window_show, hildon_stackable_window_hide)
2795 (hildon_stackable_window_class_init)
2796 (hildon_stackable_window_init):
2797 Use HildonWindowStack for stack management.
2799 * src/hildon-program.c (hildon_program_pop_window_stack)
2800 (hildon_program_peek_window_stack)
2801 (hildon_program_go_to_root_window):
2802 Add a fallback implementation to the deprecated functions using
2805 * examples/hildon-stackable-window-example.c:
2806 Use the new HildonWindowStack API.
2808 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2810 * src/hildon-stackable-window-private.h
2811 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2812 (hildon_stackable_window_hide, hildon_stackable_window_init):
2813 Remove all window stack management.
2815 * src/hildon-program-private.h
2816 * src/hildon-program.h
2817 * src/hildon-program.c (hildon_program_init)
2818 (hildon_program_pop_window_stack)
2819 (hildon_program_peek_window_stack)
2820 (hildon_program_go_to_root_window):
2821 Remove all window stack management and mark functions as
2824 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2826 * src/hildon-app-menu.c (hildon_app_menu_realize):
2827 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2829 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2831 * configure.ac: post release version bump
2832 * debian/changelog: version bump
2834 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2839 * configure.ac: bump version
2840 * debian/changelog: updates
2842 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2844 Based on initial code by Christian Dywan (christian@imendio.com)
2846 * doc/hildon-docs.sgml: Add section for hildon-main.
2847 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2848 * src/Makefile.am: Add new hildon-main.[ch]
2849 * src/hildon-defines.h: Update the icon sizes.
2850 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2851 new library initialization files and register icon sizes.
2852 * src/hildon-main.h: New declarations.
2853 * src/hildon.h: Include hildon-main.h
2855 Add new initialization functions to the library. These methods
2856 will register the hildon specific icon sizes and can be used in the
2857 future for other hildon specific bits.
2859 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2861 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2863 * src/hildon-window.c: (hildon_window_realize),
2864 (hildon_window_notify), (-hildon_window_update_title): Do not set
2865 the application name in the window title.
2867 Fixes: NB#89754 (Applications shouldn't display their names in the
2870 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2872 * src/hildon-note-private.h:
2873 * src/hildon-note.c: (hildon_note_set_property),
2874 (hildon_note_get_property), (hildon_note_class_init),
2875 (hildon_note_init), (hildon_note_finalize),
2876 (hildon_note_new_confirmation_with_icon_name),
2877 (hildon_note_new_information_with_icon_name):
2879 No need to mark as deprecated the actual code. Revert
2880 to avoid missing symbols in widgets using deprecated API.
2882 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2884 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2886 * src/hildon-volumebar.h
2887 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2888 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2890 * src/hildon-helper.h
2891 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2892 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2894 * examples/Makefile.am:
2895 Deprecate hildon-insensitive-example
2897 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2899 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2901 * examples/hildon-pannable-area-buttons-scroll-example.c:
2902 Make all buttons finger height
2904 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2906 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2908 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2909 update the day model only if it is really required, and to avoid the
2910 full-reconstruction aproach. Now it only add or remove the required days.
2912 The purpose of this is avoid superfluous HildonTouchSelector::changed
2915 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2916 with strange parameters)
2918 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2920 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2922 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2923 the WINDOW_TYPE property.
2925 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2927 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2930 Fix dependency to allow parallel compilation with make -jX
2932 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2934 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2935 color frame and some minor tweaks to make it more consistent with
2938 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2939 highlighted but not visible)
2941 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2943 * examples/Makefile.am: Fixed typo in the Makefile.am.
2945 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2947 Reviewed the use of MAEMO_GTK define, now we add the define in the
2948 compilation line, and we also add it to the pc file.
2950 * configure.ac: Added MAEMO_GTK define to the compilation command
2951 and removed it from the config.h.
2953 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2954 do not have to take care about this define if the library was
2958 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2960 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2962 * examples/Makefile.am,
2963 * examples/hildon-pannable-area-buttons-scroll-example.c,
2964 * examples/hildon-pannable-area-gesture-signals-example.c,
2965 * examples/hildon-pannable-area-scroll-jump-example.c,
2966 * examples/hildon-pannable-area-tree-view-example.c:
2967 Renamed the pannable area examples, now they have more meaningful
2970 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2972 * src/hildon-touch-selector.c:
2973 (hildon_touch_selector_set_column_selection_mode): Used of
2974 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2975 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2976 to avoid re-seting the same selection mode.
2978 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2979 breaks HildonPickerDialog)
2981 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2983 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2984 conditional in the Makefile.am
2986 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2988 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2989 Remove unused methods.
2991 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2993 * src/hildon-button.c (hildon_button_init):
2994 Make button images center-aligned by default
2996 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2999 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3000 activated, we have to think about how to deal with both defines
3001 MAEMO_GTK and MAEMO_CHANGES.
3003 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3005 * examples/hildon-app-menu-example.c (create_menu): Make all
3006 buttons finger size.
3008 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3010 Fixed the compilation without maemo gtk adding ifdefs with
3011 MAEMO_GTK define to the code, we have to check this version more
3014 * examples/Makefile.am: Added control to avoid some examples that
3015 just make sense with maemo gtk.
3018 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3019 hildon modes with the define.
3021 * examples/hildon-edit-toolbar-example.c,
3022 (create_icon_view): Create the icon view without hildon-gtk
3023 helpers if we are not using maemo gtk.
3025 * src/hildon-touch-selector.c,
3026 (_create_new_column): Create the treeview without hildon-gtk
3027 helpers if we are not using maemo gtk.
3029 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3031 * src/hildon-pnnable-area.c,
3032 (hildon_pannable_area_dispose),
3033 (hildon_pannable_area_button_press_cb),
3034 (hildon_pannable_area_child_mapped),
3035 (hildon_pannable_area_add),
3036 (hildon_pannable_area_remove): Added code to control the position
3037 of the event_window when adding and removing children from the
3038 pannable. We have to raise the event window when the child is
3041 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3042 selection mode using custom widget inside pannable)
3044 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3046 * configure.ac: post release version bump
3047 * debian/changelog: version bump
3049 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3054 * configure.ac: bump version
3055 * debian/changelog: updates
3057 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3059 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3060 search mode, in order to avoid lose the focus on the treeview when
3061 a hw key (like enter) is pressed.
3063 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3064 in HildonDateSelector dialog)
3066 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3068 * debian/rules: Added --enable-maintainer-mode
3069 * Makefile.am: Added ACLOCAL_AMFLAGS
3071 This allows to properly regenerate the Makefiles if you modify the
3072 configure.ac or any Makefile.am.
3074 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3076 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3077 properties, not needed at all.
3079 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3081 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3083 * src/hildon-note.c: (hildon_note_set_property),
3084 (hildon_note_get_property), (hildon_note_class_init),
3085 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3086 (hildon_note_new_confirmation_add_buttons): Remove icons.
3087 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3088 (hildon_note_new_information_with_icon_name): Deprecate.
3089 (hildon_note_new_confirmation): Act directly, without calling
3090 the deprecated constructor.
3091 (hildon_note_new_information): Act directly, without calling
3092 the deprecated constructor.
3093 * src/hildon-note.h: Mark deprecate methods as such.
3094 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3095 not run tests on the deprecated methods if built with deprecation
3098 Fixes: NB#91688 (Never show icons in information notes/confirmation
3101 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3103 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3104 (hildon_app_menu_key_press): Remove leftover usage of the
3105 private structure in HildonAppMenu struct.
3106 * src/hildon-app-menu.h: Remove leftover private structure
3107 from the HildonAppMenu struct.
3109 Fixes a crasher when using the HildonAppMenu.
3111 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3113 * src/hildon-picker-dialog.c: Use appropriate logical id
3114 for the default "Done" text.
3116 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3118 * configure.ac: post release version bump
3119 * debian/changelog: version bump
3121 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3123 Modified the way to scroll to the current selection just when the touch
3124 selector is shown on the screen, avoiding a g_idle. Added too a property
3125 to configure this behaviour. See hildon_pannable_area_jump_to_child
3126 documentation for more information.
3128 * src/hildon-touch-selector.c
3129 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3130 Added 'initial-scroll' property
3131 (hildon_touch_selector_set_property): Added
3132 (hildon_touch_selector_map): Removed as not required anymore
3133 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3134 only a concrete column, instead of iterate along all the columns
3136 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3141 * configure.ac: bump version
3142 * debian/changelog: updates
3144 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3147 compilation time warnings.
3149 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3151 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3152 the default value for HildonPannableArea::mov-mode to
3153 HILDON_PANNABLE_AREA_MODE_VERT.
3155 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3157 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3159 Reverting following commit:
3161 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3163 * src/hildon-app-menu-private.h
3164 * src/hildon-app-menu.[ch]
3165 * src/hildon-button.[ch]
3166 * src/hildon-check-button.[ch]
3167 * src/hildon-entry.[ch]
3168 * src/hildon-pannable-area.[ch]
3169 * src/hildon-text-view.[ch]:
3170 Added private field to the object's structure.
3172 because it causes an ABI breakage. We will need to introduce these
3173 changes later at some point. See NB#91636 for an extensive
3174 explanation and status.
3176 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3178 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3180 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3181 remove special cases that are no longer necessary.
3183 Fixes: NB#91016 (Change toolbar sizes, simplification)
3185 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3187 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3188 is shown in the cancel note.
3190 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3192 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3193 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3194 (hildon_seekbar_init): Remove steppers, remove expose event.
3195 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3197 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3199 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3201 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3202 label font to "SmallSystemFont" for vertically arranged buttons.
3204 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3207 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3209 * src/hildon-check-button.c
3210 (hildon_check_button_set_active, hildon_check_button_clicked):
3211 Don't access private parts directly, use getters instead.
3213 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-check-button.c (hildon_check_button_new):
3216 Align the contents of the check button to the left.
3218 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3220 * src/hildon-pannable-area.c,
3221 (hildon_pannable_area_scroll_to),
3222 (hildon_pannable_area_jump_to),
3223 (hildon_pannable_area_scroll_to_child),
3224 (hildon_pannable_area_jump_to_child): Replace the mapped
3225 precondition of these functions with the realized, it is the
3226 correct state of the widget in this case. Changed the
3227 documentation according to this modification.
3229 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3231 Added a new EXTRA_CFLAGS option to add the deprecated define to
3232 the compilation command. This way we can avoid using the define in
3233 the documentation compilation.
3235 * configure.ac: Defined EXTRA_CFLAGS.
3237 * examples/Makefile.am:
3239 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3241 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3243 * src/hildon-picker-dialog.c:
3244 Defined a utility macro with the desired touch selector height
3245 Removed currently unused separator, and title_label variables from
3247 (hildon_picker_dialog_init): Removed code related to the creation
3248 of unused private variables title_label and separator.
3249 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3250 to ensure correct visualization of the touch selector inside the dialog.
3251 * src/hildon-touch-selector.c
3252 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3253 ensure a concrete height of the widget.
3255 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3258 * tests/Makefile.am:
3260 Remove spurious whitespaces.
3262 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3265 compilation warning after the cancel button removal.
3267 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3269 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3271 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3272 Makefile.am, that way we can choose not to compile some examples
3273 and tests of the deprecated widgets.
3275 * examples/Makefile.am: Divided the sources in deprecated and
3278 * src/Makefile.am: Added undef statement of the deprecated
3279 symbol to the enums file generation process.
3281 * src/hildon-color-chooser-dialog.c
3282 * src/hildon-color-chooser-dialog.h
3283 * src/hildon-color-button.c
3284 * src/hildon-color-button.h
3285 * src/hildon-color-chooser.c
3286 * src/hildon-color-chooser.h
3287 * src/hildon-controlbar.c
3288 * src/hildon-controlbar.h
3289 * src/hildon-date-editor.c
3290 * src/hildon-date-editor.h
3291 * src/hildon-hvolumebar.c
3292 * src/hildon-hvolumebar.h
3293 * src/hildon-private.c
3294 * src/hildon-private.h
3295 * src/hildon-range-editor.c
3296 * src/hildon-range-editor.h
3297 * src/hildon-seekbar.c
3298 * src/hildon-seekbar.h
3299 * src/hildon-time-editor.c
3300 * src/hildon-time-editor.h
3301 * src/hildon-time-picker.c
3302 * src/hildon-time-picker.h
3303 * src/hildon-volumebar.c
3304 * src/hildon-volumebar.h
3305 * src/hildon-vvolumebar.c
3306 * src/hildon-vvolumebar.h
3307 * src/hildon-bread-crumb-trail.h
3308 * src/hildon-bread-crumb-trail.c
3309 * src/hildon-calendar-popup.c
3310 * src/hildon-calendar-popup.h
3311 * src/hildon-weekday-picker.c:
3312 * src/hildon-weekday-picker.h:
3313 * src/hildon-bread-crumb-widget.c:
3314 * src/hildon-bread-crumb-widget.h:
3315 * src/hildon-bread-crumb.c:
3316 * src/hildon-bread-crumb.h:
3317 * src/hildon-calendar.c:
3318 * src/hildon-calendar.h:
3319 * src/hildon-caption.c:
3320 * src/hildon-code-dialog.c:
3321 * src/hildon-code-dialog.h:
3322 * src/hildon-font-selection-dialog.c:
3323 * src/hildon-font-selection-dialog.h:
3324 * src/hildon-get-password-dialog.c:
3325 * src/hildon-get-password-dialog.h:
3326 * src/hildon-login-dialog.c:
3327 * src/hildon-login-dialog.h:
3328 * src/hildon-number-editor.c:
3329 * src/hildon-number-editor.h:
3330 * src/hildon-set-password-dialog.c:
3331 * src/hildon-set-password-dialog.h:
3332 * src/hildon-sort-dialog.c:
3333 * src/hildon-sort-dialog.h: This is the list of deprecated
3336 * src/hildon-touch-selector.c:
3337 * src/hildon-window.c: Added undef statement to avoid compilation
3340 * tests/Makefile.am: Divided the sources in deprecated and
3343 * tests/check_test.c,
3344 (configure_tests): Marked the deprecated code that was adding
3345 suites with deprecated tests.
3347 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3349 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-touch-selector.c: (_default_print_func): Do not
3352 duplicate a string returned by gtk_tree_model_get(), it is already
3355 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3358 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3360 * src/hildon-pannable-area.c
3361 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3362 method, it had problems when adding a widget with viewport the
3363 second time. Now checks if it already has a viewport and uses it.
3365 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3368 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3370 * src/hildon-pannable-area.c,
3371 (hildon_pannable_area_scroll_to),
3372 (hildon_pannable_area_jump_to),
3373 (hildon_pannable_area_scroll_to_child),
3374 (hildon_pannable_area_jump_to_child): Added a precondition to the
3375 scroll and jump to functions: the widget must be mapped before we
3376 can safely call these functions. We have also added documentation
3377 to the functions to explain how to use them in this situation.
3380 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3382 Reviewed the threading handling of the pannable widget, we have
3383 used the gdk_threads_add_timeout function instead of the usual
3384 glib handlers. This avoids some problems with the threads.
3386 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3387 (hildon_pannable_area_initial_effect),
3388 (hildon_pannable_area_scroll_indicator_fade),
3389 (hildon_pannable_area_button_press_cb),
3390 (hildon_pannable_area_timeout),
3391 (hildon_pannable_area_motion_notify_cb),
3392 (hildon_pannable_area_button_release_cb),
3393 (hildon_pannable_area_scroll_cb),
3394 (hildon_pannable_area_scroll_to): Removed the
3395 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3396 gdk_threads_add_timeout.
3398 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3400 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3405 * configure.ac: bump version
3406 * debian/changelog: updates
3408 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3410 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3411 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3412 * src/hildon-color-chooser-dialog.c:
3413 (hildon_color_chooser_dialog_init):
3414 * src/hildon-font-selection-dialog.c:
3415 (hildon_font_selection_dialog_init):
3416 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3418 Remove all cancel/close-like dialogs, as these are not going to be
3421 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3423 * src/hildon-note.c: (hildon_note_rebuild),
3424 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3427 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3429 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3431 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3432 sure all buttons are shown, even the Cancel/Close-like ones.
3434 Fixes: NB#90861 (Custom Confirmation dialogs should be
3435 protected from cancel button removal)
3437 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3439 * debian/control: Change libhildon1-examples dependency from libhildon1
3441 * debian/libhildon1-examples.install
3443 * Makefile.am: Modified the final install directory for the examples on
3444 package libhildon1-examples
3445 * Makefile.static: Update clean target in order to remove all the binary
3448 Changes suggested by Claudio after review new libhildon1-examples package
3450 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3452 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3453 * src/hildon-touch-selector.c: Ditto.
3455 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3457 * debian/control: Added new package libhildon1-examples, in order to pack
3458 the current hildon examples as documentation
3459 * debian/rules: Not to compress .c files, modify some includes on the
3460 examples (as normally are compiled locally, but when installed it will
3461 require to include the installed libhildon1 library), and rename
3463 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3464 install all the example files on the new example package
3465 * examples/Makefile.static: Added static makefile that can be used to
3466 compile the examples, once installed the new example package
3467 * examples: Most of the examples were modified in order to grant that
3468 all use only '#include "hildon.h"', in order to be easy to prepare
3469 it on the example package
3471 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3474 * debian/libhildon1-dev.install
3475 * debian/libhildon1-doc.install:
3476 Move all gtk-doc files to a separate libhildon1-doc package.
3478 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3480 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3482 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3484 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3486 * debian/rules: Fixed a error in order to avoid unnecessary calls
3487 to autogen.sh on package building
3489 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3491 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3493 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3495 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3498 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-picker-button.c
3501 (hildon_picker_button_finalize):
3502 Free priv->done_button_text
3504 * src/hildon-time-button.c
3505 (hildon_time_button_set_time)
3506 * src/hildon-picker-button.c
3507 (hildon_picker_button_clicked)
3508 (hildon_picker_button_selector_selection_changed)
3509 (hildon_picker_button_set_selector)
3510 * src/hildon-date-button.c
3511 (hildon_date_button_set_date):
3512 Free strings returned by hildon_touch_selector_get_current_text()
3514 * src/hildon-button.c (hildon_button_construct_child):
3515 Fix leaks in priv->image and priv->label_box
3517 Fixes: NB#90535 (Memory leak in picker button)
3519 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-button.c: (hildon_button_get_property): Do not access
3522 private elements directly, use getters instead.
3524 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-app-menu-private.h
3527 * src/hildon-app-menu.c
3528 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3529 Store the menu's parent window.
3531 * src/hildon-stackable-window.c
3532 (hildon_stackable_window_toggle_menu)
3533 (hildon_stackable_window_finalize):
3534 Set the menu's parent window when the menu is shown, unset it when
3537 * src/hildon-app-menu.c
3538 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3539 (hildon_app_menu_class_init):
3540 Send unhandled keyboard accelerators to the parent window.
3542 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3544 * src/hildon-stackable-window.c
3545 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3547 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3549 * configure.ac: post release version bump
3551 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3554 * configure.ac: Bump version
3555 * debian/changelog: Updates
3556 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3559 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3561 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3564 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3565 GtkMenu with Hildon style.
3567 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3569 * src/hildon-picker-button.c:
3570 (hildon_picker_button_set_done_button_text): Set the dialog's
3571 done button text here as well.
3573 Fixes: NB#90232 (Picker button does not set the label on done button
3574 for the second time)
3576 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3578 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3581 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3583 * src/hildon-app-menu.c (hildon_app_menu_insert)
3584 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3585 the HildonAppMenu to be activatable using keyboard accelerators
3586 when the menu is not being shown.
3588 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3590 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3592 * src/hildon-stackable-window.c
3593 (hildon_stackable_window_show):
3594 Don't hide old windows automatically when new windows are shown:
3595 this is now a task for the window manager.
3596 (hildon_stackable_window_class_init)
3597 (hildon_stackable_window_hide):
3598 Remove windows from the stack everytime they're hidden.
3599 (hildon_stackable_window_realize):
3600 Don't change the _NET_WM_WINDOW_TYPE property. Use
3601 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3602 it as a stackable window.
3604 * src/hildon-program.c
3605 (hildon_program_pop_window_stack):
3606 Just hide the window to remove it from the stack.
3607 (hildon_program_go_to_root_window):
3608 Don't call gtk_widget_show(), this is now a task for the window
3611 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3613 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-button.c
3616 (hildon_button_construct_child):
3617 Don't pack anything in the button until text or image are
3618 set. This allows adding a custom child after creating the button
3619 with hildon_button_new().
3620 (hildon_button_finalize, hildon_button_class_init)
3621 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3622 alignment and the label box even when they're not packed in the
3625 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3627 * src/hildon-touch-selector.h:
3628 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3629 currently the type definition was using GTK_TYPE_VBOX
3630 * src/hildon-touch-selector.c:
3631 Added some implementation notes in order to clarify that any other widget
3632 added without the column related API will not be included on the
3633 selection logic, and how the widget is freed, as some people ask about
3635 (hildon_touch_selector_remove): Reimplemented in order to free properly
3636 the column related data when you remove the private hbox.
3637 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3638 to get a proper HildonTouchSelectorColumn documentation
3640 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3642 * src/hildon-touch-selector-entry.c:
3643 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3644 text in the GtkEntry and there is no item selected. Fixes a
3647 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3649 * src/hildon-app-menu-private.h
3650 * src/hildon-app-menu.[ch]
3651 * src/hildon-button.[ch]
3652 * src/hildon-check-button.[ch]
3653 * src/hildon-entry.[ch]
3654 * src/hildon-pannable-area.[ch]
3655 * src/hildon-text-view.[ch]:
3656 Added private field to the object's structure.
3658 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3660 * configure.ac: post-release version bump
3662 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3666 * configure.ac: pre-release version bump
3668 * debian/changelog: updates.
3670 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3672 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3673 Disconnect the handler for HildonTouchSelector::changed.
3675 (hildon_picker_button_selector_selection_changed): Update the button
3676 value if the selection change was not triggered by the
3679 (hildon_picker_button_set_selector): connect to
3680 HildonTouchSelector::changed.
3682 Fixes: NB#89650 (Picker button is not updated, when selection in
3683 selector has changed)
3685 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3687 * src/hildon-picker-dialog.c
3688 (hildon_picker_dialog_realize): Removed as not required
3689 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3690 * src/hildon-picker-button.c
3691 (_current_selector_empty): New function, checks if the selector is empty
3692 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3693 if the current selector is empty, in order to avoid to show the dialog
3694 close the dialog in this case (and shows a g_warning).
3696 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3698 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3700 * src/hildon-pannable-area.c,
3701 (hildon_pannable_area_scroll): Added clause to stop movement when
3702 the child of pannable is smaller than one page.
3703 (hildon_pannable_area_scroll_to): Added conditions to avoid
3704 starting the scrolling movement if the child is smaller than one
3705 page, the complete child is in the screen, we do not have to move.
3707 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3709 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3712 this is managed automatically by the widget when the size of the
3715 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3717 * src/hildon-picker-button.c
3718 (hildon_picker_button_set_done_button_text): Make a copy of the
3719 text, and free the previous value.
3721 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3723 * src/hildon-touch-selector-entry.c:
3724 (hildon_touch_selector_entry_print_func): Return the selected row's
3725 text if the entry is empty.
3727 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3730 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3732 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3734 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3737 * src/hildon-check-button.h
3738 * src/hildon-check-button.c
3739 * examples/hildon-check-button-example.c:
3740 HildonCheckButton is now a new widget. 'toggled' signal added.
3742 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3744 * src/hildon-program-private.h
3745 * src/hildon-program.c (hildon_program_init)
3746 (hildon_program_finalize): Removed unused variables group_leader
3747 and name from HildonProgramPrivate.
3749 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-check-button.c (hildon_check_button_set_active)
3752 (hildon_check_button_get_active, hildon_check_button_new): Use
3753 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3755 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3757 * src/hildon-touch-selector.h
3758 (hildon_touch_selector_set_column_attributes): added deprecation
3759 guard HILDON_DISABLE_DEPRECATED
3760 * src/hildon-time-selector.c
3761 (hildon_time_selector_set_time)
3762 (hildon_time_selector_get_time): Fixed a typo on documentation
3763 * src/hildon-touch-selector.c: update HildonTouchSelector and
3764 HildonTouchSelectorColumn documentation
3765 * src/hildon-touch-selector-entry.c: update "text-column" property
3767 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3768 to be added to the general documentation.
3770 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3772 * examples/hildon-pannable-area-example-4.c,
3774 * examples/hildon-pannable-area-example.c,
3775 (main): Modified the code in order to use the container add, with
3776 viewport treeviews could have problems if they are really big.
3778 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3780 * src/hildon-weekday-picker.c,
3781 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3782 the agreement regarding deprecation in the library.
3784 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3786 * examples/hildon-picker-button-multicolumn-example.c:
3787 (main): Use custom "done" button text.
3789 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3790 (hildon_picker_button_set_property),
3791 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3792 (hildon_picker_button_init),
3793 (+hildon_picker_button_get_done_button_text),
3794 (+hildon_picker_button_set_done_button_text): New methods to customize
3795 the "done" button label in the launched HildonPickerDialog. Also,
3798 * src/hildon-picker-button.h: add the public API.
3800 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-date-selector.h:
3803 * src/hildon-picker-dialog.h:
3804 * src/hildon-time-selector.h:
3805 * src/hildon-touch-selector-column.h:
3806 * src/hildon-touch-selector.h:
3808 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3809 declarations. Fixes gtk-doc warnings.
3811 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3813 * src/hildon-picker-dialog.h
3814 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3815 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3817 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3818 long text is set as label for done button)
3820 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-dialog.c (hildon_dialog_add_button):
3823 Set fixed width to all buttons in the HildonDialog.
3825 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3827 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3829 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3830 Set widget name using class name plus "-finger" or "-thumb".
3832 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3834 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3835 'clicked' when the state of the button is manually changed.
3837 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-app-menu.c (hildon_app_menu_realize)
3840 (hildon_app_menu_unrealize, hildon_app_menu_init)
3841 (hildon_app_menu_class_init, item_visibility_changed):
3842 Change the menu layout when the size of the screen changes.
3843 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3844 Show warning only when changing the number of colums using the
3847 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3849 * debian/compat: Set to 5
3850 * debian/control: Update dependencies.
3851 * debian/libhildon1-dbg.install: Remove.
3852 * debian/libhildon1-dev.install: Update according to cdbs paths.
3853 * debian/libhildon1.install: Update according to cdbs paths.
3854 * debian/rules: Switch to cdbs.
3856 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3858 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3859 'item' variable renamed to 'filter'
3861 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3863 * src/hildon-app-menu.c (hildon_app_menu_insert)
3864 (hildon_app_menu_add_filter, remove_item_from_list)
3865 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3866 Don't leak hidden items when the menu is destroyed.
3868 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3870 * src/hildon-app-menu.c (hildon_app_menu_insert)
3871 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3872 (hildon_app_menu_set_columns, item_visibility_changed)
3873 (filter_visibility_changed, hildon_app_menu_repack_filters)
3874 (hildon_app_menu_repack_items):
3875 Repack items and filters separately.
3877 Don't repack all items, change only the ones that are needed to
3880 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3882 * src/Makefile.am: added hildon-touch-selector-column.h
3884 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3886 * src/hildon-touch-selector.c: added the property "text-column" to the
3887 class HildonTouchSelectorColumn, and related get/set functions
3888 (_default_printf_func): updated to use "text-column" property
3889 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3890 "text-column" in his documentation, as this is now included on
3891 HildonTouchSelectorColumn. The get/set_property can still be used,
3892 working as a wrapper to the concrete column "text-column" property
3893 (_text_column_modified): callback added in order to handle the signal
3894 "notify::text-column" of the concrete HildonTouchSelectorColumn
3895 (hildon_touch_selector_entry_get_text_column)
3896 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3897 modified in order to use the HildonTouchSelectorColumn "text-column"
3899 * src/hildon-time-selector.c:
3900 * src/hildon-date-selector.c:
3901 * examples/hildon-touch-selector-example.c
3902 * examples/hildon-touch-selector-multi-cells-example.c
3903 * examples/hildon-picker-button-multicolumn-example.c
3904 Set the right value to "text-column" property on the creation of a new
3905 column using hildon_touch_selector_append_column()
3907 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3909 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3911 * src/hildon-app-menu.c
3912 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3913 updating the layout of the menu, don't create all widgets again,
3914 just repack the items in their new places.
3916 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3918 * src/hildon-time-selector.c
3919 (hildon_time_selector_get_time)
3920 (hildon_time_selector_set_time)
3921 Added documentation of these public methods
3923 * src/hildon-date-button.h
3924 * src/hildon-touch-selector-column.h
3925 * src/hildon-time-button.h
3926 * src/hildon-picker-dialog.h
3927 * src/hildon-time-selector.h
3928 * src/hildon-picker-button.h
3929 * src/hildon-touch-selector.h
3930 * src/hildon-time-picker.h
3931 * src/hildon-date-selector.h
3932 * src/hildon-touch-selector-entry.h
3933 Modified in order to use hildon-widgets code style
3935 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3937 Added deprecated support to the compilation process using
3938 HILDON_DISABLE_DEPRECATED
3940 * configure.ac: Added the --disable-deprecated to the configure
3943 * src/hildon-weekday-picker.c:
3944 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3945 to use the deprecated support. We will update the other deprecated
3946 widgets status in a new patch.
3948 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3950 * configure.ac: Fixed typo with fatal warnings support, the
3951 variable name was not correct
3953 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3955 * src/hildon-app-menu.c
3956 * src/hildon-program.c: Update documentation.
3958 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3960 * configure.ac: Post-release version bump.
3962 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3967 * configure.ac: Pre-release version bump.
3968 * debian/changelog: Updates.
3970 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3972 * NEWS: Update news for previous releases.
3974 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3976 * examples/hildon-touch-selector-multi-cells-example.c:
3977 (create_selector): Update the example to use
3978 hildon_touch_selector_append_column() with a NULL renderer and set
3979 the renderers later.
3980 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3981 passed a NULL renderer. This is documented behavior now.
3983 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3984 This must be used if the developer wants full control on the layout of
3985 the renderers to be added to the column.
3987 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3989 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3991 * src/hildon-touch-selector.c: Documentation fixes.
3993 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3995 * src/hildon-wizard-dialog-private.h: Remove image and box.
3996 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3997 (hildon_wizard_dialog_set_property), (response): Completely remove
3998 image/icon support, and the containers required for the layout.
4000 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4002 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4004 * src/hildon-app-menu.c: Updated documentation.
4006 * src/hildon-stackable-window.c
4007 (hildon_stackable_window_set_main_menu): Unref the old menu after
4008 ref'ing the new one.
4010 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4012 * src/hildon-stackable-window.c
4013 (hildon_stackable_window_set_main_menu): Unref the previous menu
4014 instead of destroying it.
4016 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4017 floating reference and set has_user_ref_count to FALSE to make
4018 HildonAppMenu act like a normal ref-counted widget and not a
4021 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4024 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4026 * src/hildon-touch-selector-column.h: new file
4027 * src/hildon-touch-selector.h
4028 * src/hildon-touch-selector.c
4029 Implemented GtkCellLayout interface, in order to allow to configure
4030 the cell layout on each individual selector column
4031 (hildon_touch_selector_set_column_attributes): marked as deprecated
4032 * examples/hildon-touch-selector-multi-cells-example.c
4033 Example of how to use the GtkCellLayout interface on the selector
4035 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4037 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4039 * src/hildon-app-menu.h
4040 * src/hildon-app-menu.c
4041 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4042 (hildon_app_menu_append, hildon_app_menu_prepend):
4043 New methods to prepend, insert and move items in the menu.
4045 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4047 * src/hildon-wizard-dialog.c:
4049 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4051 (create_title): Update logical IDs and related code.
4052 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4054 * src/hildon-wizard-dialog.h: Note that
4055 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4056 point, as it is not used anymore.
4058 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4060 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4062 * src/hildon-note.c:
4063 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4064 shown. Do not display an icon in confirmation notes nor information
4066 (hildon_note_set_button_text): Update logical ID for cancel button.
4068 Fixes: NB#88850 (Update HildonNote button strings + signals)
4070 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-stackable-window.c
4073 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4075 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4077 * src/hildon-app-menu-private.h
4078 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4079 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4080 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4081 temporary property 'columns' to change the number of columns.
4083 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4085 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4087 * examples/hildon-note-example.c: (on_information_clicked),
4088 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4089 debugging information.
4090 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4092 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4093 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4094 in order to close: this will be handled by the WM from now on.
4096 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4098 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4100 * src/hildon-app-menu-private.h
4101 * src/hildon-app-menu.c
4102 (hildon_app_menu_append, hildon_app_menu_add_filter)
4103 (button_visibility_changed, hildon_app_menu_apply_style)
4104 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4105 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4106 layout everytime a button (item or filter) is shown or hidden.
4108 * src/hildon-stackable-window.c
4109 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4112 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4114 * src/hildon-touch-selector.c:
4115 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4116 that the treeview inside the touch selector is in fremantle hildon mode
4117 * examples/hildon-date-button-example.c
4118 * examples/hildon-picker-button-multicolumn-example.c
4119 * examples/hildon-touch-selector-entry-example.c
4120 * examples/hildon-touch-selector-example.c
4121 * examples/hildon-time-button-example.c
4122 * examples/hildon-picker-button-example.c:
4123 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4125 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4127 * examples/hildon-text-view-example.c: (main): Remove the
4128 gtkrc bits, now handled by the theme.
4130 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4132 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4135 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4137 * po/Makefile.am: Install properly the mo files.
4138 * po/en_GB.po: Update translation, to ease testing purposes.
4140 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4142 * examples/hildon-picker-button-example.c: (main): Select an item
4143 in the selector before setting it to the button.
4145 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4147 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4148 Update button's value if the selector has an item active.
4150 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4151 'value' with the selector)
4153 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4155 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4156 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4157 (hildon_picker_button_class_init): Plug the finalize method.
4158 (hildon_picker_button_set_selector): If there's a previously set
4159 selector, unref'it before setting a new one.
4161 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4162 HildonTouchSelector)
4164 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4166 * src/hildon-touch-selector-entry.c:
4167 (hildon_touch_selector_entry_changed): Check if there is no text
4168 selected before setting the entry text.
4171 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4173 * src/hildon-touch-selector.h
4174 * src/hildon-touch-selector.c
4175 (hildon_touch_selector_get_active)
4176 (hildon_touch_selector_set_active): New methods to set/get the
4177 index of the selected item.
4179 * src/hildon-picker-button.h
4180 * src/hildon-picker-button.c
4181 (hildon_picker_button_get_active)
4182 (hildon_picker_button_set_active): New methods to set/get the
4183 index of the selected item.
4185 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4187 * configure.ac: post-release version bump.
4189 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4193 * configure.ac: Pre-release version bump.
4194 * debian/changelog: Updates.
4195 * debian/control: Add myself as maintainer and depend on l10n
4198 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4200 * src/hildon-window.c
4201 (hildon_window_set_main_menu)
4202 * src/hildon-stackable-window.c
4203 (hildon_stackable_window_set_main_menu):
4204 Updated documentation.
4206 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4208 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4209 Don't free selector->priv manually.
4212 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4215 (hildon_gtk_window_set_progress_indicator):
4216 * src/hildon-gtk.h: Added the new API
4217 hildon_gtk_window_set_progress_indicator, it changes the state of
4218 the window progress hint.
4220 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4222 * src/hildon-button.c
4223 * src/hildon-stackable-window.c: Minor documentation updates.
4225 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4227 * src/hildon-stackable-window.c: Updated documentation.
4229 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-defines.h: Update margins definitions
4232 to the Fremantle sizes.
4235 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4237 * src/hildon-touch-selector.c,
4238 (_hildon_touch_selector_set_model): Cleaning the code after
4239 review, removed g_print and #if 0 from the code.
4241 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4243 * src/hildon-edit-toolbar.c: Update documentation.
4245 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4247 * src/hildon-check-button.h
4248 * src/hildon-check-button.c
4249 (hildon_check_button_set_label, hildon_check_button_get_label)
4250 * examples/hildon-check-button-example.c
4251 (button_clicked_cb):
4252 Removed deprecated methods.
4254 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4256 * src/hildon-text-view.c:
4257 Add sample code to the documentation.
4259 * src/hildon-entry.h
4260 * src/hildon-text-view.h:
4261 Minor cosmetic changes.
4263 * src/hildon-entry.c:
4264 Add sample code to the documentation.
4265 (hildon_entry_init, hildon_entry_refresh_contents):
4266 Don't allow NULL values in the placeholder.
4268 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4270 * doc/hildon-docs.sgml
4272 * examples/Makefile.am
4273 * examples/hildon-text-view-example.c
4275 * src/hildon-text-view.c
4276 * src/hildon-text-view.h
4278 New HildonTextView widget, with example.
4280 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4282 * po/POTFILES.in: Add missing files with translatable strings.
4283 Partially fixes NB#88287.
4285 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4287 * examples/hildon-pannable-area-example-2.c: (main): No need to
4288 set the cellrenderer height inside hildon touch lists, the theme does
4291 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4293 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4294 they are integrated in the theme.
4296 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4298 * examples/hildon-entry-example.c: Update the example adding
4299 widgets to modify the text and the placeholder of the HildonEntry.
4301 * src/hildon-entry.c: Show the placeholder everytime the widget
4302 is empty and loses the focus.
4304 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4306 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4308 * src/hildon-pannable-area.c,
4309 (hildon_pannable_area_size_request): Fixed bug in height
4310 requisition, avoid increasing size and add border twice.
4312 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4314 * configure.ac: postrelease version bump.
4316 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4320 * configure.ac: Prerelease version bump.
4321 * debian/changelog: update.
4322 * debian/rules: make -dbg package contain useful debugging symbols.
4324 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4326 * src/hildon-dialog.h
4327 * src/hildon-dialog.c
4328 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4329 New methods to add buttons with finger size.
4330 (hildon_dialog_new_with_buttons):
4331 Create buttons with finger size.
4333 * examples/hildon-dialog-example.c (main): Use HildonDialog
4334 methods to add buttons.
4336 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4338 * src/hildon-entry.c: Updated HildonButton documentation.
4340 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4342 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4343 button value label with (FALSE, FALSE) to prevent NB#88126 from
4346 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4348 * examples/hildon-pannable-area-example.c,
4349 (main): Removed examples panning a vbox inside a pannable
4350 area. Check bug NB#87965
4352 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4354 Patch contributed by Kris Rietveld (kris@imendio.com)
4356 * src/hildon-pannable-area.c,
4357 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4358 get_size and get_position, this saves an X server roundtrip.
4360 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4362 * doc/hildon-docs.sgml
4364 * examples/Makefile.am
4365 * examples/hildon-entry-example.c
4367 * src/hildon-entry.c
4368 * src/hildon-entry.h
4370 New HildonEntry widget, with example.
4372 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-button.c (hildon_button_construct_child): Pack the
4375 image with expand == fill == FALSE. This is a workaround for a bug
4378 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4380 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4381 labels for the text column, to make it more look more dynamic.
4383 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4385 * src/hildon-time-selector.c
4386 Define gettext auxiliar macro N_
4387 (_create_minutes_model)
4388 (_create_hours_model)
4389 (_create_ampm_model): use of strftime in order to fill the model
4390 * src/hildon-date-selector.c
4391 (hildon_date_selector_finalize):
4392 (_locales_init): remove the logic related to get the name of the months
4393 using nl_langinfo, as it is not required anymore
4395 (_create_year_model)
4396 (_create_month_model)
4397 (_update_day_model): use of strftime in order to fill the model properly
4400 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4402 * src/hildon-button.h
4403 * src/hildon-button.c (hildon_button_get_image): New method to
4406 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4408 * src/hildon-touch-selector.c:
4409 (hildon_touch_selector_remove_column): Remove from the correct parent
4410 and also remove the list element and free it.
4413 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4415 * src/hildon-time-selector.c
4416 (_create_hours_model): change the range on 12h ampm format in order to use
4417 a 12-11 range instead of previous 01-12 range
4418 (hildon_time_selector_set_time): change the way to select the current time
4419 on 12h ampm format, due the change on the range
4420 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4423 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4425 * src/hildon-touch-selector.c
4426 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4427 in order to allow use this function on multiple row selection mode if
4428 the column is different that the first one
4431 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4434 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4436 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4438 * src/hildon-date-selector.h: clean some comments, now on the .c
4439 * src/hildon-date-selector.c
4440 (hildon_date_selector_select_month): first implementation
4441 (hildon_date_selector_select_day): added documentation, reimplemented
4442 using hildon_date_selector_select_current_date to avoid repeat code
4445 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4447 Reviewed interaction logic based on device experiences, refactored
4450 * src/hildon-pannable-area.c,
4451 (hildon_pannable_area_class_init): Updated default vmax speed.
4452 (hildon_pannable_area_calculate_velocity): Added this function, it
4453 avoids duplicate valocity calculation. Adjusted calculation to
4454 avoid problems with zero dist events.
4456 (hildon_pannable_area_motion_notify_cb): Now we use the
4457 calculate_velocity function.
4459 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4461 * src/hildon-date-selector.c
4462 (hildon_date_selector_select_current_date): fix the day range check
4463 as it failed using the last day of the current month
4466 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4468 * src/hildon-touch-selector.c
4469 (hildon_touch_selector_get_num_columns): added a parameter validation
4472 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4474 * examples/Makefile.am
4475 * examples/hildon-edit-toolbar-example.c: Example of the
4476 HildonEditToolbar widget.
4478 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4480 * configure.ac: postrelease version bump.
4482 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4486 * configure.ac: prerelease version bump.
4487 * debian/changelog: update.
4489 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4491 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4492 renderer to display stock icons in the touch list. Also, set the sizes
4493 to the recommended in the style guide.
4495 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4496 * src/hildon-touch-selector.h
4497 (hildon_touch_selector_set_active_iter): renamed, now is
4498 hildon_touch_selector_select_iter
4499 (hildon_touch_selector_get_active_iter): renamed, now is
4500 hildon_touch_selector_get_selected
4501 (hildon_touch_selector_unselect_iter): added
4502 * src/hildon-touch-selector.c
4503 Update after API modification (methods renamed)
4504 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4505 order to avoid problems selecting multiple elements on the column
4506 (hildon_touch_selector_unselect_iter): added the implementation
4507 * src/hildon-time-selector.c
4508 * src/hildon-date-selector.c
4509 * src/hildon-touch-selector-entry.c
4510 Update methods calls after hildon-touch-selector.h API modification (methods
4513 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4515 * src/hildon-stackable-window.c
4516 (hildon_stackable_window_finalize): Call the parent class's finalize.
4518 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4520 * examples/hildon-touch-selector-example.c: (create_selector): Use
4521 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4524 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4526 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4527 set a cell background color, to respect theming.
4529 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4531 * doc/hildon-docs.sgml
4534 * src/hildon-edit-toolbar.c
4535 * src/hildon-edit-toolbar.h
4536 * src/hildon.h: New HildonEditToolbar widget.
4538 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4540 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4543 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4544 * src/hildon-touch-selector.c
4545 (_create_new_column): use g_object_set instead of two g_object_set_property
4547 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4548 * src/hildon-touch-selector.c
4549 (_create_new_column): use of hildon_gtk_tree_view_new to create
4550 the treeview, instead of use directly g_object_new
4551 (_create_new_column): update the property name "vindicator-mode" for the
4552 new one "vscrollbar-policy"
4553 * examples/hildon-date-button-example.c
4554 * examples/hildon-picker-button-multicolumn-example.c
4555 * examples/hildon-touch-selector-entry-example.c
4556 * examples/hildon-touch-selector-example.c
4557 * examples/hildon-time-button-example.c
4558 * examples/hildon-picker-button-example.c
4559 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4560 to all the treeviews inside a pannable area.
4562 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4564 * src/hildon-button.h
4565 * src/hildon-button.c (hildon_button_init)
4566 (hildon_button_set_arrangement, hildon_button_set_alignment)
4567 (hildon_button_set_title_alignment)
4568 (hildon_button_set_value_alignment)
4569 (hildon_button_set_image_alignment)
4570 (hildon_button_construct_child): New methods to set the alignment
4571 of the individual components of the button (title, value,
4572 image). Also, new method to alter the xscale and yscale properties
4573 of the GtkAlignment inside the button, so more complex layouts can
4576 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4578 * src/hildon-button.c (hildon_button_style_set)
4579 (hildon_button_class_init, hildon_button_set_arrangement)
4580 (hildon_button_construct_child): Apply style properties
4581 correctly. Use the 'image-spacing' style property too.
4583 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4585 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4586 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4589 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4591 * src/hildon-pannable-area.c,
4592 (hildon_pannable_area_size_request): Fixed problem with
4593 pannable-area size_request.
4595 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4597 Added management for the grab-focus to a child widget, like a
4598 range, we need to fade out the scrollbar when releasing.
4600 * src/hildon-pannable-area.c,
4601 (hildon_pannable_area_init): Connected the grab-focus signal to
4603 (hildon_pannable_area_grab_notify): Added this function in order
4604 to manage the situation when the grab-focus ends. We have to
4605 fade-out the scrollbar.
4607 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-app-menu.c: Minor documentation update.
4611 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4613 * src/hildon-app-menu.c
4614 * examples/hildon-app-menu-example.c (create_menu): Update
4615 examples and documentation to explain how to connect callbacks.
4617 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4619 * examples/hildon-button-example.c
4620 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4621 hildon_stackable_window_new instead of gtk_window_new
4623 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4625 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4626 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4627 (hildon_pannable_area_set_property),
4628 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4629 (hildon_pannable_area_unrealize),
4630 (hildon_pannable_area_size_request),
4631 (hildon_pannable_area_size_allocate),
4632 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4633 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4634 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4635 (hildon_pannable_area_initial_effect),
4636 (hildon_pannable_area_redraw),
4637 (hildon_pannable_area_scroll_indicator_fade),
4638 (hildon_pannable_area_expose_event),
4639 (hildon_pannable_area_get_topmost), (synth_crossing),
4640 (hildon_pannable_area_button_press_cb),
4641 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4642 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4643 (hildon_pannable_area_motion_notify_cb),
4644 (hildon_pannable_area_button_release_cb),
4645 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4646 (hildon_pannable_area_remove),
4647 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4648 chage the code layout to a more GtkWidget like. Review the use of
4651 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4653 * examples/hildon-pannable-area-example-4.c,
4654 (main): Modified the name of the hindicator_mode to
4657 * src/hildon-pannable-area.c,
4658 (hildon_pannable_area_class_init),
4659 (hildon_pannable_area_motion_notify_cb),
4660 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4661 we have reduced the amount of signals and managed reviewed its
4662 rationale. Changed the default decelerate value.
4664 (hildon_pannable_area_add),
4665 (hildon_pannable_area_redraw): Refactored functions.
4667 (hildon_pannable_area_init),
4668 (hildon_pannable_area_get_property),
4669 (hildon_pannable_area_set_property):
4670 (hildon_pannable_draw_vscroll),
4671 (hildon_pannable_draw_hscroll),
4672 (hildon_pannable_area_initial_effect),
4673 (hildon_pannable_area_expose_event),
4674 (hildon_pannable_area_scroll),
4675 (hildon_pannable_area_button_press_cb),
4676 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4677 and vindicator_mode with hscrollbar_policy and
4678 vscrollbar_policy. Replaced hscroll and vscroll with
4679 hscroll_visible and vscroll_visible.
4681 (hildon_pannable_area_refresh): Refactor the function, remove
4682 variables and check the calls to this function, added resize
4683 conditions in case the children change their layout.
4685 (hildon_pannable_area_size_request): Added more detailed
4686 size_request calculation.
4689 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4691 * src/hildon-color-chooser.c
4692 (init_borders): use the correct gtk_border_free instead of g_free, to
4693 avoid a crash when this widget is used (ie: the three color selection
4696 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4698 * src/hildon-check-button.c,
4699 (hildon_check_button_set_active): Fixed problem when setting the
4700 active value, the widget was not redrawn.
4702 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4704 * src/hildon-pannable-area.c,
4705 (hildon_pannable_area_refresh),
4706 (hildon_pannable_area_scroll),
4707 (hildon_pannable_area_motion_notify_cb): Small code style change.
4709 (hildon_pannable_area_class_init): Default initial_hint set to
4710 FALSE, it is not in the specs.
4712 (hildon_pannable_area_initial_effect),
4713 (hildon_pannable_area_expose_event),
4714 (hildon_pannable_area_map),
4715 (hildon_pannable_area_init): Moved the launching point of the
4716 initial effect, it was in map but the sizes where not correct in
4717 that method so we do not know if we have the reproduce it. Now it
4718 is placed in the expose_event method and uses a variable to
4719 reproduce it just once.
4721 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4723 * src/hildon-pannable-area.c,
4724 (hildon_pannable_draw_vscroll),
4725 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4726 position allowed for the scrollbars.
4728 (hildon_pannable_area_size_allocate): Small style change.
4730 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4732 * src/hildon-pannable-area.c,
4733 (hildon_pannable_area_scroll_indicator_fade),
4734 (hildon_pannable_area_button_press_cb),
4735 (hildon_pannable_area_button_release_cb),
4736 (hildon_pannable_area_scroll_cb),
4737 (hildon_pannable_area_expose_event),
4738 (hildon_pannable_area_init): Added the define parameter
4739 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4740 and refactor the fade variable.
4742 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4744 * src/hildon-pannable-area.c,
4745 (hildon_pannable_area_redraw),
4746 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4747 lines, we were reimplemeting the redraw code.
4749 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4751 * src/hildon-pannable-area.c,
4752 (hildon_pannable_area_scroll_cb),
4753 (hildon_pannable_area_realize),
4754 (hildon_pannable_area_class_init): Added scroll_event management
4755 for pannable area, now we can scroll the usual desktop method.
4757 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4758 initialization of the parameters should depend on idle_id.
4760 (hildon_pannable_area_init),
4761 (hildon_pannable_area_map): Small code style modifications
4763 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4765 * src/hildon-pannable-area.c
4766 (hildon_pannable_area_button_press_cb),
4767 (hildon_pannable_area_motion_notify_cb),
4768 (hildon_pannable_area_button_release_cb),
4769 (hildon_pannable_area_size_allocate),
4770 (hildon_pannable_area_scroll_to): Improved the timeouts
4771 management, we avoid creating them each time.
4773 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4775 * src/hildon-pannable-area.c:
4776 (hildon_pannable_area_refresh),
4777 (hildon_pannable_area_motion_notify_cb),
4778 (hildon_pannable_area_class_init):
4779 * src/hildon-pannable-area.h:
4780 * src/hildon-touch-selector.c
4781 (_create_new_column):
4782 * examples/hildon-pannable-area-example-4.c:
4783 (horizontal_movement),
4784 (vertical_movement),
4786 Replaced the names of enums in the HildonPannableArea:
4787 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4788 HILDON_MOVEMENT_MODE_*
4789 - HILDON_PANNABLE_AREA_MOV_* ->
4791 - Removed HildonPannableAreaIndicatorMode, now we
4794 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4796 * examples/hildon-pannable-area-touch-grid-example.c
4797 * examples/hildon-pannable-area-touch-list-example.c: Fix
4798 compilation warnings.
4800 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4802 * src/hildon-gtk.c (hildon_gtk_button_new)
4803 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4804 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4805 images overriding the value of the "gtk-button-images" setting.
4807 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4809 * src/hildon-check-button.c (hildon_check_button_new):
4810 Instead of using a custom container, display the label and the
4811 checkbox using the standard GtkButton API.
4813 * examples/hildon-check-button-example.c (main): Don't use
4814 hildon_check_button_set_label() anymore
4816 * src/hildon-check-button.h
4817 * src/hildon-check-button.c
4818 (hildon_check_button_set_label, hildon_check_button_get_label):
4819 Set as deprecated, now we're using gtk_button_{get,set}_label()
4821 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4823 * src/hildon-pannable-area.c,
4824 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4825 GtkTreeview first line we detected it after the inclusion of the
4826 GtkWindowImpl in gtk+. We now check if the window is visible, not
4827 just if the pointer is over the window.
4828 (hildon_pannable_axis_scroll),
4829 (hildon_pannable_area_expose_event): Small style changes.
4831 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4833 * src/hildon-button.c: Update documentation.
4835 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4837 * examples/hildon-button-example.c: Add a switch to show images in
4840 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4842 * doc/hildon-docs.sgml: Some docs reorganization.
4844 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4846 * examples/hildon-pannable-area-touch-list-example.c
4848 * examples/hildon-pannable-area-touch-grid-example.c
4849 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4850 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4851 Fix memory leak when setting the tree model.
4853 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4857 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4859 * doc/hildon.types: Remove duplicated hildon_window_get_type
4860 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4861 documentation comment.
4863 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4865 * doc/Makefile.am: Complete list of private headers.
4867 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4869 * doc/hildon-docs.sgml
4870 * src/hildon-app-menu.c
4871 * src/hildon-bread-crumb.c
4872 * src/hildon-button.c
4874 * src/hildon-program.c
4875 * src/hildon-stackable-window.c
4876 * src/hildon-window.c: Lots of documentation updates.
4878 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4880 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4882 * configure.ac: Require Gtk+ 2.12.9 at least
4884 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4886 * src/hildon-pannable-area.c
4887 (hildon_pannable_area_scroll_indicator_fade),
4888 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4889 to protect the return of this timeout callbacks, avoiding deadlocks.
4891 2008-08-12 Christian Dywan <christian@imendio.com>
4894 * src/hildon-*.h: Ensure a consistent include order,
4895 include <gtk/gtk.h> instead of particular files and
4896 only include the topmost header in the gtk stack. See NB #39857
4898 2008-08-12 Christian Dywan <christian@imendio.com>
4900 * src/hildon-picker-dialog.c
4901 * src/hildon-touch-selector.c: Fix warnings about unused and
4902 uninitialized variables.
4904 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4906 * examples/Makefile.am
4907 * examples/hildon-check-button-example.c: Example of the hildon
4910 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4912 * src/hildon-window.h
4913 * src/hildon-window.c (hildon_window_class_init)
4914 (hildon_window_unset_program): Don't make
4915 hildon_window_unset_program a virtual function anymore.
4917 * src/hildon-stackable-window.c: Update documentation
4919 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4922 * doc/hildon-docs.sgml
4923 * doc/visual_index.xml
4924 * src/hildon-defines.c
4926 * src/hildon-helper.c
4927 * src/hildon-range-editor.c: Lots of documentation fixes.
4929 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4931 * examples/hildon-picker-button-multicolumn-example.c
4932 (create_touch_selector): Fix compilation warning.
4934 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4936 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4937 (hildon_pannable_area_button_release_cb)
4938 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4940 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4945 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4947 * src/hildon-bread-crumb-trail.h
4948 * src/hildon-date-editor.c
4949 * src/hildon-date-selector.c
4950 * src/hildon-pannable-area.c
4951 * src/hildon-picker-dialog.c
4952 * src/hildon-time-selector.c
4953 * src/hildon-touch-selector-entry.c
4954 * src/hildon-touch-selector.c
4955 * src/hildon-touch-selector.h: Misc documentation fixes
4957 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4959 * examples/hildon-date-editor-example.c (main): Updated date
4962 * examples/hildon-note-example.c (on_confirmation_clicked):
4963 Updated confirmation note example.
4965 * src/hildon-date-editor.c
4966 * src/hildon-note.c: Updated sample programs in documentation.
4969 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4971 * src/hildon-date-button.h:
4972 * src/hildon-picker-button.h:
4973 * src/hildon-time-button.c:
4974 * src/hildon-time-button.h:
4976 Some declarations changes to allow gtk-doc to document the widgets
4979 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4981 * src/hildon-date-button.c: Document the widget.
4982 * src/hildon-time-button.c: Document the widget.
4984 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4986 * src/hildon-picker-button.c: Document the widget.
4987 * src/hildon-touch-selector-entry.c: Document the widget.
4989 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4991 * doc/hildon-docs.sgml
4994 * src/hildon-check-button.h
4995 * src/hildon-check-button.c: New functions to create the Hildon
4999 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5001 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5003 * src/hildon-button.h
5004 * src/hildon-button.c
5005 (hildon_button_add_title_size_group)
5006 (hildon_button_add_value_size_group)
5007 (hildon_button_add_image_size_group)
5008 (hildon_button_add_size_groups): New functions to set size groups
5009 for the button labels and image.
5010 (hildon_button_new_full): Removed
5012 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5014 * src/hildon-time-selector.c
5015 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5016 in order to avoid a crash if gconf is not available
5018 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5020 * src/hildon-button.c (hildon_button_set_arrangement)
5021 (hildon_button_construct_child): Don't construct the button child
5022 before setting the arrangement.
5024 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5026 * src/hildon-program-private.h
5027 * src/hildon-program.c
5028 * src/hildon-program.h
5029 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5030 (hildon_program_peek_window_stack)
5031 (hildon_program_pop_window_stack)
5032 (hildon_program_go_to_root_window): HildonProgram now has a
5033 separate list for stackable windows. Functions are provided to
5034 manage that list with a stack-like API.
5036 * src/hildon-stackable-window.c: Stackable window management is
5037 now much simpler with the new HildonProgram API. Windows no
5038 longer need to be manually added to the program, they're
5039 automatically pushed to the top of the stack when shown.
5041 * examples/hildon-stackable-window-example.c: Updated example to
5042 reflect the API changes.
5044 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-touch-selector.c: Comment out unimplemented
5047 hildon_touch_selector_insert_column() to avoid a compile warning.
5049 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5051 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5052 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5053 (hildon_touch_selector_set_column_selection_mode),
5054 (_hildon_touch_selector_set_model),
5055 (hildon_touch_selector_set_model):
5057 Complete review of HildonTouchSelector documentation.
5059 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5061 * doc/hildon-docs.sgml
5065 * src/hildon-gtk.c: Convenience functions for standard Gtk
5066 widgets, used to easily perform frequent operations.
5068 * src/hildon-button-helpers.h
5069 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5071 * src/hildon-helper.h
5072 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5073 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5075 * src/hildon-button.h
5076 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5078 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5080 * src/hildon-button.c (hildon_button_init)
5081 (hildon_button_set_arrangement, hildon_button_construct_child):
5082 Pack the image and the labels inside the same GtkAlignment so
5083 gtk_button_set_alignment() can be used
5085 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-button.h
5088 * src/hildon-button.c
5089 (hildon_button_init, hildon_button_set_image)
5090 (hildon_button_set_image_position)
5091 (hildon_button_construct_child): New functions to add an image to
5094 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5096 * src/hildon-date-button.c
5097 * src/hildon-picker-button.c
5098 * src/hildon-time-button.c
5099 * src/hildon-button.c:
5100 (hildon_button_class_init): "size-flags" renamed to "size"
5101 (hildon_button_set_title): Hide the title label if set to NULL.
5103 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5105 HildonButtonFlags split into HildonButtonArrangement (to set the
5106 button layout) and HildonSizeType (which can be used for any
5109 * src/hildon-button.h
5110 * src/hildon-button.c
5111 (hildon_button_class_init)
5112 (hildon_button_set_arrangement)
5113 (hildon_button_set_property): New "size-flags"
5114 property. "arrangement-flags" renamed to "arrangement".
5115 (hildon_button_new, hildon_button_new_with_text)
5116 (hildon_button_new_full): Constructors updated to reflect type changes.
5118 * src/hildon-helper.h
5119 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5120 to set the size of a widget.
5124 * src/hildon-button-helpers.c
5125 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5127 * src/hildon-date-button.c
5128 * src/hildon-date-button.h
5129 * src/hildon-picker-button.c
5130 * src/hildon-picker-button.h
5131 * src/hildon-time-button.c
5132 * src/hildon-time-button.h: Updated widgets to reflect
5133 HildonButton API changes.
5135 * examples/hildon-button-example.c
5136 * examples/hildon-date-button-example.c
5137 * examples/hildon-picker-button-example.c
5138 * examples/hildon-picker-button-multicolumn-example.c
5139 * examples/hildon-time-button-example.c
5140 * examples/hildon-touch-selector-entry-example.c
5141 * examples/hildon-touch-selector-example.c: Updated examples to
5142 reflect HildonButton API changes.
5144 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5146 * doc/hildon-docs.sgml:
5148 * examples/Makefile.am:
5149 * examples/hildon-touch-selector-entry-example.c:
5151 * src/hildon-touch-selector-entry.c:
5152 * src/hildon-touch-selector-entry.h:
5155 Moved HildonTouchSelectorEntry from sandbox. Added its
5156 documentation and examples.
5158 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5160 * src/hildon-touch-selector.h:
5161 * examples/hildon-picker-button-multicolumn-example.c:
5162 (hildon_touch_selector_append_text_column): Add a gboolean
5163 parameter to determine if text must be centered in the column.
5165 * src/hildon-date-selector.c: (hildon_date_selector_init):
5166 * src/hildon-time-selector.c: (hildon_time_selector_init):
5167 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5168 (create_touch_selector): Update widgets and example to reflect
5171 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5173 * src/hildon-touch-selector.c:
5174 (hildon_touch_selector_set_active_iter): Set also the cursor in
5177 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5179 * doc/hildon-docs.sgml
5182 * src/hildon-toggle-button.c
5183 * src/hildon-toggle-button.h
5184 * src/hildon.h: Removed HildonToggleButton widget, a derived
5185 class is not necessary for this.
5187 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5189 * src/hildon-pannable-area.c,
5190 (hildon_pannable_area_realize),
5191 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5194 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5196 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5197 "done" button the default widget for the dialog.
5199 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5201 * src/hildon-touch-selector.c:
5202 (hildon_touch_selector_class_init),
5203 (hildon_touch_selector_get_property),
5204 (_hildon_touch_selector_set_model),
5205 (_hildon_touch_selector_has_multiple_selection),
5206 (hildon_touch_selector_has_multiple_selection):
5207 Add a "has-multiple-selection" property with a virtual
5208 has_multiple_selection() method to allow derived classes to
5209 override the default value for it. See the method and property
5210 documentation for details.
5212 * src/hildon-touch-selector.h: Add the new API.
5214 * src/hildon-picker-dialog.c: (requires_done_button): Call
5215 hildon_touch_selector_has_multiple_selection() instead of
5216 determining the need for a button itself.
5218 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5220 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5221 (_hildon_touch_selector_set_model),
5222 (hildon_touch_selector_set_model): Move working code to
5223 _hildon_touch_selector_set_mode(). Call the class method instead.
5225 * src/hildon-touch-selector.h: Add (*set_model) to
5226 HildonTouchSelectorClass.
5228 Make hildon_touch_selector_set_model() a virtual method, so that
5229 derived classes can extend it and do fancy stuff with the model.
5231 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5233 * configure.ac: Set back the tarname in AC_INIT to hildon.
5235 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5239 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5240 instead of libesd (NB#86876). Volume handling is still an open issue.
5242 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5245 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5247 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5248 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5249 derived class to ease placement of an entry widget in
5250 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5251 end, where the selector columns are packed now.
5253 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5255 * src/hildon-picker-button.c: Removed the simple _text() API.
5256 * src/hildon-picker-button.h: Likewise.
5258 * src/hildon-touch-selector.h:
5259 * src/hildon-touch-selector.c:
5260 (hildon_touch_selector_new_text),
5261 (hildon_touch_selector_append_text),
5262 (hildon_touch_selector_prepend_text),
5263 (hildon_touch_selector_insert_text):
5265 Moved the simple _text() API from HildonPickerButton to
5266 HildonTouchPicker, to provide better escalability and not to tie
5267 that API to HildonPickerButton.
5269 * examples/hildon-picker-button-example.c: (main): Example updated.
5271 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5273 * src/hildon-button.c: Updated documentation.
5275 * examples/hildon-button-example.c: Add the posibility to create
5276 the buttons using horizontal layout for title and value.
5278 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5280 * src/hildon-app-menu-private.h
5281 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5282 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5283 GtkSizeGroup for the filters, use the 'homogeneous' property of
5286 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5288 * examples/hildon-button-example.c: Updated example.
5290 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5292 * doc/hildon-docs.sgml:
5295 Update documentation.
5297 * examples/Makefile.am: Update renamed examples.
5299 * examples/hildon-picker-button-multicolumn-example.c:
5300 (create_touch_selector), (main): Update after the rename.
5302 * examples/hildon-touch-picker-example.c: Removed.
5303 * examples/hildon-touch-selector-example.c: (value_changed),
5304 (create_selector), (get_visible_content), (main): Renamed from
5305 hildon-touch-picker-example.c
5307 * src/Makefile.am: Updated renamed files.
5309 * src/hildon-date-button.c: (hildon_date_button_init),
5310 (hildon_date_button_get_date), (hildon_date_button_set_date):
5311 * src/hildon-date-selector.c: (hildon_date_selector_init),
5312 (_custom_print_func), (_update_day_model),
5313 (_manage_selector_change_cb),
5314 (hildon_date_selector_select_current_date),
5315 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5316 * src/hildon-date-selector.h:
5317 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5318 (hildon_picker_button_set_property),
5319 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5320 (hildon_picker_button_init), (hildon_picker_button_new_text),
5321 (hildon_picker_button_append_text),
5322 (hildon_picker_button_prepend_text),
5323 (hildon_picker_button_insert_text),
5324 (hildon_picker_button_set_selector),
5325 (hildon_picker_button_get_selector):
5326 * src/hildon-picker-button.h:
5327 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5328 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5329 (_update_title_on_selector_changed_cb), (requires_done_button),
5330 (_hildon_picker_dialog_set_selector),
5331 (hildon_picker_dialog_set_selector),
5332 (hildon_picker_dialog_get_selector):
5333 * src/hildon-picker-dialog.h:
5334 * src/hildon-time-button.c: (hildon_time_button_init),
5335 (hildon_time_button_get_time), (hildon_time_button_set_time):
5336 * src/hildon-time-selector.c: (hildon_time_selector_init),
5337 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5338 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5339 * src/hildon-time-selector.h:
5342 Massive code updates after the rename.
5344 * src/hildon-touch-picker.c: Removed.
5345 * src/hildon-touch-picker.h: Removed.
5347 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5348 (hildon_touch_selector_init), (hildon_touch_selector_map),
5349 (hildon_touch_selector_remove), (_default_print_func),
5350 (_selection_changed_cb), (_create_new_column),
5351 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5352 (hildon_touch_selector_append_text_column),
5353 (hildon_touch_selector_remove_column),
5354 (hildon_touch_selector_set_column_attributes),
5355 (hildon_touch_selector_insert_column),
5356 (hildon_touch_selector_get_num_columns),
5357 (hildon_touch_selector_get_column_selection_mode),
5358 (hildon_touch_selector_set_column_selection_mode),
5359 (hildon_touch_selector_set_print_func),
5360 (hildon_touch_selector_get_print_func),
5361 (hildon_touch_selector_get_active_iter),
5362 (hildon_touch_selector_set_active_iter),
5363 (hildon_touch_selector_get_selected_rows),
5364 (hildon_touch_selector_get_model),
5365 (hildon_touch_selector_set_model),
5366 (hildon_touch_selector_get_current_text),
5367 (_hildon_touch_selector_center_on_selected_items):
5368 * src/hildon-touch-selector.h: Renamed from
5369 hildon-touch-picker.[ch]
5371 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5372 references, code examples, and related documentation.
5374 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5376 * doc/hildon-docs.sgml
5379 * src/hildon-toggle-button.c
5380 * src/hildon-toggle-button.h
5381 * src/hildon.h: New HildonToggleButton widget.
5383 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5385 * src/hildon-button.c: Add API documentation.
5386 (hildon_button_set_size_groups): Check input parameters
5388 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5390 * src/hildon-pannable-area.c
5391 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5392 effect after reaching the movement thredshold. This way we start
5393 using the distance after passing the thredshold.
5395 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5397 * src/hildon-button.c: (hildon_button_set_property): Use the
5398 appropriate g_value_get_flags() method.
5400 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5402 * doc/hildon-docs.sgml:
5405 Add the touch pickers, picker dialogs, and picker button widgets
5406 to the documentation.
5408 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5410 * src/hildon-button.c: (hildon_button_set_property),
5411 (hildon_button_class_init): Make "arrangement-flags" a proper
5412 G_TYPE_FLAGS derived property.
5414 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5416 * examples/Makefile.am: Add below examples.
5417 * examples/hildon-date-button-example.c:
5418 * examples/hildon-picker-button-example.c:
5419 * examples/hildon-picker-button-multicolumn-example.c:
5420 * examples/hildon-time-button-example.c:
5421 * examples/hildon-touch-picker-example.c:
5423 Add examples for the recently added touch pickers,
5424 picker dialogs, and picker button widgets.
5426 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5428 * src/hildon-button.c: Add some API documentation
5430 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5432 * src/hildon-button.h
5433 * src/hildon-button.c
5435 (hildon_button_new_with_text): New constructor to create a button
5436 with no text at all.
5437 (hildon_button_init, hildon_button_set_arrangement)
5438 (hildon_button_set_title, hildon_button_set_value)
5439 (hildon_button_set_text)
5440 (hildon_button_construct_child): Hide the value when it's not used
5441 so the rest of the text is properly aligned.
5442 Allow creating buttons with arbitrary widgets inside (not just
5443 title/value labels).
5445 * examples/hildon-button-example.c (vertical_buttons_window)
5446 (horizontal_buttons_window): Update example to use new API.
5448 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5450 * src/Makefile.am: Added HildonTimeButton.
5451 * src/hildon-time-button.c: Added missing LGPL header.
5452 * src/hildon-time-button.h: Added missing LGPL header.
5453 * src/hildon.h: Add hildon-time-button.h
5455 Copied HildonTimeButton from sandbox to trunk. Future work on this
5456 widget must take place in trunk.
5458 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5460 * src/Makefile.am: Added HildonDateButton.
5461 * src/hildon-date-button.c: Update includes.
5462 * src/hildon.h: Add hildon-date-button.h
5464 Copied HildonDateButton from sandbox to trunk. Future work on this
5465 widget must take place in trunk.
5467 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5469 * src/Makefile.am: Added HildonPickerButton.
5470 * src/hildon-picker-button.h: Update includes.
5471 * src/hildon.h: Add hildon-picker-button.h
5473 Copied HildonPickerButton from sandbox to trunk. Future work on
5474 this widget must take place in trunk.
5476 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5478 * src/Makefile.am: Added HildonPickerDialog.
5479 * src/hildon-picker-dialog.c: Update includes.
5480 * src/hildon.h: Add hildon-picker-dialog.h
5482 Copied HildonPickerDialog from sandbox to trunk. Future work
5483 on this widget must take place in trunk.
5485 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5487 * src/Makefile.am: Added HildonTimeSelector.
5488 * src/hildon.h: Add hildon-time-selector.h
5490 Copied HildonTimeSelector widget from sandbox to trunk. Future
5491 work on this widget must happen in trunk.
5493 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5495 * src/Makefile.am: Added HildonDateSelector.
5496 * src/hildon.h: Add hildon-date-selector.h
5498 Copied HildonDateSelector widget from sandbox to trunk. Future
5499 work on this widget must happen in trunk.
5501 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5503 * src/Makefile.am: Added HildonTouchPicker.
5504 * src/hildon-touch-picker.c: Update includes.
5505 * src/hildon.h: Add hildon-touch-picker.h
5507 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5508 on this widget must happen in trunk.
5510 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5512 * src/hildon-pannable-area.c:
5513 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5515 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5517 * examples/hildon-app-menu-example.c (main): Let the window
5520 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5522 * src/hildon-pannable-area.c
5523 (hildon_pannable_area_class_init): Set the min value of the
5524 overshoot properties to zero, which points out that not
5525 overshooting allowed.
5527 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5529 Modified the procedure to get the widget at a point inside the
5530 pannable area when using the movement type signals. Now the user
5531 has to call a function to get the child, that way we just
5532 calculate the child in case the user really want to use it and not
5535 * src/hildon-marshalers.list: Modified the marshallers, now we do
5536 not have the widget as a parameter.
5538 * src/hildon-pannable-area.c
5539 (hildon_pannable_area_motion_notify_cb),
5540 (hildon_pannable_area_class_init),
5541 (hildon_pannable_get_child_widget_at): Removed the widget
5542 parameter from the signal callback. We have also refactored the
5543 emission of the signals.
5545 * src/hildon-pannable-area.h: Added a new method to the API to
5546 calculate a widget at a point inside the pannable area,
5547 hildon_pannable_get_child_widget_at.
5549 * examples/hildon-pannable-area-example-4.c
5550 (horizontal_movement): Modified the example to use the new API,
5551 added condition to control which widget is under the event. This
5552 way we can avoid scrolling laterally over other widgets.
5554 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5556 * src/hildon-pannable-area.c
5557 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5558 modes, we stop getting the pointer events due to returning the
5559 callback without properly calling the get pointer again. Fixed
5560 also an error using the hscroll and vscroll.
5562 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5564 * src/hildon-app-menu-private.h
5565 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5566 (hildon_app_menu_button_release, hildon_app_menu_init)
5567 (hildon_app_menu_class_init): Don't hide the menu on button
5568 release if the user didn't press outside first.
5570 * src/hildon-window.h
5571 * src/hildon-window.c (hildon_window_toggle_menu)
5572 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5573 hildon_window_toggle_menu a virtual function for the stackable
5574 window to override it.
5576 * src/hildon-stackable-window.h
5577 * src/hildon-stackable-window-private.h
5578 * src/hildon-stackable-window.c
5579 (hildon_stackable_window_realize)
5580 (hildon_stackable_window_finalize)
5581 (hildon_stackable_window_class_init)
5582 (hildon_stackable_window_init)
5583 (hildon_stackable_window_set_main_menu): New function to set the
5584 app menu of a HildonStackableWindow.
5586 * examples/hildon-app-menu-example.c: Remove the button to show
5587 the app menu, now it'll be shown when clicking on the title bar
5590 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5592 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5593 set the widget name if the arrangement flags do not specify
5596 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5598 * src/hildon-button.c: (hildon_button_set_property),
5599 (hildon_button_class_init), (hildon_button_new_full),
5600 (hildon_button_set_arrangement): Added "arrangement-flags"
5603 Make the HildonButtonFlags a construction-only property, to allow
5604 subclasses to set them properly.
5606 2008-07-21 Tim Janik <timj@imendio.com>
5608 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5609 insertion position after backspace, so additional digits are appended,
5612 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5614 * src/hildon-pannable-area.c,
5615 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5616 TODO list, it was complete and removed the g_debug and g_print
5619 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5621 Added the movement modes to the hildon-pannable-area, with this
5622 modes the developers can control in which directions the widget
5623 can scroll. They can also connect to signals in order to do
5624 something when that happens, allowing applications scroll. There
5625 is an example uploaded showing how to use it.
5627 * examples/Makefile.am:
5628 * examples/hildon-pannable-area-example-4.c: Added this example of
5629 an application using the modes.
5631 * src/hildon-marshalers.list: Added a new marshaller for the new
5634 * src/hildon-pannable-area.h: Added new enumerations and flags in
5635 order to control the movement modes and the new signals to warn
5636 about the movements in the area.
5638 * src/hildon-pannable-area.c:
5639 (hildon_pannable_axis_scroll),
5640 (hildon_pannable_area_scroll),
5641 (hildon_pannable_area_motion_notify_cb),
5642 (hildon_pannable_area_get_property),
5643 (hildon_pannable_area_set_property),
5644 (hildon_pannable_area_map),
5645 (hildon_pannable_area_class_init),
5646 (hildon_pannable_area_init),
5647 (hildon_pannable_area_jump_to): Added the modes to control the
5648 movement in the widget. We have added properties to control it,
5649 signals to warn about the movements and refactored some code.
5651 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5653 Changes required in order to allow vfast_factor set to zero to
5656 * src/hildon-pannable-area.c:
5657 (hildon_pannable_area_button_press_cb): Changed the condition, it
5658 is required for not allowing click when vfast_factor is zero.
5659 (hildon_pannable_area_timeout): Initialized velocity variables
5660 when we stop moving, it was less than 1 but not zero and we need
5661 to check zero in some situations.
5662 (hildon_pannable_area_class_init): Changed the default value of
5663 the speed factor, now the button_press is just sent in case the
5664 speed is 2 per cent of the max speed.
5665 (hildon_pannable_area_init): Initialization with 0.
5667 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5669 * src/hildon-pannable-area.c,
5670 (hildon_pannable_area_get_topmost): replaced
5671 gdk_window_get_children with gdk_window_peek_children, this way we
5672 do not have to free the list because it is not a copy.
5674 (hildon_pannable_axis_scroll),
5675 (hildon_pannable_area_scroll),
5676 (hildon_pannable_area_timeout),
5677 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5678 two parameters that were only used inside the
5679 hildon_pannable_area_scroll function.
5681 * examples/hildon-pannable-area-example.c,
5682 (get_sawtooth_label): Fixed small memory leak.
5684 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5686 More checks for the case where the overshoot is bigger than the
5689 * src/hildon-pannable-area.c:
5690 (hildon_pannable_draw_vscroll),
5691 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5692 to draw the slider of the scrollbar under the other scrollbar.
5693 (hildon_pannable_area_expose_event): added new checks to control
5694 the drawing of the overshooting area rectangle, in case it is too
5695 big for the area of the widget.
5696 (hildon_pannable_area_size_allocate): add more checks to avoid
5697 setting a position to the child widget outside the area.
5699 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5701 * src/hildon-pannable-area.c
5702 (hildon_pannable_area_size_allocate): Added conditions to control
5703 when overshooting is bigger than the allocated space for the
5704 children, this avoids negative allocations.
5706 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5708 * doc/hildon-docs.sgml
5710 * examples/Makefile.am
5711 * examples/hildon-button-example.c
5713 * src/hildon-button.c
5714 * src/hildon-button.h
5715 * src/hildon.h: Initial version of the new HildonButton widget,
5718 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5720 * src/hildon-pannable-area.c:
5721 (hildon_pannable_area_button_press_cb),
5722 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5723 (hildon_pannable_area_motion_notify_cb),
5724 (hildon_pannable_area_button_release_cb),
5725 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5726 (hildon_pannable_area_jump_to_child):
5728 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5730 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5732 * examples/Makefile.am
5733 * examples/hildon-pannable-area-touch-grid-example.c
5734 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5735 the Hildon Touch List and Hildon Touch Grid using the
5736 HildonPannableArea widget.
5738 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5740 * src/hildon-pannable-area.c,
5741 (hildon_pannable_area_button_press_cb),
5742 (hildon_pannable_area_refresh),
5743 (hildon_pannable_area_scroll),
5744 (hildon_pannable_area_motion_notify_cb),
5745 (hildon_pannable_area_button_release_cb),
5746 (hildon_pannable_area_expose_event),
5747 (hildon_pannable_area_add),
5748 (hildon_pannable_area_remove),
5749 (hildon_pannable_area_realize),
5750 (hildon_pannable_area_size_allocate),
5751 (hildon_pannable_area_class_init),
5752 (hildon_pannable_area_init),
5753 (hildon_pannable_area_scroll_to_child),
5754 (hildon_pannable_area_jump_to_child): Fixed the problem of
5755 removing the child from the GtkBin, we have rearranged the widget
5756 hierarchy, now there is no GtkAlignment which was not doing
5757 anything interesting but breaking some of the assumptions of
5758 GtkContainer. Now developers if they want to add a GtkAlignment
5759 they could, but it is not inside the area.
5761 We had to review the whole allocation/expose process, now it is
5762 improved and we save at least three signals which would be saving
5763 some time when rendering the widget. The allocation of the
5764 scrollbars is now made in the allocate method as usual.
5766 We have also added some conditions in order to control when there
5767 is no child of the pannable area. Maybe we will need more work
5770 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5772 * src/hildon-pannable-area.c,
5773 (hildon_pannable_area_dispose): Released the fade-out timeout when
5774 disposing the widget.
5776 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5778 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5779 zero, we are going to use that property in order to deactivate the
5781 (hildon_pannable_axis_scroll),
5782 (hildon_pannable_area_size_allocate): Added conditions to control
5783 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5784 call, now it is called in all situations and we can remove calls
5785 in the allocate method.
5786 (hildon_pannable_area_map): Control the situation when
5787 overshoot_max is zero, we do not need the timeout.
5788 (hildon_pannable_area_class_init): Added documentation in order to
5789 point out that setting zero to overshoot_max means deactivate
5792 NOTE: removed trailing whitespaces from my previous comments of
5795 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5797 * src/hildon-pannable-area.c
5798 (hildon_pannable_area_get_property),
5799 (hildon_pannable_area_set_property),
5800 (hildon_pannable_area_map),
5801 (hildon_pannable_area_class_init),
5802 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5803 to cause the widget give a hint about its panning abilities upon
5806 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5808 * src/hildon-pannable-area.c: Several documentation improvements.
5810 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-program.c
5813 * src/hildon-stackable-window.c: Update documentation.
5815 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5817 * src/hildon-stackable-window.c (get_previous_window_if_last):
5818 Renamed get_last_window()
5819 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5820 (hildon_stackable_window_unset_program):
5822 (get_previous_window_if_last):
5823 Detect if the window hasn't been added to a HildonProgram.
5825 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5827 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5829 * src/hildon-pannable-area.c
5830 (hildon_pannable_area_button_press_cb),
5831 (hildon_pannable_axis_scroll),
5832 (hildon_pannable_area_scroll),
5833 (hildon_pannable_area_timeout),
5834 (hildon_pannable_calculate_vel_factor),
5835 (hildon_pannable_area_get_property),
5836 (hildon_pannable_area_set_property),
5837 (hildon_pannable_area_class_init),
5838 (hildon_pannable_area_init),
5839 (hildon_pannable_area_scroll_to),
5840 (hildon_pannable_area_jump_to),
5841 (hildon_pannable_area_scroll_to_child),
5842 (hildon_pannable_area_jump_to_child):
5843 * src/hildon-pannable-area.h: Added the new API functions:
5844 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5845 hildon_pannable_area_scroll_to_child,
5846 hildon_pannable_area_jump_to_child
5849 * examples/Makefile.am
5850 * examples/hildon-pannable-area-example-2.c
5851 * examples/hildon-pannable-area-example-3.c: Added these two new
5852 examples in order to test and show how the new APIs work.
5854 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5856 * examples/hildon-stackable-window-example.c (new_window):
5857 * src/Makefile.am (noinst_HEADERS):
5858 * src/hildon-program.c (hildon_program_go_to_root_window):
5859 * src/hildon-program.h:
5860 * src/hildon-stackable-window-private.h:
5861 * src/hildon-stackable-window.c:
5862 * src/hildon-stackable-window.h:
5863 Create hildon-stackable-window-private.h
5864 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5866 * examples/hildon-app-menu-example.c (create_menu):
5867 * examples/hildon-hvolumebar-insensitive-example.c (main):
5868 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5869 * examples/hildon-toolbar-seekbar-example.c (main):
5870 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5871 * src/hildon-banner.c (hildon_banner_set_property):
5872 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5873 Fix compilation warnings
5875 * src/hildon-window.c:
5878 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5880 * src/hildon-stackable-window.c
5881 (hildon_stackable_window_unset_program):
5882 Calculate correctly whether to show the previous window if the
5883 last one is removed from the stack.
5884 (hildon_stackable_window_go_to_root_window):
5885 Send delete events starting from the topmost window.
5886 Stop if one of the windows is not destroyed.
5888 (hildon_stackable_window_delete_event)
5889 (hildon_stackable_window_class_init):
5890 Ignore the delete event if the window is not the topmost one.
5892 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5894 * src/hildon-pannable-area.c
5895 (hildon_pannable_area_expose_event): Fixed a problem when
5896 selecting the background color of the scrollbars.
5898 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5900 * examples/hildon-stackable-window-example.c
5901 * src/hildon-stackable-window.c
5902 * src/hildon-stackable-window.h
5903 hildon_stackable_window_go_home() renamed to
5904 hildon_stackable_window_go_to_root_window()
5905 Send delete events to windows rather than closing them with
5906 gtk_widget_destroy()
5908 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5910 * src/hildon-pannable-area.c
5911 (hildon_pannable_area_button_release_cb): Fix overshooting in
5914 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5916 * src/hildon-pannable-area.c
5917 (hildon_pannable_area_init): Initially show the scroll indicators.
5918 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5920 Add initial effect showing the widget is pannable.
5922 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5924 * src/hildon-pannable-area.c
5925 (hildon_pannable_area_class_init)
5926 (hildon_pannable_area_set_property)
5927 (hildon_pannable_area_get_property)
5928 (hildon_pannable_area_button_press_cb):
5929 New 'velocity_fast_factor' property to decide which velocity is
5932 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5934 * src/hildon-pannable-area.c
5935 (hildon_pannable_draw_hscroll)
5936 (hildon_pannable_draw_vscroll):
5937 Use float variables to calculate the size of the scrollbars to
5938 avoid error propagation and resizing during scrolling.
5940 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5942 * src/hildon-pannable-area.c
5943 (hildon_pannable_draw_vscroll)
5944 (hildon_pannable_draw_hscroll):
5945 Define a minimum size for the scroll bars
5947 * src/hildon-stackable-window.c
5948 (hildon_stackable_window_go_home): Fix compilation warning
5949 (get_last_window): Minor optimizations
5950 (hildon_stackable_window_class_init): Fix initialization of
5953 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5955 * src/hildon-stackable-window.c: Fixed typos in doc
5957 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5959 * src/hildon-pannable-area.c
5960 (hildon_pannable_area_scroll):
5961 Calculate here whether we need to scroll instead of using the booleans
5962 that tell us whether to /draw/ the scrolling bars.
5964 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5966 * src/hildon-app-menu.h
5968 * src/hildon-app-menu.c
5969 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5970 multiple filter groups related code and API. Now we support only
5972 * examples/hildon-app-menu-example.c:
5974 Update to reflect API changes.
5976 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5978 * src/hildon-stackable-window.c
5979 (hildon_stackable_window_class_init):
5980 Add hildon_stackable_window_realize.
5981 (hildon_stackable_window_realize):
5982 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5983 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5984 to apply theming and behavior specific to HildonStackableWindow
5987 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5989 * src/hildon-note.c (hildon_note_button_release):
5990 Close information notes also when tapping on them
5992 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5994 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5995 ELASTICITY, refactor and review, fix some issues with drawing
5998 * src/hildon-pannable-area.c:
5999 (hildon_pannable_area_button_press_cb): removed the conditions to
6000 avoid clicks when overshooting. It is not required
6002 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6003 define. Refatored and reviewed the code, now we do not need to
6004 manage velocity in motion_notify.
6006 (hildon_pannable_area_motion_notify_cb): We have moved the code
6007 that controls the area_scroll to the axis_scroll function and get
6008 rid of duplicated code.
6010 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6012 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6014 (hildon_pannable_draw_vscroll),
6015 (hildon_pannable_draw_hscroll): Fixed the problems with the
6016 scrollbar drawing, now we do not use two surfaces, it is easier
6017 and saves resources.
6019 (hildon_pannable_area_get_property): Style modification.
6021 (hildon_pannable_area_class_init): Changed some default values.
6023 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6025 * src/hildon-stackable-window.c: Fix some typos in the
6028 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6030 * src/hildon-dialog.c:
6031 Change indentation style
6034 (hildon_note_button_release):
6035 Use root coordinates to check if the release event happened
6038 * src/hildon-app-menu.c
6039 (hildon_app_menu_button_release):
6040 Remove unnecessary check
6042 * examples/hildon-app-menu-example.c
6044 Add cast to fix warning
6046 * src/hildon-app-menu.c
6047 (hildon_app_menu_class_init):
6048 New inner-border style property.
6049 Set all default spacings to 16
6050 (hildon_app_menu_init):
6051 Use vertical-spacing to set the space between filter buttons and
6052 regular menu buttons.
6053 Set the default container border using the inner-border value.
6055 * examples/hildon-app-menu-example.c
6057 Don't set the menu border explicitly, now we have the inner-border
6058 style property for that.
6060 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6062 * src/hildon-app-menu.c (hildon_app_menu_init):
6063 Make the window modal
6065 * src/hildon-note.c (hildon_note_map)
6066 * src/hildon-app-menu.c (hildon_app_menu_map):
6067 Destroy the grab window if we're unable to grab the pointer
6069 * src/hildon-app-menu-private.h
6070 * src/hildon-app-menu.c
6071 (hildon_app_menu_init, hildon_app_menu_finalize)
6072 (hildon_app_menu_map, hildon_app_menu_unmap)
6073 (hildon_app_menu_button_release)
6074 (grab_transfer_window_get):
6075 Bring back the grab window
6076 (hildon_app_menu_realize):
6077 Decorate the window, set WM hint for Matchbox
6079 * src/hildon-note.c (hildon_note_realize):
6080 * src/hildon-banner.c (hildon_banner_realize):
6081 Add WM hints for Matchbox
6083 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-app-menu-private.h
6086 * src/hildon-app-menu.c
6087 (hildon_app_menu_init, hildon_app_menu_finalize)
6088 (hildon_app_menu_map, hildon_app_menu_unmap)
6089 (hildon_app_menu_button_release):
6090 Remove the grab window, it's not needed anymore
6092 * src/hildon-program.c
6093 Fixed typo in documentation
6095 * src/hildon-app-menu.h
6096 * src/hildon-app-menu.c
6097 * examples/hildon-app-menu-example.c
6098 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6100 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6103 Added new transfer_window and close_if_pressed_outside private
6105 (hildon_note_rebuild):
6106 Don't add a cancel button to the information note. It will be
6107 closed when tapping outside
6108 Remove the comment about the OK button in the documentation
6109 (hildon_note_realize):
6110 Set the notification type hint
6111 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6112 Grab/ungrab pointer and keyboard if the note has to be closed when
6114 (hildon_note_button_release):
6115 Close the note when tapping outside (if applicable)
6117 * src/hildon-app-menu.c
6118 Grab/ungrab pointer and keyboard on map/unmap
6119 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6120 Close the menu on button release, not button press
6122 * src/hildon-banner.c
6123 (hildon_banner_set_property)
6124 (hildon_banner_check_position):
6125 Make the banner use the full width of the screen
6126 (hildon_banner_show_information)
6127 (hildon_banner_show_information_with_markup):
6128 Don't display an icon by default
6130 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6132 Added fading scrollbars and adapted all the overshooting code to
6133 horizontal scrolling. We have also fixed bugs with overshooting
6134 and current fading implementation.
6136 * src/hildon-pannable-area.c
6137 (hildon_pannable_area_scroll_indicator_fade): Time out function
6138 used to change the transparency of the scrollbars.
6140 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6141 control and fixed a problem with fading, we now remove the fade
6142 timeout before adding a new one.
6144 (hildon_pannable_axis_scroll):
6145 (hildon_pannable_area_scroll):
6146 (hildon_pannable_area_timeout): Added this functions so we can use
6147 the scroll code both for vertical and horizontal.
6149 (hildon_pannable_area_motion_notify_cb):
6150 (hildon_pannable_area_button_release_cb): Added the horizontal
6151 scrolling control, fixed a problem with the overshooting timeout.
6153 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6154 painting of the scrolls.
6156 (hildon_pannable_draw_vscroll):
6157 (hildon_pannable_draw_hscroll):
6158 (hildon_pannable_area_expose_event):
6159 Draw both scrollbars and rectangles in the overshooting area.
6161 (hildon_pannable_area_get_property):
6162 (hildon_pannable_area_set_property):
6163 Modified the overshoot property to overshoot_max
6165 (hildon_pannable_area_map):
6166 Replaced the comments symbols.
6168 (hildon_pannable_area_size_allocate):
6169 (hildon_pannable_area_class_init):
6170 (hildon_pannable_area_init): Added horizontal scroll, fading
6171 effect properties, fixed a problem when overshooting in the bottom
6174 * examples/hildon-pannable-area-example.c:
6175 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6176 looks better in the example.
6178 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6180 * src/hildon-window.c
6181 * src/hildon-window.h
6182 (hildon_window_class_init)
6183 (hildon_window_unset_program)
6184 (hildon_window_unset_program_real):
6185 Make unset_program a virtual function
6187 * src/hildon-stackable-window.c
6188 * src/hildon-stackable-window.h
6189 Added hildon_stackable_window_go_home()
6191 * examples/Makefile.am
6192 * examples/hildon-stackable-window-example.c
6193 HildonStackableWindow example
6195 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6197 * hildon-pannable-area.c: Added the overshoot property and removed
6198 the OVERSHOOT define. Fixed an indent style error.
6199 (hildon_pannable_area_motion_notify_cb):
6200 (hildon_pannable_area_get_property):
6201 (hildon_pannable_area_set_property): Add overshoot property.
6203 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6206 (hildon_pannable_area_class_init): Installed the new property.
6208 * hildon-pannable-area-example.c: Added a sawtooth function, this
6209 way it is easier to check the movement in the pannable.
6210 (get_sawtooth_label): Added this function.
6211 (main): Now we get the labels from the new get_sawtooth_label
6214 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6216 * src/hildon-app-menu.h
6217 * src/hildon-app-menu.c
6218 Renamed API variables for consistency
6220 (hildon_app_menu_popup): Use also the default window size to
6221 decide where to place the menu
6223 (hildon_app_menu_init, hildon_app_menu_class_init): New
6224 external-border style property
6226 2008-05-26 Michael Natterer <mitch@imendio.com>
6228 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6229 widget_class->tap_and_hold_setup signal slot doesn't exist any
6230 longer, stop overriding it.
6232 (hildon_time_editor_init): g_signal_connect() to the
6233 tap-and-hold-setup signal instead.
6235 (hildon_time_editor_entry_keypress): add cast to fix warning.
6237 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6239 * doc/hildon-docs.sgml
6241 * examples/Makefile.am
6242 * examples/hildon-app-menu-example.c
6244 * src/hildon-app-menu-private.h
6245 * src/hildon-app-menu.c
6246 * src/hildon-app-menu.h
6248 New HildonAppMenu widget
6250 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6252 Rearranged the inheritance of the pannable area, now it inherits
6253 from GtkBin. This will allow us to control the event_window and
6254 the allocation process of the widget, required for some effects.
6256 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6257 GtkBin structures. * src/hildon-pannable-area.c: Added the
6258 event_window variable.
6259 (hildon_pannable_area_button_press_cb):
6260 (hildon_pannable_area_button_release_cb):
6261 (hildon_pannable_area_motion_notify_cb):
6262 Changed the signature of the method, now we override the event
6263 callback instead of connecting to the signal.
6265 (hildon_pannable_area_realize):
6266 (hildon_pannable_area_unrealize):
6267 (hildon_pannable_area_map):
6268 (hildon_pannable_area_unmap):
6269 (hildon_pannable_area_size_allocate):
6270 Added functions to control the widget construction. We add a
6271 INPUT_ONLY window and we put it over the widgets inside the
6272 container, this event_window handles the events.
6274 (hildon_pannable_area_class_init):
6275 Replaced the signal connections with overrides of the event
6278 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6280 Bouncing effect added when touching the borders, you can change
6281 the elasticity of the border changing the ELASTICITY define.
6283 * src/hildon-pannable-area.c: Added ELASTICITY define.
6284 (hildon_pannable_area_timeout): Added inverse velocity when
6285 touching the border of the child widget, that causes a bounce.
6287 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6289 Improved performance, we now do not go to the X server in order to
6290 get the list of window children. Apparently the effect is the
6291 same, we have to be careful and check if this breaks something in
6294 * src/hildon-pannable-area.c:
6295 (get_ordered_children): Removed this function.
6296 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6297 the children windows function with gdk_window_get_children.
6299 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6301 * src/hildon-pannable-area.c:
6302 (hildon_pannable_area_dispose): Fixed a crash when closing the
6303 window and kinetics is activated.
6305 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6307 * src/hildon-pannable-area.h
6308 * src/hildon-pannable-area.c
6309 Changed indentation style to meet the one used in Hildon
6311 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6313 Reviewed the interaction of the AUTO mode, now we use the time
6314 attribute of the events and calculate the velocity in the motion,
6315 doing a gimp like calculation. The velocity is calculated in each
6316 motion event using the last velocity and the current one, the
6317 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6319 * src/hildon-pannable-area.c: Replaced the time based algorithm
6321 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6322 timeout for the AUTO mode when we are still moving the cursor. We
6323 added also the velocity calculation in this function.
6324 (hildon_pannable_area_button_release_cb): launch the timeout in
6325 case we are in AUTO mode. There are still some constants here that
6326 come from the old implementation that should be reviewed and
6329 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6331 * doc/hildon-docs.sgml
6334 * src/hildon-stackable-window.c
6335 * src/hildon-stackable-window.h
6337 New HildonStackableWindow widget
6339 * examples/hildon-dialog-example.c
6340 * examples/hildon-pannable-area-example.c
6343 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6345 * src/hildon-dialog.c
6346 (hildon_dialog_new_with_buttons): New constructor.
6348 * examples/hildon-dialog-example.c
6349 (main): Update the example to use the new
6350 hildon_dialog_new_with_buttons().
6352 * examples/hildon-pannable-area-example.c
6353 (main): Update example.
6355 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6357 * doc/hildon-docs.sgml
6359 Added HildonPannableArea to the documentation.
6361 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6363 * doc/visual_index.xml
6364 Fix reference to HildonLoginDialog in documentation
6366 * doc/hildon-docs.sgml
6368 * examples/Makefile.am
6369 * examples/hildon-dialog-example.c
6371 * src/hildon-dialog.c
6372 * src/hildon-dialog.h
6374 New HildonDialog widget.
6376 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6378 * src/hildon-pannable-area.c
6379 Merge latest changes (r4318, r4342) from libmokoui trunk
6381 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6383 * examples/Makefile.am
6384 * examples/hildon-pannable-area-example.c
6386 * src/hildon-pannable-area.c
6387 * src/hildon-pannable-area.h
6389 New HildonPannableArea widget.
6391 2008-04-15 18:05:19 <timj@imendio.com>
6393 * src/hildon-banner.c: revert the recent change, that introduced
6394 gtk_window_present() calls. this reopens:
6395 Bug 78481 - [freetest] information banners are hidden under browser menu
6396 But resolves another variant of:
6397 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6399 2008-04-15 13:21:13 <timj@imendio.com>
6401 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6402 recreated its layout, spotted by Kris. this fixes all remaining
6403 artefacts and stability issues with the banner code. in particular:
6404 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6406 2008-04-14 16:52:59 <timj@imendio.com>
6408 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6409 operating on unrealized widgets, fixes:
6410 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6412 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6414 2008-04-09 Kristian Rietveld <kris@imendio.com>
6416 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6417 makes banner disappear.
6418 Fixes: NB#79182: info banner flickering with certain message lengts.
6420 * src/hildon-banner.c (hildon_banner_constructor),
6421 (hildon_banner_init), (hildon_banner_set_text),
6422 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6423 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6424 FALSE, reset size requests of label and banner,
6425 (force_to_wrap_truncated): when the text is too wide, always enforce
6426 the maximum possible width instead of recalculating it from the
6427 layout; enforce the maximum banner height of 3 lines,
6428 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6429 nicer wrapping and no truncated chars if space gets tight.
6431 * src/hildon-banner-private.h: add has_been_wrapped and
6432 has_been_truncated fields.
6434 2008-04-07 Sven Herzberg <sven@imendio.com>
6436 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6437 local values in hildon_date_editor_size_allocate
6439 * src/hildon-date-editor.c: moved the real allocation code into the
6442 2008-04-07 Sven Herzberg <sven@imendio.com>
6444 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6445 local values in hildon_date_editor_size_allocate
6447 * src/hildon-date-editor.c: merged the two if() branches together
6449 2008-04-07 Sven Herzberg <sven@imendio.com>
6451 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6452 local values in hildon_date_editor_size_allocate
6454 * src/hildon-date-editor.c: changed the arguments of the if()
6457 2008-04-07 Sven Herzberg <sven@imendio.com>
6459 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6460 local values in hildon_date_editor_size_allocate
6462 * src/hildon-date-editor.c: split the calculation of the allocation
6463 from the real allocation
6465 2008-03-27 Michael Natterer <mitch@imendio.com>
6467 Fixes: NB#81696: The passcode is not overwritten even after
6470 * src/hildon-code-dialog.c
6471 (hildon_code_dialog_button_clicked)
6472 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6473 because that doesn't overwrite selected text. Instead, emit the
6474 "commit" signal on the entry's im_context so the entry's normal
6475 insert logic is triggered. Set the cursor to the end of the entry
6476 after each insert operation so that we *only* insert in the middle
6477 of the text if something was selected.
6479 2008-03-27 Michael Natterer <mitch@imendio.com>
6481 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6482 selector cannot be opened
6484 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6485 when the popup color selector is created. Please connect to this
6486 signal in order to set the dialog's help ID.
6488 2008-03-25 Sven Herzberg <sven@imendio.com>
6490 Fixes: MB#1212: Hide info banners (infoprints) on click
6492 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6493 extracted the close event simulation into an extra function
6494 (hildon_banner_button_press_event): simulate a close event and destroy
6495 the widget if the event wasn't handled
6496 (hildon_banner_class_init): added the button_press_event handler
6497 (hildon_banner_init): added button-press events to the widget
6499 2008-03-25 Sven Herzberg <sven@imendio.com>
6501 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6502 Patch from: Mohammad Anwari <mdamt@maemo.org>
6504 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6505 instead of the right in RTL mode
6506 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6507 breadcrumb button list in RTL mode
6508 * src/hildon-caption.c: mirror the appearance of the caption widget in
6510 * src/hildon-date-editor.c: mirror appearance of the date editor in
6512 * src/hildon-time-editor.c: mirror appearance of the time editor in
6514 * src/hildon-window.c: fix the position of the popup in RTL mode
6516 2008-03-25 Sven Herzberg <sven@imendio.com>
6518 Amendment to the fix of NB#22072. Fix compilation.
6520 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6522 2008-03-19 Sven Herzberg <sven@imendio.com>
6524 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6527 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6528 timeout id properly when the timeout will disappear this leaves no
6529 artifacts around in the destroy(); there will only be the timeout
6530 created by hildon_banner_ensure_timeout() and adding a new timeout
6531 will also work if the timeout gets removed because the timeout_handler
6534 2008-03-19 Michael Natterer <mitch@imendio.com>
6536 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6538 * src/hildon-volumebar.c
6539 * src/hildon-vvolumebar.c
6540 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6541 the widget becomes focussable at all.
6543 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6544 set the focus to wither the mute button or the volumebar.
6546 Remove own "can-focus" property and instead listen to
6547 notify::can-focus in order to update the widget's state.
6549 Implement GtkWidget::focus() and make sure we can also *leave* the
6550 widget, not only enter it, depending on volumebar orientation and
6551 requested focus direction.
6553 Clean up set_mute() to cooperate nicely with all the above.
6555 2008-03-04 Michael Natterer <mitch@imendio.com>
6557 Fixes: NB#78481: information banners are hidden under browser menu
6559 * src/hildon-banner.c: call gtk_window_present() on the banners so
6560 they are risen if they are already visible.
6562 2008-03-03 Sven Herzberg <sven@imendio.com>
6564 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6566 * examples/hildon-window-menu-example.c: (main): extended the window
6567 menu example to serve as a testcase for automatically added
6568 accelerator groups, too
6569 * src/hildon-window.c: (hildon_window_add_accel_group),
6570 (hildon_window_set_menu): added patch by Tommi Komulainen
6572 2008-03-03 Sven Herzberg <sven@imendio.com>
6574 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6576 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6577 knowledge about the border allocators used within GTK+
6579 2008-02-26 Sven Herzberg <sven@imendio.com>
6581 Fixes: MB#2981: Build with asserts broken
6583 * src/hildon-date-editor.c,
6584 * src/hildon-number-editor.c,
6585 * src/hildon-time-editor.c,
6586 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6587 the proper GType instance check
6589 2008-02-25 Sven Herzberg <sven@imendio.com>
6591 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6593 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6594 * examples/hildon-window-menu-example.c: (main): explicitly show
6596 * src/hildon-window.c:
6597 (hildon_window_set_main_menu): moved most of the code from set_menu()
6598 to this place; skipped the call to gtk_widget_show_all(); also didn't
6599 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6600 (hildon_window_set_menu): removed most of the code, just keep the
6601 questionable gtk_widget_show_all()
6602 * src/hildon-window.h: added the new function and deprecate the old
6605 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6611 * debian/changelog: Updating.
6613 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6616 * pkgconfig/Makefile.am:
6617 * pkgconfig/hildon.pc.in:
6620 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6621 use newly created API_MAJOR_VERSION.
6623 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6629 * debian/changelog: Updating.
6631 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6633 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6635 Add outer_border style property, we use it but don't define it (!).
6639 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6641 * examples/hildon-bread-crumb-trail-example.c (main):
6645 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6647 Fix logic for the bread crumb trail node removal.
6651 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6657 * debian/changelog: Updating.
6659 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6661 Patch by Alejandro to get/set passwords dialogs accesibility.
6663 * hildon-1/src/hildon-get-password-dialog.c:
6664 * hildon-1/src/hildon-set-password-dialog.c:
6665 Set atk_set_name to the passwd entries in order to allow
6666 accessibility by name on this entries.
6668 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6673 * debian/control: Updating gtk dep.
6675 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6677 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6678 USE_MAEMO_GTK is enabled.
6680 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6682 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6683 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6685 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6691 * debian/changelog: Updating.
6693 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6695 * examples/Makefile.am:
6696 * examples/hildon-logical-color-example.c:
6697 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6698 applied + adding a test case. Fixes: NB#71660.
6700 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6702 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6703 to be visible, fixes warning on map for windows without toolbars.
6705 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6707 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6708 2.11.0, add a check for that besides the MAEMO_GTK check.
6710 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6716 * debian/changelog: Updating.
6718 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6720 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6721 visibility. Fixes: NB#70842 and MB#615.
6723 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6725 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6726 set the separator as no-show-all so it doesn't unintentionally appear when
6727 someone does a show_all.
6729 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6731 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6732 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6733 toplevel item. Fixes: NB#62031
6735 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6737 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6738 fix the name of the function in the docs.
6740 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6746 * debian/changelog: Updating.
6748 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6750 * examples/hildon-banner-long-example.c: Adding a test-case for long
6753 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6755 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6757 * src/hildon-color-chooser-dialog.c:
6758 * src/hildon-color-chooser.c:
6759 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6760 memory leaks in font selector and color selector. Fixes: NB#70499 and
6763 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6765 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6767 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6769 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6770 little bit bigger. Fixes: #NB63694.
6772 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6778 * debian/changelog: Updating.
6780 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6783 * doc/hildon-docs.sgml:
6784 * doc/images/bread-crumb-trail.png:
6785 * doc/images/calendar-popup.png:
6786 * doc/images/caption.png:
6787 * doc/images/code-dialog.png:
6788 * doc/images/color-button.png:
6789 * doc/images/color-chooser-dialog.png:
6790 * doc/images/color-chooser.png:
6791 * doc/images/controlbar.png:
6792 * doc/images/date-editor.png:
6793 * doc/images/font-selection-dialog.png:
6794 * doc/images/get-password-dialog.png:
6795 * doc/images/hvolumebar.png:
6796 * doc/images/login-dialog.png:
6797 * doc/images/note.png:
6798 * doc/images/number-editor.png:
6799 * doc/images/range-editor.png:
6800 * doc/images/seekbar.png:
6801 * doc/images/set-password-dialog.png:
6802 * doc/images/sort-dialog.png:
6803 * doc/images/time-editor.png:
6804 * doc/images/time-picker.png:
6805 * doc/images/vvolumebar.png:
6806 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6807 Adding the bread-crumb-trial and helpers to the documentation.
6809 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6811 * examples/hildon-find-toolbar-example.c:
6812 * src/hildon-find-toolbar.c:
6813 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6814 actually continue firing the other handlers if connected. Adding a new
6816 hildon_find_toolbar_get_last_index that gets the index of the most
6817 recently added (last) item. Fixes: NB#52301.
6819 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6821 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6822 behaviour. Fixes: NB#68610.
6824 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6826 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6829 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6831 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6832 when realizing the banner. Should make the infonbanner effect a bit more
6835 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6837 * src/hildon-volumebar.c:
6838 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6839 hildon_volumebar_set_range_insensitive_message and
6840 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6842 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6844 * src/hildon-window.c: Fixing the border freeing on destroy.
6846 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6848 * src/hildon-code-dialog-private.h:
6849 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6850 kw keyboard support in HildonCodeDialog.
6852 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6858 * debian/changelog: Updating.
6860 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6862 * src/hildon-date-editor.c:
6863 * src/hildon-number-editor.c:
6864 * src/hildon-private.c:
6865 * src/hildon-private.h:
6866 * src/hildon-time-editor.c:
6867 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6868 handling in subclassed composite widgets. Fixes: NB#66628.
6870 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6872 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6873 from destroy_ callback as it introduces problems in async dbus signal
6874 handlers. Fixes NB#66673.
6876 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6878 * examples/hildon-hvolumebar-example.c:
6879 * src/hildon-volumebar.c: Improving the focus handling in the
6880 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6881 set_property accessor so that "mute" property can be actually set. I'm
6882 scared that nobody noticed it's totally broken.
6884 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6886 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6889 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6891 * src/hildon-calendar.c:
6892 * src/hildon-number-editor.c:
6893 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6894 matches the spec of 6 chars per second. Fixes: NB#60489.
6896 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6898 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6899 gtk_style_lookup_color sometime returns FALSE even though color was
6900 found and values were filled properly. Weird. Removing the warning for the
6903 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6905 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6906 expand vertically. Adding some extra space to the find toolbar buttons to
6907 make them thumbable. Fixes NB#66060.
6909 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6911 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6912 popup with "Ok" and "Cancel". Fixes NB#59299.
6914 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6916 * src/hildon-calendar.c: Process all window updates before executing next
6917 timeout. Fixes: NB#54146.
6919 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6925 * debian/changelog: Updating.
6927 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6929 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6930 the client event and ignore it, since we use the delete event to close
6933 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6935 * src/hildon-helper.c: Remove the bogus warning about color not being
6936 found. Fixes NB#58352.
6938 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6940 * examples/Makefile.am:
6941 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6942 HildonSeekbar widget inside a toolbar.
6944 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6946 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6947 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6948 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6949 don't want to be closed by non-temporary windows on map.
6951 Also use G_DEFINE_TYPE instead of manually typed code.
6953 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6960 * debian/rules: Updating.
6962 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6964 * examples/Makefile.am:
6965 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6966 bug NB#61128. Strangely it works.
6968 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6970 * src/hildon-date-editor.c: When the date editor entry has been changed
6971 but the numbers of characters < max, turn off the skip validation flag.
6972 Prevents a situation when we enter first a valid year and later re-write
6973 it with an invalid one. Fixes NB#60154.
6975 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6977 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6978 code dialog. Fixes NB#64355.
6980 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6982 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6983 switching the page. Fixes NB#49374.
6985 * examples/Makefile.am:
6986 * examples/hildon-wizard-dialog-example.c: Adding an example for
6987 HildonWizardDialog that shows how to handle manual sensitivity setting on
6990 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6994 * src/hildon-version.h.in:
6995 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6997 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6999 * src/hildon-volumebar.c: Updating the docs.
7001 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7007 * debian/changelog: Updating.
7009 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7011 * src/hildon-find-toolbar.c:
7012 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7013 selected item: hildon_find_toolbar_set_active,
7014 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7015 hildon_find_toolbar_get_active_iter . They correspond to respective
7016 GtkComboBox functions.
7018 * examples/Makefile.am:
7019 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7022 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7024 * examples/Makefile.am:
7025 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7028 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7029 when font size > 32 and we pack a focusable widget inside. Actually using
7030 the default response would work too, but since we don't show default
7031 response state in any way (no theming) it would not be visible to the
7032 user. Fixes NB#63430.
7034 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7036 * src/hildon-date-editor.c: Adding the missing variable setter in the
7037 set_property handler. Fixes NB#54182.
7039 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7041 * src/hildon-window.h: Changing the long key press time from 1500ms to
7042 800ms as requested in NB#63700. I have a bad feeling about this, let's
7043 see... Fixes NB#63700.
7045 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7047 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7048 hildon_time_picker_map, hildon_time_picker_realize,
7049 hildon_time_picker_style_set): Split the contents of map to more
7050 appropriate functions; set window decorations on realize and update
7051 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7053 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7058 * debian/changelog: Updating.
7060 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7062 * src/Makefile.am: fixed installation of the header files
7064 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7070 * debian/changelog: Updating.
7072 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7074 * configure.ac: Removing some remaining of --enable-xan.
7076 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7078 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7079 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7081 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7082 2.10.12-osso6 because the move-focus signal needs to be available in
7085 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7087 * examples/Makefile.am:
7088 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7089 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7090 fine. Prolly NB#61128 is fixed now.
7092 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7094 * src/hildon-volumebar.c:
7095 * src/hildon-volumebar.h: Adding the
7096 hildon_volumebar_set_range_insensitive_message and
7097 hildon_volumebar_set_range_insensitive_messagef functions to set
7098 insensitive message on the slider of the volumebar. Fixes NB#61129.
7100 * examples/Makefile.am:
7101 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7102 test the new insensitive messsage functionality on HildonVolumebar.
7104 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7106 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7109 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7111 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7112 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7113 button on after clearing the trail.
7115 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7117 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7119 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7121 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7122 by splitting the installed headers in generated and non-generated groups. Use
7123 only the non-generated headers to create the hildon-enum-types.h file.
7125 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7127 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7129 * src/hildon-window.c: Hide the window before performing the destroy.
7130 Should make the app closing a little tiny bit more snappy.
7132 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7134 * src/hildon-seekbar.c: add gtkrange.h header
7135 * src/hildon-caption.c: remove unused variable
7137 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7139 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7142 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7148 * debian/changelog: Updating.
7150 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7152 * src/hildon-window.c (hildon_window_window_state_event,
7153 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7154 escape timeout on focus-out-event rather than notify::is-topmost; the
7155 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7157 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7159 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7160 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7162 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7164 * src/hildon-window: actually, you need to use the macro always, there's
7165 no private pointer in the instance structure. We should have cleaned this up
7166 when we had the chance...
7168 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7170 * src/hildon-window.c: do not get the private date from HildonWindow before
7171 it passes the g_return_if_fail check. Once it's passed the test, there's no
7172 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7173 if you are only going to access the data once. Whitespace cleanups.
7175 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7177 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7178 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7180 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7186 * debian/changelog: Updating.
7188 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7190 * src/hildon-window.c: When destroying the window, remove (if exists) the
7191 escape timeout handler. Fixes #NB59276.
7193 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7195 * src/hildon-banner.c: When realizing the widget, set the window
7196 transiency. Setting the transiency in the gobject constructor is not
7197 good, as the widget is not realized at that point. Fixes: #NB56624.
7199 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7201 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7202 Add padding for future expansions.
7204 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7206 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7207 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7208 will fake an activation on the previous to the last item of the trail, so
7209 the effect can be overrided by the developer as usual.
7210 Also change the callback for the back button to do the same thing, so its
7211 effect can be overrided too. Fixes: NB#58982
7213 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7215 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7216 HildonCaption. Fixes NB#52379.
7218 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7220 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7221 the internal state of the trail after the user has had the chance of executing
7222 his handler for the signal. Specifically, it may happen that the activated button
7223 is removed and the user still lets the default handler run. This would segfault
7226 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7228 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7229 scrollbar to the preview dialog. Fixes NB#54147.
7231 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7233 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7234 max/min year properties can be altered, so the client can modify it
7235 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7237 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7240 hildonlike by default. Fixing a problem with disappearing arrows when
7241 scrolling through months and years. Fixes NB#54127.
7243 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7245 * examples/hildon-date-editor-example.c: Adding error callback to the date
7248 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7254 * configure.ac: Updating.
7256 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7258 * configure.ac: Adding a special '--enable-xan' configure option that
7259 turns off the -Werror compilation setting. Usefull for development.
7261 * src/hildon-calendar.c:
7262 * src/hildon-number-editor.c:
7263 * src/hildon-time-picker.c: Adding the 5* multiplier to
7266 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7268 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7269 instead of g_object_ref + gtk_object_sink.
7271 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7277 * debian/changelog: Updating.
7279 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7281 * src/hildon-color-chooser-dialog.c:
7282 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7283 straight from Tommi labs.
7285 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7287 * examples/hildon-finger-example.c: Correcting the header file path.
7289 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7290 the changed signal. Fixes a small memory leak.
7292 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7296 * src/hildon-banner.c: Importing several usefull fixes from the
7297 ubuntu-mobile branch.
7299 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7301 * examples/Makefile.am:
7302 * examples/hildon-finger-example.c: Adding a finger-checking code
7305 * src/hildon-font-selection-dialog.c: Do not allocate the color
7306 structure using the g_new. Fixes NB#54061.
7308 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7310 * src/hildon-helper.c: Correcting tabs in file.
7312 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7314 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7315 control the visibility of the children.
7317 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7319 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7325 * debian/changelog: Updating.
7327 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7329 * src/hildon-bread-crumb-trail.c:
7330 (hildon_bread_crumb_trail_size_allocate):
7332 Make the back button always a square.
7334 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7336 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7337 from the .c file as it's a private file.
7339 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7341 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7342 uses slightly bigger height.
7344 * src/hildon-font-selection-dialog.c: Adding some checks before
7345 freeing memory in the font selection dialog.
7347 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7349 * src/hildon-font-selection-dialog.c: Adding a small check when
7352 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7353 buttons sensitivity on page switching.
7355 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7357 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7358 internal details of adding a bread crumb to the trail.
7360 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7366 * debian/changelog: Updating.
7368 * src/hildon-bread-crumb-trail.h:
7369 * src/hildon-bread-crumb.h: Changing the API guard to
7370 HILDON_ENABLE_UNSTABLE_API.
7372 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7380 * src/hildon-helper.h: Updating.
7382 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7390 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7394 * src/hildon-helper.h: Small fix to make the package actually compile.
7396 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7398 * src/hildon-bread-crumb-trail.h:
7399 * src/hildon-bread-crumb.h:
7401 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7402 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7404 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7406 * examples/hildon-bread-crumb-trail-example.c:
7408 * src/hildon-bread-crumb-trail.c:
7409 * src/hildon-bread-crumb-trail.h:
7410 * src/hildon-bread-crumb.c:
7411 * src/hildon-bread-crumb.h:
7412 * src/hildon-marshalers.list:
7413 * src/hildon-bread-crumb-widget.c:
7414 * src/hildon-bread-crumb-widget.h:
7416 Slight change in the widget design. The bread crumb trail API is
7417 unchanged, but HildonBreadCrumb is now an interface. A *private*
7418 implementation, hildon-bread-crumb-widget, is provided and used
7419 internally by the trail for the push_text/push_icon functions.
7421 The generic push API is still available, so anyone can implement
7422 and use its own bread crumb widget.
7424 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7426 * debian/rules: Fixing the shlibs.
7428 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7430 * src/hildon-banner.c: Fixing a problem with timed banners having
7431 their parrent destroyed before they are.
7433 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7435 * src/hildon-bread-crumb.c:
7436 * src/hildon-bread-crumb.h:
7438 Make the get_natural_size function a vfunc.
7440 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7442 * src/hildon-bread-crumb.c:
7443 * src/hildon-bread-crumb-trail.c:
7447 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * debian/changelog: Updating for release.
7456 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7458 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7459 don't leak the pango layout.
7461 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7464 * examples/hildon-bread-crumb-trail-example.c:
7468 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7470 * debian/changelog: Removing the bug-fixed entries that were actually
7471 resolved as WONTFIX.
7473 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7476 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7478 * src/hildon-bread-crumb-trail.c:
7479 * src/hildon-bread-crumb-trail.h:
7480 * src/hildon-bread-crumb.c:
7481 * src/hildon-bread-crumb.h:
7485 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7487 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7488 until it's passed the type check.
7490 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7492 * examples/hildon-bread-crumb-trail-example.c
7496 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7498 * examples/Makefile.am
7499 * examples/hildon-bread-crumb-trail-example.c
7501 * src/hildon-bread-crumb-trail.c
7502 * src/hildon-bread-crumb-trail.h
7503 * src/hildon-bread-crumb.c
7504 * src/hildon-bread-crumb.h
7506 New HildonBreadCrumbTrail widget.
7508 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7510 * src/hildon-range-editor.c (hildon_range_editor_init),
7511 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7512 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7513 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7514 hildon_time_editor_class_init, hildon_time_editor_init),
7515 src/hildon-get-password-dialog.c (invalid_input,
7516 hildon_get_password_set_property, hildon_get_password_get_property,
7517 create_contents, hildon_get_password_dialog_set_max_characters),
7518 src/hildon-set-password-dialog.c (create_contents),
7519 src/hildon-date-editor.c (hildon_date_editor_init),
7520 src/hildon-login-dialog.c (hildon_login_dialog_init),
7521 src/hildon-number-editor.c (hildon_number_editor_init),
7522 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7523 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7524 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7525 configure option and adding the respective checks in the code.
7526 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7527 hildon_calendar_drag_data_received): fixed some build warnings.
7529 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7531 * debian/changelog: A 1.0.0 release notes.