1 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
3 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
4 (_hildon_picker_dialog_set_selector): removed call to
5 gtk_widget_set_size_request
6 * src/hildon-touch-selector.c
7 (_create_new_column): change the pannable size request policy
9 Avoid to use a hardcoded height for the hildon picker dialog. In order
10 to get that, we needed to change the hildon pannable size request
12 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
14 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
16 * src/hildon-window.c (hildon_window_map): Check for vbox to be
17 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
20 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
22 * debian/control: Depend on osso-system-lock localization package.
23 * src/hildon-code-dialog.c: Obtain the secu_application_title
24 translation from osso-system-lock.
25 * src/hildon-get-password-dialog.c (create_contents): Do not mark
26 for translation the atk related strings, that's not necessary.
27 * src/hildon-set-password-dialog.c (create_contents): Ditto.
28 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
29 cancel button, it is not required.
31 2009-04-02 Alejandro G. Castro <alex@igalia.com>
33 * src/hildon-pannable-area.c,
34 (hildon_pannable_area_class_init): Modified the default value of
35 the overshooting max speed, we have reduced it.
37 2009-04-02 Alberto Garcia <agarcia@igalia.com>
39 * doc/hildon-sections.txt
40 * src/hildon-window-private.h
42 * src/hildon-window.c (hildon_window_class_init)
43 (hildon_window_init, hildon_window_finalize)
44 (hildon_window_realize, hildon_window_get_property)
45 (hildon_window_set_property, hildon_window_update_markup)
46 (hildon_window_get_markup, hildon_window_set_markup):
47 New "markup" property and hildon_window_{get,set}_markup() methods.
49 * examples/hildon-stackable-window-example.c (new_window):
50 Update example to use hildon_window_set_markup()
52 Fixes: NB#106375 (Need API to retitle a window with a title
55 2009-04-01 Alejandro G. Castro <alex@igalia.com>
57 * src/hildon-pannable-area.c,
58 (hildon_pannable_area_class_init): Changed the default value of
59 the initial_hint to TRUE.
60 (hildon_pannable_area_initial_effect): Changed the initial effect,
61 not the effect is just the fade-out of the scrollbars.
63 Fixes: NB#107775 (No scrollbars can be seen when several items are
64 available in a dialog)
66 2009-04-01 Alberto Garcia <agarcia@igalia.com>
68 * src/hildon-program.c (hildon_program_update_top_most):
71 Fixes: NB#109179 (Memory leak in Hildon program)
73 2009-04-01 Alberto Garcia <agarcia@igalia.com>
75 * src/hildon-banner.c (-get_current_app_window):
76 Remove unused function.
78 2009-04-01 Alejandro G. Castro <alex@igalia.com>
80 * src/hildon-pannable-area.c: Modified the documentation of the
81 get adjustments functions to explain the problem of using the
83 (hildon_pannable_area_class_init): Improved the explanation about
86 2009-04-01 Alberto Garcia <agarcia@igalia.com>
88 * src/hildon-app-menu-private.h
89 * src/hildon-app-menu.c
90 (hildon_app_menu_class_init):
91 Bring back the 'external-border' style property
92 (hildon_app_menu_class_init, hildon_app_menu_init)
93 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
94 Set a fixed width-request for the menu, independent of the number
97 Fixes: NB#94957 (Smoothly opened application menu)
99 2009-03-30 Alberto Garcia <agarcia@igalia.com>
101 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
103 * src/hildon-banner.c
104 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
106 Make sure that the banner is correctly placed the first time it's
108 (hildon_banner_check_position, -check_fullscreen_state):
109 Show the banner in the same place no matter if the window is in
110 fullscreen mode or not.
112 Fixes: NB#107386 (Odd stacking behaviour for information banners)
114 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
116 * src/hildon-touch-selector.c (_default_print_func): reorder
117 concatenation for clarity.
119 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
121 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
122 for multicolumn selectors.
124 Fixes: NB#109099 (Memory leak in Hildon touch selector)
126 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
131 * configure.ac: Bump version.
132 * debian/changelog: Updates.
134 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
136 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
139 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
141 * configure.ac: removed libcangerra-gtk dependency
142 * debian/control: removed libcanberra-gtk dependency
143 * src/Makefile.am: removed libcanberra gtk related flags
144 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
145 context, and manage a global canberra context instead
147 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
149 2009-03-26 Alberto Garcia <agarcia@igalia.com>
151 Patch by Daniel Borgmann (danielb@openismus.com)
153 * src/hildon-edit-toolbar.c:
154 Adjust the left padding.
155 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
156 Paint background of the edit toolbar.
158 Fixes: NB#107897 (Patch to make editmodetoolbar background
159 themeable and adjust margin)
161 2009-03-25 Alberto Garcia <agarcia@igalia.com>
163 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
165 * src/hildon-program.c (hildon_program_update_top_most):
166 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
168 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
169 change when the user tasks in/out of an application)
171 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
173 * configure.ac: added libcangerra-gtk dependency
174 * debian/control: added libcanberra-gtk dependency
175 * src/Makefile.am: added libcanberra gtk related flags
176 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
179 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
181 2009-03-25 Alberto Garcia <agarcia@igalia.com>
183 * src/hildon-program.c (hildon_program_remove_window)
184 (hildon_program_add_window): Add checks for the window
185 parameter. Don't decrease the window counter if the window is not
188 2009-03-24 Alejandro G. Castro <alex@igalia.com>
190 * src/hildon-pannable-area.c,
191 (hildon_pannable_area_realize): Fixed position of the event_window
192 in the realize method.
194 2009-03-24 Alberto Garcia <agarcia@igalia.com>
196 * src/hildon-app-menu-private.h
197 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
198 (hildon_app_menu_map, hildon_app_menu_hide_idle)
199 (hildon_app_menu_key_press, hildon_app_menu_init)
200 (hildon_app_menu_finalize):
201 Make sure that all idle functions are removed when the widget is
204 Fixes: NB#107583 (Hildon app menu crashes in various applications)
206 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
211 * configure.ac: Bump version.
212 * debian/changelog: Updates.
214 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
217 (+hildon_entry_show_placeholder),
218 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
219 that replace hildon_entry_update_contents().
220 (hildon_entry_set_text),
221 (hildon_entry_set_placeholder),
222 (hildon_entry_focus_in_event),
223 (hildon_entry_focus_out_event): Determine when it is needed
224 either to show or hide the placeholder and call the above methods.
226 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
227 when the placeholder text is already set)
229 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
231 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
232 simple GdkPixbufAnim using the new icons for the banner.
233 (hildon_banner_show_animation): Use the above mentioned method to
234 create the animation widget.
236 Fixes: NB#103564 (Make hildon animation banner use individual
237 image files as the animation)
239 2009-03-24 Alejandro G. Castro <alex@igalia.com>
241 * src/hildon-pannable-area.c,
242 (hildon_pannable_leave_notify_event): Check if the child is NULL
243 to avoid sending the leave.
245 2009-03-24 Alejandro G. Castro <alex@igalia.com>
247 * src/hildon-pannable-area.c,
248 (hildon_pannable_area_class_init),
249 (hildon_pannable_leave_notify_event): Added a handler of the
250 leave-notify-signal to consider when no motion notify before
253 Fixes: NB#107494 (Items stay selected when clicking and moving
254 away when inside pannable area)
256 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
261 * configure.ac: Bump version.
262 * debian/changelog: Updates.
264 2009-03-19 Alejandro G. Castro <alex@igalia.com>
266 Patch by Alberto Garcia (agarcia@igalia.com)
268 * src/hildon-date-button.c,
269 (hildon_date_button_class_init),
270 (hildon_date_button_init): Removed the construct property handling
271 and created a default selector in the init method.
272 * src/hildon-picker-button.c,
273 (hildon_picker_button_class_init): Removed the construct flag of the
276 2009-03-18 Alberto Garcia <agarcia@igalia.com>
278 * src/hildon-main.c (hildon_init):
279 Don't allow hildon_init() to be called more than once.
281 Fixes: NB#106607 (hildon_init should issue error message upon
284 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
286 * examples/hildon-pannable-area-touch-list-example.c
287 * examples/hildon-pannagle-area-touch-grid-example.c
288 * examples/hildon-edit-toolbar-example.c
289 * examples/hildon-touch-selector-multi-cells-example.c
290 Removed the call to gtk_rc_parse_string, as it is not required since
293 2009-03-17 Alejandro G. Castro <alex@igalia.com>
295 * src/hildon-pannable-area.c,
296 (hildon_pannable_area_class_init): Modified the default panning
297 threshold of the widget to 6px.
299 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
300 than the threshold value ) within the button is not sending the
303 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
305 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
306 for the treeview in the new column. This way, the touch list will never
309 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
310 be selected manually for the HW keys to work)
312 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
314 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
315 comparison instead of using strcmp(). Fixes a compiler warning as well.
317 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
319 * doc/hildon-docs.sgml: Do not set the library version in the
320 document title, use the releaseinfo tag for that purpose instead.
322 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
324 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
325 Do not jump to the first item if the text in the entry is removed.
327 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
332 * configure.ac: Bump version.
333 * debian/changelog: Updates.
335 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
337 * src/hildon-entry.c (hildon_entry_refresh_contents):
338 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
339 Use "ReversedSecondaryTextColor" for the placeholder text.
341 2009-03-12 Alberto Garcia <agarcia@igalia.com>
343 * src/hildon-text-view.c: Fix compilation warning.
345 2009-03-12 Alberto Garcia <agarcia@igalia.com>
347 * src/hildon-button.c (hildon_button_class_init): Don't make
348 "title" and "value" construction properties, to prevent them from
349 overwriting labels set from derived classes.
351 * src/hildon-picker-button.c
352 (hildon_picker_button_set_selector): Allow setting a NULL selector.
353 (hildon_picker_button_class_init): Make touch-selector a
354 construction property.
356 * src/hildon-date-button.c (hildon_date_button_class_init)
357 (+hildon_date_button_constructed): Add a default date selector if
360 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
362 * src/hildon-touch-selector.c: Small documentation fixes.
364 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
366 Based on a patch by Daniel Borgmann (danielb@openismus.com)
368 * src/hildon-entry.c (hildon_entry_refresh_contents),
369 (hildon_entry_get_text), (hildon_entry_init): Do not use the
370 widget name, set the logical color directly instead and a boolean
371 showing_placeholder instead.
372 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
373 use the widget name here either.
375 Fixes: NB#105678 (HildonTextView should use logical colours
376 instead of setting widget name)
378 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
380 Patch by Daniel Elster (danielk@openismus.com)
382 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
383 Add user_data parameter.
384 (hildon_touch_selector_set_print_func_full): New function akin
385 hildon_touch_selector_set_print_func() but with support for user
386 data and a destroy callback.
387 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
388 to clean up the print function user data.
389 (hildon_touch_selector_class_init): Install dispose function.
390 (HildonTouchSelectorPrivate::print_user_data),
391 (HildonTouchSelectorPrivate::print_destroy_func): New private
393 (hildon_touch_selector_init): Initialize new private members.
394 (hildon_touch_selector_get_current_text): Pass along user data
395 to the print function.
396 (_default_print_func): Add dummy user_data to parameter list.
397 * hildon-date-selector.c (_custom_print_func): ditto,
398 * hildon-time-selector.c (_custom_print_func): ditto,
399 * hildon-touch-selector-entry.c
400 (hildon_touch_selector_entry_print_func): ditto.
402 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
404 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
406 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
408 2009-03-12 Alejandro G. Castro <alex@igalia.com>
410 * src/hildon-pannable-area.c,
411 (hildon_pannable_area_init),
412 (hildon_pannable_area_button_press_cb),
413 (hildon_pannable_area_motion_notify_cb): We have added code to
414 handle the leave and enter events when using the motion events.
416 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
418 2009-03-11 Alberto Garcia <agarcia@igalia.com>
420 * src/hildon-date-button.c (hildon_date_button_get_date)
421 (hildon_date_button_set_date): Make sure that the button has a
424 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
426 2009-03-11 Alejandro G. Castro <alex@igalia.com>
428 * src/hildon-pannable-area.c,
429 (hildon_pannable_area_class_init),
430 (hildon_pannable_area_calculate_velocity): Modify the use of the
431 force and adapt the value.
433 2009-03-10 Alberto Garcia <agarcia@igalia.com>
435 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
436 (hildon_app_menu_class_init): Hide the menu if it receives a
437 delete-event, but don't destroy it
439 Fixes: NB#104485 (Not able to address the call when application
440 menu is opened at background)
442 2009-03-10 Alberto Garcia <agarcia@igalia.com>
444 * src/hildon-app-menu.c
445 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
446 Remove the "external-border" style property, let the menu take its
447 natural size (or the one set by the window manager)
448 (hildon_app_menu_repack_items):
449 Don't reshow the menu, avoid flickers.
451 Partially fixes NB#94957 (Smoothly opened application menu)
453 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
458 * configure.ac: Bump version.
459 * debian/changelog: Updates.
461 2009-03-10 Alejandro G. Castro <alex@igalia.com>
463 * src/hildon-pannable-area.c,
464 (hildon_pannable_area_motion_notify_cb): We control that the
465 direction error margin is used just in case the movement is
466 allowed in the other direction.
468 Fixes: NB#105012 (buttons inside a pannable area not getting
469 release event when dragging/releasing)
471 2009-03-10 Alejandro G. Castro <alex@igalia.com>
473 * src/hildon-pannable-area.c,
474 (hildon_pannable_area_class_init),
475 (hildon_pannable_area_get_property),
476 (hildon_pannable_area_set_property),
477 (hildon_pannable_area_initial_effect),
478 (hildon_pannable_axis_scroll),
479 (hildon_pannable_area_button_release_cb): Reviewed the
480 overshooting effect, now it has its own max
481 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
484 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
489 * configure.ac: Bump version.
490 * debian/changelog: Updates.
492 2009-03-09 Alejandro G. Castro <alex@igalia.com>
494 * src/hildon-pannable-area.c,
495 (hildon_pannable_area_class_init): Changed the max speed, now
496 users can launch the widget very fast. Reduced the default force,
497 that way it is easier to control the launch speed.
499 2009-03-09 Alejandro G. Castro <alex@igalia.com>
501 * src/hildon-pannable-area.c,
502 (hildon_pannable_area_button_release_cb): Removed this check
503 because it causes problems when the device is overloaded.
505 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
507 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
508 add a current_text field to store the text entered in the
509 touch selector entry.
510 (_clean_current_selection): clean up the current text as well.
511 (_save_current_selection), (_restore_current_selection):
512 Save/restore the text in the entry if the selector is a
513 HildonTouchSelectorEntry.
515 Fixes: NB#102541 (value entered in the touch selector entry is not
516 shown when opened for second time)
518 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
520 * doc/hildon-sections.txt:
521 * src/hildon-touch-selector-entry.c
522 (+hildon_touch_selector_entry_get_entry):
523 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
525 Fixes: NB#104815 (I need accessor to the entry inside
526 HildonTouchSelectorEntry)
528 2009-03-06 Alberto Garcia <agarcia@igalia.com>
530 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
531 (hildon_app_menu_class_init):
532 New "filter-vertical-spacing" style property.
534 2009-03-06 Alberto Garcia <agarcia@igalia.com>
536 * src/hildon-find-toolbar.c
537 (hildon_find_toolbar_emit_close)
538 (hildon_find_toolbar_emit_invalid_input)
539 (hildon_find_toolbar_entry_activate):
540 Use g_signal_emit() instead of g_signal_emit_by_name()
542 2009-03-06 Alberto Garcia <agarcia@igalia.com>
544 Patch by Mox Soini (ext-mox.soini@nokia.com)
546 * tests/TEST-CASES.txt
547 * tests/check-hildon-banner.c
548 * tests/check-hildon-note.c
549 * src/hildon-banner.c
550 * src/hildon-code-dialog.c
551 * src/hildon-date-editor.c (real_set_calendar_icon_state)
552 * src/hildon-time-editor.c
553 * examples/hildon-lookup-example.c (main):
554 Replace obsolete icon names with new ones.
556 * src/hildon-find-toolbar-private.h:
557 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
558 (-hildon_find_toolbar_emit_search):
559 Remove find button and change icon of close button.
561 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
563 2009-03-05 Alberto Garcia <agarcia@igalia.com>
565 * src/hildon-time-button.c (hildon_time_button_new_step):
566 Use the "touch-selector" property to set the selector directly
567 when creating the object.
569 2009-03-05 Alejandro G. Castro <alex@igalia.com>
571 Added a new example application that allows tuning the pannable
572 area and replaced defines with properties in order to simplify the
573 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
574 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
575 PROP_DIRECTION_ERROR_MARGIN.
577 * examples/hildon-pannable-area-tuning-example.c: New example
579 * src/hildon-pannable-area.c,
580 (hildon_pannable_area_class_init),
581 (hildon_pannable_area_init),
582 (hildon_pannable_area_get_property),
583 (hildon_pannable_area_set_property),
584 (hildon_pannable_area_launch_fade_timeout),
585 (hildon_pannable_area_adjust_value_changed),
586 (hildon_pannable_axis_scroll),
587 (hildon_pannable_area_motion_notify_cb),
588 (hildon_pannable_area_scroll_cb),
589 (hildon_pannable_area_button_release_cb): We have converted some
590 of the defines that control the widget to properties to simplify
593 2009-03-05 Alberto Garcia <agarcia@igalia.com>
595 * src/hildon-app-menu.c (hildon_app_menu_map)
596 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
597 so it's closed if a new window appears.
599 Fixes: NB#104485 (Not able to address the call when application
600 menu is opened at background)
602 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
604 * src/hildon-color-button.c (hildon_color_button_get_property):Add
605 missing 'break' statement in in 'case' construct to avoid
608 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
610 * src/hildon-touch-selector-entry.c
611 (hildon_touch_selector_entry_get_property),
612 (hildon_touch_selector_entry_set_property): Add missing 'break'
613 statements in in 'case' constructs to avoid incorrect warnings.
615 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
617 * src/hildon-time-editor.c
618 (hildon_time_editor_get_time_separators): Do not crash if
619 the first label is NULL.
621 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-date-selector.c (_month_days): Check for month to be
624 strictly less than 12, since otherwise we may overrun the array.
626 2009-03-04 Alberto Garcia <agarcia@igalia.com>
628 * src/hildon-date-button.c (+hildon_date_button_new_full)
629 (hildon_date_button_new, hildon_date_button_new_with_year_range)
630 (hildon_date_button_init): Set the date selector using a
631 construction property, to make it happen after HildonButton's
632 "value" property is set.
634 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
635 current date by default)
637 2009-03-04 Alberto Garcia <agarcia@igalia.com>
639 * doc/hildon-sections.txt
640 * src/hildon-program.c
641 * src/hildon-stackable-window.c
642 * src/hildon-window.c:
643 Documentation updates
645 2009-03-04 Alberto Garcia <agarcia@igalia.com>
647 * src/hildon-window-stack.c (hildon_window_stack_get_default)
648 (hildon_window_stack_new, +hildon_window_stack_set_property)
649 (+hildon_window_stack_get_property)
650 (hildon_window_stack_class_init)
651 (+hildon_window_stack_set_window_group)
652 (+hildon_window_stack_get_window_group):
653 Make the window group a construction property.
655 2009-03-04 Alberto Garcia <agarcia@igalia.com>
657 * doc/hildon-sections.txt
658 * src/hildon-stackable-window-private.h
659 * src/hildon-stackable-window.h
660 * src/hildon-stackable-window.c
661 (-hildon_stackable_window_set_app_menu)
662 (-hildon_stackable_window_get_app_menu)
663 (-hildon_stackable_window_toggle_menu)
664 (-hildon_stackable_window_finalize)
665 (hildon_stackable_window_class_init)
666 (hildon_stackable_window_init)
667 * src/hildon-window-private.h
668 * src/hildon-window.h
669 * src/hildon-window.c (hildon_window_init)
670 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
671 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
672 (hildon_window_get_main_menu, hildon_window_set_main_menu)
673 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
674 Moved all HildonAppMenu code to HildonWindow. The menu does not
675 require a HildonStackableWindow anymore.
677 * src/hildon-app-menu.c
678 * src/hildon-program.c
679 * examples/hildon-app-menu-example.c (main):
680 Update examples and documentation to reflect HildonAppMenu
683 2009-03-04 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-remote-texture.c
686 * src/hildon-animation-actor.c:
687 Don't include unused private headers.
689 2009-03-04 Alberto Garcia <agarcia@igalia.com>
691 * src/hildon-program-private.h
692 * src/hildon-program.c
693 (hildon_program_set_common_menu)
694 (hildon_program_get_common_menu)
695 (hildon_program_set_common_app_menu)
696 (hildon_program_get_common_app_menu):
697 Change common menu pointers from GtkWidget* to GtkMenu* and
698 HildonAppMenu* to avoid unnecessary casts.
700 2009-03-03 Alberto Garcia <agarcia@igalia.com>
702 * src/hildon-window.c (hildon_window_set_main_menu):
703 Removed incorrect 'Since:' tag
705 2009-03-03 Alejandro G. Castro <alex@igalia.com>
707 * src/hildon-pannable-area.c,
708 (hildon_pannable_area_calculate_velocity): We use now the
709 RATIO_TOLERANCE here to check the distance, fixed typo in the
711 (hildon_pannable_area_motion_notify_cb): We have to set the type
712 and time even if we are not sending the motion.
714 2009-03-02 Alberto Garcia <agarcia@igalia.com>
716 * doc/hildon-sections.txt
717 * src/hildon-app-menu.h
718 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
719 (+hildon_app_menu_get_filters): New methods to get the contents of
722 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
725 2009-03-02 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-app-menu.c (hildon_app_menu_popup):
730 2009-03-02 Alberto Garcia <agarcia@igalia.com>
732 * src/hildon-window.h
733 * src/hildon-window.c (+hildon_window_get_main_menu)
734 (hildon_window_get_menu): Created hildon_window_get_main_menu()
735 and deprecated hildon_window_get_menu().
737 * src/hildon-stackable-window.h
738 * src/hildon-stackable-window.c
739 (+hildon_stackable_window_set_app_menu)
740 (+hildon_stackable_window_get_app_menu)
741 (hildon_stackable_window_set_main_menu): Created
742 hildon_stackable_window_{get,set}_app_menu() and deprecated
743 hildon_stackable_window_set_main_menu().
745 * doc/hildon-sections.txt
746 * examples/hildon-app-menu-example.c (main)
747 * src/hildon-app-menu.c
748 * src/hildon-program.c:
749 Updated examples and documentation.
751 Fixes: NB#103758 (No way to obtain a menu from a
752 HildonStackableWindow)
754 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
759 * configure.ac: Bump version.
760 * debian/changelog: Updates.
762 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
764 * examples/hildon-remote-texture-example.c: Include
765 hildon-remote-texture.h explicitely.
766 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
767 applications not defining _XOPEN_SOURCE which don't require this header.
769 2009-02-27 Alberto Garcia <agarcia@igalia.com>
771 * doc/hildon-sections.txt
772 * src/hildon-app-menu.h
773 * src/hildon-app-menu.c (+hildon_app_menu_popup):
774 New function to pop up a HildonAppMenu
776 * src/hildon-stackable-window.c
777 (hildon_stackable_window_toggle_menu):
778 Use hildon_app_menu_popup() to show the menu.
780 2009-02-27 Alberto Garcia <agarcia@igalia.com>
782 * src/hildon-app-menu.c (hildon_app_menu_show)
783 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
784 menu if there's another window between it and its parent window.
786 Fixes: NB#100468 (Application menu window is launched even when a
787 new secondary-window/dialog is pending to be shown/realized)
789 2009-02-27 Alberto Garcia <agarcia@igalia.com>
791 * src/hildon-window-stack.c (hildon_window_stack_push)
792 (hildon_window_stack_pop_and_push):
793 Don't forget to push/pop the first window.
794 Reverse the window list before calling _push_list()
796 2009-02-27 Alberto Garcia <agarcia@igalia.com>
798 * src/hildon-picker-button.h
799 * src/hildon-picker-button.c (hildon_picker_button_class_init):
800 Remove "value_changed" slot to avoid ABI breakage
802 2009-02-26 Alejandro G. Castro <alex@igalia.com>
804 * src/hildon-pannable-area.c,
805 (hildon_pannable_area_realize),
806 (hildon_pannable_area_unrealize),
807 (hildon_pannable_draw_vscroll),
808 (hildon_pannable_draw_hscroll): Changed the method to handle the
809 GC used to draw the transparent scrollbar, this way we avoid
810 creating the GC all the time when drawing the scrollbars.
812 2009-02-26 Alejandro G. Castro <alex@igalia.com>
814 * src/hildon-pannable-area.c,
815 (hildon_pannable_area_init),
816 (hildon_pannable_area_remove): Removed some unnecessary casts.
817 (hildon_pannable_area_dispose): Disconnected some signals before
818 releasing the adjustments.
820 2009-02-26 Alberto Garcia <agarcia@igalia.com>
822 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
823 Make sure that all widgets contained in the toolbar are shown.
825 2009-02-25 Alberto Garcia <agarcia@igalia.com>
827 * doc/hildon-sections.txt
828 * src/hildon-picker-button.h
829 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
830 (_selection_changed, hildon_picker_button_on_dialog_response)
831 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
832 New hildon_picker_button_value_changed() method.
835 * src/hildon-picker-button-private.h
836 * src/hildon-picker-button.c (hildon_picker_button_init)
837 (+hildon_picker_button_disable_value_changed): Add protected
838 function for disabling the "value-changed" signal.
840 * src/hildon-date-button.c (hildon_date_button_set_date):
841 Don't emit "value-changed" for each one of the three columns.
843 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
844 before actual change of values)
846 2009-02-24 Alejandro G. Castro <alex@igalia.com>
848 * src/hildon-pannable-area.c,
849 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
850 for the treeview overshooting.
852 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
854 * src/hildon-banner.c (+hildon_banner_bind_style):
855 Renamed from hildon_banner_bind_label_style(), now naming the
856 banner itself as well.
857 (hildon_banner_show_information),
858 (hildon_banner_show_information_with_markup),
859 (hildon_banner_show_animation), (hildon_banner_show_progress):
860 Name the widgets and labels, based on their type.
862 See NB#98597 (Hildon Note and Hildon Banner should use themeable
865 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
867 * src/hildon-note.c (hildon_note_set_property): call
868 hildon_note_rename() on HildonNote:note-type set.
869 (hildon_note_rename): Name the note and its label, based on the
870 HildonNote:note-type property.
872 See NB#98597 (Hildon Note and Hildon Banner should use themeable
875 2009-02-24 Alejandro G. Castro <alex@igalia.com>
877 * src/hildon-pannable-area.c,
878 (hildon_pannable_area_class_init),
879 (hildon_pannable_area_motion_notify_cb): Reviewed the default
880 panning parameters, increased SPS and deceleration factor. Added
881 also a margin to control fake directions.
883 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
885 Patch by Sven Herzberg (sven@imendio.com)
887 * configure.ac: Add missing AM_PROG_CC_C_0
888 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
890 See NB#101420 (Update unit tests and fix make check)
892 2009-02-23 Alejandro G. Castro <alex@igalia.com>
894 This patch was applied before but reverted because it caused
895 problems, we have changed the main condition and tested the
896 regressions we detected before and they work ok. We have done a
897 complete review of the topmost algorithm in order to get a more
900 * src/hildon-pannable-area.c,
901 (hildon_pannable_area_get_topmost): Added a new parameter to
902 filter the the windows that do not include those events.
903 (hildon_pannable_area_button_press_cb),
904 (hildon_pannable_area_button_release_cb),
905 (hildon_pannable_get_child_widget_at): Reviewed the call the the
906 topmost function, we have added the new parameter.
908 Fixes: NB#97458 (Pannable area prevents propagation of button
911 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
913 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
914 if all columns in the selector have an item selected.
915 (_on_dialog_response): Stop "response" signal emission if there is
916 any selector column without selected items.
918 Fixes: NB#101889 (Picker dialog should not close when nothing is
919 selected in multiple selection list)
921 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
923 * src/hildon-font-selection-dialog.c
924 (hildon_font_selection_dialog_class_init),
925 (hildon_font_selection_dialog_init): Remove the preview
926 button and dialog, since previewing with default theming is likely
927 to be overcomplicated. The :preview property has now no effect.
928 Update documentation blurbs to inform about this.
930 Fixes: NB#92297 (Preview content is not clearly visible for
933 2009-02-20 Alejandro G. Castro <alex@igalia.com>
935 Reviewed the geometry that handles the children size and
936 scrollbar, now it tries a size and reviews the results depending
937 on the scrollbars visibility.
939 * src/hildon-pannable-area.c,
940 (hildon_pannable_area_realize): Fixed a typo.
941 (hildon_pannable_area_child_allocate_calculate): Added this
942 function to calculate the child allocation.
943 (hildon_pannable_area_size_allocate): Reviewed the allocation
945 (hildon_pannable_area_check_scrollbars),
946 (hildon_pannable_area_refresh): Refactored refresh function, this
947 way we can call the code handling the scrollbars without causing a
948 size_request, it is interesting in the allocate.
949 (hildon_pannable_area_init): Replace the callbacks of the
950 value_changed and changed signals to propertly deal with the
952 (hildon_pannable_area_grab_notify),
953 (hildon_pannable_area_initial_effect),
954 (hildon_pannable_area_launch_fade_timeout),
955 (hildon_pannable_area_adjust_changed),
956 (hildon_pannable_area_adjust_value_changed),
957 (hildon_pannable_area_redraw),
958 (hildon_pannable_area_button_press_cb),
959 (hildon_pannable_area_button_release_cb),
960 (hildon_pannable_area_scroll_cb),
961 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
962 code and use the new functions adjust_changed and
963 adjust_value_changed.
965 Fixes: NB#101603 (Focus is not even for the text entry boxes in
966 Contact editor dialog)
968 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
973 * configure.ac: Bump version.
974 * debian/changelog: Updates.
976 2009-02-20 Alejandro G. Castro <alex@igalia.com>
978 * src/hildon-pannable-area.c,
979 (hildon_pannable_area_get_topmost),
980 (hildon_pannable_area_button_press_cb),
981 (hildon_pannable_area_button_release_cb),
982 (hildon_pannable_get_child_widget_at): Reverted the patch for the
983 topmost function adding the event mask. We have to try a
984 differente approach because it is still causing problems (NB#9745,
987 2009-02-19 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-banner.c:
990 Update the maximum width of timed banners.
991 (force_to_wrap_truncated): Enforce the maximum text width if the
994 Fixes: NB#102413 (The text margins (wrapping) in information
995 banner should be HILDON_MARGIN_TRIPLE)
997 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
999 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1001 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1002 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1003 bound when calculating the scroll indicator position.
1005 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1006 treat ->lower correctly)
1008 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1010 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1011 expose event handling, since it is not necessary to draw the focus
1014 Fixes: NB#102467 (Do not show highlight on the text in
1017 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1019 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1020 full height of the toolbar for the button and the label.
1022 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1024 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1025 padding before the label and after the button.
1027 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1029 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1031 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1032 Add a GtkVSeparator between the button and the back arrow.
1033 Let the button have automatic size.
1034 Set a name to the widget for theming handling.
1036 Fixes: NB#101793 (Make edit toolbar the same height as window
1037 title bar (use title area theming))
1039 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1041 * src/hildon-helper.c (attach_new_color_element): Fix memory
1044 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1046 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1048 * examples/hildon-button-example.c (common_buttons_window): Don't
1051 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1053 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1054 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1056 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1058 * src/hildon-gtk.c: Check that the window is realized.
1060 Fixes: NB#102225 (Crash setting the progress indicator to a non
1063 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1065 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1066 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1067 instead of modifying the one in the widget style.
1069 Fixes: NB#101043 (Second row of all the command button are
1070 displayed in transparent mode.)
1072 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1074 * src/hildon-date-button.c
1075 * src/hildon-time-button.c: Add gettext macros
1077 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1079 * src/hildon-date-button.c (hildon_date_button_new):
1080 * src/hildon-time-button.c (hildon_time_button_new_step):
1081 Use new logical strings to set the button default title.
1083 Fixes: NB#99915 (Date and Time options are not localised in Date
1086 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1088 * src/hildon-pannable-area.c
1089 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1090 the PANNING_THRESHOLD.
1092 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1094 * src/hildon-pannable-area.c,
1095 (hildon_pannable_area_class_init): Increased the maximum speed.
1096 (hildon_pannable_area_get_property),
1097 (hildon_pannable_area_set_property),
1098 (hildon_pannable_area_timeout): Added a new low friction mode, it
1099 allows the user avoid friction when launching the widget fast
1100 enough. It is interesting to traverse long lists.
1102 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1104 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1105 (+hildon_stackable_window_delete_event): Ignore delete events if
1106 the window is not the topmost one.
1108 Fixes: NB#101698 (Back button long press and delete-event handling)
1110 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1112 * src/hildon-pannable-area.c,
1113 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1114 gtk-dnd-drag-threshold, it was too big. We have defined our own
1115 dnd define and set a smaller value: PANNIG_THRESHOLD.
1117 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1119 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1120 user-defined icons, use always the default one.
1122 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1124 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1126 This patch was applied before but reverted because it caused
1127 problems, we have changed the main condition and tested the
1128 regressions we detected before and they work ok.
1130 * src/hildon-pannable-area.c,
1131 (hildon_pannable_area_get_topmost): Added a new parameter to
1132 filter the the windows that do not include those events. Added
1133 also a condition when finding the window to filter windows that do
1134 not ask for those events.
1135 (hildon_pannable_area_button_press_cb),
1136 (hildon_pannable_area_button_release_cb),
1137 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1138 topmost function, we have added the new parameter.
1140 Fixes: NB#97458 (Pannable area prevents propagation of button
1143 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1145 * tests/check-hildon-color-button.c (START_TEST): do not leak
1148 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1150 * src/hildon-font-selection-dialog.c
1151 (hildon_font_selection_dialog_get_preview_text): Return NULL
1152 instead of FALSE on the g_return_val_if_fail().
1154 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1156 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1157 * src/hildon-date-selector.c
1158 (hildon_date_selector_select_current_date):
1159 Do not compare unsigned integers to be greater than or equal 0,
1160 because it's always TRUE.
1162 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1164 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1165 (hildon_date_selector_constructor): Do not select the current
1166 date until we are handle the "changed" signal, to avoid having bogus
1167 elements in the days model.
1169 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1171 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1172 for num_days, since _month_days() can return a negative value.
1174 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1176 * src/hildon-caption.c (hildon_caption_size_allocate):
1177 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1178 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1180 Initialize allocation variables to 0, to avoid eventually using
1181 unitialized variables.
1183 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1185 * src/hildon-bread-crumb-trail.c
1186 (hildon_bread_crumb_trail_size_allocate):
1187 * src/hildon-calendar.c (hildon_calendar_set_background):
1188 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1189 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1190 * src/hildon-seekbar.c (hildon_seekbar_init):
1191 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1192 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1193 * src/hildon-touch-selector-entry.c
1194 (hildon_touch_selector_get_text_from_model):
1195 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1196 * src/hildon-window.c (hildon_window_finalize):
1198 Remove many unused variables.
1200 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1202 * src/hildon-seekbar.c: (hildon_seekbar_init),
1203 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1205 Remove unnecessary g_assert() calls.
1207 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-caption.c: (hildon_caption_expose),
1210 (hildon_caption_set_property), (hildon_caption_init),
1211 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1212 (hildon_caption_size_request), (hildon_caption_size_allocate),
1213 (hildon_caption_forall), (hildon_caption_set_separator),
1214 (hildon_caption_activate), (hildon_caption_set_child_expand),
1215 (hildon_caption_set_label_text),
1216 (hildon_caption_get_label_alignment):
1218 Remove unnecessary g_assert() calls.
1220 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1222 * src/hildon-banner.c
1223 (hildon_banner_map, hildon_banner_init): Make banner temporary
1224 before mapping it to avoid closing other temporary windows, but
1225 make it non-temporary afterwards to avoid being closed by other
1226 non-temporary windows.
1227 (-hildon_banner_client_event, hildon_banner_init):
1228 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1230 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1233 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1235 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1238 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1240 * src/hildon-remote-texture.c
1241 * src/hildon-remote-texture.h
1242 * src/hildon-remote-texture-private.h
1243 * examples/hildon-remote-texture-example.c:
1244 Updates/fixes to remote-texture and its example.
1246 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1248 Patch by Mox Soini (ext-mox.soini@nokia.com)
1250 * src/hildon-code-dialog.c: Update logical id.
1251 * src/hildon-set-password-dialog.c: Update logical id.
1253 Fixes: NB#100646 (Logical strings is shown for ok in set
1254 password,Password needed dialogs)
1256 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1259 * src/hildon-remote-texture.c
1260 * src/hildon-remote-texture.h
1261 * src/hildon-remote-texture-private.h
1263 Added remote texture widget (for Clutter shared memory textures)
1265 * examples/hildon-remote-texture-example.c
1266 * examples/Makefile.am
1267 Added example file for remote texture usage
1269 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1271 * configure.ac: post release version bump.
1272 * debian/changelog: version bump.
1274 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1279 * configure.ac: Bump version.
1280 * debian/changelog: Updates.
1282 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1284 * src/hildon-date-selector.c (hildon_date_selector_init)
1285 (hildon_date_selector_constructor): Don't connect to the "changed"
1286 signal until the selector is completely constructed.
1288 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1290 * src/hildon-touch-selector.c: (_create_new_column),
1291 (hildon_touch_selector_append_column),
1292 (hildon_touch_selector_set_column_selection_mode),
1293 (hildon_touch_selector_set_active),
1294 (hildon_touch_selector_select_iter):
1295 Emit the HildonTouchSelector::changed signal every time selection
1296 is changed in any of the methods above. This behavior was already
1297 documented but not fully functional.
1299 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1300 selection is programmatically changed)
1302 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1304 * doc/hildon-sections.txt: Remove obsolete icon
1305 sizes from here as well.
1307 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1309 * examples/hildon-stackable-window-example.c (add_window): Remove
1312 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-app-menu.c
1315 (hildon_app_menu_show): Check whether the parent window of a menu
1316 is topmost before popping it up.
1318 Fixes: NB#100468 (Application menu window is launched even when a
1319 new secondary-window/dialog is pending to be shown/realized.)
1321 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1323 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1326 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1328 Patch by Mox Soini (ext-mox.soini@nokia.com)
1330 * src/hildon-banner.c: (hildon_banner_show_animation):
1331 use stylus size instead of obsolete note size.
1332 * src/hildon-defines.h: Update icon sizes.
1334 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-touch-selector-entry.c:
1337 (hildon_touch_selector_entry_init): Disable unsupported
1339 (hildon_touch_selector_entry_get_text_column): Emit a warning
1340 if an unsupported input modes is used and explicitile state
1341 these modes in the documentation.
1343 Fixes: NB#99802 (Hildon touch selector entry not working properly
1344 for some of the input modes)
1346 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1348 * src/hildon-pannable-area.c,
1349 (hildon_pannable_area_init): Added the changed signal handlers of
1352 Fixes: NB#100320 (HildonPannableArea does not listen to
1353 GtkAdjustment "change" signals)
1355 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1357 * doc/hildon-sections.txt
1358 * src/hildon-window-private.h
1359 * src/hildon-window.h
1360 * src/hildon-window.c (hildon_window_init)
1361 (hildon_window_realize, hildon_window_unrealize)
1362 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1363 (hildon_window_size_request, hildon_window_size_allocate)
1364 (hildon_window_forall, hildon_window_show_all)
1365 (hildon_window_destroy, +paint_edit_toolbar)
1366 (+hildon_window_set_edit_toolbar):
1367 New hildon_window_set_edit_toolbar() method, to add a
1368 HildonEditToolbar to a window without having to pack it manually.
1370 Reorganize hildon_window_size_allocate()
1372 * src/hildon-edit-toolbar.c: Update documentation.
1374 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1375 example to use the new API.
1377 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1379 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1381 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1382 Remove from stack before calling parent's hide.
1384 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1387 window is removed from the middle of the stack, update the
1388 transiency of the previous one.
1390 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1393 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1395 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1396 block/unblock the signal handler if it's not actually being used.
1397 Fixes some critical warnings.
1399 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1401 Based on a patch by Iván Gómez (igomez@igalia.com)
1403 * src/hildon-banner.c
1407 * src/hildon-pannable-area.c
1408 * src/hildon-picker-dialog.c
1409 * src/hildon-wizard-dialog.h
1410 * src/hildon-wizard-dialog.c: Documentation updates.
1412 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1413 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1415 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1417 * configure.ac: post release version bump.
1418 * debian/changelog: version bump.
1420 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1425 * configure.ac: Bump version.
1426 * debian/changelog: Updates.
1428 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1431 a stock icon nor change the relief of the back arrow.
1433 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1434 graphics from theme)
1436 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1438 * src/hildon-button.c (hildon_button_set_alignment): Use
1439 priv->alignment if the button has no child yet.
1441 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1443 * src/hildon-button.c: (hildon_button_init): Set the
1444 button style during initialization to give it the proper
1447 Fixes: NB#99713 (HildonButton value label color is wrong)
1449 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1451 * src/hildon-touch-selector.c: Document
1452 hildon_touch_selector_center_on_selected()
1454 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1456 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1457 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1458 all menu items, but not the menu itself.
1459 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1460 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1461 items after adding them to the menu so keyboard accelerators work.
1462 (hildon_app_menu_show): Don't show the menu if it contains items
1463 but none of them are visible.
1465 * examples/hildon-app-menu-example.c (create_menu): Use
1466 gtk_widget_show_all() to show all menu items.
1468 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1470 * src/hildon-picker-dialog.c:
1471 (-_update_title_on_selector_changed_cb),
1472 (-_dialog_update_title): Removed.
1473 (_select_on_selector_changed_cb), (_on_dialog_response),
1474 (on_selector_columns_changed): Do not update the dialog title.
1475 (setup_interaction_mode): Do not connect to
1476 HildonTouchSelector::changed signal if there's a "done" button, as
1477 the dialog title doesn't need to be updated.
1479 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1482 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1484 Patch by Kristian Rietveld (kris@imendio.com)
1486 * src/hildon-touch-selector.c: (_create_new_column): Use new
1487 GtkTreeView::hildon-row-tapped signal to react to user interactions
1488 instead of ::changed.
1490 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1491 with some dynamic tree model)
1493 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1495 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1496 (+screen_size_changed, +label_size_request)
1497 (hildon_note_class_init): Make the Hildon information note have a
1498 minimum height, and make its text hvae a maximum width.
1500 Fixes: NB#98614 (Hildon information note (background) should have
1501 minimum height and maximum text width)
1503 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-banner.h
1506 * src/hildon-banner.c (hildon_banner_show_information)
1507 (hildon_banner_show_informationf)
1508 (hildon_banner_show_information_with_markup): Update documentation
1509 to reflect that the icon_name parameter is not used anymore.
1510 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1511 Remove all code from these functions and mark them as deprecated.
1512 (hildon_banner_show_progress): Mark as deprecated.
1514 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1516 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1518 * src/hildon-pannable-area.c,
1519 (hildon_pannable_area_class_init),
1520 (tranparency_color),
1521 (hildon_pannable_draw_vscroll),
1522 (hildon_pannable_draw_hscroll),
1523 (hildon_pannable_area_expose_event): Added a new way to render the
1524 scrollbars of the pannable area avoiding using cairo at all. This
1525 way we improve the performance of the pannable area rendering. The
1526 cairo rendering procedure is still in the code, we can control
1527 which one to use changing the value of the define
1528 USE_CAIRO_SCROLLBARS.
1530 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1532 * configure.ac: post release version bump.
1533 * debian/changelog: version bump.
1535 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1540 * configure.ac: Bump version.
1541 * debian/changelog: Updates.
1543 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1545 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1546 banners instead of destroying them when they receive a button
1549 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1551 Reverted commit 34028, it was causing regressions, probably the
1552 topmost condition is not correct, we have to check it in more
1553 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1554 propagation of button press events)
1556 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1558 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1559 that the selection is not empty before attempting to retrieve the
1560 current ampm selection.
1562 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1564 * src/hildon-picker-button.c:
1565 (hildon_picker_button_on_dialog_response): Directly update the
1566 button contents when required instead of calling _selection_changed.
1568 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1570 * src/hildon-program.c (hildon_program_update_top_most): Update
1571 'is-topmost' property also when wm_hints is not set.
1573 Fixes: NB#98383 (is-topmost signal is not emitted when task
1574 switcher is clicked.)
1576 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1578 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1582 * src/hildon-animation-actor.c,
1583 * src/hildon-animation-actor.h: Added the animation actor class,
1584 this widget represents an animation actor for WM-assisted
1585 animation effects in the Hildon framework.
1587 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1589 * src/hildon-window-stack-private.h
1590 * src/hildon-window-stack.c
1591 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1592 Avoid calling gtk_widget_show() again indirectly from
1593 hildon_stackable_window_show()
1595 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1597 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1600 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1602 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1603 (hildon_time_selector_init): Move the construction of the hours and
1604 ampm columns to the constructor to preserve the order the columns
1607 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1609 * src/hildon-picker-dialog.c:
1610 (hildon_picker_dialog_class_init): Connect a realize method.
1611 (+hildon_picker_dialog_realize): Setup the interaction mode here
1613 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1614 yet, do it during the realize instead.
1615 (_on_dialog_response):
1616 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1617 if the widget is not realized, to avoid the dialog response before it
1620 Avoid premature responses in the HildonPickerDialog that can cause it
1621 to be hidden before it's even shown.
1623 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1625 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1626 (on_selector_columns_changed), (requires_done_button),
1627 (+prepare_action_area), (setup_interaction_mode),
1628 (_hildon_picker_dialog_set_selector):
1630 Split the interaction mode setup into preparation of the
1631 action area (prepare_action_area()) and the connection of
1632 the signals in setup_interaction_mode() and update the code to
1635 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1637 * src/hildon-pannable-area.c,
1638 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1639 per second to 15, we will check if this is ok regarding
1642 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1644 * src/hildon-pannable-area.c,
1645 (hildon_pannable_axis_scroll): Avoid resize if we already have
1646 reached overshoot_max.
1648 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1650 * src/hildon-pannable-area.c,
1651 (hildon_pannable_area_init),
1652 (hildon_pannable_area_realize),
1653 (hildon_pannable_area_size_allocate),
1654 (hildon_pannable_area_map),
1655 (hildon_pannable_area_unmap),
1656 (hildon_pannable_draw_vscroll),
1657 (hildon_pannable_draw_hscroll),
1658 (hildon_pannable_area_expose_event),
1659 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1660 pannable are to avoid the expose events go to the window and
1661 redraw the window. We save this way that part of the stack and the
1662 paint_boxes. We had to change the positions of the elements when
1665 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1668 * src/hildon-color-chooser-dialog.c:
1669 (hildon_color_chooser_dialog_init):
1670 * src/hildon-font-selection-dialog.c:
1671 (hildon_font_selection_dialog_init),
1672 (hildon_font_selection_dialog_show_preview):
1673 * src/hildon-get-password-dialog.c:
1674 * src/hildon-login-dialog.c:
1675 * src/hildon-set-password-dialog.c:
1676 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1677 * src/hildon-time-picker.c: (hildon_time_picker_init):
1679 Remove obsolete logical string IDs and update to the appropriate ones.
1681 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1683 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1685 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1686 that happens if the window hasn't been realized yet.
1688 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1689 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1691 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1693 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1694 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1697 Fixes: NB#98537 (Device hangs in account settings dialog)
1699 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1701 * configure.ac: post release version bump.
1702 * debian/changelog: version bump
1704 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1709 * configure.ac: Bump version.
1710 * debian/changelog: Updates.
1712 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1714 Added a new function to the HildonTimeButton widget that allows to
1715 change the step of the minutes in the selector associated with the
1716 button: hildon_time_button_new_step
1718 * src/hildon-time-button.c,
1719 (hildon_time_button_init),
1720 (hildon_time_button_new),
1721 (hildon_time_button_new_step):
1722 * src/hildon-time-button.h: Added the new function and refactored
1724 * examples/hildon-time-button-example.c,
1725 (main): We have replaced the function without parameters with the
1726 function with the steps set to 5
1728 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1730 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1732 * src/hildon-time-selector.c,
1733 (hildon_time_selector_class_init),
1734 (hildon_time_selector_constructor),
1735 (hildon_time_selector_get_property),
1736 (hildon_time_selector_set_property),
1737 (_create_minutes_model),
1738 (hildon_time_selector_new_step),
1739 (hildon_time_selector_set_time),
1740 * src/hildon-time-selector.h: Added a new property to the
1741 HildonTimeSelector (minutes-step), we use that property to control
1742 the steps between the minutes in the list of the selector. We have
1743 added a new function to the API to create a widget changing the
1744 step: hildon_time_selector_new_step.
1746 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1748 * src/hildon-time-selector.c,
1749 (hildon_time_selector_class_init),
1750 (hildon_time_selector_constructor),
1751 (hildon_time_selector_init): Overrided the construct function when
1752 creating the time selector object. We have moved the minutes model
1753 handling code from the init to the new construction function:
1754 hildon_time_selector_constructor.
1756 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1758 * examples/hildon-date-button-example.c: (main): Use the new
1759 hildon_date_button_new_with_year_range() method in the example.
1760 * src/hildon-date-button.c:
1761 (+hildon_date_button_new_with_year_range): New public method
1762 to conveniently create a HildonDateButton with a custom year range
1763 in its HildonDateSelector.
1764 * src/hildon-date-button.h: Add the new public method definition.
1766 Fixes: NB#97908 (Not possible to change the year range in
1767 HildonDateSelector/HildonDateButton)
1769 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-date-selector.c:
1772 (+hildon_date_selector_set_property),
1773 (+hildon_date_selector_get_property),
1774 (hildon_date_selector_class_init): Install new properties "min-year"
1775 and "max-year" to define boundaries for the year column.
1776 (_create_year_model): Use the boundary properties to populate the model.
1777 (+hildon_date_selector_new_with_year_range): New public method to
1778 create a HildonDateSelector with a user defined year range.
1779 (hildon_date_selector_select_current_date): Use the new boundaries to
1780 calculate the iterator of current year.
1781 * src/hildon-date-selector.h: Add the new public method definition.
1783 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1785 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1786 Install a constructor method.
1787 (+hildon_date_selector_construct_ui): construct the widget.
1788 (+hildon_date_selector_constructor): new constructor.
1789 (+hildon_date_selector_init): move out widget construction code to
1790 the new constructor.
1792 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1794 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1795 that there's actually a month or year selected before obtaining them.
1796 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1797 of the HildonTouchSelector::changed signal, as it was emitted on every
1798 single item selection.
1800 Fix some warnings and possible crashers due to the selection restoring.
1802 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1804 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1805 the signal handlers only after creating the dialog instead of on every
1808 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1810 * src/hildon-button.c (hildon_button_init)
1811 * src/hildon-check-button.c (hildon_check_button_init)
1812 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1813 focus when clicked by default.
1815 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1817 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1820 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1822 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1823 Alejandro G. Castro (alex@igalia.com)
1825 * src/hildon-picker-dialog.c:
1826 (hildon_picker_dialog_class_init): install new "center-on-show"
1828 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1829 (hildon_picker_dialog_set_property): add setter code for the new
1831 (hildon_picker_dialog_get_property): add getter code for the new
1833 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1834 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1837 Fixes: NB#92849 (Selected item is not always visible when
1838 HildonTouchSelector is shown)
1840 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1842 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1843 Alejandro G. Castro (alex@igalia.com)
1845 * src/hildon-touch-selector.c:
1846 (_create_new_column): Do not connect to the "realize" signal of the
1848 (hildon_touch_selector_append_column): center on the selected items
1849 when a new column is appended.
1850 (hildon_touch_selector_select_iter): Factor out the code to select a
1851 column to hildon_touch_selector_scroll_to().
1852 (+search_nearest_element): Method to retrieve the nearest selected
1853 element to the visible area of the pannable area in a column.
1854 (+on_realize_cb): scroll to the initially selected item.
1855 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1856 the pannable area is realized, otherwise delay this until it is.
1857 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1858 selected items of a given column.
1859 (+hildon_touch_selector_center_on_selected): Public method to center
1860 all columns on the nearest selected item.
1861 * src/hildon-touch-selector.h: Add definition for
1862 hildon_touch_selector_center_on_selected().
1864 Implement public API to ensure visibility of all selected items in
1865 a HildonTouchSelector.
1867 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1869 Fixed a problem in the fading when calling the scroll_to API, and
1870 improve scrollbar fading handling.
1872 * src/hildon-pannable-area.c,
1873 (hildon_pannable_area_grab_notify): avoid the timeout when the
1875 (hildon_pannable_area_button_press_cb),
1876 (hildon_pannable_area_motion_notify_cb): Code style changes.
1877 (hildon_pannable_area_button_release_cb): Review the conditions
1878 when releasing the mouse button to avoid unrequired fading
1880 (hildon_pannable_area_scroll_to): Do not calculate and set the
1881 velocity if the scroll is not required.
1883 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1885 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1886 Don't check whether the new selector is NULL: it cannot be.
1887 Hold a reference to the selector while doing the replacement.
1889 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1891 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1892 unnecessary size_request in a removed widget.
1894 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1896 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1897 an unnecessary reference tracking that was leaking.
1899 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1901 Added delayed motion notify event handling, this way we can
1902 discard redrawing if more than 25 events arrive per second.
1904 * src/hildon-pannable-area.c,
1905 (hildon_pannable_area_init): Initialized the new private atributes
1906 controlling this timeout
1907 (hildon_pannable_area_dispose): Remove the timeout that controls
1908 the motion notify events.
1909 (hildon_pannable_area_scroll): Added a condition to control the
1910 use of the acceleration.
1911 (hildon_pannable_area_motion_event_scroll_timeout),
1912 (hildon_pannable_area_motion_event_scroll): Added this two
1913 functions, they handle the motion notify events inside the
1915 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1916 to the scroll method with the new function.
1917 (hildon_pannable_area_button_release_cb): We have to remove the
1918 timeout handler and move to the last position if the last motion
1919 events were not handled.
1921 Fixes: NB#97028 (Pannable area updates on every motion event)
1923 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1925 * src/hildon-pannable-area.c,
1926 (hildon_pannable_area_get_topmost): Added a new parameter to
1927 filter the the windows that do not include those events. Added
1928 also a condition when finding the window to filter windows that do
1929 not ask for those events.
1930 (hildon_pannable_area_button_press_cb),
1931 (hildon_pannable_area_button_release_cb),
1932 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1933 topmost function, we have added the new parameter.
1935 Fixes: NB#97458 (Pannable area prevents propagation of button
1938 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1940 * src/hildon-pannable-area.c,
1941 (hildon_pannable_area_initial_effect): Added controls before
1942 launching the timeout and the idle functions.
1943 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1944 of the method, in some situations it can return with TRUE and 0 in
1946 (hildon_pannable_area_button_press_cb): We do not need to set
1947 DELAY for fading out here.
1949 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1951 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1954 post-cleaning if the selection is not NULL.
1956 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1958 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1959 all items before restoring the selection.
1961 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1963 * src/hildon-touch-selector.c:
1964 (+hildon_touch_selector_unselect_all):
1965 * src/hildon-touch-selector.h: New API to unselect all items in a
1966 column of the touch selector.
1968 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1970 * src/hildon-pannable-area.c,
1971 (hildon_pannable_area_redraw): Added a call to the refresh
1972 function inside the redraw because apparently in some cases the
1973 change in the adjustment does not imply a size allocate.
1975 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1976 despite the view not being scrollable)
1978 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1980 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1981 leak. Check for NULL before attempting to set the window title.
1983 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1985 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1986 whether to show or not the 'Done' button each time the dialog is
1987 shown, as it depends on the HildonTouchSelector selection mode.
1989 Fixes: NB#96226 (In multiple selection mode Done button is shown
1990 sometimes in listpicker)
1992 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1994 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1995 for the number of columns in the HildonTouchSelector more than once.
1997 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1999 * src/hildon-touch-selector.c: Minor documentation fixes.
2001 * src/hildon-picker-dialog.c (+_dialog_update_title)
2002 (_select_on_selector_changed_cb)
2003 (_update_title_on_selector_changed_cb)
2004 (on_selector_columns_changed): Update dialog title when there's no
2005 'Done' button and also when the number of columns in the selector
2009 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2010 (+_selection_changed, hildon_picker_button_on_dialog_response)
2011 (hildon_picker_button_selector_selection_changed)
2012 (+hildon_picker_button_selector_columns_changed)
2013 (hildon_picker_button_set_selector): Update button value and emit
2014 'value-changed' when the number of columns in the selector
2018 Fixes: NB#96225 (Dialog titles are not shown according to the
2019 values selected in the list picker)
2021 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2024 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2025 New "arrow-width" and "arrow-height" style properties to set the
2026 size of the arrow button.
2027 Set name of arrow button ("hildon-edit-toolbar-arrow").
2029 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2030 graphics from theme)
2032 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2034 * src/hildon-picker-button.c:
2035 (hildon_picker_button_selector_selection_changed): Use
2036 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2037 the dialog is present.
2039 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2040 the selection is accepted in the dialog)
2042 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2044 * src/hildon-color-chooser.h
2045 * src/hildon-color-chooser-dialog.h:
2046 Added G_BEGIN_DECLS and G_END_DECLS
2048 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2050 (_clean_current_selection): plug a leak in the list.
2052 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2054 * src/hildon-picker-dialog.c:
2055 (+free_path_list): Method to free a GList of GtkTreePaths.
2056 (_clean_current_selection), (_save_current_selection),
2057 (_restore_current_selection): Save the current selection in
2058 as a list of lists, to support multiple selection properly.
2060 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2062 patch by Claudio Saavedra (csaavedra@igalia.com)
2064 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2065 Store the press position.
2066 (+hildon_text_view_button_release_event): If the release position is
2067 close enough to the press position, move the cursor here. Otherwise,
2069 (hildon_text_view_class_init): Override GtkTextView press, release, and
2070 motion event handlers, disabling this way text selection through
2071 pointer interaction, and allowing the container widget to handle the
2074 Fixes: NB#95828 (HildonTextView functionality)
2076 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2078 Based on a patch by Iván Gómez (igomez@igalia.com)
2080 * src/hildon-button.[ch]
2081 * src/hildon-calendar.c
2082 * src/hildon-check-button.c
2083 * src/hildon-date-editor.c
2084 * src/hildon-date-selector.c
2085 * src/hildon-picker-button.c
2086 * src/hildon-time-editor.c
2087 * src/hildon-time-selector.c
2088 * src/hildon-touch-selector.[ch]:
2089 Documentation updates
2091 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2093 * src/hildon-pannable-area.c,
2094 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2095 threshold, it was required due to X events handling.
2097 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2099 * src/hildon-pannable-area.c,
2100 (hildon_pannable_area_grab_notify),
2101 (hildon_pannable_area_initial_effect),
2102 (hildon_pannable_area_button_press_cb),
2103 (hildon_pannable_area_button_release_cb),
2104 (hildon_pannable_area_scroll_cb),
2105 (hildon_pannable_area_scroll_to): Review the timeout management of
2106 the scrollbar, the frecuency was incorrectly set.
2108 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2110 * src/hildon-picker-button.c:
2111 (+hildon_picker_button_on_dialog_response),
2112 (hildon_picker_button_clicked): Present the dialog instead of
2113 running it with gtk_dialog_run().
2115 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2118 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2120 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2121 (hildon_app_menu_finalize): When a window is hidden it doesn't
2122 emit notify::is-topmost, so make sure than the menu also
2123 disappears in that case.
2124 (parent_window_topmost_notify): Renamed from parent_window_hidden
2126 Fixes: NB#94460 (stackable window's menu is not closed when its
2129 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-touch-selector-entry.c:
2132 (+hildon_touch_selector_entry_set_input_mode),
2133 (+hildon_touch_selector_entry_get_input_mode):
2134 * src/hildon-touch-selector-entry.h: New methods to access the input
2135 mode in the selector's entry.
2137 Fixes: NB#93410 (API required for setting IM mode in
2138 HildonTouchSelectorEntry)
2140 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2142 * configure.ac: post release version bump.
2143 * debian/changelog: version bump
2145 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2150 * configure.ac: Bump version.
2151 * debian/changelog: Updates.
2153 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2155 * src/hildon-touch-selector.c:
2156 (_hildon_touch_selector_has_multiple_selection): No need
2157 to initialize the variables here.
2159 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-note-private.h
2162 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2163 (hildon_note_finalize, hildon_note_rebuild): Close information
2164 notes when they receive a button press.
2166 Fixes: NB#89890 (Information notes does not get disappeared after
2169 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2171 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2172 mark from the wizard title, as it's not really necessary. Also,
2173 do not display the page title if not set.
2175 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2177 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2178 (parent_window_hidden): Use the window's "is-topmost" property to
2179 detect when to hide the menu.
2181 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2183 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2184 (hildon_app_menu_finalize): If the parent window of the menu is
2185 hidden, hide the menu too.
2187 Fixes: NB#94460 (stackable window's menu is not closed when its
2190 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2193 * debian/libhildon1-examples.install
2195 * examples/Makefile.am:
2196 Use dh_install to install all examples.
2197 Use DEB_SRCDIR instead of defining SOURCE_DIR
2199 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2201 * configure.ac: post release version bump.
2202 * debian/changelog: version bump
2204 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2209 * configure.ac: bump version
2210 * debian/changelog: updates
2211 * debian/control: bump gtk+ dependency
2213 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2215 patch by Christian Dywan (christian@imendio.com)
2217 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2218 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2220 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2222 * src/hildon-check-button.c (hildon_check_button_init)
2223 (hildon_check_button_class_init, hildon_check_button_style_set)
2224 (hildon_check_button_apply_style):
2225 New "checkbox-size" style property.
2227 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2228 larger / configurable size)
2230 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2232 * configure.ac: post release version bump.
2233 * debian/changelog: version bump
2235 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2240 * configure.ac: bump version
2241 * debian/changelog: updates
2243 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2245 * doc/hildon-sections.txt
2246 * src/hildon-pannable-area.c
2247 * src/hildon-program.c
2248 * src/hildon-time-editor.c
2249 * src/hildon-touch-selector-entry.c:
2251 More documentation updates.
2253 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2255 * doc/hildon-sections.txt
2256 * src/hildon-caption.c
2257 * src/hildon-code-dialog.c
2258 * src/hildon-color-button.c
2259 * src/hildon-controlbar.c
2260 * src/hildon-date-editor.c
2261 * src/hildon-date-selector.c
2262 * src/hildon-edit-toolbar.c
2263 * src/hildon-find-toolbar.c
2264 * src/hildon-font-selection-dialog.c
2266 * src/hildon-program.c
2267 * src/hildon-range-editor.c
2268 * src/hildon-seekbar.c
2269 * src/hildon-time-editor.c
2270 * src/hildon-time-selector.c
2271 * src/hildon-volumebar-range.c
2272 * src/hildon-volumebar.c
2273 * src/hildon-vvolumebar.c
2274 * src/hildon-weekday-picker.c
2275 * src/hildon-window.c
2276 * src/hildon-wizard-dialog.c:
2278 Lots of documentation fixes.
2280 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2282 Patch contributed by Iván Gómez (igomez@igalia.com)
2284 * src/hildon-check-button.c:
2285 * src/hildon-date-button.c:
2286 * src/hildon-date-selector.c:
2287 * src/hildon-dialog.c:
2288 * src/hildon-edit-toolbar.c:
2289 * src/hildon-entry.c:
2290 * src/hildon-picker-button.c:
2291 * src/hildon-program.c:
2292 * src/hildon-text-view.c:
2293 * src/hildon-time-button.c:
2294 * src/hildon-touch-selector-entry.c:
2295 * src/hildon-window-stack.c:
2297 Add more "since" tags to the new API.
2299 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2301 * doc/hildon-sections.txt: Add below method.
2302 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2303 version for the hildonized scale.
2304 * src/hildon-gtk.h: Add the definition.
2306 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2308 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2310 * doc/hildon-sections.txt: Add missing entries for new methods.
2312 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2314 Added API to pannable are in order to get its adjustments. We
2315 added two properties to manage the values we had in the private
2318 * src/hildon-pannable-area.c:
2319 (hildon_pannable_area_class_init): Added hadjustment and
2320 vadjustment properties in order to expose horizontal and vertical
2322 (hildon_pannable_area_get_property),
2323 (hildon_pannable_area_set_property): Added code to handle the new
2325 (hildon_pannable_area_get_hadjustment),
2326 (hildon_pannable_area_get_vadjustment): API functions to get the
2328 * src/hildon-pannable-area.h:
2329 (hildon_pannable_area_get_hadjustment),
2330 (hildon_pannable_area_get_vadjustment): API functions to get the
2333 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2335 Fixed some leaks, after valgrinding.
2337 * src/hildon-touch-selector.c:
2338 (_default_print_func): Fixed a leak.
2339 (hildon_touch_selector_append_column): Fixed a leak.
2340 * src/hildon-date-button.c:
2341 (hildon_date_button_init): Fixed a leak.
2342 * src/hildon-date-selector.c
2343 (hildon_date_selector_finalize): Fixed a leak.
2345 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2347 Based on a patch by Christian Dywan (christian@imendio.com)
2349 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2351 * src/hildon-gtk.h: Add definition.
2353 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2355 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2357 * src/hildon-picker-button.c: (hildon_picker_button_init),
2358 (hildon_picker_button_new): Set the HildonButton::style property
2359 in the init method, to propagate the value to the derived classes.
2361 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2363 * src/hildon-button.c: (hildon_button_class_init): Do not make
2364 the "style" property a construct property.
2366 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2368 * src/hildon-wizard-dialog.h
2369 * src/hildon-wizard-dialog.c
2370 (hildon_wizard_dialog_set_forward_page_func)
2371 * src/hildon-pannable-area.h
2372 * src/hildon-pannable-area.c
2373 (hildon_pannable_area_set_size_request_policy):
2374 Documentation fixes.
2376 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2378 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2380 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2382 * doc/hildon-sections.txt: Added sections file.
2384 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2387 * src/*.[ch]: Updates.
2389 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2391 * examples/hildon-progress-indicator-example.c: new file
2392 * examples/Makefile.am: include the new example program
2394 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2396 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2398 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2400 * configure.ac: post release version bump
2401 * debian/changelog: version bump
2403 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2408 * configure.ac: bump version
2409 * debian/changelog: updates
2410 * debian/control: bump gtk+ dependency
2412 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2414 * src/hildon-dialog.c: Mark as deprecated.
2415 * src/hildon-dialog.h: Mark as deprecated.
2416 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2417 from HildonDialog and still work, even if
2418 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2419 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2421 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2422 maemo changes) instead)
2424 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2426 * src/hildon-pannable_area.h:
2427 * src/hildon-pannable_area.c:
2428 (hildon_pannable_area_class_init),
2429 (hildon_pannable_area_set_property),
2430 (hildon_pannable_area_get_property),
2431 (hildon_pannable_area_size_request),
2432 (hildon_pannable_area_get_size_request_policy),
2433 (hildon_pannable_area_set_size_request_policy): Added new API
2434 allowing applications to control the request policy. Now they can
2435 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2436 children allocation (HILDON_MOVEMENT_CHILDREN).
2438 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2442 (hildon_gtk_tree_view_set_ui_mode)
2443 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2444 mode of treeviews and iconviews.
2446 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2448 * src/hildon-touch-selector-entry.c:
2449 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2450 of a GtkEntry to get proper theming.
2452 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2453 widget, not GtkEntry)
2455 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2457 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2458 no HildonWizardDialogPageFunc.
2460 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2462 Patch contributed by Iván Gómez (igomez@igalia.com)
2464 * src/hildon-app-menu.c:
2465 * src/hildon-button.c:
2466 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2467 * src/hildon-stackable-window.c:
2468 * src/hildon-time-selector.c:
2469 * src/hildon-touch-selector.c:
2470 * src/hildon-window.c:
2472 Add more "since" tags to the new API in hildon 2.2.
2474 2008-12-05 Tim Janik <timj@imendio.com>
2476 Patch contributed by Christian Dywan (christian@imendio.com)
2478 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2479 HildonSizeType, which are supplied by Gtk+ now.
2481 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2483 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2484 (with maemo changes) instead)
2486 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2488 Patch contributed by Iván Gómez (igomez@igalia.com)
2490 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2493 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2495 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2496 (some_page_func), (main): Update the example to use a
2497 HildonWizardDialogPageFunc function.
2499 * src/hildon-wizard-dialog-private.h: Add private data for
2500 the HildonWizardDialogPageFunc function usage.
2502 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2503 (destroy), (hildon_wizard_dialog_init), (response),
2504 (hildon_wizard_dialog_set_forward_page_func):
2505 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2506 that applications can use to stop a HildonWizardDialog to jump to
2509 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2512 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-program.h
2515 * src/hildon-program-private.h
2516 * src/hildon-program.c (hildon_program_init)
2517 (hildon_program_set_common_app_menu)
2518 (hildon_program_get_common_app_menu):
2519 New API for setting a common HildonAppMenu for all
2520 HildonStackableWindows registered with the HildonProgram.
2522 * src/hildon-stackable-window.c
2523 (hildon_stackable_window_toggle_menu):
2524 Use the common HildonAppMenu if a window doesn't have a specific
2527 * src/hildon-app-menu-private.h
2528 * src/hildon-app-menu.c
2529 (hildon_app_menu_get_parent_window):
2530 Function to obtain the window a HildonAppMenu is attached to.
2531 (hildon_app_menu_set_parent_window):
2532 Hide the menu if the parent window is set to NULL.
2534 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2537 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2538 search widget to popup.
2540 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2542 * configure.ac: post release version bump
2543 * debian/changelog: version bump
2545 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2550 * configure.ac: bump version
2551 * debian/changelog: updates
2553 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2555 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2557 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2558 (hildon_window_stack_window_realized)
2559 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2560 Set the leader GdkWindow when a window is stacked and realized,
2561 unset it when it's unstacked.
2562 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2564 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2566 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-stackable-window.h
2569 * src/hildon-window-stack.h:
2570 Protect definition of HildonWindowStack using the preprocessor.
2572 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2574 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2575 Fix warning if all menu items are hidden.
2577 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2579 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2581 * src/hildon-controlbar.c:
2582 * src/hildon-hvolumebar.c:
2583 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2584 Multiple scale size defines updates.
2586 Fixes: NB#94322 (Scale Updates)
2588 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2590 * examples/hildon-app-menu-example.c (create_menu)
2591 Show items after adding them to the menu, as in the future the
2592 menu will no longer call gtk_widget_show() on the added items.
2594 * src/hildon-app-menu.c:
2595 Update example as explained above.
2597 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2599 * src/hildon-app-menu.c
2600 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2601 Make sure that all menu items have finger height.
2603 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2605 * src/hildon-picker-dialog.c:
2606 (_on_dialog_response), (_save_current_selection),
2607 (_restore_current_selection), (_clean_current_selection),
2608 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2609 Defined new functions in order to save the current internal selector
2610 selection previous open the dialog, in case that the use cancel the
2611 interaction, so the widget restores the previous selection.
2613 Fixes: NB#92032 (In calendar application, date values in 'new event'
2616 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2618 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2620 * src/hildon-button.c: Add a reference to the button examples in
2621 hildon-button-example.c
2623 * examples/hildon-button-example.c: Added examples of the most
2624 common button layouts.
2626 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-app-menu.c (hildon_app_menu_show)
2629 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2631 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2633 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-picker-dialog.c:
2636 (hildon_picker_dialog_init): Initialize the signal id for
2637 HildonTouchSelector::columns-changed.
2638 (+on_selector_columns_changed): Set up the interaction mode everytime a
2639 column is added or removed from the HildonTouchSelector.
2640 (_hildon_picker_dialog_set_selector): Connect to
2641 HildonTouchSelector::columns-changed and keep track of it.
2643 Make sure to update the interaction mode of the dialog everytime a
2644 column is added or removed in the HildonTouchSelector.
2646 Fixes: NB#93228 (Done button is not shown always in listpicker)
2648 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2650 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2651 a new ::columns-changed signal.
2652 (hildon_touch_selector_append_column): Emit ::columns-changed.
2653 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2655 Add a ::columns-changed signal, emitted when the number of columns in a
2656 HildonTouchSelector changes.
2658 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2660 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2661 (_hildon_picker_dialog_set_selector): Factor out the code
2662 to set up the dialog interaction mode.
2664 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2666 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2667 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2668 to signal_changed_id.
2670 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2675 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2677 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2678 Updated the logical ids related to ampm format, as now it is required to
2679 show it correctly localized even on languages with no default
2680 abbreviations for am or pm
2681 (_check_am_pm_format): check correctly the 24h format gconf property
2683 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2685 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-button.c: Documentation updates.
2689 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2692 * src/hildon-caption.c: (hildon_caption_class_init):
2693 * src/hildon-color-button.c: (hildon_color_button_class_init):
2694 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2695 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2696 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2697 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2699 Remove deprecated GTK+ marshalers and replace them with the ones
2700 provided by GLib, for those available, add a marshaler for
2701 BOOLEAN:VOID, which is not available in GLib, and use it.
2703 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2705 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2706 the text from the previous column if there is no
2707 HildonTouchSelectorColumn::text-property set.
2709 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-button.h
2712 * src/hildon-button.c (hildon_button_set_property)
2713 (hildon_button_get_property, hildon_button_class_init)
2714 (hildon_button_set_style, hildon_button_get_style):
2715 New "style" property to change the visual appearance of the
2718 * src/hildon-picker-button.c (hildon_picker_button_new):
2719 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2721 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2722 HildonButton look like PickerButton)
2724 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2726 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2727 column while building the default string.
2729 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2731 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2732 scroll indicator by default.
2734 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2736 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/hildon-main.c: Fix the documentation for hildon_init()
2740 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2742 * doc/hildon-docs.sgml
2746 * src/hildon-window-stack-private.h
2747 * src/hildon-window-stack.h
2748 * src/hildon-window-stack.c:
2749 New HildonWindowStack object, that adds support for multiple
2750 stacks of windows per process.
2752 * src/hildon-stackable-window-private.h
2753 * src/hildon-stackable-window.h
2754 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2755 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2756 (hildon_stackable_window_show, hildon_stackable_window_hide)
2757 (hildon_stackable_window_class_init)
2758 (hildon_stackable_window_init):
2759 Use HildonWindowStack for stack management.
2761 * src/hildon-program.c (hildon_program_pop_window_stack)
2762 (hildon_program_peek_window_stack)
2763 (hildon_program_go_to_root_window):
2764 Add a fallback implementation to the deprecated functions using
2767 * examples/hildon-stackable-window-example.c:
2768 Use the new HildonWindowStack API.
2770 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-stackable-window-private.h
2773 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2774 (hildon_stackable_window_hide, hildon_stackable_window_init):
2775 Remove all window stack management.
2777 * src/hildon-program-private.h
2778 * src/hildon-program.h
2779 * src/hildon-program.c (hildon_program_init)
2780 (hildon_program_pop_window_stack)
2781 (hildon_program_peek_window_stack)
2782 (hildon_program_go_to_root_window):
2783 Remove all window stack management and mark functions as
2786 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-app-menu.c (hildon_app_menu_realize):
2789 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2791 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2793 * configure.ac: post release version bump
2794 * debian/changelog: version bump
2796 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2801 * configure.ac: bump version
2802 * debian/changelog: updates
2804 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2806 Based on initial code by Christian Dywan (christian@imendio.com)
2808 * doc/hildon-docs.sgml: Add section for hildon-main.
2809 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2810 * src/Makefile.am: Add new hildon-main.[ch]
2811 * src/hildon-defines.h: Update the icon sizes.
2812 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2813 new library initialization files and register icon sizes.
2814 * src/hildon-main.h: New declarations.
2815 * src/hildon.h: Include hildon-main.h
2817 Add new initialization functions to the library. These methods
2818 will register the hildon specific icon sizes and can be used in the
2819 future for other hildon specific bits.
2821 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2823 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2825 * src/hildon-window.c: (hildon_window_realize),
2826 (hildon_window_notify), (-hildon_window_update_title): Do not set
2827 the application name in the window title.
2829 Fixes: NB#89754 (Applications shouldn't display their names in the
2832 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2834 * src/hildon-note-private.h:
2835 * src/hildon-note.c: (hildon_note_set_property),
2836 (hildon_note_get_property), (hildon_note_class_init),
2837 (hildon_note_init), (hildon_note_finalize),
2838 (hildon_note_new_confirmation_with_icon_name),
2839 (hildon_note_new_information_with_icon_name):
2841 No need to mark as deprecated the actual code. Revert
2842 to avoid missing symbols in widgets using deprecated API.
2844 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2846 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2848 * src/hildon-volumebar.h
2849 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2850 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2852 * src/hildon-helper.h
2853 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2854 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2856 * examples/Makefile.am:
2857 Deprecate hildon-insensitive-example
2859 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2861 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2863 * examples/hildon-pannable-area-buttons-scroll-example.c:
2864 Make all buttons finger height
2866 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2868 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2870 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2871 update the day model only if it is really required, and to avoid the
2872 full-reconstruction aproach. Now it only add or remove the required days.
2874 The purpose of this is avoid superfluous HildonTouchSelector::changed
2877 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2878 with strange parameters)
2880 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2882 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2884 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2885 the WINDOW_TYPE property.
2887 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2889 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2892 Fix dependency to allow parallel compilation with make -jX
2894 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2896 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2897 color frame and some minor tweaks to make it more consistent with
2900 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2901 highlighted but not visible)
2903 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2905 * examples/Makefile.am: Fixed typo in the Makefile.am.
2907 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2909 Reviewed the use of MAEMO_GTK define, now we add the define in the
2910 compilation line, and we also add it to the pc file.
2912 * configure.ac: Added MAEMO_GTK define to the compilation command
2913 and removed it from the config.h.
2915 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2916 do not have to take care about this define if the library was
2920 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2922 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2924 * examples/Makefile.am,
2925 * examples/hildon-pannable-area-buttons-scroll-example.c,
2926 * examples/hildon-pannable-area-gesture-signals-example.c,
2927 * examples/hildon-pannable-area-scroll-jump-example.c,
2928 * examples/hildon-pannable-area-tree-view-example.c:
2929 Renamed the pannable area examples, now they have more meaningful
2932 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2934 * src/hildon-touch-selector.c:
2935 (hildon_touch_selector_set_column_selection_mode): Used of
2936 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2937 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2938 to avoid re-seting the same selection mode.
2940 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2941 breaks HildonPickerDialog)
2943 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2945 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2946 conditional in the Makefile.am
2948 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2950 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2951 Remove unused methods.
2953 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2955 * src/hildon-button.c (hildon_button_init):
2956 Make button images center-aligned by default
2958 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2961 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2962 activated, we have to think about how to deal with both defines
2963 MAEMO_GTK and MAEMO_CHANGES.
2965 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2967 * examples/hildon-app-menu-example.c (create_menu): Make all
2968 buttons finger size.
2970 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2972 Fixed the compilation without maemo gtk adding ifdefs with
2973 MAEMO_GTK define to the code, we have to check this version more
2976 * examples/Makefile.am: Added control to avoid some examples that
2977 just make sense with maemo gtk.
2980 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2981 hildon modes with the define.
2983 * examples/hildon-edit-toolbar-example.c,
2984 (create_icon_view): Create the icon view without hildon-gtk
2985 helpers if we are not using maemo gtk.
2987 * src/hildon-touch-selector.c,
2988 (_create_new_column): Create the treeview without hildon-gtk
2989 helpers if we are not using maemo gtk.
2991 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2993 * src/hildon-pnnable-area.c,
2994 (hildon_pannable_area_dispose),
2995 (hildon_pannable_area_button_press_cb),
2996 (hildon_pannable_area_child_mapped),
2997 (hildon_pannable_area_add),
2998 (hildon_pannable_area_remove): Added code to control the position
2999 of the event_window when adding and removing children from the
3000 pannable. We have to raise the event window when the child is
3003 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3004 selection mode using custom widget inside pannable)
3006 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3008 * configure.ac: post release version bump
3009 * debian/changelog: version bump
3011 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3016 * configure.ac: bump version
3017 * debian/changelog: updates
3019 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3021 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3022 search mode, in order to avoid lose the focus on the treeview when
3023 a hw key (like enter) is pressed.
3025 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3026 in HildonDateSelector dialog)
3028 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3030 * debian/rules: Added --enable-maintainer-mode
3031 * Makefile.am: Added ACLOCAL_AMFLAGS
3033 This allows to properly regenerate the Makefiles if you modify the
3034 configure.ac or any Makefile.am.
3036 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3038 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3039 properties, not needed at all.
3041 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3043 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3045 * src/hildon-note.c: (hildon_note_set_property),
3046 (hildon_note_get_property), (hildon_note_class_init),
3047 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3048 (hildon_note_new_confirmation_add_buttons): Remove icons.
3049 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3050 (hildon_note_new_information_with_icon_name): Deprecate.
3051 (hildon_note_new_confirmation): Act directly, without calling
3052 the deprecated constructor.
3053 (hildon_note_new_information): Act directly, without calling
3054 the deprecated constructor.
3055 * src/hildon-note.h: Mark deprecate methods as such.
3056 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3057 not run tests on the deprecated methods if built with deprecation
3060 Fixes: NB#91688 (Never show icons in information notes/confirmation
3063 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3065 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3066 (hildon_app_menu_key_press): Remove leftover usage of the
3067 private structure in HildonAppMenu struct.
3068 * src/hildon-app-menu.h: Remove leftover private structure
3069 from the HildonAppMenu struct.
3071 Fixes a crasher when using the HildonAppMenu.
3073 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3075 * src/hildon-picker-dialog.c: Use appropriate logical id
3076 for the default "Done" text.
3078 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3080 * configure.ac: post release version bump
3081 * debian/changelog: version bump
3083 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3085 Modified the way to scroll to the current selection just when the touch
3086 selector is shown on the screen, avoiding a g_idle. Added too a property
3087 to configure this behaviour. See hildon_pannable_area_jump_to_child
3088 documentation for more information.
3090 * src/hildon-touch-selector.c
3091 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3092 Added 'initial-scroll' property
3093 (hildon_touch_selector_set_property): Added
3094 (hildon_touch_selector_map): Removed as not required anymore
3095 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3096 only a concrete column, instead of iterate along all the columns
3098 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3103 * configure.ac: bump version
3104 * debian/changelog: updates
3106 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3108 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3109 compilation time warnings.
3111 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3113 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3114 the default value for HildonPannableArea::mov-mode to
3115 HILDON_PANNABLE_AREA_MODE_VERT.
3117 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3119 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3121 Reverting following commit:
3123 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3125 * src/hildon-app-menu-private.h
3126 * src/hildon-app-menu.[ch]
3127 * src/hildon-button.[ch]
3128 * src/hildon-check-button.[ch]
3129 * src/hildon-entry.[ch]
3130 * src/hildon-pannable-area.[ch]
3131 * src/hildon-text-view.[ch]:
3132 Added private field to the object's structure.
3134 because it causes an ABI breakage. We will need to introduce these
3135 changes later at some point. See NB#91636 for an extensive
3136 explanation and status.
3138 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3140 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3142 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3143 remove special cases that are no longer necessary.
3145 Fixes: NB#91016 (Change toolbar sizes, simplification)
3147 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3150 is shown in the cancel note.
3152 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3155 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3156 (hildon_seekbar_init): Remove steppers, remove expose event.
3157 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3159 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3161 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3163 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3164 label font to "SmallSystemFont" for vertically arranged buttons.
3166 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3169 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3171 * src/hildon-check-button.c
3172 (hildon_check_button_set_active, hildon_check_button_clicked):
3173 Don't access private parts directly, use getters instead.
3175 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-check-button.c (hildon_check_button_new):
3178 Align the contents of the check button to the left.
3180 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3182 * src/hildon-pannable-area.c,
3183 (hildon_pannable_area_scroll_to),
3184 (hildon_pannable_area_jump_to),
3185 (hildon_pannable_area_scroll_to_child),
3186 (hildon_pannable_area_jump_to_child): Replace the mapped
3187 precondition of these functions with the realized, it is the
3188 correct state of the widget in this case. Changed the
3189 documentation according to this modification.
3191 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3193 Added a new EXTRA_CFLAGS option to add the deprecated define to
3194 the compilation command. This way we can avoid using the define in
3195 the documentation compilation.
3197 * configure.ac: Defined EXTRA_CFLAGS.
3199 * examples/Makefile.am:
3201 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3203 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3205 * src/hildon-picker-dialog.c:
3206 Defined a utility macro with the desired touch selector height
3207 Removed currently unused separator, and title_label variables from
3209 (hildon_picker_dialog_init): Removed code related to the creation
3210 of unused private variables title_label and separator.
3211 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3212 to ensure correct visualization of the touch selector inside the dialog.
3213 * src/hildon-touch-selector.c
3214 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3215 ensure a concrete height of the widget.
3217 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3220 * tests/Makefile.am:
3222 Remove spurious whitespaces.
3224 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3227 compilation warning after the cancel button removal.
3229 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3231 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3233 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3234 Makefile.am, that way we can choose not to compile some examples
3235 and tests of the deprecated widgets.
3237 * examples/Makefile.am: Divided the sources in deprecated and
3240 * src/Makefile.am: Added undef statement of the deprecated
3241 symbol to the enums file generation process.
3243 * src/hildon-color-chooser-dialog.c
3244 * src/hildon-color-chooser-dialog.h
3245 * src/hildon-color-button.c
3246 * src/hildon-color-button.h
3247 * src/hildon-color-chooser.c
3248 * src/hildon-color-chooser.h
3249 * src/hildon-controlbar.c
3250 * src/hildon-controlbar.h
3251 * src/hildon-date-editor.c
3252 * src/hildon-date-editor.h
3253 * src/hildon-hvolumebar.c
3254 * src/hildon-hvolumebar.h
3255 * src/hildon-private.c
3256 * src/hildon-private.h
3257 * src/hildon-range-editor.c
3258 * src/hildon-range-editor.h
3259 * src/hildon-seekbar.c
3260 * src/hildon-seekbar.h
3261 * src/hildon-time-editor.c
3262 * src/hildon-time-editor.h
3263 * src/hildon-time-picker.c
3264 * src/hildon-time-picker.h
3265 * src/hildon-volumebar.c
3266 * src/hildon-volumebar.h
3267 * src/hildon-vvolumebar.c
3268 * src/hildon-vvolumebar.h
3269 * src/hildon-bread-crumb-trail.h
3270 * src/hildon-bread-crumb-trail.c
3271 * src/hildon-calendar-popup.c
3272 * src/hildon-calendar-popup.h
3273 * src/hildon-weekday-picker.c:
3274 * src/hildon-weekday-picker.h:
3275 * src/hildon-bread-crumb-widget.c:
3276 * src/hildon-bread-crumb-widget.h:
3277 * src/hildon-bread-crumb.c:
3278 * src/hildon-bread-crumb.h:
3279 * src/hildon-calendar.c:
3280 * src/hildon-calendar.h:
3281 * src/hildon-caption.c:
3282 * src/hildon-code-dialog.c:
3283 * src/hildon-code-dialog.h:
3284 * src/hildon-font-selection-dialog.c:
3285 * src/hildon-font-selection-dialog.h:
3286 * src/hildon-get-password-dialog.c:
3287 * src/hildon-get-password-dialog.h:
3288 * src/hildon-login-dialog.c:
3289 * src/hildon-login-dialog.h:
3290 * src/hildon-number-editor.c:
3291 * src/hildon-number-editor.h:
3292 * src/hildon-set-password-dialog.c:
3293 * src/hildon-set-password-dialog.h:
3294 * src/hildon-sort-dialog.c:
3295 * src/hildon-sort-dialog.h: This is the list of deprecated
3298 * src/hildon-touch-selector.c:
3299 * src/hildon-window.c: Added undef statement to avoid compilation
3302 * tests/Makefile.am: Divided the sources in deprecated and
3305 * tests/check_test.c,
3306 (configure_tests): Marked the deprecated code that was adding
3307 suites with deprecated tests.
3309 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3311 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3313 * src/hildon-touch-selector.c: (_default_print_func): Do not
3314 duplicate a string returned by gtk_tree_model_get(), it is already
3317 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3320 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3322 * src/hildon-pannable-area.c
3323 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3324 method, it had problems when adding a widget with viewport the
3325 second time. Now checks if it already has a viewport and uses it.
3327 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3330 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3332 * src/hildon-pannable-area.c,
3333 (hildon_pannable_area_scroll_to),
3334 (hildon_pannable_area_jump_to),
3335 (hildon_pannable_area_scroll_to_child),
3336 (hildon_pannable_area_jump_to_child): Added a precondition to the
3337 scroll and jump to functions: the widget must be mapped before we
3338 can safely call these functions. We have also added documentation
3339 to the functions to explain how to use them in this situation.
3342 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3344 Reviewed the threading handling of the pannable widget, we have
3345 used the gdk_threads_add_timeout function instead of the usual
3346 glib handlers. This avoids some problems with the threads.
3348 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3349 (hildon_pannable_area_initial_effect),
3350 (hildon_pannable_area_scroll_indicator_fade),
3351 (hildon_pannable_area_button_press_cb),
3352 (hildon_pannable_area_timeout),
3353 (hildon_pannable_area_motion_notify_cb),
3354 (hildon_pannable_area_button_release_cb),
3355 (hildon_pannable_area_scroll_cb),
3356 (hildon_pannable_area_scroll_to): Removed the
3357 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3358 gdk_threads_add_timeout.
3360 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3362 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3367 * configure.ac: bump version
3368 * debian/changelog: updates
3370 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3372 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3373 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3374 * src/hildon-color-chooser-dialog.c:
3375 (hildon_color_chooser_dialog_init):
3376 * src/hildon-font-selection-dialog.c:
3377 (hildon_font_selection_dialog_init):
3378 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3380 Remove all cancel/close-like dialogs, as these are not going to be
3383 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3385 * src/hildon-note.c: (hildon_note_rebuild),
3386 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3389 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3391 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3393 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3394 sure all buttons are shown, even the Cancel/Close-like ones.
3396 Fixes: NB#90861 (Custom Confirmation dialogs should be
3397 protected from cancel button removal)
3399 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3401 * debian/control: Change libhildon1-examples dependency from libhildon1
3403 * debian/libhildon1-examples.install
3405 * Makefile.am: Modified the final install directory for the examples on
3406 package libhildon1-examples
3407 * Makefile.static: Update clean target in order to remove all the binary
3410 Changes suggested by Claudio after review new libhildon1-examples package
3412 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3415 * src/hildon-touch-selector.c: Ditto.
3417 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3419 * debian/control: Added new package libhildon1-examples, in order to pack
3420 the current hildon examples as documentation
3421 * debian/rules: Not to compress .c files, modify some includes on the
3422 examples (as normally are compiled locally, but when installed it will
3423 require to include the installed libhildon1 library), and rename
3425 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3426 install all the example files on the new example package
3427 * examples/Makefile.static: Added static makefile that can be used to
3428 compile the examples, once installed the new example package
3429 * examples: Most of the examples were modified in order to grant that
3430 all use only '#include "hildon.h"', in order to be easy to prepare
3431 it on the example package
3433 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3436 * debian/libhildon1-dev.install
3437 * debian/libhildon1-doc.install:
3438 Move all gtk-doc files to a separate libhildon1-doc package.
3440 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3442 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3444 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3446 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3448 * debian/rules: Fixed a error in order to avoid unnecessary calls
3449 to autogen.sh on package building
3451 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3453 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3455 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3457 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3460 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-picker-button.c
3463 (hildon_picker_button_finalize):
3464 Free priv->done_button_text
3466 * src/hildon-time-button.c
3467 (hildon_time_button_set_time)
3468 * src/hildon-picker-button.c
3469 (hildon_picker_button_clicked)
3470 (hildon_picker_button_selector_selection_changed)
3471 (hildon_picker_button_set_selector)
3472 * src/hildon-date-button.c
3473 (hildon_date_button_set_date):
3474 Free strings returned by hildon_touch_selector_get_current_text()
3476 * src/hildon-button.c (hildon_button_construct_child):
3477 Fix leaks in priv->image and priv->label_box
3479 Fixes: NB#90535 (Memory leak in picker button)
3481 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3483 * src/hildon-button.c: (hildon_button_get_property): Do not access
3484 private elements directly, use getters instead.
3486 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3488 * src/hildon-app-menu-private.h
3489 * src/hildon-app-menu.c
3490 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3491 Store the menu's parent window.
3493 * src/hildon-stackable-window.c
3494 (hildon_stackable_window_toggle_menu)
3495 (hildon_stackable_window_finalize):
3496 Set the menu's parent window when the menu is shown, unset it when
3499 * src/hildon-app-menu.c
3500 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3501 (hildon_app_menu_class_init):
3502 Send unhandled keyboard accelerators to the parent window.
3504 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3506 * src/hildon-stackable-window.c
3507 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3509 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3511 * configure.ac: post release version bump
3513 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3516 * configure.ac: Bump version
3517 * debian/changelog: Updates
3518 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3521 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3523 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3526 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3527 GtkMenu with Hildon style.
3529 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3531 * src/hildon-picker-button.c:
3532 (hildon_picker_button_set_done_button_text): Set the dialog's
3533 done button text here as well.
3535 Fixes: NB#90232 (Picker button does not set the label on done button
3536 for the second time)
3538 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3540 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3543 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3545 * src/hildon-app-menu.c (hildon_app_menu_insert)
3546 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3547 the HildonAppMenu to be activatable using keyboard accelerators
3548 when the menu is not being shown.
3550 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3552 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3554 * src/hildon-stackable-window.c
3555 (hildon_stackable_window_show):
3556 Don't hide old windows automatically when new windows are shown:
3557 this is now a task for the window manager.
3558 (hildon_stackable_window_class_init)
3559 (hildon_stackable_window_hide):
3560 Remove windows from the stack everytime they're hidden.
3561 (hildon_stackable_window_realize):
3562 Don't change the _NET_WM_WINDOW_TYPE property. Use
3563 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3564 it as a stackable window.
3566 * src/hildon-program.c
3567 (hildon_program_pop_window_stack):
3568 Just hide the window to remove it from the stack.
3569 (hildon_program_go_to_root_window):
3570 Don't call gtk_widget_show(), this is now a task for the window
3573 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3575 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3577 * src/hildon-button.c
3578 (hildon_button_construct_child):
3579 Don't pack anything in the button until text or image are
3580 set. This allows adding a custom child after creating the button
3581 with hildon_button_new().
3582 (hildon_button_finalize, hildon_button_class_init)
3583 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3584 alignment and the label box even when they're not packed in the
3587 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3589 * src/hildon-touch-selector.h:
3590 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3591 currently the type definition was using GTK_TYPE_VBOX
3592 * src/hildon-touch-selector.c:
3593 Added some implementation notes in order to clarify that any other widget
3594 added without the column related API will not be included on the
3595 selection logic, and how the widget is freed, as some people ask about
3597 (hildon_touch_selector_remove): Reimplemented in order to free properly
3598 the column related data when you remove the private hbox.
3599 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3600 to get a proper HildonTouchSelectorColumn documentation
3602 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3604 * src/hildon-touch-selector-entry.c:
3605 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3606 text in the GtkEntry and there is no item selected. Fixes a
3609 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3611 * src/hildon-app-menu-private.h
3612 * src/hildon-app-menu.[ch]
3613 * src/hildon-button.[ch]
3614 * src/hildon-check-button.[ch]
3615 * src/hildon-entry.[ch]
3616 * src/hildon-pannable-area.[ch]
3617 * src/hildon-text-view.[ch]:
3618 Added private field to the object's structure.
3620 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3622 * configure.ac: post-release version bump
3624 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3628 * configure.ac: pre-release version bump
3630 * debian/changelog: updates.
3632 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3635 Disconnect the handler for HildonTouchSelector::changed.
3637 (hildon_picker_button_selector_selection_changed): Update the button
3638 value if the selection change was not triggered by the
3641 (hildon_picker_button_set_selector): connect to
3642 HildonTouchSelector::changed.
3644 Fixes: NB#89650 (Picker button is not updated, when selection in
3645 selector has changed)
3647 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3649 * src/hildon-picker-dialog.c
3650 (hildon_picker_dialog_realize): Removed as not required
3651 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3652 * src/hildon-picker-button.c
3653 (_current_selector_empty): New function, checks if the selector is empty
3654 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3655 if the current selector is empty, in order to avoid to show the dialog
3656 close the dialog in this case (and shows a g_warning).
3658 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3660 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3662 * src/hildon-pannable-area.c,
3663 (hildon_pannable_area_scroll): Added clause to stop movement when
3664 the child of pannable is smaller than one page.
3665 (hildon_pannable_area_scroll_to): Added conditions to avoid
3666 starting the scrolling movement if the child is smaller than one
3667 page, the complete child is in the screen, we do not have to move.
3669 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3671 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3673 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3674 this is managed automatically by the widget when the size of the
3677 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3679 * src/hildon-picker-button.c
3680 (hildon_picker_button_set_done_button_text): Make a copy of the
3681 text, and free the previous value.
3683 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3685 * src/hildon-touch-selector-entry.c:
3686 (hildon_touch_selector_entry_print_func): Return the selected row's
3687 text if the entry is empty.
3689 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3692 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3694 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3696 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-check-button.h
3700 * src/hildon-check-button.c
3701 * examples/hildon-check-button-example.c:
3702 HildonCheckButton is now a new widget. 'toggled' signal added.
3704 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-program-private.h
3707 * src/hildon-program.c (hildon_program_init)
3708 (hildon_program_finalize): Removed unused variables group_leader
3709 and name from HildonProgramPrivate.
3711 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3713 * src/hildon-check-button.c (hildon_check_button_set_active)
3714 (hildon_check_button_get_active, hildon_check_button_new): Use
3715 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3717 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3719 * src/hildon-touch-selector.h
3720 (hildon_touch_selector_set_column_attributes): added deprecation
3721 guard HILDON_DISABLE_DEPRECATED
3722 * src/hildon-time-selector.c
3723 (hildon_time_selector_set_time)
3724 (hildon_time_selector_get_time): Fixed a typo on documentation
3725 * src/hildon-touch-selector.c: update HildonTouchSelector and
3726 HildonTouchSelectorColumn documentation
3727 * src/hildon-touch-selector-entry.c: update "text-column" property
3729 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3730 to be added to the general documentation.
3732 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3734 * examples/hildon-pannable-area-example-4.c,
3736 * examples/hildon-pannable-area-example.c,
3737 (main): Modified the code in order to use the container add, with
3738 viewport treeviews could have problems if they are really big.
3740 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3742 * src/hildon-weekday-picker.c,
3743 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3744 the agreement regarding deprecation in the library.
3746 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3748 * examples/hildon-picker-button-multicolumn-example.c:
3749 (main): Use custom "done" button text.
3751 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3752 (hildon_picker_button_set_property),
3753 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3754 (hildon_picker_button_init),
3755 (+hildon_picker_button_get_done_button_text),
3756 (+hildon_picker_button_set_done_button_text): New methods to customize
3757 the "done" button label in the launched HildonPickerDialog. Also,
3760 * src/hildon-picker-button.h: add the public API.
3762 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3764 * src/hildon-date-selector.h:
3765 * src/hildon-picker-dialog.h:
3766 * src/hildon-time-selector.h:
3767 * src/hildon-touch-selector-column.h:
3768 * src/hildon-touch-selector.h:
3770 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3771 declarations. Fixes gtk-doc warnings.
3773 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3775 * src/hildon-picker-dialog.h
3776 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3777 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3779 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3780 long text is set as label for done button)
3782 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3784 * src/hildon-dialog.c (hildon_dialog_add_button):
3785 Set fixed width to all buttons in the HildonDialog.
3787 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3789 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3791 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3792 Set widget name using class name plus "-finger" or "-thumb".
3794 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3796 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3797 'clicked' when the state of the button is manually changed.
3799 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-app-menu.c (hildon_app_menu_realize)
3802 (hildon_app_menu_unrealize, hildon_app_menu_init)
3803 (hildon_app_menu_class_init, item_visibility_changed):
3804 Change the menu layout when the size of the screen changes.
3805 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3806 Show warning only when changing the number of colums using the
3809 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3811 * debian/compat: Set to 5
3812 * debian/control: Update dependencies.
3813 * debian/libhildon1-dbg.install: Remove.
3814 * debian/libhildon1-dev.install: Update according to cdbs paths.
3815 * debian/libhildon1.install: Update according to cdbs paths.
3816 * debian/rules: Switch to cdbs.
3818 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3820 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3821 'item' variable renamed to 'filter'
3823 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3825 * src/hildon-app-menu.c (hildon_app_menu_insert)
3826 (hildon_app_menu_add_filter, remove_item_from_list)
3827 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3828 Don't leak hidden items when the menu is destroyed.
3830 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-app-menu.c (hildon_app_menu_insert)
3833 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3834 (hildon_app_menu_set_columns, item_visibility_changed)
3835 (filter_visibility_changed, hildon_app_menu_repack_filters)
3836 (hildon_app_menu_repack_items):
3837 Repack items and filters separately.
3839 Don't repack all items, change only the ones that are needed to
3842 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3844 * src/Makefile.am: added hildon-touch-selector-column.h
3846 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3848 * src/hildon-touch-selector.c: added the property "text-column" to the
3849 class HildonTouchSelectorColumn, and related get/set functions
3850 (_default_printf_func): updated to use "text-column" property
3851 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3852 "text-column" in his documentation, as this is now included on
3853 HildonTouchSelectorColumn. The get/set_property can still be used,
3854 working as a wrapper to the concrete column "text-column" property
3855 (_text_column_modified): callback added in order to handle the signal
3856 "notify::text-column" of the concrete HildonTouchSelectorColumn
3857 (hildon_touch_selector_entry_get_text_column)
3858 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3859 modified in order to use the HildonTouchSelectorColumn "text-column"
3861 * src/hildon-time-selector.c:
3862 * src/hildon-date-selector.c:
3863 * examples/hildon-touch-selector-example.c
3864 * examples/hildon-touch-selector-multi-cells-example.c
3865 * examples/hildon-picker-button-multicolumn-example.c
3866 Set the right value to "text-column" property on the creation of a new
3867 column using hildon_touch_selector_append_column()
3869 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3871 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-app-menu.c
3874 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3875 updating the layout of the menu, don't create all widgets again,
3876 just repack the items in their new places.
3878 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3880 * src/hildon-time-selector.c
3881 (hildon_time_selector_get_time)
3882 (hildon_time_selector_set_time)
3883 Added documentation of these public methods
3885 * src/hildon-date-button.h
3886 * src/hildon-touch-selector-column.h
3887 * src/hildon-time-button.h
3888 * src/hildon-picker-dialog.h
3889 * src/hildon-time-selector.h
3890 * src/hildon-picker-button.h
3891 * src/hildon-touch-selector.h
3892 * src/hildon-time-picker.h
3893 * src/hildon-date-selector.h
3894 * src/hildon-touch-selector-entry.h
3895 Modified in order to use hildon-widgets code style
3897 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3899 Added deprecated support to the compilation process using
3900 HILDON_DISABLE_DEPRECATED
3902 * configure.ac: Added the --disable-deprecated to the configure
3905 * src/hildon-weekday-picker.c:
3906 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3907 to use the deprecated support. We will update the other deprecated
3908 widgets status in a new patch.
3910 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3912 * configure.ac: Fixed typo with fatal warnings support, the
3913 variable name was not correct
3915 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-app-menu.c
3918 * src/hildon-program.c: Update documentation.
3920 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3922 * configure.ac: Post-release version bump.
3924 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3929 * configure.ac: Pre-release version bump.
3930 * debian/changelog: Updates.
3932 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3934 * NEWS: Update news for previous releases.
3936 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3938 * examples/hildon-touch-selector-multi-cells-example.c:
3939 (create_selector): Update the example to use
3940 hildon_touch_selector_append_column() with a NULL renderer and set
3941 the renderers later.
3942 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3943 passed a NULL renderer. This is documented behavior now.
3945 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3946 This must be used if the developer wants full control on the layout of
3947 the renderers to be added to the column.
3949 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3951 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-touch-selector.c: Documentation fixes.
3955 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-wizard-dialog-private.h: Remove image and box.
3958 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3959 (hildon_wizard_dialog_set_property), (response): Completely remove
3960 image/icon support, and the containers required for the layout.
3962 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3964 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-app-menu.c: Updated documentation.
3968 * src/hildon-stackable-window.c
3969 (hildon_stackable_window_set_main_menu): Unref the old menu after
3970 ref'ing the new one.
3972 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3974 * src/hildon-stackable-window.c
3975 (hildon_stackable_window_set_main_menu): Unref the previous menu
3976 instead of destroying it.
3978 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3979 floating reference and set has_user_ref_count to FALSE to make
3980 HildonAppMenu act like a normal ref-counted widget and not a
3983 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3986 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3988 * src/hildon-touch-selector-column.h: new file
3989 * src/hildon-touch-selector.h
3990 * src/hildon-touch-selector.c
3991 Implemented GtkCellLayout interface, in order to allow to configure
3992 the cell layout on each individual selector column
3993 (hildon_touch_selector_set_column_attributes): marked as deprecated
3994 * examples/hildon-touch-selector-multi-cells-example.c
3995 Example of how to use the GtkCellLayout interface on the selector
3997 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3999 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4001 * src/hildon-app-menu.h
4002 * src/hildon-app-menu.c
4003 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4004 (hildon_app_menu_append, hildon_app_menu_prepend):
4005 New methods to prepend, insert and move items in the menu.
4007 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4009 * src/hildon-wizard-dialog.c:
4011 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4013 (create_title): Update logical IDs and related code.
4014 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4016 * src/hildon-wizard-dialog.h: Note that
4017 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4018 point, as it is not used anymore.
4020 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4022 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4024 * src/hildon-note.c:
4025 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4026 shown. Do not display an icon in confirmation notes nor information
4028 (hildon_note_set_button_text): Update logical ID for cancel button.
4030 Fixes: NB#88850 (Update HildonNote button strings + signals)
4032 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-stackable-window.c
4035 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4037 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4039 * src/hildon-app-menu-private.h
4040 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4041 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4042 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4043 temporary property 'columns' to change the number of columns.
4045 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4047 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4049 * examples/hildon-note-example.c: (on_information_clicked),
4050 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4051 debugging information.
4052 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4054 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4055 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4056 in order to close: this will be handled by the WM from now on.
4058 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4060 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4062 * src/hildon-app-menu-private.h
4063 * src/hildon-app-menu.c
4064 (hildon_app_menu_append, hildon_app_menu_add_filter)
4065 (button_visibility_changed, hildon_app_menu_apply_style)
4066 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4067 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4068 layout everytime a button (item or filter) is shown or hidden.
4070 * src/hildon-stackable-window.c
4071 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4074 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4076 * src/hildon-touch-selector.c:
4077 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4078 that the treeview inside the touch selector is in fremantle hildon mode
4079 * examples/hildon-date-button-example.c
4080 * examples/hildon-picker-button-multicolumn-example.c
4081 * examples/hildon-touch-selector-entry-example.c
4082 * examples/hildon-touch-selector-example.c
4083 * examples/hildon-time-button-example.c
4084 * examples/hildon-picker-button-example.c:
4085 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4087 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4089 * examples/hildon-text-view-example.c: (main): Remove the
4090 gtkrc bits, now handled by the theme.
4092 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4094 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4097 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4099 * po/Makefile.am: Install properly the mo files.
4100 * po/en_GB.po: Update translation, to ease testing purposes.
4102 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4104 * examples/hildon-picker-button-example.c: (main): Select an item
4105 in the selector before setting it to the button.
4107 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4110 Update button's value if the selector has an item active.
4112 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4113 'value' with the selector)
4115 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4118 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4119 (hildon_picker_button_class_init): Plug the finalize method.
4120 (hildon_picker_button_set_selector): If there's a previously set
4121 selector, unref'it before setting a new one.
4123 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4124 HildonTouchSelector)
4126 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4128 * src/hildon-touch-selector-entry.c:
4129 (hildon_touch_selector_entry_changed): Check if there is no text
4130 selected before setting the entry text.
4133 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-touch-selector.h
4136 * src/hildon-touch-selector.c
4137 (hildon_touch_selector_get_active)
4138 (hildon_touch_selector_set_active): New methods to set/get the
4139 index of the selected item.
4141 * src/hildon-picker-button.h
4142 * src/hildon-picker-button.c
4143 (hildon_picker_button_get_active)
4144 (hildon_picker_button_set_active): New methods to set/get the
4145 index of the selected item.
4147 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4149 * configure.ac: post-release version bump.
4151 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4155 * configure.ac: Pre-release version bump.
4156 * debian/changelog: Updates.
4157 * debian/control: Add myself as maintainer and depend on l10n
4160 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4162 * src/hildon-window.c
4163 (hildon_window_set_main_menu)
4164 * src/hildon-stackable-window.c
4165 (hildon_stackable_window_set_main_menu):
4166 Updated documentation.
4168 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4170 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4171 Don't free selector->priv manually.
4174 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4177 (hildon_gtk_window_set_progress_indicator):
4178 * src/hildon-gtk.h: Added the new API
4179 hildon_gtk_window_set_progress_indicator, it changes the state of
4180 the window progress hint.
4182 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-button.c
4185 * src/hildon-stackable-window.c: Minor documentation updates.
4187 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4189 * src/hildon-stackable-window.c: Updated documentation.
4191 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4193 * src/hildon-defines.h: Update margins definitions
4194 to the Fremantle sizes.
4197 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4199 * src/hildon-touch-selector.c,
4200 (_hildon_touch_selector_set_model): Cleaning the code after
4201 review, removed g_print and #if 0 from the code.
4203 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4205 * src/hildon-edit-toolbar.c: Update documentation.
4207 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4209 * src/hildon-check-button.h
4210 * src/hildon-check-button.c
4211 (hildon_check_button_set_label, hildon_check_button_get_label)
4212 * examples/hildon-check-button-example.c
4213 (button_clicked_cb):
4214 Removed deprecated methods.
4216 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4218 * src/hildon-text-view.c:
4219 Add sample code to the documentation.
4221 * src/hildon-entry.h
4222 * src/hildon-text-view.h:
4223 Minor cosmetic changes.
4225 * src/hildon-entry.c:
4226 Add sample code to the documentation.
4227 (hildon_entry_init, hildon_entry_refresh_contents):
4228 Don't allow NULL values in the placeholder.
4230 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4232 * doc/hildon-docs.sgml
4234 * examples/Makefile.am
4235 * examples/hildon-text-view-example.c
4237 * src/hildon-text-view.c
4238 * src/hildon-text-view.h
4240 New HildonTextView widget, with example.
4242 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4244 * po/POTFILES.in: Add missing files with translatable strings.
4245 Partially fixes NB#88287.
4247 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4249 * examples/hildon-pannable-area-example-2.c: (main): No need to
4250 set the cellrenderer height inside hildon touch lists, the theme does
4253 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4255 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4256 they are integrated in the theme.
4258 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4260 * examples/hildon-entry-example.c: Update the example adding
4261 widgets to modify the text and the placeholder of the HildonEntry.
4263 * src/hildon-entry.c: Show the placeholder everytime the widget
4264 is empty and loses the focus.
4266 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4268 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4270 * src/hildon-pannable-area.c,
4271 (hildon_pannable_area_size_request): Fixed bug in height
4272 requisition, avoid increasing size and add border twice.
4274 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4276 * configure.ac: postrelease version bump.
4278 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4282 * configure.ac: Prerelease version bump.
4283 * debian/changelog: update.
4284 * debian/rules: make -dbg package contain useful debugging symbols.
4286 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4288 * src/hildon-dialog.h
4289 * src/hildon-dialog.c
4290 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4291 New methods to add buttons with finger size.
4292 (hildon_dialog_new_with_buttons):
4293 Create buttons with finger size.
4295 * examples/hildon-dialog-example.c (main): Use HildonDialog
4296 methods to add buttons.
4298 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-entry.c: Updated HildonButton documentation.
4302 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4304 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4305 button value label with (FALSE, FALSE) to prevent NB#88126 from
4308 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4310 * examples/hildon-pannable-area-example.c,
4311 (main): Removed examples panning a vbox inside a pannable
4312 area. Check bug NB#87965
4314 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4316 Patch contributed by Kris Rietveld (kris@imendio.com)
4318 * src/hildon-pannable-area.c,
4319 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4320 get_size and get_position, this saves an X server roundtrip.
4322 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4324 * doc/hildon-docs.sgml
4326 * examples/Makefile.am
4327 * examples/hildon-entry-example.c
4329 * src/hildon-entry.c
4330 * src/hildon-entry.h
4332 New HildonEntry widget, with example.
4334 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4336 * src/hildon-button.c (hildon_button_construct_child): Pack the
4337 image with expand == fill == FALSE. This is a workaround for a bug
4340 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4342 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4343 labels for the text column, to make it more look more dynamic.
4345 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4347 * src/hildon-time-selector.c
4348 Define gettext auxiliar macro N_
4349 (_create_minutes_model)
4350 (_create_hours_model)
4351 (_create_ampm_model): use of strftime in order to fill the model
4352 * src/hildon-date-selector.c
4353 (hildon_date_selector_finalize):
4354 (_locales_init): remove the logic related to get the name of the months
4355 using nl_langinfo, as it is not required anymore
4357 (_create_year_model)
4358 (_create_month_model)
4359 (_update_day_model): use of strftime in order to fill the model properly
4362 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4364 * src/hildon-button.h
4365 * src/hildon-button.c (hildon_button_get_image): New method to
4368 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4370 * src/hildon-touch-selector.c:
4371 (hildon_touch_selector_remove_column): Remove from the correct parent
4372 and also remove the list element and free it.
4375 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4377 * src/hildon-time-selector.c
4378 (_create_hours_model): change the range on 12h ampm format in order to use
4379 a 12-11 range instead of previous 01-12 range
4380 (hildon_time_selector_set_time): change the way to select the current time
4381 on 12h ampm format, due the change on the range
4382 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4385 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4387 * src/hildon-touch-selector.c
4388 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4389 in order to allow use this function on multiple row selection mode if
4390 the column is different that the first one
4393 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4395 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4396 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4398 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4400 * src/hildon-date-selector.h: clean some comments, now on the .c
4401 * src/hildon-date-selector.c
4402 (hildon_date_selector_select_month): first implementation
4403 (hildon_date_selector_select_day): added documentation, reimplemented
4404 using hildon_date_selector_select_current_date to avoid repeat code
4407 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4409 Reviewed interaction logic based on device experiences, refactored
4412 * src/hildon-pannable-area.c,
4413 (hildon_pannable_area_class_init): Updated default vmax speed.
4414 (hildon_pannable_area_calculate_velocity): Added this function, it
4415 avoids duplicate valocity calculation. Adjusted calculation to
4416 avoid problems with zero dist events.
4418 (hildon_pannable_area_motion_notify_cb): Now we use the
4419 calculate_velocity function.
4421 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4423 * src/hildon-date-selector.c
4424 (hildon_date_selector_select_current_date): fix the day range check
4425 as it failed using the last day of the current month
4428 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4430 * src/hildon-touch-selector.c
4431 (hildon_touch_selector_get_num_columns): added a parameter validation
4434 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4436 * examples/Makefile.am
4437 * examples/hildon-edit-toolbar-example.c: Example of the
4438 HildonEditToolbar widget.
4440 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4442 * configure.ac: postrelease version bump.
4444 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4448 * configure.ac: prerelease version bump.
4449 * debian/changelog: update.
4451 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4453 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4454 renderer to display stock icons in the touch list. Also, set the sizes
4455 to the recommended in the style guide.
4457 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4458 * src/hildon-touch-selector.h
4459 (hildon_touch_selector_set_active_iter): renamed, now is
4460 hildon_touch_selector_select_iter
4461 (hildon_touch_selector_get_active_iter): renamed, now is
4462 hildon_touch_selector_get_selected
4463 (hildon_touch_selector_unselect_iter): added
4464 * src/hildon-touch-selector.c
4465 Update after API modification (methods renamed)
4466 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4467 order to avoid problems selecting multiple elements on the column
4468 (hildon_touch_selector_unselect_iter): added the implementation
4469 * src/hildon-time-selector.c
4470 * src/hildon-date-selector.c
4471 * src/hildon-touch-selector-entry.c
4472 Update methods calls after hildon-touch-selector.h API modification (methods
4475 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4477 * src/hildon-stackable-window.c
4478 (hildon_stackable_window_finalize): Call the parent class's finalize.
4480 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4482 * examples/hildon-touch-selector-example.c: (create_selector): Use
4483 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4486 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4488 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4489 set a cell background color, to respect theming.
4491 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4493 * doc/hildon-docs.sgml
4496 * src/hildon-edit-toolbar.c
4497 * src/hildon-edit-toolbar.h
4498 * src/hildon.h: New HildonEditToolbar widget.
4500 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4502 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4505 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4506 * src/hildon-touch-selector.c
4507 (_create_new_column): use g_object_set instead of two g_object_set_property
4509 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4510 * src/hildon-touch-selector.c
4511 (_create_new_column): use of hildon_gtk_tree_view_new to create
4512 the treeview, instead of use directly g_object_new
4513 (_create_new_column): update the property name "vindicator-mode" for the
4514 new one "vscrollbar-policy"
4515 * examples/hildon-date-button-example.c
4516 * examples/hildon-picker-button-multicolumn-example.c
4517 * examples/hildon-touch-selector-entry-example.c
4518 * examples/hildon-touch-selector-example.c
4519 * examples/hildon-time-button-example.c
4520 * examples/hildon-picker-button-example.c
4521 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4522 to all the treeviews inside a pannable area.
4524 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-button.h
4527 * src/hildon-button.c (hildon_button_init)
4528 (hildon_button_set_arrangement, hildon_button_set_alignment)
4529 (hildon_button_set_title_alignment)
4530 (hildon_button_set_value_alignment)
4531 (hildon_button_set_image_alignment)
4532 (hildon_button_construct_child): New methods to set the alignment
4533 of the individual components of the button (title, value,
4534 image). Also, new method to alter the xscale and yscale properties
4535 of the GtkAlignment inside the button, so more complex layouts can
4538 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4540 * src/hildon-button.c (hildon_button_style_set)
4541 (hildon_button_class_init, hildon_button_set_arrangement)
4542 (hildon_button_construct_child): Apply style properties
4543 correctly. Use the 'image-spacing' style property too.
4545 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4548 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4551 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4553 * src/hildon-pannable-area.c,
4554 (hildon_pannable_area_size_request): Fixed problem with
4555 pannable-area size_request.
4557 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4559 Added management for the grab-focus to a child widget, like a
4560 range, we need to fade out the scrollbar when releasing.
4562 * src/hildon-pannable-area.c,
4563 (hildon_pannable_area_init): Connected the grab-focus signal to
4565 (hildon_pannable_area_grab_notify): Added this function in order
4566 to manage the situation when the grab-focus ends. We have to
4567 fade-out the scrollbar.
4569 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-app-menu.c: Minor documentation update.
4573 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4575 * src/hildon-app-menu.c
4576 * examples/hildon-app-menu-example.c (create_menu): Update
4577 examples and documentation to explain how to connect callbacks.
4579 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4581 * examples/hildon-button-example.c
4582 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4583 hildon_stackable_window_new instead of gtk_window_new
4585 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4587 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4588 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4589 (hildon_pannable_area_set_property),
4590 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4591 (hildon_pannable_area_unrealize),
4592 (hildon_pannable_area_size_request),
4593 (hildon_pannable_area_size_allocate),
4594 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4595 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4596 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4597 (hildon_pannable_area_initial_effect),
4598 (hildon_pannable_area_redraw),
4599 (hildon_pannable_area_scroll_indicator_fade),
4600 (hildon_pannable_area_expose_event),
4601 (hildon_pannable_area_get_topmost), (synth_crossing),
4602 (hildon_pannable_area_button_press_cb),
4603 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4604 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4605 (hildon_pannable_area_motion_notify_cb),
4606 (hildon_pannable_area_button_release_cb),
4607 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4608 (hildon_pannable_area_remove),
4609 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4610 chage the code layout to a more GtkWidget like. Review the use of
4613 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4615 * examples/hildon-pannable-area-example-4.c,
4616 (main): Modified the name of the hindicator_mode to
4619 * src/hildon-pannable-area.c,
4620 (hildon_pannable_area_class_init),
4621 (hildon_pannable_area_motion_notify_cb),
4622 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4623 we have reduced the amount of signals and managed reviewed its
4624 rationale. Changed the default decelerate value.
4626 (hildon_pannable_area_add),
4627 (hildon_pannable_area_redraw): Refactored functions.
4629 (hildon_pannable_area_init),
4630 (hildon_pannable_area_get_property),
4631 (hildon_pannable_area_set_property):
4632 (hildon_pannable_draw_vscroll),
4633 (hildon_pannable_draw_hscroll),
4634 (hildon_pannable_area_initial_effect),
4635 (hildon_pannable_area_expose_event),
4636 (hildon_pannable_area_scroll),
4637 (hildon_pannable_area_button_press_cb),
4638 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4639 and vindicator_mode with hscrollbar_policy and
4640 vscrollbar_policy. Replaced hscroll and vscroll with
4641 hscroll_visible and vscroll_visible.
4643 (hildon_pannable_area_refresh): Refactor the function, remove
4644 variables and check the calls to this function, added resize
4645 conditions in case the children change their layout.
4647 (hildon_pannable_area_size_request): Added more detailed
4648 size_request calculation.
4651 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4653 * src/hildon-color-chooser.c
4654 (init_borders): use the correct gtk_border_free instead of g_free, to
4655 avoid a crash when this widget is used (ie: the three color selection
4658 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4660 * src/hildon-check-button.c,
4661 (hildon_check_button_set_active): Fixed problem when setting the
4662 active value, the widget was not redrawn.
4664 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4666 * src/hildon-pannable-area.c,
4667 (hildon_pannable_area_refresh),
4668 (hildon_pannable_area_scroll),
4669 (hildon_pannable_area_motion_notify_cb): Small code style change.
4671 (hildon_pannable_area_class_init): Default initial_hint set to
4672 FALSE, it is not in the specs.
4674 (hildon_pannable_area_initial_effect),
4675 (hildon_pannable_area_expose_event),
4676 (hildon_pannable_area_map),
4677 (hildon_pannable_area_init): Moved the launching point of the
4678 initial effect, it was in map but the sizes where not correct in
4679 that method so we do not know if we have the reproduce it. Now it
4680 is placed in the expose_event method and uses a variable to
4681 reproduce it just once.
4683 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4685 * src/hildon-pannable-area.c,
4686 (hildon_pannable_draw_vscroll),
4687 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4688 position allowed for the scrollbars.
4690 (hildon_pannable_area_size_allocate): Small style change.
4692 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4694 * src/hildon-pannable-area.c,
4695 (hildon_pannable_area_scroll_indicator_fade),
4696 (hildon_pannable_area_button_press_cb),
4697 (hildon_pannable_area_button_release_cb),
4698 (hildon_pannable_area_scroll_cb),
4699 (hildon_pannable_area_expose_event),
4700 (hildon_pannable_area_init): Added the define parameter
4701 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4702 and refactor the fade variable.
4704 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4706 * src/hildon-pannable-area.c,
4707 (hildon_pannable_area_redraw),
4708 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4709 lines, we were reimplemeting the redraw code.
4711 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4713 * src/hildon-pannable-area.c,
4714 (hildon_pannable_area_scroll_cb),
4715 (hildon_pannable_area_realize),
4716 (hildon_pannable_area_class_init): Added scroll_event management
4717 for pannable area, now we can scroll the usual desktop method.
4719 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4720 initialization of the parameters should depend on idle_id.
4722 (hildon_pannable_area_init),
4723 (hildon_pannable_area_map): Small code style modifications
4725 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4727 * src/hildon-pannable-area.c
4728 (hildon_pannable_area_button_press_cb),
4729 (hildon_pannable_area_motion_notify_cb),
4730 (hildon_pannable_area_button_release_cb),
4731 (hildon_pannable_area_size_allocate),
4732 (hildon_pannable_area_scroll_to): Improved the timeouts
4733 management, we avoid creating them each time.
4735 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4737 * src/hildon-pannable-area.c:
4738 (hildon_pannable_area_refresh),
4739 (hildon_pannable_area_motion_notify_cb),
4740 (hildon_pannable_area_class_init):
4741 * src/hildon-pannable-area.h:
4742 * src/hildon-touch-selector.c
4743 (_create_new_column):
4744 * examples/hildon-pannable-area-example-4.c:
4745 (horizontal_movement),
4746 (vertical_movement),
4748 Replaced the names of enums in the HildonPannableArea:
4749 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4750 HILDON_MOVEMENT_MODE_*
4751 - HILDON_PANNABLE_AREA_MOV_* ->
4753 - Removed HildonPannableAreaIndicatorMode, now we
4756 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4758 * examples/hildon-pannable-area-touch-grid-example.c
4759 * examples/hildon-pannable-area-touch-list-example.c: Fix
4760 compilation warnings.
4762 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4764 * src/hildon-gtk.c (hildon_gtk_button_new)
4765 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4766 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4767 images overriding the value of the "gtk-button-images" setting.
4769 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4771 * src/hildon-check-button.c (hildon_check_button_new):
4772 Instead of using a custom container, display the label and the
4773 checkbox using the standard GtkButton API.
4775 * examples/hildon-check-button-example.c (main): Don't use
4776 hildon_check_button_set_label() anymore
4778 * src/hildon-check-button.h
4779 * src/hildon-check-button.c
4780 (hildon_check_button_set_label, hildon_check_button_get_label):
4781 Set as deprecated, now we're using gtk_button_{get,set}_label()
4783 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4785 * src/hildon-pannable-area.c,
4786 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4787 GtkTreeview first line we detected it after the inclusion of the
4788 GtkWindowImpl in gtk+. We now check if the window is visible, not
4789 just if the pointer is over the window.
4790 (hildon_pannable_axis_scroll),
4791 (hildon_pannable_area_expose_event): Small style changes.
4793 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4795 * src/hildon-button.c: Update documentation.
4797 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4799 * examples/hildon-button-example.c: Add a switch to show images in
4802 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4804 * doc/hildon-docs.sgml: Some docs reorganization.
4806 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4808 * examples/hildon-pannable-area-touch-list-example.c
4810 * examples/hildon-pannable-area-touch-grid-example.c
4811 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4812 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4813 Fix memory leak when setting the tree model.
4815 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4819 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4821 * doc/hildon.types: Remove duplicated hildon_window_get_type
4822 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4823 documentation comment.
4825 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4827 * doc/Makefile.am: Complete list of private headers.
4829 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4831 * doc/hildon-docs.sgml
4832 * src/hildon-app-menu.c
4833 * src/hildon-bread-crumb.c
4834 * src/hildon-button.c
4836 * src/hildon-program.c
4837 * src/hildon-stackable-window.c
4838 * src/hildon-window.c: Lots of documentation updates.
4840 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4842 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4844 * configure.ac: Require Gtk+ 2.12.9 at least
4846 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4848 * src/hildon-pannable-area.c
4849 (hildon_pannable_area_scroll_indicator_fade),
4850 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4851 to protect the return of this timeout callbacks, avoiding deadlocks.
4853 2008-08-12 Christian Dywan <christian@imendio.com>
4856 * src/hildon-*.h: Ensure a consistent include order,
4857 include <gtk/gtk.h> instead of particular files and
4858 only include the topmost header in the gtk stack. See NB #39857
4860 2008-08-12 Christian Dywan <christian@imendio.com>
4862 * src/hildon-picker-dialog.c
4863 * src/hildon-touch-selector.c: Fix warnings about unused and
4864 uninitialized variables.
4866 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4868 * examples/Makefile.am
4869 * examples/hildon-check-button-example.c: Example of the hildon
4872 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4874 * src/hildon-window.h
4875 * src/hildon-window.c (hildon_window_class_init)
4876 (hildon_window_unset_program): Don't make
4877 hildon_window_unset_program a virtual function anymore.
4879 * src/hildon-stackable-window.c: Update documentation
4881 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4884 * doc/hildon-docs.sgml
4885 * doc/visual_index.xml
4886 * src/hildon-defines.c
4888 * src/hildon-helper.c
4889 * src/hildon-range-editor.c: Lots of documentation fixes.
4891 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4893 * examples/hildon-picker-button-multicolumn-example.c
4894 (create_touch_selector): Fix compilation warning.
4896 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4898 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4899 (hildon_pannable_area_button_release_cb)
4900 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4902 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4904 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4907 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4909 * src/hildon-bread-crumb-trail.h
4910 * src/hildon-date-editor.c
4911 * src/hildon-date-selector.c
4912 * src/hildon-pannable-area.c
4913 * src/hildon-picker-dialog.c
4914 * src/hildon-time-selector.c
4915 * src/hildon-touch-selector-entry.c
4916 * src/hildon-touch-selector.c
4917 * src/hildon-touch-selector.h: Misc documentation fixes
4919 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4921 * examples/hildon-date-editor-example.c (main): Updated date
4924 * examples/hildon-note-example.c (on_confirmation_clicked):
4925 Updated confirmation note example.
4927 * src/hildon-date-editor.c
4928 * src/hildon-note.c: Updated sample programs in documentation.
4931 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4933 * src/hildon-date-button.h:
4934 * src/hildon-picker-button.h:
4935 * src/hildon-time-button.c:
4936 * src/hildon-time-button.h:
4938 Some declarations changes to allow gtk-doc to document the widgets
4941 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4943 * src/hildon-date-button.c: Document the widget.
4944 * src/hildon-time-button.c: Document the widget.
4946 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4948 * src/hildon-picker-button.c: Document the widget.
4949 * src/hildon-touch-selector-entry.c: Document the widget.
4951 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4953 * doc/hildon-docs.sgml
4956 * src/hildon-check-button.h
4957 * src/hildon-check-button.c: New functions to create the Hildon
4961 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4963 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4965 * src/hildon-button.h
4966 * src/hildon-button.c
4967 (hildon_button_add_title_size_group)
4968 (hildon_button_add_value_size_group)
4969 (hildon_button_add_image_size_group)
4970 (hildon_button_add_size_groups): New functions to set size groups
4971 for the button labels and image.
4972 (hildon_button_new_full): Removed
4974 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4976 * src/hildon-time-selector.c
4977 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4978 in order to avoid a crash if gconf is not available
4980 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4982 * src/hildon-button.c (hildon_button_set_arrangement)
4983 (hildon_button_construct_child): Don't construct the button child
4984 before setting the arrangement.
4986 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4988 * src/hildon-program-private.h
4989 * src/hildon-program.c
4990 * src/hildon-program.h
4991 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4992 (hildon_program_peek_window_stack)
4993 (hildon_program_pop_window_stack)
4994 (hildon_program_go_to_root_window): HildonProgram now has a
4995 separate list for stackable windows. Functions are provided to
4996 manage that list with a stack-like API.
4998 * src/hildon-stackable-window.c: Stackable window management is
4999 now much simpler with the new HildonProgram API. Windows no
5000 longer need to be manually added to the program, they're
5001 automatically pushed to the top of the stack when shown.
5003 * examples/hildon-stackable-window-example.c: Updated example to
5004 reflect the API changes.
5006 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5008 * src/hildon-touch-selector.c: Comment out unimplemented
5009 hildon_touch_selector_insert_column() to avoid a compile warning.
5011 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5013 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5014 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5015 (hildon_touch_selector_set_column_selection_mode),
5016 (_hildon_touch_selector_set_model),
5017 (hildon_touch_selector_set_model):
5019 Complete review of HildonTouchSelector documentation.
5021 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5023 * doc/hildon-docs.sgml
5027 * src/hildon-gtk.c: Convenience functions for standard Gtk
5028 widgets, used to easily perform frequent operations.
5030 * src/hildon-button-helpers.h
5031 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5033 * src/hildon-helper.h
5034 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5035 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5037 * src/hildon-button.h
5038 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5040 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5042 * src/hildon-button.c (hildon_button_init)
5043 (hildon_button_set_arrangement, hildon_button_construct_child):
5044 Pack the image and the labels inside the same GtkAlignment so
5045 gtk_button_set_alignment() can be used
5047 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5049 * src/hildon-button.h
5050 * src/hildon-button.c
5051 (hildon_button_init, hildon_button_set_image)
5052 (hildon_button_set_image_position)
5053 (hildon_button_construct_child): New functions to add an image to
5056 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5058 * src/hildon-date-button.c
5059 * src/hildon-picker-button.c
5060 * src/hildon-time-button.c
5061 * src/hildon-button.c:
5062 (hildon_button_class_init): "size-flags" renamed to "size"
5063 (hildon_button_set_title): Hide the title label if set to NULL.
5065 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5067 HildonButtonFlags split into HildonButtonArrangement (to set the
5068 button layout) and HildonSizeType (which can be used for any
5071 * src/hildon-button.h
5072 * src/hildon-button.c
5073 (hildon_button_class_init)
5074 (hildon_button_set_arrangement)
5075 (hildon_button_set_property): New "size-flags"
5076 property. "arrangement-flags" renamed to "arrangement".
5077 (hildon_button_new, hildon_button_new_with_text)
5078 (hildon_button_new_full): Constructors updated to reflect type changes.
5080 * src/hildon-helper.h
5081 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5082 to set the size of a widget.
5086 * src/hildon-button-helpers.c
5087 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5089 * src/hildon-date-button.c
5090 * src/hildon-date-button.h
5091 * src/hildon-picker-button.c
5092 * src/hildon-picker-button.h
5093 * src/hildon-time-button.c
5094 * src/hildon-time-button.h: Updated widgets to reflect
5095 HildonButton API changes.
5097 * examples/hildon-button-example.c
5098 * examples/hildon-date-button-example.c
5099 * examples/hildon-picker-button-example.c
5100 * examples/hildon-picker-button-multicolumn-example.c
5101 * examples/hildon-time-button-example.c
5102 * examples/hildon-touch-selector-entry-example.c
5103 * examples/hildon-touch-selector-example.c: Updated examples to
5104 reflect HildonButton API changes.
5106 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5108 * doc/hildon-docs.sgml:
5110 * examples/Makefile.am:
5111 * examples/hildon-touch-selector-entry-example.c:
5113 * src/hildon-touch-selector-entry.c:
5114 * src/hildon-touch-selector-entry.h:
5117 Moved HildonTouchSelectorEntry from sandbox. Added its
5118 documentation and examples.
5120 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5122 * src/hildon-touch-selector.h:
5123 * examples/hildon-picker-button-multicolumn-example.c:
5124 (hildon_touch_selector_append_text_column): Add a gboolean
5125 parameter to determine if text must be centered in the column.
5127 * src/hildon-date-selector.c: (hildon_date_selector_init):
5128 * src/hildon-time-selector.c: (hildon_time_selector_init):
5129 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5130 (create_touch_selector): Update widgets and example to reflect
5133 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5135 * src/hildon-touch-selector.c:
5136 (hildon_touch_selector_set_active_iter): Set also the cursor in
5139 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5141 * doc/hildon-docs.sgml
5144 * src/hildon-toggle-button.c
5145 * src/hildon-toggle-button.h
5146 * src/hildon.h: Removed HildonToggleButton widget, a derived
5147 class is not necessary for this.
5149 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5151 * src/hildon-pannable-area.c,
5152 (hildon_pannable_area_realize),
5153 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5156 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5158 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5159 "done" button the default widget for the dialog.
5161 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5163 * src/hildon-touch-selector.c:
5164 (hildon_touch_selector_class_init),
5165 (hildon_touch_selector_get_property),
5166 (_hildon_touch_selector_set_model),
5167 (_hildon_touch_selector_has_multiple_selection),
5168 (hildon_touch_selector_has_multiple_selection):
5169 Add a "has-multiple-selection" property with a virtual
5170 has_multiple_selection() method to allow derived classes to
5171 override the default value for it. See the method and property
5172 documentation for details.
5174 * src/hildon-touch-selector.h: Add the new API.
5176 * src/hildon-picker-dialog.c: (requires_done_button): Call
5177 hildon_touch_selector_has_multiple_selection() instead of
5178 determining the need for a button itself.
5180 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5182 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5183 (_hildon_touch_selector_set_model),
5184 (hildon_touch_selector_set_model): Move working code to
5185 _hildon_touch_selector_set_mode(). Call the class method instead.
5187 * src/hildon-touch-selector.h: Add (*set_model) to
5188 HildonTouchSelectorClass.
5190 Make hildon_touch_selector_set_model() a virtual method, so that
5191 derived classes can extend it and do fancy stuff with the model.
5193 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5195 * configure.ac: Set back the tarname in AC_INIT to hildon.
5197 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5201 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5202 instead of libesd (NB#86876). Volume handling is still an open issue.
5204 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5207 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5209 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5210 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5211 derived class to ease placement of an entry widget in
5212 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5213 end, where the selector columns are packed now.
5215 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5217 * src/hildon-picker-button.c: Removed the simple _text() API.
5218 * src/hildon-picker-button.h: Likewise.
5220 * src/hildon-touch-selector.h:
5221 * src/hildon-touch-selector.c:
5222 (hildon_touch_selector_new_text),
5223 (hildon_touch_selector_append_text),
5224 (hildon_touch_selector_prepend_text),
5225 (hildon_touch_selector_insert_text):
5227 Moved the simple _text() API from HildonPickerButton to
5228 HildonTouchPicker, to provide better escalability and not to tie
5229 that API to HildonPickerButton.
5231 * examples/hildon-picker-button-example.c: (main): Example updated.
5233 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5235 * src/hildon-button.c: Updated documentation.
5237 * examples/hildon-button-example.c: Add the posibility to create
5238 the buttons using horizontal layout for title and value.
5240 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5242 * src/hildon-app-menu-private.h
5243 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5244 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5245 GtkSizeGroup for the filters, use the 'homogeneous' property of
5248 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5250 * examples/hildon-button-example.c: Updated example.
5252 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5254 * doc/hildon-docs.sgml:
5257 Update documentation.
5259 * examples/Makefile.am: Update renamed examples.
5261 * examples/hildon-picker-button-multicolumn-example.c:
5262 (create_touch_selector), (main): Update after the rename.
5264 * examples/hildon-touch-picker-example.c: Removed.
5265 * examples/hildon-touch-selector-example.c: (value_changed),
5266 (create_selector), (get_visible_content), (main): Renamed from
5267 hildon-touch-picker-example.c
5269 * src/Makefile.am: Updated renamed files.
5271 * src/hildon-date-button.c: (hildon_date_button_init),
5272 (hildon_date_button_get_date), (hildon_date_button_set_date):
5273 * src/hildon-date-selector.c: (hildon_date_selector_init),
5274 (_custom_print_func), (_update_day_model),
5275 (_manage_selector_change_cb),
5276 (hildon_date_selector_select_current_date),
5277 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5278 * src/hildon-date-selector.h:
5279 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5280 (hildon_picker_button_set_property),
5281 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5282 (hildon_picker_button_init), (hildon_picker_button_new_text),
5283 (hildon_picker_button_append_text),
5284 (hildon_picker_button_prepend_text),
5285 (hildon_picker_button_insert_text),
5286 (hildon_picker_button_set_selector),
5287 (hildon_picker_button_get_selector):
5288 * src/hildon-picker-button.h:
5289 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5290 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5291 (_update_title_on_selector_changed_cb), (requires_done_button),
5292 (_hildon_picker_dialog_set_selector),
5293 (hildon_picker_dialog_set_selector),
5294 (hildon_picker_dialog_get_selector):
5295 * src/hildon-picker-dialog.h:
5296 * src/hildon-time-button.c: (hildon_time_button_init),
5297 (hildon_time_button_get_time), (hildon_time_button_set_time):
5298 * src/hildon-time-selector.c: (hildon_time_selector_init),
5299 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5300 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5301 * src/hildon-time-selector.h:
5304 Massive code updates after the rename.
5306 * src/hildon-touch-picker.c: Removed.
5307 * src/hildon-touch-picker.h: Removed.
5309 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5310 (hildon_touch_selector_init), (hildon_touch_selector_map),
5311 (hildon_touch_selector_remove), (_default_print_func),
5312 (_selection_changed_cb), (_create_new_column),
5313 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5314 (hildon_touch_selector_append_text_column),
5315 (hildon_touch_selector_remove_column),
5316 (hildon_touch_selector_set_column_attributes),
5317 (hildon_touch_selector_insert_column),
5318 (hildon_touch_selector_get_num_columns),
5319 (hildon_touch_selector_get_column_selection_mode),
5320 (hildon_touch_selector_set_column_selection_mode),
5321 (hildon_touch_selector_set_print_func),
5322 (hildon_touch_selector_get_print_func),
5323 (hildon_touch_selector_get_active_iter),
5324 (hildon_touch_selector_set_active_iter),
5325 (hildon_touch_selector_get_selected_rows),
5326 (hildon_touch_selector_get_model),
5327 (hildon_touch_selector_set_model),
5328 (hildon_touch_selector_get_current_text),
5329 (_hildon_touch_selector_center_on_selected_items):
5330 * src/hildon-touch-selector.h: Renamed from
5331 hildon-touch-picker.[ch]
5333 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5334 references, code examples, and related documentation.
5336 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5338 * doc/hildon-docs.sgml
5341 * src/hildon-toggle-button.c
5342 * src/hildon-toggle-button.h
5343 * src/hildon.h: New HildonToggleButton widget.
5345 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5347 * src/hildon-button.c: Add API documentation.
5348 (hildon_button_set_size_groups): Check input parameters
5350 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5352 * src/hildon-pannable-area.c
5353 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5354 effect after reaching the movement thredshold. This way we start
5355 using the distance after passing the thredshold.
5357 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5359 * src/hildon-button.c: (hildon_button_set_property): Use the
5360 appropriate g_value_get_flags() method.
5362 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5364 * doc/hildon-docs.sgml:
5367 Add the touch pickers, picker dialogs, and picker button widgets
5368 to the documentation.
5370 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5372 * src/hildon-button.c: (hildon_button_set_property),
5373 (hildon_button_class_init): Make "arrangement-flags" a proper
5374 G_TYPE_FLAGS derived property.
5376 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5378 * examples/Makefile.am: Add below examples.
5379 * examples/hildon-date-button-example.c:
5380 * examples/hildon-picker-button-example.c:
5381 * examples/hildon-picker-button-multicolumn-example.c:
5382 * examples/hildon-time-button-example.c:
5383 * examples/hildon-touch-picker-example.c:
5385 Add examples for the recently added touch pickers,
5386 picker dialogs, and picker button widgets.
5388 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5390 * src/hildon-button.c: Add some API documentation
5392 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5394 * src/hildon-button.h
5395 * src/hildon-button.c
5397 (hildon_button_new_with_text): New constructor to create a button
5398 with no text at all.
5399 (hildon_button_init, hildon_button_set_arrangement)
5400 (hildon_button_set_title, hildon_button_set_value)
5401 (hildon_button_set_text)
5402 (hildon_button_construct_child): Hide the value when it's not used
5403 so the rest of the text is properly aligned.
5404 Allow creating buttons with arbitrary widgets inside (not just
5405 title/value labels).
5407 * examples/hildon-button-example.c (vertical_buttons_window)
5408 (horizontal_buttons_window): Update example to use new API.
5410 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5412 * src/Makefile.am: Added HildonTimeButton.
5413 * src/hildon-time-button.c: Added missing LGPL header.
5414 * src/hildon-time-button.h: Added missing LGPL header.
5415 * src/hildon.h: Add hildon-time-button.h
5417 Copied HildonTimeButton from sandbox to trunk. Future work on this
5418 widget must take place in trunk.
5420 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5422 * src/Makefile.am: Added HildonDateButton.
5423 * src/hildon-date-button.c: Update includes.
5424 * src/hildon.h: Add hildon-date-button.h
5426 Copied HildonDateButton from sandbox to trunk. Future work on this
5427 widget must take place in trunk.
5429 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5431 * src/Makefile.am: Added HildonPickerButton.
5432 * src/hildon-picker-button.h: Update includes.
5433 * src/hildon.h: Add hildon-picker-button.h
5435 Copied HildonPickerButton from sandbox to trunk. Future work on
5436 this widget must take place in trunk.
5438 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5440 * src/Makefile.am: Added HildonPickerDialog.
5441 * src/hildon-picker-dialog.c: Update includes.
5442 * src/hildon.h: Add hildon-picker-dialog.h
5444 Copied HildonPickerDialog from sandbox to trunk. Future work
5445 on this widget must take place in trunk.
5447 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/Makefile.am: Added HildonTimeSelector.
5450 * src/hildon.h: Add hildon-time-selector.h
5452 Copied HildonTimeSelector widget from sandbox to trunk. Future
5453 work on this widget must happen in trunk.
5455 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5457 * src/Makefile.am: Added HildonDateSelector.
5458 * src/hildon.h: Add hildon-date-selector.h
5460 Copied HildonDateSelector widget from sandbox to trunk. Future
5461 work on this widget must happen in trunk.
5463 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5465 * src/Makefile.am: Added HildonTouchPicker.
5466 * src/hildon-touch-picker.c: Update includes.
5467 * src/hildon.h: Add hildon-touch-picker.h
5469 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5470 on this widget must happen in trunk.
5472 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5474 * src/hildon-pannable-area.c:
5475 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5477 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5479 * examples/hildon-app-menu-example.c (main): Let the window
5482 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5484 * src/hildon-pannable-area.c
5485 (hildon_pannable_area_class_init): Set the min value of the
5486 overshoot properties to zero, which points out that not
5487 overshooting allowed.
5489 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5491 Modified the procedure to get the widget at a point inside the
5492 pannable area when using the movement type signals. Now the user
5493 has to call a function to get the child, that way we just
5494 calculate the child in case the user really want to use it and not
5497 * src/hildon-marshalers.list: Modified the marshallers, now we do
5498 not have the widget as a parameter.
5500 * src/hildon-pannable-area.c
5501 (hildon_pannable_area_motion_notify_cb),
5502 (hildon_pannable_area_class_init),
5503 (hildon_pannable_get_child_widget_at): Removed the widget
5504 parameter from the signal callback. We have also refactored the
5505 emission of the signals.
5507 * src/hildon-pannable-area.h: Added a new method to the API to
5508 calculate a widget at a point inside the pannable area,
5509 hildon_pannable_get_child_widget_at.
5511 * examples/hildon-pannable-area-example-4.c
5512 (horizontal_movement): Modified the example to use the new API,
5513 added condition to control which widget is under the event. This
5514 way we can avoid scrolling laterally over other widgets.
5516 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5518 * src/hildon-pannable-area.c
5519 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5520 modes, we stop getting the pointer events due to returning the
5521 callback without properly calling the get pointer again. Fixed
5522 also an error using the hscroll and vscroll.
5524 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5526 * src/hildon-app-menu-private.h
5527 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5528 (hildon_app_menu_button_release, hildon_app_menu_init)
5529 (hildon_app_menu_class_init): Don't hide the menu on button
5530 release if the user didn't press outside first.
5532 * src/hildon-window.h
5533 * src/hildon-window.c (hildon_window_toggle_menu)
5534 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5535 hildon_window_toggle_menu a virtual function for the stackable
5536 window to override it.
5538 * src/hildon-stackable-window.h
5539 * src/hildon-stackable-window-private.h
5540 * src/hildon-stackable-window.c
5541 (hildon_stackable_window_realize)
5542 (hildon_stackable_window_finalize)
5543 (hildon_stackable_window_class_init)
5544 (hildon_stackable_window_init)
5545 (hildon_stackable_window_set_main_menu): New function to set the
5546 app menu of a HildonStackableWindow.
5548 * examples/hildon-app-menu-example.c: Remove the button to show
5549 the app menu, now it'll be shown when clicking on the title bar
5552 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5554 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5555 set the widget name if the arrangement flags do not specify
5558 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5560 * src/hildon-button.c: (hildon_button_set_property),
5561 (hildon_button_class_init), (hildon_button_new_full),
5562 (hildon_button_set_arrangement): Added "arrangement-flags"
5565 Make the HildonButtonFlags a construction-only property, to allow
5566 subclasses to set them properly.
5568 2008-07-21 Tim Janik <timj@imendio.com>
5570 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5571 insertion position after backspace, so additional digits are appended,
5574 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5576 * src/hildon-pannable-area.c,
5577 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5578 TODO list, it was complete and removed the g_debug and g_print
5581 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5583 Added the movement modes to the hildon-pannable-area, with this
5584 modes the developers can control in which directions the widget
5585 can scroll. They can also connect to signals in order to do
5586 something when that happens, allowing applications scroll. There
5587 is an example uploaded showing how to use it.
5589 * examples/Makefile.am:
5590 * examples/hildon-pannable-area-example-4.c: Added this example of
5591 an application using the modes.
5593 * src/hildon-marshalers.list: Added a new marshaller for the new
5596 * src/hildon-pannable-area.h: Added new enumerations and flags in
5597 order to control the movement modes and the new signals to warn
5598 about the movements in the area.
5600 * src/hildon-pannable-area.c:
5601 (hildon_pannable_axis_scroll),
5602 (hildon_pannable_area_scroll),
5603 (hildon_pannable_area_motion_notify_cb),
5604 (hildon_pannable_area_get_property),
5605 (hildon_pannable_area_set_property),
5606 (hildon_pannable_area_map),
5607 (hildon_pannable_area_class_init),
5608 (hildon_pannable_area_init),
5609 (hildon_pannable_area_jump_to): Added the modes to control the
5610 movement in the widget. We have added properties to control it,
5611 signals to warn about the movements and refactored some code.
5613 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5615 Changes required in order to allow vfast_factor set to zero to
5618 * src/hildon-pannable-area.c:
5619 (hildon_pannable_area_button_press_cb): Changed the condition, it
5620 is required for not allowing click when vfast_factor is zero.
5621 (hildon_pannable_area_timeout): Initialized velocity variables
5622 when we stop moving, it was less than 1 but not zero and we need
5623 to check zero in some situations.
5624 (hildon_pannable_area_class_init): Changed the default value of
5625 the speed factor, now the button_press is just sent in case the
5626 speed is 2 per cent of the max speed.
5627 (hildon_pannable_area_init): Initialization with 0.
5629 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5631 * src/hildon-pannable-area.c,
5632 (hildon_pannable_area_get_topmost): replaced
5633 gdk_window_get_children with gdk_window_peek_children, this way we
5634 do not have to free the list because it is not a copy.
5636 (hildon_pannable_axis_scroll),
5637 (hildon_pannable_area_scroll),
5638 (hildon_pannable_area_timeout),
5639 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5640 two parameters that were only used inside the
5641 hildon_pannable_area_scroll function.
5643 * examples/hildon-pannable-area-example.c,
5644 (get_sawtooth_label): Fixed small memory leak.
5646 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5648 More checks for the case where the overshoot is bigger than the
5651 * src/hildon-pannable-area.c:
5652 (hildon_pannable_draw_vscroll),
5653 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5654 to draw the slider of the scrollbar under the other scrollbar.
5655 (hildon_pannable_area_expose_event): added new checks to control
5656 the drawing of the overshooting area rectangle, in case it is too
5657 big for the area of the widget.
5658 (hildon_pannable_area_size_allocate): add more checks to avoid
5659 setting a position to the child widget outside the area.
5661 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5663 * src/hildon-pannable-area.c
5664 (hildon_pannable_area_size_allocate): Added conditions to control
5665 when overshooting is bigger than the allocated space for the
5666 children, this avoids negative allocations.
5668 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5670 * doc/hildon-docs.sgml
5672 * examples/Makefile.am
5673 * examples/hildon-button-example.c
5675 * src/hildon-button.c
5676 * src/hildon-button.h
5677 * src/hildon.h: Initial version of the new HildonButton widget,
5680 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5682 * src/hildon-pannable-area.c:
5683 (hildon_pannable_area_button_press_cb),
5684 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5685 (hildon_pannable_area_motion_notify_cb),
5686 (hildon_pannable_area_button_release_cb),
5687 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5688 (hildon_pannable_area_jump_to_child):
5690 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5692 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5694 * examples/Makefile.am
5695 * examples/hildon-pannable-area-touch-grid-example.c
5696 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5697 the Hildon Touch List and Hildon Touch Grid using the
5698 HildonPannableArea widget.
5700 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5702 * src/hildon-pannable-area.c,
5703 (hildon_pannable_area_button_press_cb),
5704 (hildon_pannable_area_refresh),
5705 (hildon_pannable_area_scroll),
5706 (hildon_pannable_area_motion_notify_cb),
5707 (hildon_pannable_area_button_release_cb),
5708 (hildon_pannable_area_expose_event),
5709 (hildon_pannable_area_add),
5710 (hildon_pannable_area_remove),
5711 (hildon_pannable_area_realize),
5712 (hildon_pannable_area_size_allocate),
5713 (hildon_pannable_area_class_init),
5714 (hildon_pannable_area_init),
5715 (hildon_pannable_area_scroll_to_child),
5716 (hildon_pannable_area_jump_to_child): Fixed the problem of
5717 removing the child from the GtkBin, we have rearranged the widget
5718 hierarchy, now there is no GtkAlignment which was not doing
5719 anything interesting but breaking some of the assumptions of
5720 GtkContainer. Now developers if they want to add a GtkAlignment
5721 they could, but it is not inside the area.
5723 We had to review the whole allocation/expose process, now it is
5724 improved and we save at least three signals which would be saving
5725 some time when rendering the widget. The allocation of the
5726 scrollbars is now made in the allocate method as usual.
5728 We have also added some conditions in order to control when there
5729 is no child of the pannable area. Maybe we will need more work
5732 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5734 * src/hildon-pannable-area.c,
5735 (hildon_pannable_area_dispose): Released the fade-out timeout when
5736 disposing the widget.
5738 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5740 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5741 zero, we are going to use that property in order to deactivate the
5743 (hildon_pannable_axis_scroll),
5744 (hildon_pannable_area_size_allocate): Added conditions to control
5745 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5746 call, now it is called in all situations and we can remove calls
5747 in the allocate method.
5748 (hildon_pannable_area_map): Control the situation when
5749 overshoot_max is zero, we do not need the timeout.
5750 (hildon_pannable_area_class_init): Added documentation in order to
5751 point out that setting zero to overshoot_max means deactivate
5754 NOTE: removed trailing whitespaces from my previous comments of
5757 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5759 * src/hildon-pannable-area.c
5760 (hildon_pannable_area_get_property),
5761 (hildon_pannable_area_set_property),
5762 (hildon_pannable_area_map),
5763 (hildon_pannable_area_class_init),
5764 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5765 to cause the widget give a hint about its panning abilities upon
5768 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5770 * src/hildon-pannable-area.c: Several documentation improvements.
5772 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5774 * src/hildon-program.c
5775 * src/hildon-stackable-window.c: Update documentation.
5777 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5779 * src/hildon-stackable-window.c (get_previous_window_if_last):
5780 Renamed get_last_window()
5781 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5782 (hildon_stackable_window_unset_program):
5784 (get_previous_window_if_last):
5785 Detect if the window hasn't been added to a HildonProgram.
5787 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5789 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5791 * src/hildon-pannable-area.c
5792 (hildon_pannable_area_button_press_cb),
5793 (hildon_pannable_axis_scroll),
5794 (hildon_pannable_area_scroll),
5795 (hildon_pannable_area_timeout),
5796 (hildon_pannable_calculate_vel_factor),
5797 (hildon_pannable_area_get_property),
5798 (hildon_pannable_area_set_property),
5799 (hildon_pannable_area_class_init),
5800 (hildon_pannable_area_init),
5801 (hildon_pannable_area_scroll_to),
5802 (hildon_pannable_area_jump_to),
5803 (hildon_pannable_area_scroll_to_child),
5804 (hildon_pannable_area_jump_to_child):
5805 * src/hildon-pannable-area.h: Added the new API functions:
5806 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5807 hildon_pannable_area_scroll_to_child,
5808 hildon_pannable_area_jump_to_child
5811 * examples/Makefile.am
5812 * examples/hildon-pannable-area-example-2.c
5813 * examples/hildon-pannable-area-example-3.c: Added these two new
5814 examples in order to test and show how the new APIs work.
5816 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5818 * examples/hildon-stackable-window-example.c (new_window):
5819 * src/Makefile.am (noinst_HEADERS):
5820 * src/hildon-program.c (hildon_program_go_to_root_window):
5821 * src/hildon-program.h:
5822 * src/hildon-stackable-window-private.h:
5823 * src/hildon-stackable-window.c:
5824 * src/hildon-stackable-window.h:
5825 Create hildon-stackable-window-private.h
5826 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5828 * examples/hildon-app-menu-example.c (create_menu):
5829 * examples/hildon-hvolumebar-insensitive-example.c (main):
5830 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5831 * examples/hildon-toolbar-seekbar-example.c (main):
5832 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5833 * src/hildon-banner.c (hildon_banner_set_property):
5834 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5835 Fix compilation warnings
5837 * src/hildon-window.c:
5840 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5842 * src/hildon-stackable-window.c
5843 (hildon_stackable_window_unset_program):
5844 Calculate correctly whether to show the previous window if the
5845 last one is removed from the stack.
5846 (hildon_stackable_window_go_to_root_window):
5847 Send delete events starting from the topmost window.
5848 Stop if one of the windows is not destroyed.
5850 (hildon_stackable_window_delete_event)
5851 (hildon_stackable_window_class_init):
5852 Ignore the delete event if the window is not the topmost one.
5854 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5856 * src/hildon-pannable-area.c
5857 (hildon_pannable_area_expose_event): Fixed a problem when
5858 selecting the background color of the scrollbars.
5860 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5862 * examples/hildon-stackable-window-example.c
5863 * src/hildon-stackable-window.c
5864 * src/hildon-stackable-window.h
5865 hildon_stackable_window_go_home() renamed to
5866 hildon_stackable_window_go_to_root_window()
5867 Send delete events to windows rather than closing them with
5868 gtk_widget_destroy()
5870 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5872 * src/hildon-pannable-area.c
5873 (hildon_pannable_area_button_release_cb): Fix overshooting in
5876 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5878 * src/hildon-pannable-area.c
5879 (hildon_pannable_area_init): Initially show the scroll indicators.
5880 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5882 Add initial effect showing the widget is pannable.
5884 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5886 * src/hildon-pannable-area.c
5887 (hildon_pannable_area_class_init)
5888 (hildon_pannable_area_set_property)
5889 (hildon_pannable_area_get_property)
5890 (hildon_pannable_area_button_press_cb):
5891 New 'velocity_fast_factor' property to decide which velocity is
5894 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5896 * src/hildon-pannable-area.c
5897 (hildon_pannable_draw_hscroll)
5898 (hildon_pannable_draw_vscroll):
5899 Use float variables to calculate the size of the scrollbars to
5900 avoid error propagation and resizing during scrolling.
5902 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5904 * src/hildon-pannable-area.c
5905 (hildon_pannable_draw_vscroll)
5906 (hildon_pannable_draw_hscroll):
5907 Define a minimum size for the scroll bars
5909 * src/hildon-stackable-window.c
5910 (hildon_stackable_window_go_home): Fix compilation warning
5911 (get_last_window): Minor optimizations
5912 (hildon_stackable_window_class_init): Fix initialization of
5915 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5917 * src/hildon-stackable-window.c: Fixed typos in doc
5919 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5921 * src/hildon-pannable-area.c
5922 (hildon_pannable_area_scroll):
5923 Calculate here whether we need to scroll instead of using the booleans
5924 that tell us whether to /draw/ the scrolling bars.
5926 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5928 * src/hildon-app-menu.h
5930 * src/hildon-app-menu.c
5931 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5932 multiple filter groups related code and API. Now we support only
5934 * examples/hildon-app-menu-example.c:
5936 Update to reflect API changes.
5938 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5940 * src/hildon-stackable-window.c
5941 (hildon_stackable_window_class_init):
5942 Add hildon_stackable_window_realize.
5943 (hildon_stackable_window_realize):
5944 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5945 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5946 to apply theming and behavior specific to HildonStackableWindow
5949 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5951 * src/hildon-note.c (hildon_note_button_release):
5952 Close information notes also when tapping on them
5954 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5956 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5957 ELASTICITY, refactor and review, fix some issues with drawing
5960 * src/hildon-pannable-area.c:
5961 (hildon_pannable_area_button_press_cb): removed the conditions to
5962 avoid clicks when overshooting. It is not required
5964 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5965 define. Refatored and reviewed the code, now we do not need to
5966 manage velocity in motion_notify.
5968 (hildon_pannable_area_motion_notify_cb): We have moved the code
5969 that controls the area_scroll to the axis_scroll function and get
5970 rid of duplicated code.
5972 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5974 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5976 (hildon_pannable_draw_vscroll),
5977 (hildon_pannable_draw_hscroll): Fixed the problems with the
5978 scrollbar drawing, now we do not use two surfaces, it is easier
5979 and saves resources.
5981 (hildon_pannable_area_get_property): Style modification.
5983 (hildon_pannable_area_class_init): Changed some default values.
5985 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5987 * src/hildon-stackable-window.c: Fix some typos in the
5990 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5992 * src/hildon-dialog.c:
5993 Change indentation style
5996 (hildon_note_button_release):
5997 Use root coordinates to check if the release event happened
6000 * src/hildon-app-menu.c
6001 (hildon_app_menu_button_release):
6002 Remove unnecessary check
6004 * examples/hildon-app-menu-example.c
6006 Add cast to fix warning
6008 * src/hildon-app-menu.c
6009 (hildon_app_menu_class_init):
6010 New inner-border style property.
6011 Set all default spacings to 16
6012 (hildon_app_menu_init):
6013 Use vertical-spacing to set the space between filter buttons and
6014 regular menu buttons.
6015 Set the default container border using the inner-border value.
6017 * examples/hildon-app-menu-example.c
6019 Don't set the menu border explicitly, now we have the inner-border
6020 style property for that.
6022 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6024 * src/hildon-app-menu.c (hildon_app_menu_init):
6025 Make the window modal
6027 * src/hildon-note.c (hildon_note_map)
6028 * src/hildon-app-menu.c (hildon_app_menu_map):
6029 Destroy the grab window if we're unable to grab the pointer
6031 * src/hildon-app-menu-private.h
6032 * src/hildon-app-menu.c
6033 (hildon_app_menu_init, hildon_app_menu_finalize)
6034 (hildon_app_menu_map, hildon_app_menu_unmap)
6035 (hildon_app_menu_button_release)
6036 (grab_transfer_window_get):
6037 Bring back the grab window
6038 (hildon_app_menu_realize):
6039 Decorate the window, set WM hint for Matchbox
6041 * src/hildon-note.c (hildon_note_realize):
6042 * src/hildon-banner.c (hildon_banner_realize):
6043 Add WM hints for Matchbox
6045 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6047 * src/hildon-app-menu-private.h
6048 * src/hildon-app-menu.c
6049 (hildon_app_menu_init, hildon_app_menu_finalize)
6050 (hildon_app_menu_map, hildon_app_menu_unmap)
6051 (hildon_app_menu_button_release):
6052 Remove the grab window, it's not needed anymore
6054 * src/hildon-program.c
6055 Fixed typo in documentation
6057 * src/hildon-app-menu.h
6058 * src/hildon-app-menu.c
6059 * examples/hildon-app-menu-example.c
6060 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6062 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6065 Added new transfer_window and close_if_pressed_outside private
6067 (hildon_note_rebuild):
6068 Don't add a cancel button to the information note. It will be
6069 closed when tapping outside
6070 Remove the comment about the OK button in the documentation
6071 (hildon_note_realize):
6072 Set the notification type hint
6073 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6074 Grab/ungrab pointer and keyboard if the note has to be closed when
6076 (hildon_note_button_release):
6077 Close the note when tapping outside (if applicable)
6079 * src/hildon-app-menu.c
6080 Grab/ungrab pointer and keyboard on map/unmap
6081 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6082 Close the menu on button release, not button press
6084 * src/hildon-banner.c
6085 (hildon_banner_set_property)
6086 (hildon_banner_check_position):
6087 Make the banner use the full width of the screen
6088 (hildon_banner_show_information)
6089 (hildon_banner_show_information_with_markup):
6090 Don't display an icon by default
6092 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6094 Added fading scrollbars and adapted all the overshooting code to
6095 horizontal scrolling. We have also fixed bugs with overshooting
6096 and current fading implementation.
6098 * src/hildon-pannable-area.c
6099 (hildon_pannable_area_scroll_indicator_fade): Time out function
6100 used to change the transparency of the scrollbars.
6102 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6103 control and fixed a problem with fading, we now remove the fade
6104 timeout before adding a new one.
6106 (hildon_pannable_axis_scroll):
6107 (hildon_pannable_area_scroll):
6108 (hildon_pannable_area_timeout): Added this functions so we can use
6109 the scroll code both for vertical and horizontal.
6111 (hildon_pannable_area_motion_notify_cb):
6112 (hildon_pannable_area_button_release_cb): Added the horizontal
6113 scrolling control, fixed a problem with the overshooting timeout.
6115 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6116 painting of the scrolls.
6118 (hildon_pannable_draw_vscroll):
6119 (hildon_pannable_draw_hscroll):
6120 (hildon_pannable_area_expose_event):
6121 Draw both scrollbars and rectangles in the overshooting area.
6123 (hildon_pannable_area_get_property):
6124 (hildon_pannable_area_set_property):
6125 Modified the overshoot property to overshoot_max
6127 (hildon_pannable_area_map):
6128 Replaced the comments symbols.
6130 (hildon_pannable_area_size_allocate):
6131 (hildon_pannable_area_class_init):
6132 (hildon_pannable_area_init): Added horizontal scroll, fading
6133 effect properties, fixed a problem when overshooting in the bottom
6136 * examples/hildon-pannable-area-example.c:
6137 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6138 looks better in the example.
6140 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6142 * src/hildon-window.c
6143 * src/hildon-window.h
6144 (hildon_window_class_init)
6145 (hildon_window_unset_program)
6146 (hildon_window_unset_program_real):
6147 Make unset_program a virtual function
6149 * src/hildon-stackable-window.c
6150 * src/hildon-stackable-window.h
6151 Added hildon_stackable_window_go_home()
6153 * examples/Makefile.am
6154 * examples/hildon-stackable-window-example.c
6155 HildonStackableWindow example
6157 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6159 * hildon-pannable-area.c: Added the overshoot property and removed
6160 the OVERSHOOT define. Fixed an indent style error.
6161 (hildon_pannable_area_motion_notify_cb):
6162 (hildon_pannable_area_get_property):
6163 (hildon_pannable_area_set_property): Add overshoot property.
6165 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6168 (hildon_pannable_area_class_init): Installed the new property.
6170 * hildon-pannable-area-example.c: Added a sawtooth function, this
6171 way it is easier to check the movement in the pannable.
6172 (get_sawtooth_label): Added this function.
6173 (main): Now we get the labels from the new get_sawtooth_label
6176 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6178 * src/hildon-app-menu.h
6179 * src/hildon-app-menu.c
6180 Renamed API variables for consistency
6182 (hildon_app_menu_popup): Use also the default window size to
6183 decide where to place the menu
6185 (hildon_app_menu_init, hildon_app_menu_class_init): New
6186 external-border style property
6188 2008-05-26 Michael Natterer <mitch@imendio.com>
6190 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6191 widget_class->tap_and_hold_setup signal slot doesn't exist any
6192 longer, stop overriding it.
6194 (hildon_time_editor_init): g_signal_connect() to the
6195 tap-and-hold-setup signal instead.
6197 (hildon_time_editor_entry_keypress): add cast to fix warning.
6199 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6201 * doc/hildon-docs.sgml
6203 * examples/Makefile.am
6204 * examples/hildon-app-menu-example.c
6206 * src/hildon-app-menu-private.h
6207 * src/hildon-app-menu.c
6208 * src/hildon-app-menu.h
6210 New HildonAppMenu widget
6212 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6214 Rearranged the inheritance of the pannable area, now it inherits
6215 from GtkBin. This will allow us to control the event_window and
6216 the allocation process of the widget, required for some effects.
6218 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6219 GtkBin structures. * src/hildon-pannable-area.c: Added the
6220 event_window variable.
6221 (hildon_pannable_area_button_press_cb):
6222 (hildon_pannable_area_button_release_cb):
6223 (hildon_pannable_area_motion_notify_cb):
6224 Changed the signature of the method, now we override the event
6225 callback instead of connecting to the signal.
6227 (hildon_pannable_area_realize):
6228 (hildon_pannable_area_unrealize):
6229 (hildon_pannable_area_map):
6230 (hildon_pannable_area_unmap):
6231 (hildon_pannable_area_size_allocate):
6232 Added functions to control the widget construction. We add a
6233 INPUT_ONLY window and we put it over the widgets inside the
6234 container, this event_window handles the events.
6236 (hildon_pannable_area_class_init):
6237 Replaced the signal connections with overrides of the event
6240 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6242 Bouncing effect added when touching the borders, you can change
6243 the elasticity of the border changing the ELASTICITY define.
6245 * src/hildon-pannable-area.c: Added ELASTICITY define.
6246 (hildon_pannable_area_timeout): Added inverse velocity when
6247 touching the border of the child widget, that causes a bounce.
6249 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6251 Improved performance, we now do not go to the X server in order to
6252 get the list of window children. Apparently the effect is the
6253 same, we have to be careful and check if this breaks something in
6256 * src/hildon-pannable-area.c:
6257 (get_ordered_children): Removed this function.
6258 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6259 the children windows function with gdk_window_get_children.
6261 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6263 * src/hildon-pannable-area.c:
6264 (hildon_pannable_area_dispose): Fixed a crash when closing the
6265 window and kinetics is activated.
6267 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6269 * src/hildon-pannable-area.h
6270 * src/hildon-pannable-area.c
6271 Changed indentation style to meet the one used in Hildon
6273 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6275 Reviewed the interaction of the AUTO mode, now we use the time
6276 attribute of the events and calculate the velocity in the motion,
6277 doing a gimp like calculation. The velocity is calculated in each
6278 motion event using the last velocity and the current one, the
6279 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6281 * src/hildon-pannable-area.c: Replaced the time based algorithm
6283 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6284 timeout for the AUTO mode when we are still moving the cursor. We
6285 added also the velocity calculation in this function.
6286 (hildon_pannable_area_button_release_cb): launch the timeout in
6287 case we are in AUTO mode. There are still some constants here that
6288 come from the old implementation that should be reviewed and
6291 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6293 * doc/hildon-docs.sgml
6296 * src/hildon-stackable-window.c
6297 * src/hildon-stackable-window.h
6299 New HildonStackableWindow widget
6301 * examples/hildon-dialog-example.c
6302 * examples/hildon-pannable-area-example.c
6305 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6307 * src/hildon-dialog.c
6308 (hildon_dialog_new_with_buttons): New constructor.
6310 * examples/hildon-dialog-example.c
6311 (main): Update the example to use the new
6312 hildon_dialog_new_with_buttons().
6314 * examples/hildon-pannable-area-example.c
6315 (main): Update example.
6317 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6319 * doc/hildon-docs.sgml
6321 Added HildonPannableArea to the documentation.
6323 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6325 * doc/visual_index.xml
6326 Fix reference to HildonLoginDialog in documentation
6328 * doc/hildon-docs.sgml
6330 * examples/Makefile.am
6331 * examples/hildon-dialog-example.c
6333 * src/hildon-dialog.c
6334 * src/hildon-dialog.h
6336 New HildonDialog widget.
6338 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6340 * src/hildon-pannable-area.c
6341 Merge latest changes (r4318, r4342) from libmokoui trunk
6343 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6345 * examples/Makefile.am
6346 * examples/hildon-pannable-area-example.c
6348 * src/hildon-pannable-area.c
6349 * src/hildon-pannable-area.h
6351 New HildonPannableArea widget.
6353 2008-04-15 18:05:19 <timj@imendio.com>
6355 * src/hildon-banner.c: revert the recent change, that introduced
6356 gtk_window_present() calls. this reopens:
6357 Bug 78481 - [freetest] information banners are hidden under browser menu
6358 But resolves another variant of:
6359 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6361 2008-04-15 13:21:13 <timj@imendio.com>
6363 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6364 recreated its layout, spotted by Kris. this fixes all remaining
6365 artefacts and stability issues with the banner code. in particular:
6366 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6368 2008-04-14 16:52:59 <timj@imendio.com>
6370 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6371 operating on unrealized widgets, fixes:
6372 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6374 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6376 2008-04-09 Kristian Rietveld <kris@imendio.com>
6378 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6379 makes banner disappear.
6380 Fixes: NB#79182: info banner flickering with certain message lengts.
6382 * src/hildon-banner.c (hildon_banner_constructor),
6383 (hildon_banner_init), (hildon_banner_set_text),
6384 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6385 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6386 FALSE, reset size requests of label and banner,
6387 (force_to_wrap_truncated): when the text is too wide, always enforce
6388 the maximum possible width instead of recalculating it from the
6389 layout; enforce the maximum banner height of 3 lines,
6390 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6391 nicer wrapping and no truncated chars if space gets tight.
6393 * src/hildon-banner-private.h: add has_been_wrapped and
6394 has_been_truncated fields.
6396 2008-04-07 Sven Herzberg <sven@imendio.com>
6398 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6399 local values in hildon_date_editor_size_allocate
6401 * src/hildon-date-editor.c: moved the real allocation code into the
6404 2008-04-07 Sven Herzberg <sven@imendio.com>
6406 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6407 local values in hildon_date_editor_size_allocate
6409 * src/hildon-date-editor.c: merged the two if() branches together
6411 2008-04-07 Sven Herzberg <sven@imendio.com>
6413 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6414 local values in hildon_date_editor_size_allocate
6416 * src/hildon-date-editor.c: changed the arguments of the if()
6419 2008-04-07 Sven Herzberg <sven@imendio.com>
6421 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6422 local values in hildon_date_editor_size_allocate
6424 * src/hildon-date-editor.c: split the calculation of the allocation
6425 from the real allocation
6427 2008-03-27 Michael Natterer <mitch@imendio.com>
6429 Fixes: NB#81696: The passcode is not overwritten even after
6432 * src/hildon-code-dialog.c
6433 (hildon_code_dialog_button_clicked)
6434 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6435 because that doesn't overwrite selected text. Instead, emit the
6436 "commit" signal on the entry's im_context so the entry's normal
6437 insert logic is triggered. Set the cursor to the end of the entry
6438 after each insert operation so that we *only* insert in the middle
6439 of the text if something was selected.
6441 2008-03-27 Michael Natterer <mitch@imendio.com>
6443 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6444 selector cannot be opened
6446 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6447 when the popup color selector is created. Please connect to this
6448 signal in order to set the dialog's help ID.
6450 2008-03-25 Sven Herzberg <sven@imendio.com>
6452 Fixes: MB#1212: Hide info banners (infoprints) on click
6454 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6455 extracted the close event simulation into an extra function
6456 (hildon_banner_button_press_event): simulate a close event and destroy
6457 the widget if the event wasn't handled
6458 (hildon_banner_class_init): added the button_press_event handler
6459 (hildon_banner_init): added button-press events to the widget
6461 2008-03-25 Sven Herzberg <sven@imendio.com>
6463 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6464 Patch from: Mohammad Anwari <mdamt@maemo.org>
6466 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6467 instead of the right in RTL mode
6468 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6469 breadcrumb button list in RTL mode
6470 * src/hildon-caption.c: mirror the appearance of the caption widget in
6472 * src/hildon-date-editor.c: mirror appearance of the date editor in
6474 * src/hildon-time-editor.c: mirror appearance of the time editor in
6476 * src/hildon-window.c: fix the position of the popup in RTL mode
6478 2008-03-25 Sven Herzberg <sven@imendio.com>
6480 Amendment to the fix of NB#22072. Fix compilation.
6482 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6484 2008-03-19 Sven Herzberg <sven@imendio.com>
6486 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6489 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6490 timeout id properly when the timeout will disappear this leaves no
6491 artifacts around in the destroy(); there will only be the timeout
6492 created by hildon_banner_ensure_timeout() and adding a new timeout
6493 will also work if the timeout gets removed because the timeout_handler
6496 2008-03-19 Michael Natterer <mitch@imendio.com>
6498 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6500 * src/hildon-volumebar.c
6501 * src/hildon-vvolumebar.c
6502 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6503 the widget becomes focussable at all.
6505 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6506 set the focus to wither the mute button or the volumebar.
6508 Remove own "can-focus" property and instead listen to
6509 notify::can-focus in order to update the widget's state.
6511 Implement GtkWidget::focus() and make sure we can also *leave* the
6512 widget, not only enter it, depending on volumebar orientation and
6513 requested focus direction.
6515 Clean up set_mute() to cooperate nicely with all the above.
6517 2008-03-04 Michael Natterer <mitch@imendio.com>
6519 Fixes: NB#78481: information banners are hidden under browser menu
6521 * src/hildon-banner.c: call gtk_window_present() on the banners so
6522 they are risen if they are already visible.
6524 2008-03-03 Sven Herzberg <sven@imendio.com>
6526 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6528 * examples/hildon-window-menu-example.c: (main): extended the window
6529 menu example to serve as a testcase for automatically added
6530 accelerator groups, too
6531 * src/hildon-window.c: (hildon_window_add_accel_group),
6532 (hildon_window_set_menu): added patch by Tommi Komulainen
6534 2008-03-03 Sven Herzberg <sven@imendio.com>
6536 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6538 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6539 knowledge about the border allocators used within GTK+
6541 2008-02-26 Sven Herzberg <sven@imendio.com>
6543 Fixes: MB#2981: Build with asserts broken
6545 * src/hildon-date-editor.c,
6546 * src/hildon-number-editor.c,
6547 * src/hildon-time-editor.c,
6548 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6549 the proper GType instance check
6551 2008-02-25 Sven Herzberg <sven@imendio.com>
6553 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6555 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6556 * examples/hildon-window-menu-example.c: (main): explicitly show
6558 * src/hildon-window.c:
6559 (hildon_window_set_main_menu): moved most of the code from set_menu()
6560 to this place; skipped the call to gtk_widget_show_all(); also didn't
6561 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6562 (hildon_window_set_menu): removed most of the code, just keep the
6563 questionable gtk_widget_show_all()
6564 * src/hildon-window.h: added the new function and deprecate the old
6567 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6573 * debian/changelog: Updating.
6575 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6578 * pkgconfig/Makefile.am:
6579 * pkgconfig/hildon.pc.in:
6582 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6583 use newly created API_MAJOR_VERSION.
6585 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6591 * debian/changelog: Updating.
6593 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6595 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6597 Add outer_border style property, we use it but don't define it (!).
6601 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6603 * examples/hildon-bread-crumb-trail-example.c (main):
6607 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6609 Fix logic for the bread crumb trail node removal.
6613 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6619 * debian/changelog: Updating.
6621 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6623 Patch by Alejandro to get/set passwords dialogs accesibility.
6625 * hildon-1/src/hildon-get-password-dialog.c:
6626 * hildon-1/src/hildon-set-password-dialog.c:
6627 Set atk_set_name to the passwd entries in order to allow
6628 accessibility by name on this entries.
6630 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6635 * debian/control: Updating gtk dep.
6637 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6639 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6640 USE_MAEMO_GTK is enabled.
6642 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6644 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6645 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6647 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6653 * debian/changelog: Updating.
6655 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6657 * examples/Makefile.am:
6658 * examples/hildon-logical-color-example.c:
6659 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6660 applied + adding a test case. Fixes: NB#71660.
6662 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6664 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6665 to be visible, fixes warning on map for windows without toolbars.
6667 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6669 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6670 2.11.0, add a check for that besides the MAEMO_GTK check.
6672 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6678 * debian/changelog: Updating.
6680 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6682 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6683 visibility. Fixes: NB#70842 and MB#615.
6685 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6687 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6688 set the separator as no-show-all so it doesn't unintentionally appear when
6689 someone does a show_all.
6691 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6693 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6694 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6695 toplevel item. Fixes: NB#62031
6697 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6699 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6700 fix the name of the function in the docs.
6702 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6708 * debian/changelog: Updating.
6710 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6712 * examples/hildon-banner-long-example.c: Adding a test-case for long
6715 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6717 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6719 * src/hildon-color-chooser-dialog.c:
6720 * src/hildon-color-chooser.c:
6721 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6722 memory leaks in font selector and color selector. Fixes: NB#70499 and
6725 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6727 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6729 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6731 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6732 little bit bigger. Fixes: #NB63694.
6734 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6740 * debian/changelog: Updating.
6742 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6745 * doc/hildon-docs.sgml:
6746 * doc/images/bread-crumb-trail.png:
6747 * doc/images/calendar-popup.png:
6748 * doc/images/caption.png:
6749 * doc/images/code-dialog.png:
6750 * doc/images/color-button.png:
6751 * doc/images/color-chooser-dialog.png:
6752 * doc/images/color-chooser.png:
6753 * doc/images/controlbar.png:
6754 * doc/images/date-editor.png:
6755 * doc/images/font-selection-dialog.png:
6756 * doc/images/get-password-dialog.png:
6757 * doc/images/hvolumebar.png:
6758 * doc/images/login-dialog.png:
6759 * doc/images/note.png:
6760 * doc/images/number-editor.png:
6761 * doc/images/range-editor.png:
6762 * doc/images/seekbar.png:
6763 * doc/images/set-password-dialog.png:
6764 * doc/images/sort-dialog.png:
6765 * doc/images/time-editor.png:
6766 * doc/images/time-picker.png:
6767 * doc/images/vvolumebar.png:
6768 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6769 Adding the bread-crumb-trial and helpers to the documentation.
6771 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6773 * examples/hildon-find-toolbar-example.c:
6774 * src/hildon-find-toolbar.c:
6775 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6776 actually continue firing the other handlers if connected. Adding a new
6778 hildon_find_toolbar_get_last_index that gets the index of the most
6779 recently added (last) item. Fixes: NB#52301.
6781 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6783 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6784 behaviour. Fixes: NB#68610.
6786 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6788 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6791 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6793 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6794 when realizing the banner. Should make the infonbanner effect a bit more
6797 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6799 * src/hildon-volumebar.c:
6800 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6801 hildon_volumebar_set_range_insensitive_message and
6802 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6804 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6806 * src/hildon-window.c: Fixing the border freeing on destroy.
6808 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6810 * src/hildon-code-dialog-private.h:
6811 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6812 kw keyboard support in HildonCodeDialog.
6814 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6820 * debian/changelog: Updating.
6822 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6824 * src/hildon-date-editor.c:
6825 * src/hildon-number-editor.c:
6826 * src/hildon-private.c:
6827 * src/hildon-private.h:
6828 * src/hildon-time-editor.c:
6829 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6830 handling in subclassed composite widgets. Fixes: NB#66628.
6832 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6834 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6835 from destroy_ callback as it introduces problems in async dbus signal
6836 handlers. Fixes NB#66673.
6838 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6840 * examples/hildon-hvolumebar-example.c:
6841 * src/hildon-volumebar.c: Improving the focus handling in the
6842 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6843 set_property accessor so that "mute" property can be actually set. I'm
6844 scared that nobody noticed it's totally broken.
6846 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6848 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6851 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6853 * src/hildon-calendar.c:
6854 * src/hildon-number-editor.c:
6855 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6856 matches the spec of 6 chars per second. Fixes: NB#60489.
6858 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6860 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6861 gtk_style_lookup_color sometime returns FALSE even though color was
6862 found and values were filled properly. Weird. Removing the warning for the
6865 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6867 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6868 expand vertically. Adding some extra space to the find toolbar buttons to
6869 make them thumbable. Fixes NB#66060.
6871 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6873 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6874 popup with "Ok" and "Cancel". Fixes NB#59299.
6876 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6878 * src/hildon-calendar.c: Process all window updates before executing next
6879 timeout. Fixes: NB#54146.
6881 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6887 * debian/changelog: Updating.
6889 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6891 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6892 the client event and ignore it, since we use the delete event to close
6895 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6897 * src/hildon-helper.c: Remove the bogus warning about color not being
6898 found. Fixes NB#58352.
6900 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6902 * examples/Makefile.am:
6903 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6904 HildonSeekbar widget inside a toolbar.
6906 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6908 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6909 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6910 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6911 don't want to be closed by non-temporary windows on map.
6913 Also use G_DEFINE_TYPE instead of manually typed code.
6915 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6922 * debian/rules: Updating.
6924 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6926 * examples/Makefile.am:
6927 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6928 bug NB#61128. Strangely it works.
6930 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6932 * src/hildon-date-editor.c: When the date editor entry has been changed
6933 but the numbers of characters < max, turn off the skip validation flag.
6934 Prevents a situation when we enter first a valid year and later re-write
6935 it with an invalid one. Fixes NB#60154.
6937 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6939 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6940 code dialog. Fixes NB#64355.
6942 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6944 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6945 switching the page. Fixes NB#49374.
6947 * examples/Makefile.am:
6948 * examples/hildon-wizard-dialog-example.c: Adding an example for
6949 HildonWizardDialog that shows how to handle manual sensitivity setting on
6952 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6956 * src/hildon-version.h.in:
6957 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6959 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6961 * src/hildon-volumebar.c: Updating the docs.
6963 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6969 * debian/changelog: Updating.
6971 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6973 * src/hildon-find-toolbar.c:
6974 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6975 selected item: hildon_find_toolbar_set_active,
6976 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6977 hildon_find_toolbar_get_active_iter . They correspond to respective
6978 GtkComboBox functions.
6980 * examples/Makefile.am:
6981 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6984 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6986 * examples/Makefile.am:
6987 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6990 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6991 when font size > 32 and we pack a focusable widget inside. Actually using
6992 the default response would work too, but since we don't show default
6993 response state in any way (no theming) it would not be visible to the
6994 user. Fixes NB#63430.
6996 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6998 * src/hildon-date-editor.c: Adding the missing variable setter in the
6999 set_property handler. Fixes NB#54182.
7001 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7003 * src/hildon-window.h: Changing the long key press time from 1500ms to
7004 800ms as requested in NB#63700. I have a bad feeling about this, let's
7005 see... Fixes NB#63700.
7007 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7009 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7010 hildon_time_picker_map, hildon_time_picker_realize,
7011 hildon_time_picker_style_set): Split the contents of map to more
7012 appropriate functions; set window decorations on realize and update
7013 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7015 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7020 * debian/changelog: Updating.
7022 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7024 * src/Makefile.am: fixed installation of the header files
7026 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7032 * debian/changelog: Updating.
7034 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7036 * configure.ac: Removing some remaining of --enable-xan.
7038 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7040 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7041 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7043 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7044 2.10.12-osso6 because the move-focus signal needs to be available in
7047 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7049 * examples/Makefile.am:
7050 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7051 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7052 fine. Prolly NB#61128 is fixed now.
7054 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7056 * src/hildon-volumebar.c:
7057 * src/hildon-volumebar.h: Adding the
7058 hildon_volumebar_set_range_insensitive_message and
7059 hildon_volumebar_set_range_insensitive_messagef functions to set
7060 insensitive message on the slider of the volumebar. Fixes NB#61129.
7062 * examples/Makefile.am:
7063 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7064 test the new insensitive messsage functionality on HildonVolumebar.
7066 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7068 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7071 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7073 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7074 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7075 button on after clearing the trail.
7077 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7079 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7081 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7083 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7084 by splitting the installed headers in generated and non-generated groups. Use
7085 only the non-generated headers to create the hildon-enum-types.h file.
7087 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7089 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7091 * src/hildon-window.c: Hide the window before performing the destroy.
7092 Should make the app closing a little tiny bit more snappy.
7094 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7096 * src/hildon-seekbar.c: add gtkrange.h header
7097 * src/hildon-caption.c: remove unused variable
7099 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7101 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7104 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7110 * debian/changelog: Updating.
7112 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7114 * src/hildon-window.c (hildon_window_window_state_event,
7115 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7116 escape timeout on focus-out-event rather than notify::is-topmost; the
7117 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7119 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7121 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7122 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7124 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7126 * src/hildon-window: actually, you need to use the macro always, there's
7127 no private pointer in the instance structure. We should have cleaned this up
7128 when we had the chance...
7130 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7132 * src/hildon-window.c: do not get the private date from HildonWindow before
7133 it passes the g_return_if_fail check. Once it's passed the test, there's no
7134 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7135 if you are only going to access the data once. Whitespace cleanups.
7137 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7139 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7140 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7142 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7148 * debian/changelog: Updating.
7150 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7152 * src/hildon-window.c: When destroying the window, remove (if exists) the
7153 escape timeout handler. Fixes #NB59276.
7155 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7157 * src/hildon-banner.c: When realizing the widget, set the window
7158 transiency. Setting the transiency in the gobject constructor is not
7159 good, as the widget is not realized at that point. Fixes: #NB56624.
7161 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7163 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7164 Add padding for future expansions.
7166 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7168 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7169 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7170 will fake an activation on the previous to the last item of the trail, so
7171 the effect can be overrided by the developer as usual.
7172 Also change the callback for the back button to do the same thing, so its
7173 effect can be overrided too. Fixes: NB#58982
7175 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7177 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7178 HildonCaption. Fixes NB#52379.
7180 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7182 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7183 the internal state of the trail after the user has had the chance of executing
7184 his handler for the signal. Specifically, it may happen that the activated button
7185 is removed and the user still lets the default handler run. This would segfault
7188 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7190 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7191 scrollbar to the preview dialog. Fixes NB#54147.
7193 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7195 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7196 max/min year properties can be altered, so the client can modify it
7197 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7199 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7201 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7202 hildonlike by default. Fixing a problem with disappearing arrows when
7203 scrolling through months and years. Fixes NB#54127.
7205 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7207 * examples/hildon-date-editor-example.c: Adding error callback to the date
7210 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7216 * configure.ac: Updating.
7218 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7220 * configure.ac: Adding a special '--enable-xan' configure option that
7221 turns off the -Werror compilation setting. Usefull for development.
7223 * src/hildon-calendar.c:
7224 * src/hildon-number-editor.c:
7225 * src/hildon-time-picker.c: Adding the 5* multiplier to
7228 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7230 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7231 instead of g_object_ref + gtk_object_sink.
7233 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7239 * debian/changelog: Updating.
7241 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7243 * src/hildon-color-chooser-dialog.c:
7244 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7245 straight from Tommi labs.
7247 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7249 * examples/hildon-finger-example.c: Correcting the header file path.
7251 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7252 the changed signal. Fixes a small memory leak.
7254 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7258 * src/hildon-banner.c: Importing several usefull fixes from the
7259 ubuntu-mobile branch.
7261 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * examples/Makefile.am:
7264 * examples/hildon-finger-example.c: Adding a finger-checking code
7267 * src/hildon-font-selection-dialog.c: Do not allocate the color
7268 structure using the g_new. Fixes NB#54061.
7270 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7272 * src/hildon-helper.c: Correcting tabs in file.
7274 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7276 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7277 control the visibility of the children.
7279 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7281 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7287 * debian/changelog: Updating.
7289 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7291 * src/hildon-bread-crumb-trail.c:
7292 (hildon_bread_crumb_trail_size_allocate):
7294 Make the back button always a square.
7296 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7298 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7299 from the .c file as it's a private file.
7301 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7303 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7304 uses slightly bigger height.
7306 * src/hildon-font-selection-dialog.c: Adding some checks before
7307 freeing memory in the font selection dialog.
7309 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7311 * src/hildon-font-selection-dialog.c: Adding a small check when
7314 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7315 buttons sensitivity on page switching.
7317 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7319 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7320 internal details of adding a bread crumb to the trail.
7322 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7328 * debian/changelog: Updating.
7330 * src/hildon-bread-crumb-trail.h:
7331 * src/hildon-bread-crumb.h: Changing the API guard to
7332 HILDON_ENABLE_UNSTABLE_API.
7334 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7342 * src/hildon-helper.h: Updating.
7344 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7352 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7356 * src/hildon-helper.h: Small fix to make the package actually compile.
7358 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7360 * src/hildon-bread-crumb-trail.h:
7361 * src/hildon-bread-crumb.h:
7363 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7364 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7366 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7368 * examples/hildon-bread-crumb-trail-example.c:
7370 * src/hildon-bread-crumb-trail.c:
7371 * src/hildon-bread-crumb-trail.h:
7372 * src/hildon-bread-crumb.c:
7373 * src/hildon-bread-crumb.h:
7374 * src/hildon-marshalers.list:
7375 * src/hildon-bread-crumb-widget.c:
7376 * src/hildon-bread-crumb-widget.h:
7378 Slight change in the widget design. The bread crumb trail API is
7379 unchanged, but HildonBreadCrumb is now an interface. A *private*
7380 implementation, hildon-bread-crumb-widget, is provided and used
7381 internally by the trail for the push_text/push_icon functions.
7383 The generic push API is still available, so anyone can implement
7384 and use its own bread crumb widget.
7386 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7388 * debian/rules: Fixing the shlibs.
7390 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * src/hildon-banner.c: Fixing a problem with timed banners having
7393 their parrent destroyed before they are.
7395 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7397 * src/hildon-bread-crumb.c:
7398 * src/hildon-bread-crumb.h:
7400 Make the get_natural_size function a vfunc.
7402 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7404 * src/hildon-bread-crumb.c:
7405 * src/hildon-bread-crumb-trail.c:
7409 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7416 * debian/changelog: Updating for release.
7418 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7420 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7421 don't leak the pango layout.
7423 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7426 * examples/hildon-bread-crumb-trail-example.c:
7430 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7432 * debian/changelog: Removing the bug-fixed entries that were actually
7433 resolved as WONTFIX.
7435 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7438 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7440 * src/hildon-bread-crumb-trail.c:
7441 * src/hildon-bread-crumb-trail.h:
7442 * src/hildon-bread-crumb.c:
7443 * src/hildon-bread-crumb.h:
7447 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7449 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7450 until it's passed the type check.
7452 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7454 * examples/hildon-bread-crumb-trail-example.c
7458 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7460 * examples/Makefile.am
7461 * examples/hildon-bread-crumb-trail-example.c
7463 * src/hildon-bread-crumb-trail.c
7464 * src/hildon-bread-crumb-trail.h
7465 * src/hildon-bread-crumb.c
7466 * src/hildon-bread-crumb.h
7468 New HildonBreadCrumbTrail widget.
7470 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7472 * src/hildon-range-editor.c (hildon_range_editor_init),
7473 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7474 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7475 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7476 hildon_time_editor_class_init, hildon_time_editor_init),
7477 src/hildon-get-password-dialog.c (invalid_input,
7478 hildon_get_password_set_property, hildon_get_password_get_property,
7479 create_contents, hildon_get_password_dialog_set_max_characters),
7480 src/hildon-set-password-dialog.c (create_contents),
7481 src/hildon-date-editor.c (hildon_date_editor_init),
7482 src/hildon-login-dialog.c (hildon_login_dialog_init),
7483 src/hildon-number-editor.c (hildon_number_editor_init),
7484 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7485 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7486 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7487 configure option and adding the respective checks in the code.
7488 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7489 hildon_calendar_drag_data_received): fixed some build warnings.
7491 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * debian/changelog: A 1.0.0 release notes.