1 2009-03-18 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-main.c (hildon_init):
4 Don't allow hildon_init() to be called more than once.
6 Fixes: NB#106607 (hildon_init should issue error message upon
9 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
11 * examples/hildon-pannable-area-touch-list-example.c
12 * examples/hildon-pannagle-area-touch-grid-example.c
13 * examples/hildon-edit-toolbar-example.c
14 * examples/hildon-touch-selector-multi-cells-example.c
15 Removed the call to gtk_rc_parse_string, as it is not required since
18 2009-03-17 Alejandro G. Castro <alex@igalia.com>
20 * src/hildon-pannable-area.c,
21 (hildon_pannable_area_class_init): Modified the default panning
22 threshold of the widget to 6px.
24 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
25 than the threshold value ) within the button is not sending the
28 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
30 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
31 for the treeview in the new column. This way, the touch list will never
34 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
35 be selected manually for the HW keys to work)
37 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
39 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
40 comparison instead of using strcmp(). Fixes a compiler warning as well.
42 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
44 * doc/hildon-docs.sgml: Do not set the library version in the
45 document title, use the releaseinfo tag for that purpose instead.
47 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
49 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
50 Do not jump to the first item if the text in the entry is removed.
52 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
57 * configure.ac: Bump version.
58 * debian/changelog: Updates.
60 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
62 * src/hildon-entry.c (hildon_entry_refresh_contents):
63 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
64 Use "ReversedSecondaryTextColor" for the placeholder text.
66 2009-03-12 Alberto Garcia <agarcia@igalia.com>
68 * src/hildon-text-view.c: Fix compilation warning.
70 2009-03-12 Alberto Garcia <agarcia@igalia.com>
72 * src/hildon-button.c (hildon_button_class_init): Don't make
73 "title" and "value" construction properties, to prevent them from
74 overwriting labels set from derived classes.
76 * src/hildon-picker-button.c
77 (hildon_picker_button_set_selector): Allow setting a NULL selector.
78 (hildon_picker_button_class_init): Make touch-selector a
79 construction property.
81 * src/hildon-date-button.c (hildon_date_button_class_init)
82 (+hildon_date_button_constructed): Add a default date selector if
85 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
87 * src/hildon-touch-selector.c: Small documentation fixes.
89 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
91 Based on a patch by Daniel Borgmann (danielb@openismus.com)
93 * src/hildon-entry.c (hildon_entry_refresh_contents),
94 (hildon_entry_get_text), (hildon_entry_init): Do not use the
95 widget name, set the logical color directly instead and a boolean
96 showing_placeholder instead.
97 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
98 use the widget name here either.
100 Fixes: NB#105678 (HildonTextView should use logical colours
101 instead of setting widget name)
103 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
105 Patch by Daniel Elster (danielk@openismus.com)
107 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
108 Add user_data parameter.
109 (hildon_touch_selector_set_print_func_full): New function akin
110 hildon_touch_selector_set_print_func() but with support for user
111 data and a destroy callback.
112 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
113 to clean up the print function user data.
114 (hildon_touch_selector_class_init): Install dispose function.
115 (HildonTouchSelectorPrivate::print_user_data),
116 (HildonTouchSelectorPrivate::print_destroy_func): New private
118 (hildon_touch_selector_init): Initialize new private members.
119 (hildon_touch_selector_get_current_text): Pass along user data
120 to the print function.
121 (_default_print_func): Add dummy user_data to parameter list.
122 * hildon-date-selector.c (_custom_print_func): ditto,
123 * hildon-time-selector.c (_custom_print_func): ditto,
124 * hildon-touch-selector-entry.c
125 (hildon_touch_selector_entry_print_func): ditto.
127 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
129 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
131 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
133 2009-03-12 Alejandro G. Castro <alex@igalia.com>
135 * src/hildon-pannable-area.c,
136 (hildon_pannable_area_init),
137 (hildon_pannable_area_button_press_cb),
138 (hildon_pannable_area_motion_notify_cb): We have added code to
139 handle the leave and enter events when using the motion events.
141 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
143 2009-03-11 Alberto Garcia <agarcia@igalia.com>
145 * src/hildon-date-button.c (hildon_date_button_get_date)
146 (hildon_date_button_set_date): Make sure that the button has a
149 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
151 2009-03-11 Alejandro G. Castro <alex@igalia.com>
153 * src/hildon-pannable-area.c,
154 (hildon_pannable_area_class_init),
155 (hildon_pannable_area_calculate_velocity): Modify the use of the
156 force and adapt the value.
158 2009-03-10 Alberto Garcia <agarcia@igalia.com>
160 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
161 (hildon_app_menu_class_init): Hide the menu if it receives a
162 delete-event, but don't destroy it
164 Fixes: NB#104485 (Not able to address the call when application
165 menu is opened at background)
167 2009-03-10 Alberto Garcia <agarcia@igalia.com>
169 * src/hildon-app-menu.c
170 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
171 Remove the "external-border" style property, let the menu take its
172 natural size (or the one set by the window manager)
173 (hildon_app_menu_repack_items):
174 Don't reshow the menu, avoid flickers.
176 Partially fixes NB#94957 (Smoothly opened application menu)
178 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
183 * configure.ac: Bump version.
184 * debian/changelog: Updates.
186 2009-03-10 Alejandro G. Castro <alex@igalia.com>
188 * src/hildon-pannable-area.c,
189 (hildon_pannable_area_motion_notify_cb): We control that the
190 direction error margin is used just in case the movement is
191 allowed in the other direction.
193 Fixes: NB#105012 (buttons inside a pannable area not getting
194 release event when dragging/releasing)
196 2009-03-10 Alejandro G. Castro <alex@igalia.com>
198 * src/hildon-pannable-area.c,
199 (hildon_pannable_area_class_init),
200 (hildon_pannable_area_get_property),
201 (hildon_pannable_area_set_property),
202 (hildon_pannable_area_initial_effect),
203 (hildon_pannable_axis_scroll),
204 (hildon_pannable_area_button_release_cb): Reviewed the
205 overshooting effect, now it has its own max
206 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
209 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
214 * configure.ac: Bump version.
215 * debian/changelog: Updates.
217 2009-03-09 Alejandro G. Castro <alex@igalia.com>
219 * src/hildon-pannable-area.c,
220 (hildon_pannable_area_class_init): Changed the max speed, now
221 users can launch the widget very fast. Reduced the default force,
222 that way it is easier to control the launch speed.
224 2009-03-09 Alejandro G. Castro <alex@igalia.com>
226 * src/hildon-pannable-area.c,
227 (hildon_pannable_area_button_release_cb): Removed this check
228 because it causes problems when the device is overloaded.
230 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
232 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
233 add a current_text field to store the text entered in the
234 touch selector entry.
235 (_clean_current_selection): clean up the current text as well.
236 (_save_current_selection), (_restore_current_selection):
237 Save/restore the text in the entry if the selector is a
238 HildonTouchSelectorEntry.
240 Fixes: NB#102541 (value entered in the touch selector entry is not
241 shown when opened for second time)
243 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
245 * doc/hildon-sections.txt:
246 * src/hildon-touch-selector-entry.c
247 (+hildon_touch_selector_entry_get_entry):
248 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
250 Fixes: NB#104815 (I need accessor to the entry inside
251 HildonTouchSelectorEntry)
253 2009-03-06 Alberto Garcia <agarcia@igalia.com>
255 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
256 (hildon_app_menu_class_init):
257 New "filter-vertical-spacing" style property.
259 2009-03-06 Alberto Garcia <agarcia@igalia.com>
261 * src/hildon-find-toolbar.c
262 (hildon_find_toolbar_emit_close)
263 (hildon_find_toolbar_emit_invalid_input)
264 (hildon_find_toolbar_entry_activate):
265 Use g_signal_emit() instead of g_signal_emit_by_name()
267 2009-03-06 Alberto Garcia <agarcia@igalia.com>
269 Patch by Mox Soini (ext-mox.soini@nokia.com)
271 * tests/TEST-CASES.txt
272 * tests/check-hildon-banner.c
273 * tests/check-hildon-note.c
274 * src/hildon-banner.c
275 * src/hildon-code-dialog.c
276 * src/hildon-date-editor.c (real_set_calendar_icon_state)
277 * src/hildon-time-editor.c
278 * examples/hildon-lookup-example.c (main):
279 Replace obsolete icon names with new ones.
281 * src/hildon-find-toolbar-private.h:
282 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
283 (-hildon_find_toolbar_emit_search):
284 Remove find button and change icon of close button.
286 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
288 2009-03-05 Alberto Garcia <agarcia@igalia.com>
290 * src/hildon-time-button.c (hildon_time_button_new_step):
291 Use the "touch-selector" property to set the selector directly
292 when creating the object.
294 2009-03-05 Alejandro G. Castro <alex@igalia.com>
296 Added a new example application that allows tuning the pannable
297 area and replaced defines with properties in order to simplify the
298 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
299 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
300 PROP_DIRECTION_ERROR_MARGIN.
302 * examples/hildon-pannable-area-tuning-example.c: New example
304 * src/hildon-pannable-area.c,
305 (hildon_pannable_area_class_init),
306 (hildon_pannable_area_init),
307 (hildon_pannable_area_get_property),
308 (hildon_pannable_area_set_property),
309 (hildon_pannable_area_launch_fade_timeout),
310 (hildon_pannable_area_adjust_value_changed),
311 (hildon_pannable_axis_scroll),
312 (hildon_pannable_area_motion_notify_cb),
313 (hildon_pannable_area_scroll_cb),
314 (hildon_pannable_area_button_release_cb): We have converted some
315 of the defines that control the widget to properties to simplify
318 2009-03-05 Alberto Garcia <agarcia@igalia.com>
320 * src/hildon-app-menu.c (hildon_app_menu_map)
321 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
322 so it's closed if a new window appears.
324 Fixes: NB#104485 (Not able to address the call when application
325 menu is opened at background)
327 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
329 * src/hildon-color-button.c (hildon_color_button_get_property):Add
330 missing 'break' statement in in 'case' construct to avoid
333 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
335 * src/hildon-touch-selector-entry.c
336 (hildon_touch_selector_entry_get_property),
337 (hildon_touch_selector_entry_set_property): Add missing 'break'
338 statements in in 'case' constructs to avoid incorrect warnings.
340 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
342 * src/hildon-time-editor.c
343 (hildon_time_editor_get_time_separators): Do not crash if
344 the first label is NULL.
346 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
348 * src/hildon-date-selector.c (_month_days): Check for month to be
349 strictly less than 12, since otherwise we may overrun the array.
351 2009-03-04 Alberto Garcia <agarcia@igalia.com>
353 * src/hildon-date-button.c (+hildon_date_button_new_full)
354 (hildon_date_button_new, hildon_date_button_new_with_year_range)
355 (hildon_date_button_init): Set the date selector using a
356 construction property, to make it happen after HildonButton's
357 "value" property is set.
359 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
360 current date by default)
362 2009-03-04 Alberto Garcia <agarcia@igalia.com>
364 * doc/hildon-sections.txt
365 * src/hildon-program.c
366 * src/hildon-stackable-window.c
367 * src/hildon-window.c:
368 Documentation updates
370 2009-03-04 Alberto Garcia <agarcia@igalia.com>
372 * src/hildon-window-stack.c (hildon_window_stack_get_default)
373 (hildon_window_stack_new, +hildon_window_stack_set_property)
374 (+hildon_window_stack_get_property)
375 (hildon_window_stack_class_init)
376 (+hildon_window_stack_set_window_group)
377 (+hildon_window_stack_get_window_group):
378 Make the window group a construction property.
380 2009-03-04 Alberto Garcia <agarcia@igalia.com>
382 * doc/hildon-sections.txt
383 * src/hildon-stackable-window-private.h
384 * src/hildon-stackable-window.h
385 * src/hildon-stackable-window.c
386 (-hildon_stackable_window_set_app_menu)
387 (-hildon_stackable_window_get_app_menu)
388 (-hildon_stackable_window_toggle_menu)
389 (-hildon_stackable_window_finalize)
390 (hildon_stackable_window_class_init)
391 (hildon_stackable_window_init)
392 * src/hildon-window-private.h
393 * src/hildon-window.h
394 * src/hildon-window.c (hildon_window_init)
395 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
396 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
397 (hildon_window_get_main_menu, hildon_window_set_main_menu)
398 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
399 Moved all HildonAppMenu code to HildonWindow. The menu does not
400 require a HildonStackableWindow anymore.
402 * src/hildon-app-menu.c
403 * src/hildon-program.c
404 * examples/hildon-app-menu-example.c (main):
405 Update examples and documentation to reflect HildonAppMenu
408 2009-03-04 Alberto Garcia <agarcia@igalia.com>
410 * src/hildon-remote-texture.c
411 * src/hildon-animation-actor.c:
412 Don't include unused private headers.
414 2009-03-04 Alberto Garcia <agarcia@igalia.com>
416 * src/hildon-program-private.h
417 * src/hildon-program.c
418 (hildon_program_set_common_menu)
419 (hildon_program_get_common_menu)
420 (hildon_program_set_common_app_menu)
421 (hildon_program_get_common_app_menu):
422 Change common menu pointers from GtkWidget* to GtkMenu* and
423 HildonAppMenu* to avoid unnecessary casts.
425 2009-03-03 Alberto Garcia <agarcia@igalia.com>
427 * src/hildon-window.c (hildon_window_set_main_menu):
428 Removed incorrect 'Since:' tag
430 2009-03-03 Alejandro G. Castro <alex@igalia.com>
432 * src/hildon-pannable-area.c,
433 (hildon_pannable_area_calculate_velocity): We use now the
434 RATIO_TOLERANCE here to check the distance, fixed typo in the
436 (hildon_pannable_area_motion_notify_cb): We have to set the type
437 and time even if we are not sending the motion.
439 2009-03-02 Alberto Garcia <agarcia@igalia.com>
441 * doc/hildon-sections.txt
442 * src/hildon-app-menu.h
443 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
444 (+hildon_app_menu_get_filters): New methods to get the contents of
447 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
450 2009-03-02 Alberto Garcia <agarcia@igalia.com>
452 * src/hildon-app-menu.c (hildon_app_menu_popup):
455 2009-03-02 Alberto Garcia <agarcia@igalia.com>
457 * src/hildon-window.h
458 * src/hildon-window.c (+hildon_window_get_main_menu)
459 (hildon_window_get_menu): Created hildon_window_get_main_menu()
460 and deprecated hildon_window_get_menu().
462 * src/hildon-stackable-window.h
463 * src/hildon-stackable-window.c
464 (+hildon_stackable_window_set_app_menu)
465 (+hildon_stackable_window_get_app_menu)
466 (hildon_stackable_window_set_main_menu): Created
467 hildon_stackable_window_{get,set}_app_menu() and deprecated
468 hildon_stackable_window_set_main_menu().
470 * doc/hildon-sections.txt
471 * examples/hildon-app-menu-example.c (main)
472 * src/hildon-app-menu.c
473 * src/hildon-program.c:
474 Updated examples and documentation.
476 Fixes: NB#103758 (No way to obtain a menu from a
477 HildonStackableWindow)
479 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
484 * configure.ac: Bump version.
485 * debian/changelog: Updates.
487 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
489 * examples/hildon-remote-texture-example.c: Include
490 hildon-remote-texture.h explicitely.
491 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
492 applications not defining _XOPEN_SOURCE which don't require this header.
494 2009-02-27 Alberto Garcia <agarcia@igalia.com>
496 * doc/hildon-sections.txt
497 * src/hildon-app-menu.h
498 * src/hildon-app-menu.c (+hildon_app_menu_popup):
499 New function to pop up a HildonAppMenu
501 * src/hildon-stackable-window.c
502 (hildon_stackable_window_toggle_menu):
503 Use hildon_app_menu_popup() to show the menu.
505 2009-02-27 Alberto Garcia <agarcia@igalia.com>
507 * src/hildon-app-menu.c (hildon_app_menu_show)
508 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
509 menu if there's another window between it and its parent window.
511 Fixes: NB#100468 (Application menu window is launched even when a
512 new secondary-window/dialog is pending to be shown/realized)
514 2009-02-27 Alberto Garcia <agarcia@igalia.com>
516 * src/hildon-window-stack.c (hildon_window_stack_push)
517 (hildon_window_stack_pop_and_push):
518 Don't forget to push/pop the first window.
519 Reverse the window list before calling _push_list()
521 2009-02-27 Alberto Garcia <agarcia@igalia.com>
523 * src/hildon-picker-button.h
524 * src/hildon-picker-button.c (hildon_picker_button_class_init):
525 Remove "value_changed" slot to avoid ABI breakage
527 2009-02-26 Alejandro G. Castro <alex@igalia.com>
529 * src/hildon-pannable-area.c,
530 (hildon_pannable_area_realize),
531 (hildon_pannable_area_unrealize),
532 (hildon_pannable_draw_vscroll),
533 (hildon_pannable_draw_hscroll): Changed the method to handle the
534 GC used to draw the transparent scrollbar, this way we avoid
535 creating the GC all the time when drawing the scrollbars.
537 2009-02-26 Alejandro G. Castro <alex@igalia.com>
539 * src/hildon-pannable-area.c,
540 (hildon_pannable_area_init),
541 (hildon_pannable_area_remove): Removed some unnecessary casts.
542 (hildon_pannable_area_dispose): Disconnected some signals before
543 releasing the adjustments.
545 2009-02-26 Alberto Garcia <agarcia@igalia.com>
547 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
548 Make sure that all widgets contained in the toolbar are shown.
550 2009-02-25 Alberto Garcia <agarcia@igalia.com>
552 * doc/hildon-sections.txt
553 * src/hildon-picker-button.h
554 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
555 (_selection_changed, hildon_picker_button_on_dialog_response)
556 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
557 New hildon_picker_button_value_changed() method.
560 * src/hildon-picker-button-private.h
561 * src/hildon-picker-button.c (hildon_picker_button_init)
562 (+hildon_picker_button_disable_value_changed): Add protected
563 function for disabling the "value-changed" signal.
565 * src/hildon-date-button.c (hildon_date_button_set_date):
566 Don't emit "value-changed" for each one of the three columns.
568 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
569 before actual change of values)
571 2009-02-24 Alejandro G. Castro <alex@igalia.com>
573 * src/hildon-pannable-area.c,
574 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
575 for the treeview overshooting.
577 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-banner.c (+hildon_banner_bind_style):
580 Renamed from hildon_banner_bind_label_style(), now naming the
581 banner itself as well.
582 (hildon_banner_show_information),
583 (hildon_banner_show_information_with_markup),
584 (hildon_banner_show_animation), (hildon_banner_show_progress):
585 Name the widgets and labels, based on their type.
587 See NB#98597 (Hildon Note and Hildon Banner should use themeable
590 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
592 * src/hildon-note.c (hildon_note_set_property): call
593 hildon_note_rename() on HildonNote:note-type set.
594 (hildon_note_rename): Name the note and its label, based on the
595 HildonNote:note-type property.
597 See NB#98597 (Hildon Note and Hildon Banner should use themeable
600 2009-02-24 Alejandro G. Castro <alex@igalia.com>
602 * src/hildon-pannable-area.c,
603 (hildon_pannable_area_class_init),
604 (hildon_pannable_area_motion_notify_cb): Reviewed the default
605 panning parameters, increased SPS and deceleration factor. Added
606 also a margin to control fake directions.
608 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
610 Patch by Sven Herzberg (sven@imendio.com)
612 * configure.ac: Add missing AM_PROG_CC_C_0
613 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
615 See NB#101420 (Update unit tests and fix make check)
617 2009-02-23 Alejandro G. Castro <alex@igalia.com>
619 This patch was applied before but reverted because it caused
620 problems, we have changed the main condition and tested the
621 regressions we detected before and they work ok. We have done a
622 complete review of the topmost algorithm in order to get a more
625 * src/hildon-pannable-area.c,
626 (hildon_pannable_area_get_topmost): Added a new parameter to
627 filter the the windows that do not include those events.
628 (hildon_pannable_area_button_press_cb),
629 (hildon_pannable_area_button_release_cb),
630 (hildon_pannable_get_child_widget_at): Reviewed the call the the
631 topmost function, we have added the new parameter.
633 Fixes: NB#97458 (Pannable area prevents propagation of button
636 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
638 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
639 if all columns in the selector have an item selected.
640 (_on_dialog_response): Stop "response" signal emission if there is
641 any selector column without selected items.
643 Fixes: NB#101889 (Picker dialog should not close when nothing is
644 selected in multiple selection list)
646 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
648 * src/hildon-font-selection-dialog.c
649 (hildon_font_selection_dialog_class_init),
650 (hildon_font_selection_dialog_init): Remove the preview
651 button and dialog, since previewing with default theming is likely
652 to be overcomplicated. The :preview property has now no effect.
653 Update documentation blurbs to inform about this.
655 Fixes: NB#92297 (Preview content is not clearly visible for
658 2009-02-20 Alejandro G. Castro <alex@igalia.com>
660 Reviewed the geometry that handles the children size and
661 scrollbar, now it tries a size and reviews the results depending
662 on the scrollbars visibility.
664 * src/hildon-pannable-area.c,
665 (hildon_pannable_area_realize): Fixed a typo.
666 (hildon_pannable_area_child_allocate_calculate): Added this
667 function to calculate the child allocation.
668 (hildon_pannable_area_size_allocate): Reviewed the allocation
670 (hildon_pannable_area_check_scrollbars),
671 (hildon_pannable_area_refresh): Refactored refresh function, this
672 way we can call the code handling the scrollbars without causing a
673 size_request, it is interesting in the allocate.
674 (hildon_pannable_area_init): Replace the callbacks of the
675 value_changed and changed signals to propertly deal with the
677 (hildon_pannable_area_grab_notify),
678 (hildon_pannable_area_initial_effect),
679 (hildon_pannable_area_launch_fade_timeout),
680 (hildon_pannable_area_adjust_changed),
681 (hildon_pannable_area_adjust_value_changed),
682 (hildon_pannable_area_redraw),
683 (hildon_pannable_area_button_press_cb),
684 (hildon_pannable_area_button_release_cb),
685 (hildon_pannable_area_scroll_cb),
686 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
687 code and use the new functions adjust_changed and
688 adjust_value_changed.
690 Fixes: NB#101603 (Focus is not even for the text entry boxes in
691 Contact editor dialog)
693 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
698 * configure.ac: Bump version.
699 * debian/changelog: Updates.
701 2009-02-20 Alejandro G. Castro <alex@igalia.com>
703 * src/hildon-pannable-area.c,
704 (hildon_pannable_area_get_topmost),
705 (hildon_pannable_area_button_press_cb),
706 (hildon_pannable_area_button_release_cb),
707 (hildon_pannable_get_child_widget_at): Reverted the patch for the
708 topmost function adding the event mask. We have to try a
709 differente approach because it is still causing problems (NB#9745,
712 2009-02-19 Alberto Garcia <agarcia@igalia.com>
714 * src/hildon-banner.c:
715 Update the maximum width of timed banners.
716 (force_to_wrap_truncated): Enforce the maximum text width if the
719 Fixes: NB#102413 (The text margins (wrapping) in information
720 banner should be HILDON_MARGIN_TRIPLE)
722 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
724 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
726 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
727 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
728 bound when calculating the scroll indicator position.
730 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
731 treat ->lower correctly)
733 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-caption.c (hildon_caption_class_init): Remove the
736 expose event handling, since it is not necessary to draw the focus
739 Fixes: NB#102467 (Do not show highlight on the text in
742 2009-02-18 Alberto Garcia <agarcia@igalia.com>
744 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
745 full height of the toolbar for the button and the label.
747 2009-02-18 Alberto Garcia <agarcia@igalia.com>
749 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
750 padding before the label and after the button.
752 2009-02-18 Alberto Garcia <agarcia@igalia.com>
754 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
756 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
757 Add a GtkVSeparator between the button and the back arrow.
758 Let the button have automatic size.
759 Set a name to the widget for theming handling.
761 Fixes: NB#101793 (Make edit toolbar the same height as window
762 title bar (use title area theming))
764 2009-02-18 Alberto Garcia <agarcia@igalia.com>
766 * src/hildon-helper.c (attach_new_color_element): Fix memory
769 Fixes: NB#102262 (memory leak in hildon_button_set_style())
771 2009-02-18 Alberto Garcia <agarcia@igalia.com>
773 * examples/hildon-button-example.c (common_buttons_window): Don't
776 2009-02-18 Alberto Garcia <agarcia@igalia.com>
778 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
779 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
781 2009-02-18 Alberto Garcia <agarcia@igalia.com>
783 * src/hildon-gtk.c: Check that the window is realized.
785 Fixes: NB#102225 (Crash setting the progress indicator to a non
788 2009-02-17 Alberto Garcia <agarcia@igalia.com>
790 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
791 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
792 instead of modifying the one in the widget style.
794 Fixes: NB#101043 (Second row of all the command button are
795 displayed in transparent mode.)
797 2009-02-17 Alberto Garcia <agarcia@igalia.com>
799 * src/hildon-date-button.c
800 * src/hildon-time-button.c: Add gettext macros
802 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
804 * src/hildon-date-button.c (hildon_date_button_new):
805 * src/hildon-time-button.c (hildon_time_button_new_step):
806 Use new logical strings to set the button default title.
808 Fixes: NB#99915 (Date and Time options are not localised in Date
811 2009-02-16 Alejandro G. Castro <alex@igalia.com>
813 * src/hildon-pannable-area.c
814 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
815 the PANNING_THRESHOLD.
817 2009-02-16 Alejandro G. Castro <alex@igalia.com>
819 * src/hildon-pannable-area.c,
820 (hildon_pannable_area_class_init): Increased the maximum speed.
821 (hildon_pannable_area_get_property),
822 (hildon_pannable_area_set_property),
823 (hildon_pannable_area_timeout): Added a new low friction mode, it
824 allows the user avoid friction when launching the widget fast
825 enough. It is interesting to traverse long lists.
827 2009-02-16 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
830 (+hildon_stackable_window_delete_event): Ignore delete events if
831 the window is not the topmost one.
833 Fixes: NB#101698 (Back button long press and delete-event handling)
835 2009-02-16 Alejandro G. Castro <alex@igalia.com>
837 * src/hildon-pannable-area.c,
838 (hildon_pannable_area_motion_notify_cb): Removed the use of the
839 gtk-dnd-drag-threshold, it was too big. We have defined our own
840 dnd define and set a smaller value: PANNIG_THRESHOLD.
842 2009-02-16 Alberto Garcia <agarcia@igalia.com>
844 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
845 user-defined icons, use always the default one.
847 Fixes: NB#101916 (Do not allow custom icons on animation banner)
849 2009-02-13 Alejandro G. Castro <alex@igalia.com>
851 This patch was applied before but reverted because it caused
852 problems, we have changed the main condition and tested the
853 regressions we detected before and they work ok.
855 * src/hildon-pannable-area.c,
856 (hildon_pannable_area_get_topmost): Added a new parameter to
857 filter the the windows that do not include those events. Added
858 also a condition when finding the window to filter windows that do
859 not ask for those events.
860 (hildon_pannable_area_button_press_cb),
861 (hildon_pannable_area_button_release_cb),
862 (hildon_pannable_get_child_widget_at): Reviewed the call the the
863 topmost function, we have added the new parameter.
865 Fixes: NB#97458 (Pannable area prevents propagation of button
868 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
870 * tests/check-hildon-color-button.c (START_TEST): do not leak
873 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
875 * src/hildon-font-selection-dialog.c
876 (hildon_font_selection_dialog_get_preview_text): Return NULL
877 instead of FALSE on the g_return_val_if_fail().
879 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
881 * src/hildon-time-selector.c (hildon_time_selector_set_time):
882 * src/hildon-date-selector.c
883 (hildon_date_selector_select_current_date):
884 Do not compare unsigned integers to be greater than or equal 0,
885 because it's always TRUE.
887 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
889 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
890 (hildon_date_selector_constructor): Do not select the current
891 date until we are handle the "changed" signal, to avoid having bogus
892 elements in the days model.
894 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
896 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
897 for num_days, since _month_days() can return a negative value.
899 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
901 * src/hildon-caption.c (hildon_caption_size_allocate):
902 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
903 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
905 Initialize allocation variables to 0, to avoid eventually using
906 unitialized variables.
908 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
910 * src/hildon-bread-crumb-trail.c
911 (hildon_bread_crumb_trail_size_allocate):
912 * src/hildon-calendar.c (hildon_calendar_set_background):
913 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
914 * src/hildon-range-editor.c (hildon_range_editor_get_range):
915 * src/hildon-seekbar.c (hildon_seekbar_init):
916 * src/hildon-time-editor.c (hildon_time_editor_get_time):
917 * src/hildon-time-selector.c (hildon_time_selector_finalize):
918 * src/hildon-touch-selector-entry.c
919 (hildon_touch_selector_get_text_from_model):
920 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
921 * src/hildon-window.c (hildon_window_finalize):
923 Remove many unused variables.
925 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
927 * src/hildon-seekbar.c: (hildon_seekbar_init),
928 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
930 Remove unnecessary g_assert() calls.
932 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
934 * src/hildon-caption.c: (hildon_caption_expose),
935 (hildon_caption_set_property), (hildon_caption_init),
936 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
937 (hildon_caption_size_request), (hildon_caption_size_allocate),
938 (hildon_caption_forall), (hildon_caption_set_separator),
939 (hildon_caption_activate), (hildon_caption_set_child_expand),
940 (hildon_caption_set_label_text),
941 (hildon_caption_get_label_alignment):
943 Remove unnecessary g_assert() calls.
945 2009-02-12 Alberto Garcia <agarcia@igalia.com>
947 * src/hildon-banner.c
948 (hildon_banner_map, hildon_banner_init): Make banner temporary
949 before mapping it to avoid closing other temporary windows, but
950 make it non-temporary afterwards to avoid being closed by other
951 non-temporary windows.
952 (-hildon_banner_client_event, hildon_banner_init):
953 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
955 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
958 2009-02-11 Alberto Garcia <agarcia@igalia.com>
960 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
963 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
965 * src/hildon-remote-texture.c
966 * src/hildon-remote-texture.h
967 * src/hildon-remote-texture-private.h
968 * examples/hildon-remote-texture-example.c:
969 Updates/fixes to remote-texture and its example.
971 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
973 Patch by Mox Soini (ext-mox.soini@nokia.com)
975 * src/hildon-code-dialog.c: Update logical id.
976 * src/hildon-set-password-dialog.c: Update logical id.
978 Fixes: NB#100646 (Logical strings is shown for ok in set
979 password,Password needed dialogs)
981 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
984 * src/hildon-remote-texture.c
985 * src/hildon-remote-texture.h
986 * src/hildon-remote-texture-private.h
988 Added remote texture widget (for Clutter shared memory textures)
990 * examples/hildon-remote-texture-example.c
991 * examples/Makefile.am
992 Added example file for remote texture usage
994 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
996 * configure.ac: post release version bump.
997 * debian/changelog: version bump.
999 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1004 * configure.ac: Bump version.
1005 * debian/changelog: Updates.
1007 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1009 * src/hildon-date-selector.c (hildon_date_selector_init)
1010 (hildon_date_selector_constructor): Don't connect to the "changed"
1011 signal until the selector is completely constructed.
1013 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1015 * src/hildon-touch-selector.c: (_create_new_column),
1016 (hildon_touch_selector_append_column),
1017 (hildon_touch_selector_set_column_selection_mode),
1018 (hildon_touch_selector_set_active),
1019 (hildon_touch_selector_select_iter):
1020 Emit the HildonTouchSelector::changed signal every time selection
1021 is changed in any of the methods above. This behavior was already
1022 documented but not fully functional.
1024 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1025 selection is programmatically changed)
1027 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1029 * doc/hildon-sections.txt: Remove obsolete icon
1030 sizes from here as well.
1032 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1034 * examples/hildon-stackable-window-example.c (add_window): Remove
1037 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1039 * src/hildon-app-menu.c
1040 (hildon_app_menu_show): Check whether the parent window of a menu
1041 is topmost before popping it up.
1043 Fixes: NB#100468 (Application menu window is launched even when a
1044 new secondary-window/dialog is pending to be shown/realized.)
1046 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1048 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1051 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1053 Patch by Mox Soini (ext-mox.soini@nokia.com)
1055 * src/hildon-banner.c: (hildon_banner_show_animation):
1056 use stylus size instead of obsolete note size.
1057 * src/hildon-defines.h: Update icon sizes.
1059 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1061 * src/hildon-touch-selector-entry.c:
1062 (hildon_touch_selector_entry_init): Disable unsupported
1064 (hildon_touch_selector_entry_get_text_column): Emit a warning
1065 if an unsupported input modes is used and explicitile state
1066 these modes in the documentation.
1068 Fixes: NB#99802 (Hildon touch selector entry not working properly
1069 for some of the input modes)
1071 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1073 * src/hildon-pannable-area.c,
1074 (hildon_pannable_area_init): Added the changed signal handlers of
1077 Fixes: NB#100320 (HildonPannableArea does not listen to
1078 GtkAdjustment "change" signals)
1080 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1082 * doc/hildon-sections.txt
1083 * src/hildon-window-private.h
1084 * src/hildon-window.h
1085 * src/hildon-window.c (hildon_window_init)
1086 (hildon_window_realize, hildon_window_unrealize)
1087 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1088 (hildon_window_size_request, hildon_window_size_allocate)
1089 (hildon_window_forall, hildon_window_show_all)
1090 (hildon_window_destroy, +paint_edit_toolbar)
1091 (+hildon_window_set_edit_toolbar):
1092 New hildon_window_set_edit_toolbar() method, to add a
1093 HildonEditToolbar to a window without having to pack it manually.
1095 Reorganize hildon_window_size_allocate()
1097 * src/hildon-edit-toolbar.c: Update documentation.
1099 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1100 example to use the new API.
1102 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1104 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1107 Remove from stack before calling parent's hide.
1109 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1111 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1112 window is removed from the middle of the stack, update the
1113 transiency of the previous one.
1115 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1118 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1120 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1121 block/unblock the signal handler if it's not actually being used.
1122 Fixes some critical warnings.
1124 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1126 Based on a patch by Iván Gómez (igomez@igalia.com)
1128 * src/hildon-banner.c
1132 * src/hildon-pannable-area.c
1133 * src/hildon-picker-dialog.c
1134 * src/hildon-wizard-dialog.h
1135 * src/hildon-wizard-dialog.c: Documentation updates.
1137 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1138 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1140 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1142 * configure.ac: post release version bump.
1143 * debian/changelog: version bump.
1145 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1150 * configure.ac: Bump version.
1151 * debian/changelog: Updates.
1153 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1155 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1156 a stock icon nor change the relief of the back arrow.
1158 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1159 graphics from theme)
1161 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1163 * src/hildon-button.c (hildon_button_set_alignment): Use
1164 priv->alignment if the button has no child yet.
1166 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1168 * src/hildon-button.c: (hildon_button_init): Set the
1169 button style during initialization to give it the proper
1172 Fixes: NB#99713 (HildonButton value label color is wrong)
1174 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1176 * src/hildon-touch-selector.c: Document
1177 hildon_touch_selector_center_on_selected()
1179 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1181 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1182 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1183 all menu items, but not the menu itself.
1184 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1185 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1186 items after adding them to the menu so keyboard accelerators work.
1187 (hildon_app_menu_show): Don't show the menu if it contains items
1188 but none of them are visible.
1190 * examples/hildon-app-menu-example.c (create_menu): Use
1191 gtk_widget_show_all() to show all menu items.
1193 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1195 * src/hildon-picker-dialog.c:
1196 (-_update_title_on_selector_changed_cb),
1197 (-_dialog_update_title): Removed.
1198 (_select_on_selector_changed_cb), (_on_dialog_response),
1199 (on_selector_columns_changed): Do not update the dialog title.
1200 (setup_interaction_mode): Do not connect to
1201 HildonTouchSelector::changed signal if there's a "done" button, as
1202 the dialog title doesn't need to be updated.
1204 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1207 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1209 Patch by Kristian Rietveld (kris@imendio.com)
1211 * src/hildon-touch-selector.c: (_create_new_column): Use new
1212 GtkTreeView::hildon-row-tapped signal to react to user interactions
1213 instead of ::changed.
1215 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1216 with some dynamic tree model)
1218 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1220 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1221 (+screen_size_changed, +label_size_request)
1222 (hildon_note_class_init): Make the Hildon information note have a
1223 minimum height, and make its text hvae a maximum width.
1225 Fixes: NB#98614 (Hildon information note (background) should have
1226 minimum height and maximum text width)
1228 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1230 * src/hildon-banner.h
1231 * src/hildon-banner.c (hildon_banner_show_information)
1232 (hildon_banner_show_informationf)
1233 (hildon_banner_show_information_with_markup): Update documentation
1234 to reflect that the icon_name parameter is not used anymore.
1235 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1236 Remove all code from these functions and mark them as deprecated.
1237 (hildon_banner_show_progress): Mark as deprecated.
1239 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1241 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1243 * src/hildon-pannable-area.c,
1244 (hildon_pannable_area_class_init),
1245 (tranparency_color),
1246 (hildon_pannable_draw_vscroll),
1247 (hildon_pannable_draw_hscroll),
1248 (hildon_pannable_area_expose_event): Added a new way to render the
1249 scrollbars of the pannable area avoiding using cairo at all. This
1250 way we improve the performance of the pannable area rendering. The
1251 cairo rendering procedure is still in the code, we can control
1252 which one to use changing the value of the define
1253 USE_CAIRO_SCROLLBARS.
1255 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1257 * configure.ac: post release version bump.
1258 * debian/changelog: version bump.
1260 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1265 * configure.ac: Bump version.
1266 * debian/changelog: Updates.
1268 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1271 banners instead of destroying them when they receive a button
1274 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1276 Reverted commit 34028, it was causing regressions, probably the
1277 topmost condition is not correct, we have to check it in more
1278 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1279 propagation of button press events)
1281 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1283 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1284 that the selection is not empty before attempting to retrieve the
1285 current ampm selection.
1287 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1289 * src/hildon-picker-button.c:
1290 (hildon_picker_button_on_dialog_response): Directly update the
1291 button contents when required instead of calling _selection_changed.
1293 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-program.c (hildon_program_update_top_most): Update
1296 'is-topmost' property also when wm_hints is not set.
1298 Fixes: NB#98383 (is-topmost signal is not emitted when task
1299 switcher is clicked.)
1301 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1303 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1307 * src/hildon-animation-actor.c,
1308 * src/hildon-animation-actor.h: Added the animation actor class,
1309 this widget represents an animation actor for WM-assisted
1310 animation effects in the Hildon framework.
1312 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-window-stack-private.h
1315 * src/hildon-window-stack.c
1316 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1317 Avoid calling gtk_widget_show() again indirectly from
1318 hildon_stackable_window_show()
1320 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1322 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1325 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1328 (hildon_time_selector_init): Move the construction of the hours and
1329 ampm columns to the constructor to preserve the order the columns
1332 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1334 * src/hildon-picker-dialog.c:
1335 (hildon_picker_dialog_class_init): Connect a realize method.
1336 (+hildon_picker_dialog_realize): Setup the interaction mode here
1338 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1339 yet, do it during the realize instead.
1340 (_on_dialog_response):
1341 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1342 if the widget is not realized, to avoid the dialog response before it
1345 Avoid premature responses in the HildonPickerDialog that can cause it
1346 to be hidden before it's even shown.
1348 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1350 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1351 (on_selector_columns_changed), (requires_done_button),
1352 (+prepare_action_area), (setup_interaction_mode),
1353 (_hildon_picker_dialog_set_selector):
1355 Split the interaction mode setup into preparation of the
1356 action area (prepare_action_area()) and the connection of
1357 the signals in setup_interaction_mode() and update the code to
1360 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1362 * src/hildon-pannable-area.c,
1363 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1364 per second to 15, we will check if this is ok regarding
1367 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1369 * src/hildon-pannable-area.c,
1370 (hildon_pannable_axis_scroll): Avoid resize if we already have
1371 reached overshoot_max.
1373 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1375 * src/hildon-pannable-area.c,
1376 (hildon_pannable_area_init),
1377 (hildon_pannable_area_realize),
1378 (hildon_pannable_area_size_allocate),
1379 (hildon_pannable_area_map),
1380 (hildon_pannable_area_unmap),
1381 (hildon_pannable_draw_vscroll),
1382 (hildon_pannable_draw_hscroll),
1383 (hildon_pannable_area_expose_event),
1384 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1385 pannable are to avoid the expose events go to the window and
1386 redraw the window. We save this way that part of the stack and the
1387 paint_boxes. We had to change the positions of the elements when
1390 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1392 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1393 * src/hildon-color-chooser-dialog.c:
1394 (hildon_color_chooser_dialog_init):
1395 * src/hildon-font-selection-dialog.c:
1396 (hildon_font_selection_dialog_init),
1397 (hildon_font_selection_dialog_show_preview):
1398 * src/hildon-get-password-dialog.c:
1399 * src/hildon-login-dialog.c:
1400 * src/hildon-set-password-dialog.c:
1401 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1402 * src/hildon-time-picker.c: (hildon_time_picker_init):
1404 Remove obsolete logical string IDs and update to the appropriate ones.
1406 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1408 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1411 that happens if the window hasn't been realized yet.
1413 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1414 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1416 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1418 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1419 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1422 Fixes: NB#98537 (Device hangs in account settings dialog)
1424 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1426 * configure.ac: post release version bump.
1427 * debian/changelog: version bump
1429 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1434 * configure.ac: Bump version.
1435 * debian/changelog: Updates.
1437 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1439 Added a new function to the HildonTimeButton widget that allows to
1440 change the step of the minutes in the selector associated with the
1441 button: hildon_time_button_new_step
1443 * src/hildon-time-button.c,
1444 (hildon_time_button_init),
1445 (hildon_time_button_new),
1446 (hildon_time_button_new_step):
1447 * src/hildon-time-button.h: Added the new function and refactored
1449 * examples/hildon-time-button-example.c,
1450 (main): We have replaced the function without parameters with the
1451 function with the steps set to 5
1453 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
1455 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1457 * src/hildon-time-selector.c,
1458 (hildon_time_selector_class_init),
1459 (hildon_time_selector_constructor),
1460 (hildon_time_selector_get_property),
1461 (hildon_time_selector_set_property),
1462 (_create_minutes_model),
1463 (hildon_time_selector_new_step),
1464 (hildon_time_selector_set_time),
1465 * src/hildon-time-selector.h: Added a new property to the
1466 HildonTimeSelector (minutes-step), we use that property to control
1467 the steps between the minutes in the list of the selector. We have
1468 added a new function to the API to create a widget changing the
1469 step: hildon_time_selector_new_step.
1471 2009-01-20 Alejandro G. Castro <alex@igalia.com>
1473 * src/hildon-time-selector.c,
1474 (hildon_time_selector_class_init),
1475 (hildon_time_selector_constructor),
1476 (hildon_time_selector_init): Overrided the construct function when
1477 creating the time selector object. We have moved the minutes model
1478 handling code from the init to the new construction function:
1479 hildon_time_selector_constructor.
1481 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1483 * examples/hildon-date-button-example.c: (main): Use the new
1484 hildon_date_button_new_with_year_range() method in the example.
1485 * src/hildon-date-button.c:
1486 (+hildon_date_button_new_with_year_range): New public method
1487 to conveniently create a HildonDateButton with a custom year range
1488 in its HildonDateSelector.
1489 * src/hildon-date-button.h: Add the new public method definition.
1491 Fixes: NB#97908 (Not possible to change the year range in
1492 HildonDateSelector/HildonDateButton)
1494 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1496 * src/hildon-date-selector.c:
1497 (+hildon_date_selector_set_property),
1498 (+hildon_date_selector_get_property),
1499 (hildon_date_selector_class_init): Install new properties "min-year"
1500 and "max-year" to define boundaries for the year column.
1501 (_create_year_model): Use the boundary properties to populate the model.
1502 (+hildon_date_selector_new_with_year_range): New public method to
1503 create a HildonDateSelector with a user defined year range.
1504 (hildon_date_selector_select_current_date): Use the new boundaries to
1505 calculate the iterator of current year.
1506 * src/hildon-date-selector.h: Add the new public method definition.
1508 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1510 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1511 Install a constructor method.
1512 (+hildon_date_selector_construct_ui): construct the widget.
1513 (+hildon_date_selector_constructor): new constructor.
1514 (+hildon_date_selector_init): move out widget construction code to
1515 the new constructor.
1517 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1520 that there's actually a month or year selected before obtaining them.
1521 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1522 of the HildonTouchSelector::changed signal, as it was emitted on every
1523 single item selection.
1525 Fix some warnings and possible crashers due to the selection restoring.
1527 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1529 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1530 the signal handlers only after creating the dialog instead of on every
1533 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1535 * src/hildon-button.c (hildon_button_init)
1536 * src/hildon-check-button.c (hildon_check_button_init)
1537 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1538 focus when clicked by default.
1540 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1542 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1545 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1547 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1548 Alejandro G. Castro (alex@igalia.com)
1550 * src/hildon-picker-dialog.c:
1551 (hildon_picker_dialog_class_init): install new "center-on-show"
1553 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1554 (hildon_picker_dialog_set_property): add setter code for the new
1556 (hildon_picker_dialog_get_property): add getter code for the new
1558 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1559 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1562 Fixes: NB#92849 (Selected item is not always visible when
1563 HildonTouchSelector is shown)
1565 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1567 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1568 Alejandro G. Castro (alex@igalia.com)
1570 * src/hildon-touch-selector.c:
1571 (_create_new_column): Do not connect to the "realize" signal of the
1573 (hildon_touch_selector_append_column): center on the selected items
1574 when a new column is appended.
1575 (hildon_touch_selector_select_iter): Factor out the code to select a
1576 column to hildon_touch_selector_scroll_to().
1577 (+search_nearest_element): Method to retrieve the nearest selected
1578 element to the visible area of the pannable area in a column.
1579 (+on_realize_cb): scroll to the initially selected item.
1580 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1581 the pannable area is realized, otherwise delay this until it is.
1582 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1583 selected items of a given column.
1584 (+hildon_touch_selector_center_on_selected): Public method to center
1585 all columns on the nearest selected item.
1586 * src/hildon-touch-selector.h: Add definition for
1587 hildon_touch_selector_center_on_selected().
1589 Implement public API to ensure visibility of all selected items in
1590 a HildonTouchSelector.
1592 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1594 Fixed a problem in the fading when calling the scroll_to API, and
1595 improve scrollbar fading handling.
1597 * src/hildon-pannable-area.c,
1598 (hildon_pannable_area_grab_notify): avoid the timeout when the
1600 (hildon_pannable_area_button_press_cb),
1601 (hildon_pannable_area_motion_notify_cb): Code style changes.
1602 (hildon_pannable_area_button_release_cb): Review the conditions
1603 when releasing the mouse button to avoid unrequired fading
1605 (hildon_pannable_area_scroll_to): Do not calculate and set the
1606 velocity if the scroll is not required.
1608 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1610 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1611 Don't check whether the new selector is NULL: it cannot be.
1612 Hold a reference to the selector while doing the replacement.
1614 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1616 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1617 unnecessary size_request in a removed widget.
1619 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1621 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1622 an unnecessary reference tracking that was leaking.
1624 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1626 Added delayed motion notify event handling, this way we can
1627 discard redrawing if more than 25 events arrive per second.
1629 * src/hildon-pannable-area.c,
1630 (hildon_pannable_area_init): Initialized the new private atributes
1631 controlling this timeout
1632 (hildon_pannable_area_dispose): Remove the timeout that controls
1633 the motion notify events.
1634 (hildon_pannable_area_scroll): Added a condition to control the
1635 use of the acceleration.
1636 (hildon_pannable_area_motion_event_scroll_timeout),
1637 (hildon_pannable_area_motion_event_scroll): Added this two
1638 functions, they handle the motion notify events inside the
1640 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1641 to the scroll method with the new function.
1642 (hildon_pannable_area_button_release_cb): We have to remove the
1643 timeout handler and move to the last position if the last motion
1644 events were not handled.
1646 Fixes: NB#97028 (Pannable area updates on every motion event)
1648 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1650 * src/hildon-pannable-area.c,
1651 (hildon_pannable_area_get_topmost): Added a new parameter to
1652 filter the the windows that do not include those events. Added
1653 also a condition when finding the window to filter windows that do
1654 not ask for those events.
1655 (hildon_pannable_area_button_press_cb),
1656 (hildon_pannable_area_button_release_cb),
1657 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1658 topmost function, we have added the new parameter.
1660 Fixes: NB#97458 (Pannable area prevents propagation of button
1663 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1665 * src/hildon-pannable-area.c,
1666 (hildon_pannable_area_initial_effect): Added controls before
1667 launching the timeout and the idle functions.
1668 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1669 of the method, in some situations it can return with TRUE and 0 in
1671 (hildon_pannable_area_button_press_cb): We do not need to set
1672 DELAY for fading out here.
1674 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1676 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1678 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1679 post-cleaning if the selection is not NULL.
1681 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1684 all items before restoring the selection.
1686 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1688 * src/hildon-touch-selector.c:
1689 (+hildon_touch_selector_unselect_all):
1690 * src/hildon-touch-selector.h: New API to unselect all items in a
1691 column of the touch selector.
1693 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1695 * src/hildon-pannable-area.c,
1696 (hildon_pannable_area_redraw): Added a call to the refresh
1697 function inside the redraw because apparently in some cases the
1698 change in the adjustment does not imply a size allocate.
1700 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1701 despite the view not being scrollable)
1703 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1705 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1706 leak. Check for NULL before attempting to set the window title.
1708 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1711 whether to show or not the 'Done' button each time the dialog is
1712 shown, as it depends on the HildonTouchSelector selection mode.
1714 Fixes: NB#96226 (In multiple selection mode Done button is shown
1715 sometimes in listpicker)
1717 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1720 for the number of columns in the HildonTouchSelector more than once.
1722 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-touch-selector.c: Minor documentation fixes.
1726 * src/hildon-picker-dialog.c (+_dialog_update_title)
1727 (_select_on_selector_changed_cb)
1728 (_update_title_on_selector_changed_cb)
1729 (on_selector_columns_changed): Update dialog title when there's no
1730 'Done' button and also when the number of columns in the selector
1734 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1735 (+_selection_changed, hildon_picker_button_on_dialog_response)
1736 (hildon_picker_button_selector_selection_changed)
1737 (+hildon_picker_button_selector_columns_changed)
1738 (hildon_picker_button_set_selector): Update button value and emit
1739 'value-changed' when the number of columns in the selector
1743 Fixes: NB#96225 (Dialog titles are not shown according to the
1744 values selected in the list picker)
1746 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1748 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1749 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1750 New "arrow-width" and "arrow-height" style properties to set the
1751 size of the arrow button.
1752 Set name of arrow button ("hildon-edit-toolbar-arrow").
1754 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1755 graphics from theme)
1757 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-picker-button.c:
1760 (hildon_picker_button_selector_selection_changed): Use
1761 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1762 the dialog is present.
1764 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1765 the selection is accepted in the dialog)
1767 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1769 * src/hildon-color-chooser.h
1770 * src/hildon-color-chooser-dialog.h:
1771 Added G_BEGIN_DECLS and G_END_DECLS
1773 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1775 (_clean_current_selection): plug a leak in the list.
1777 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1779 * src/hildon-picker-dialog.c:
1780 (+free_path_list): Method to free a GList of GtkTreePaths.
1781 (_clean_current_selection), (_save_current_selection),
1782 (_restore_current_selection): Save the current selection in
1783 as a list of lists, to support multiple selection properly.
1785 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1787 patch by Claudio Saavedra (csaavedra@igalia.com)
1789 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1790 Store the press position.
1791 (+hildon_text_view_button_release_event): If the release position is
1792 close enough to the press position, move the cursor here. Otherwise,
1794 (hildon_text_view_class_init): Override GtkTextView press, release, and
1795 motion event handlers, disabling this way text selection through
1796 pointer interaction, and allowing the container widget to handle the
1799 Fixes: NB#95828 (HildonTextView functionality)
1801 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1803 Based on a patch by Iván Gómez (igomez@igalia.com)
1805 * src/hildon-button.[ch]
1806 * src/hildon-calendar.c
1807 * src/hildon-check-button.c
1808 * src/hildon-date-editor.c
1809 * src/hildon-date-selector.c
1810 * src/hildon-picker-button.c
1811 * src/hildon-time-editor.c
1812 * src/hildon-time-selector.c
1813 * src/hildon-touch-selector.[ch]:
1814 Documentation updates
1816 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1818 * src/hildon-pannable-area.c,
1819 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1820 threshold, it was required due to X events handling.
1822 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1824 * src/hildon-pannable-area.c,
1825 (hildon_pannable_area_grab_notify),
1826 (hildon_pannable_area_initial_effect),
1827 (hildon_pannable_area_button_press_cb),
1828 (hildon_pannable_area_button_release_cb),
1829 (hildon_pannable_area_scroll_cb),
1830 (hildon_pannable_area_scroll_to): Review the timeout management of
1831 the scrollbar, the frecuency was incorrectly set.
1833 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-picker-button.c:
1836 (+hildon_picker_button_on_dialog_response),
1837 (hildon_picker_button_clicked): Present the dialog instead of
1838 running it with gtk_dialog_run().
1840 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1843 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1845 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1846 (hildon_app_menu_finalize): When a window is hidden it doesn't
1847 emit notify::is-topmost, so make sure than the menu also
1848 disappears in that case.
1849 (parent_window_topmost_notify): Renamed from parent_window_hidden
1851 Fixes: NB#94460 (stackable window's menu is not closed when its
1854 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1856 * src/hildon-touch-selector-entry.c:
1857 (+hildon_touch_selector_entry_set_input_mode),
1858 (+hildon_touch_selector_entry_get_input_mode):
1859 * src/hildon-touch-selector-entry.h: New methods to access the input
1860 mode in the selector's entry.
1862 Fixes: NB#93410 (API required for setting IM mode in
1863 HildonTouchSelectorEntry)
1865 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1867 * configure.ac: post release version bump.
1868 * debian/changelog: version bump
1870 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1875 * configure.ac: Bump version.
1876 * debian/changelog: Updates.
1878 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-touch-selector.c:
1881 (_hildon_touch_selector_has_multiple_selection): No need
1882 to initialize the variables here.
1884 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-note-private.h
1887 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1888 (hildon_note_finalize, hildon_note_rebuild): Close information
1889 notes when they receive a button press.
1891 Fixes: NB#89890 (Information notes does not get disappeared after
1894 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1896 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1897 mark from the wizard title, as it's not really necessary. Also,
1898 do not display the page title if not set.
1900 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1902 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1903 (parent_window_hidden): Use the window's "is-topmost" property to
1904 detect when to hide the menu.
1906 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1909 (hildon_app_menu_finalize): If the parent window of the menu is
1910 hidden, hide the menu too.
1912 Fixes: NB#94460 (stackable window's menu is not closed when its
1915 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1918 * debian/libhildon1-examples.install
1920 * examples/Makefile.am:
1921 Use dh_install to install all examples.
1922 Use DEB_SRCDIR instead of defining SOURCE_DIR
1924 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1926 * configure.ac: post release version bump.
1927 * debian/changelog: version bump
1929 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1934 * configure.ac: bump version
1935 * debian/changelog: updates
1936 * debian/control: bump gtk+ dependency
1938 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1940 patch by Christian Dywan (christian@imendio.com)
1942 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1943 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1945 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1947 * src/hildon-check-button.c (hildon_check_button_init)
1948 (hildon_check_button_class_init, hildon_check_button_style_set)
1949 (hildon_check_button_apply_style):
1950 New "checkbox-size" style property.
1952 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1953 larger / configurable size)
1955 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1957 * configure.ac: post release version bump.
1958 * debian/changelog: version bump
1960 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1965 * configure.ac: bump version
1966 * debian/changelog: updates
1968 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1970 * doc/hildon-sections.txt
1971 * src/hildon-pannable-area.c
1972 * src/hildon-program.c
1973 * src/hildon-time-editor.c
1974 * src/hildon-touch-selector-entry.c:
1976 More documentation updates.
1978 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1980 * doc/hildon-sections.txt
1981 * src/hildon-caption.c
1982 * src/hildon-code-dialog.c
1983 * src/hildon-color-button.c
1984 * src/hildon-controlbar.c
1985 * src/hildon-date-editor.c
1986 * src/hildon-date-selector.c
1987 * src/hildon-edit-toolbar.c
1988 * src/hildon-find-toolbar.c
1989 * src/hildon-font-selection-dialog.c
1991 * src/hildon-program.c
1992 * src/hildon-range-editor.c
1993 * src/hildon-seekbar.c
1994 * src/hildon-time-editor.c
1995 * src/hildon-time-selector.c
1996 * src/hildon-volumebar-range.c
1997 * src/hildon-volumebar.c
1998 * src/hildon-vvolumebar.c
1999 * src/hildon-weekday-picker.c
2000 * src/hildon-window.c
2001 * src/hildon-wizard-dialog.c:
2003 Lots of documentation fixes.
2005 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2007 Patch contributed by Iván Gómez (igomez@igalia.com)
2009 * src/hildon-check-button.c:
2010 * src/hildon-date-button.c:
2011 * src/hildon-date-selector.c:
2012 * src/hildon-dialog.c:
2013 * src/hildon-edit-toolbar.c:
2014 * src/hildon-entry.c:
2015 * src/hildon-picker-button.c:
2016 * src/hildon-program.c:
2017 * src/hildon-text-view.c:
2018 * src/hildon-time-button.c:
2019 * src/hildon-touch-selector-entry.c:
2020 * src/hildon-window-stack.c:
2022 Add more "since" tags to the new API.
2024 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2026 * doc/hildon-sections.txt: Add below method.
2027 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2028 version for the hildonized scale.
2029 * src/hildon-gtk.h: Add the definition.
2031 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2033 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2035 * doc/hildon-sections.txt: Add missing entries for new methods.
2037 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2039 Added API to pannable are in order to get its adjustments. We
2040 added two properties to manage the values we had in the private
2043 * src/hildon-pannable-area.c:
2044 (hildon_pannable_area_class_init): Added hadjustment and
2045 vadjustment properties in order to expose horizontal and vertical
2047 (hildon_pannable_area_get_property),
2048 (hildon_pannable_area_set_property): Added code to handle the new
2050 (hildon_pannable_area_get_hadjustment),
2051 (hildon_pannable_area_get_vadjustment): API functions to get the
2053 * src/hildon-pannable-area.h:
2054 (hildon_pannable_area_get_hadjustment),
2055 (hildon_pannable_area_get_vadjustment): API functions to get the
2058 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2060 Fixed some leaks, after valgrinding.
2062 * src/hildon-touch-selector.c:
2063 (_default_print_func): Fixed a leak.
2064 (hildon_touch_selector_append_column): Fixed a leak.
2065 * src/hildon-date-button.c:
2066 (hildon_date_button_init): Fixed a leak.
2067 * src/hildon-date-selector.c
2068 (hildon_date_selector_finalize): Fixed a leak.
2070 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2072 Based on a patch by Christian Dywan (christian@imendio.com)
2074 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2076 * src/hildon-gtk.h: Add definition.
2078 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2080 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2082 * src/hildon-picker-button.c: (hildon_picker_button_init),
2083 (hildon_picker_button_new): Set the HildonButton::style property
2084 in the init method, to propagate the value to the derived classes.
2086 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2088 * src/hildon-button.c: (hildon_button_class_init): Do not make
2089 the "style" property a construct property.
2091 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2093 * src/hildon-wizard-dialog.h
2094 * src/hildon-wizard-dialog.c
2095 (hildon_wizard_dialog_set_forward_page_func)
2096 * src/hildon-pannable-area.h
2097 * src/hildon-pannable-area.c
2098 (hildon_pannable_area_set_size_request_policy):
2099 Documentation fixes.
2101 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2103 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2105 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2107 * doc/hildon-sections.txt: Added sections file.
2109 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/*.[ch]: Updates.
2114 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2116 * examples/hildon-progress-indicator-example.c: new file
2117 * examples/Makefile.am: include the new example program
2119 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2123 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2125 * configure.ac: post release version bump
2126 * debian/changelog: version bump
2128 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2133 * configure.ac: bump version
2134 * debian/changelog: updates
2135 * debian/control: bump gtk+ dependency
2137 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2139 * src/hildon-dialog.c: Mark as deprecated.
2140 * src/hildon-dialog.h: Mark as deprecated.
2141 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2142 from HildonDialog and still work, even if
2143 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2144 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2146 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2147 maemo changes) instead)
2149 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2151 * src/hildon-pannable_area.h:
2152 * src/hildon-pannable_area.c:
2153 (hildon_pannable_area_class_init),
2154 (hildon_pannable_area_set_property),
2155 (hildon_pannable_area_get_property),
2156 (hildon_pannable_area_size_request),
2157 (hildon_pannable_area_get_size_request_policy),
2158 (hildon_pannable_area_set_size_request_policy): Added new API
2159 allowing applications to control the request policy. Now they can
2160 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2161 children allocation (HILDON_MOVEMENT_CHILDREN).
2163 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2167 (hildon_gtk_tree_view_set_ui_mode)
2168 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2169 mode of treeviews and iconviews.
2171 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2173 * src/hildon-touch-selector-entry.c:
2174 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2175 of a GtkEntry to get proper theming.
2177 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2178 widget, not GtkEntry)
2180 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2183 no HildonWizardDialogPageFunc.
2185 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2187 Patch contributed by Iván Gómez (igomez@igalia.com)
2189 * src/hildon-app-menu.c:
2190 * src/hildon-button.c:
2191 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2192 * src/hildon-stackable-window.c:
2193 * src/hildon-time-selector.c:
2194 * src/hildon-touch-selector.c:
2195 * src/hildon-window.c:
2197 Add more "since" tags to the new API in hildon 2.2.
2199 2008-12-05 Tim Janik <timj@imendio.com>
2201 Patch contributed by Christian Dywan (christian@imendio.com)
2203 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2204 HildonSizeType, which are supplied by Gtk+ now.
2206 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2208 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2209 (with maemo changes) instead)
2211 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2213 Patch contributed by Iván Gómez (igomez@igalia.com)
2215 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2218 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2220 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2221 (some_page_func), (main): Update the example to use a
2222 HildonWizardDialogPageFunc function.
2224 * src/hildon-wizard-dialog-private.h: Add private data for
2225 the HildonWizardDialogPageFunc function usage.
2227 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2228 (destroy), (hildon_wizard_dialog_init), (response),
2229 (hildon_wizard_dialog_set_forward_page_func):
2230 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2231 that applications can use to stop a HildonWizardDialog to jump to
2234 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2237 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-program.h
2240 * src/hildon-program-private.h
2241 * src/hildon-program.c (hildon_program_init)
2242 (hildon_program_set_common_app_menu)
2243 (hildon_program_get_common_app_menu):
2244 New API for setting a common HildonAppMenu for all
2245 HildonStackableWindows registered with the HildonProgram.
2247 * src/hildon-stackable-window.c
2248 (hildon_stackable_window_toggle_menu):
2249 Use the common HildonAppMenu if a window doesn't have a specific
2252 * src/hildon-app-menu-private.h
2253 * src/hildon-app-menu.c
2254 (hildon_app_menu_get_parent_window):
2255 Function to obtain the window a HildonAppMenu is attached to.
2256 (hildon_app_menu_set_parent_window):
2257 Hide the menu if the parent window is set to NULL.
2259 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2261 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2262 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2263 search widget to popup.
2265 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2267 * configure.ac: post release version bump
2268 * debian/changelog: version bump
2270 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2275 * configure.ac: bump version
2276 * debian/changelog: updates
2278 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2280 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2282 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2283 (hildon_window_stack_window_realized)
2284 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2285 Set the leader GdkWindow when a window is stacked and realized,
2286 unset it when it's unstacked.
2287 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2289 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2291 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2293 * src/hildon-stackable-window.h
2294 * src/hildon-window-stack.h:
2295 Protect definition of HildonWindowStack using the preprocessor.
2297 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2300 Fix warning if all menu items are hidden.
2302 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2304 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2306 * src/hildon-controlbar.c:
2307 * src/hildon-hvolumebar.c:
2308 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2309 Multiple scale size defines updates.
2311 Fixes: NB#94322 (Scale Updates)
2313 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2315 * examples/hildon-app-menu-example.c (create_menu)
2316 Show items after adding them to the menu, as in the future the
2317 menu will no longer call gtk_widget_show() on the added items.
2319 * src/hildon-app-menu.c:
2320 Update example as explained above.
2322 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-app-menu.c
2325 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2326 Make sure that all menu items have finger height.
2328 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2330 * src/hildon-picker-dialog.c:
2331 (_on_dialog_response), (_save_current_selection),
2332 (_restore_current_selection), (_clean_current_selection),
2333 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2334 Defined new functions in order to save the current internal selector
2335 selection previous open the dialog, in case that the use cancel the
2336 interaction, so the widget restores the previous selection.
2338 Fixes: NB#92032 (In calendar application, date values in 'new event'
2341 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2343 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2345 * src/hildon-button.c: Add a reference to the button examples in
2346 hildon-button-example.c
2348 * examples/hildon-button-example.c: Added examples of the most
2349 common button layouts.
2351 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2353 * src/hildon-app-menu.c (hildon_app_menu_show)
2354 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2356 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2358 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-picker-dialog.c:
2361 (hildon_picker_dialog_init): Initialize the signal id for
2362 HildonTouchSelector::columns-changed.
2363 (+on_selector_columns_changed): Set up the interaction mode everytime a
2364 column is added or removed from the HildonTouchSelector.
2365 (_hildon_picker_dialog_set_selector): Connect to
2366 HildonTouchSelector::columns-changed and keep track of it.
2368 Make sure to update the interaction mode of the dialog everytime a
2369 column is added or removed in the HildonTouchSelector.
2371 Fixes: NB#93228 (Done button is not shown always in listpicker)
2373 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2376 a new ::columns-changed signal.
2377 (hildon_touch_selector_append_column): Emit ::columns-changed.
2378 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2380 Add a ::columns-changed signal, emitted when the number of columns in a
2381 HildonTouchSelector changes.
2383 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2385 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2386 (_hildon_picker_dialog_set_selector): Factor out the code
2387 to set up the dialog interaction mode.
2389 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2391 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2392 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2393 to signal_changed_id.
2395 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2397 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2400 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2402 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2403 Updated the logical ids related to ampm format, as now it is required to
2404 show it correctly localized even on languages with no default
2405 abbreviations for am or pm
2406 (_check_am_pm_format): check correctly the 24h format gconf property
2408 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2410 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-button.c: Documentation updates.
2414 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2416 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2417 * src/hildon-caption.c: (hildon_caption_class_init):
2418 * src/hildon-color-button.c: (hildon_color_button_class_init):
2419 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2420 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2421 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2422 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2424 Remove deprecated GTK+ marshalers and replace them with the ones
2425 provided by GLib, for those available, add a marshaler for
2426 BOOLEAN:VOID, which is not available in GLib, and use it.
2428 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2431 the text from the previous column if there is no
2432 HildonTouchSelectorColumn::text-property set.
2434 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2436 * src/hildon-button.h
2437 * src/hildon-button.c (hildon_button_set_property)
2438 (hildon_button_get_property, hildon_button_class_init)
2439 (hildon_button_set_style, hildon_button_get_style):
2440 New "style" property to change the visual appearance of the
2443 * src/hildon-picker-button.c (hildon_picker_button_new):
2444 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
2446 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
2447 HildonButton look like PickerButton)
2449 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2451 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
2452 column while building the default string.
2454 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2456 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
2457 scroll indicator by default.
2459 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
2461 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
2463 * src/hildon-main.c: Fix the documentation for hildon_init()
2465 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2467 * doc/hildon-docs.sgml
2471 * src/hildon-window-stack-private.h
2472 * src/hildon-window-stack.h
2473 * src/hildon-window-stack.c:
2474 New HildonWindowStack object, that adds support for multiple
2475 stacks of windows per process.
2477 * src/hildon-stackable-window-private.h
2478 * src/hildon-stackable-window.h
2479 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2480 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2481 (hildon_stackable_window_show, hildon_stackable_window_hide)
2482 (hildon_stackable_window_class_init)
2483 (hildon_stackable_window_init):
2484 Use HildonWindowStack for stack management.
2486 * src/hildon-program.c (hildon_program_pop_window_stack)
2487 (hildon_program_peek_window_stack)
2488 (hildon_program_go_to_root_window):
2489 Add a fallback implementation to the deprecated functions using
2492 * examples/hildon-stackable-window-example.c:
2493 Use the new HildonWindowStack API.
2495 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-stackable-window-private.h
2498 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2499 (hildon_stackable_window_hide, hildon_stackable_window_init):
2500 Remove all window stack management.
2502 * src/hildon-program-private.h
2503 * src/hildon-program.h
2504 * src/hildon-program.c (hildon_program_init)
2505 (hildon_program_pop_window_stack)
2506 (hildon_program_peek_window_stack)
2507 (hildon_program_go_to_root_window):
2508 Remove all window stack management and mark functions as
2511 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2513 * src/hildon-app-menu.c (hildon_app_menu_realize):
2514 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2516 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2518 * configure.ac: post release version bump
2519 * debian/changelog: version bump
2521 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2526 * configure.ac: bump version
2527 * debian/changelog: updates
2529 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2531 Based on initial code by Christian Dywan (christian@imendio.com)
2533 * doc/hildon-docs.sgml: Add section for hildon-main.
2534 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2535 * src/Makefile.am: Add new hildon-main.[ch]
2536 * src/hildon-defines.h: Update the icon sizes.
2537 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2538 new library initialization files and register icon sizes.
2539 * src/hildon-main.h: New declarations.
2540 * src/hildon.h: Include hildon-main.h
2542 Add new initialization functions to the library. These methods
2543 will register the hildon specific icon sizes and can be used in the
2544 future for other hildon specific bits.
2546 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2548 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-window.c: (hildon_window_realize),
2551 (hildon_window_notify), (-hildon_window_update_title): Do not set
2552 the application name in the window title.
2554 Fixes: NB#89754 (Applications shouldn't display their names in the
2557 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2559 * src/hildon-note-private.h:
2560 * src/hildon-note.c: (hildon_note_set_property),
2561 (hildon_note_get_property), (hildon_note_class_init),
2562 (hildon_note_init), (hildon_note_finalize),
2563 (hildon_note_new_confirmation_with_icon_name),
2564 (hildon_note_new_information_with_icon_name):
2566 No need to mark as deprecated the actual code. Revert
2567 to avoid missing symbols in widgets using deprecated API.
2569 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2571 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2573 * src/hildon-volumebar.h
2574 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2575 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2577 * src/hildon-helper.h
2578 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2579 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2581 * examples/Makefile.am:
2582 Deprecate hildon-insensitive-example
2584 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2586 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2588 * examples/hildon-pannable-area-buttons-scroll-example.c:
2589 Make all buttons finger height
2591 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2593 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2595 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2596 update the day model only if it is really required, and to avoid the
2597 full-reconstruction aproach. Now it only add or remove the required days.
2599 The purpose of this is avoid superfluous HildonTouchSelector::changed
2602 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2603 with strange parameters)
2605 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2607 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2609 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2610 the WINDOW_TYPE property.
2612 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2614 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2617 Fix dependency to allow parallel compilation with make -jX
2619 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2621 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2622 color frame and some minor tweaks to make it more consistent with
2625 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2626 highlighted but not visible)
2628 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2630 * examples/Makefile.am: Fixed typo in the Makefile.am.
2632 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2634 Reviewed the use of MAEMO_GTK define, now we add the define in the
2635 compilation line, and we also add it to the pc file.
2637 * configure.ac: Added MAEMO_GTK define to the compilation command
2638 and removed it from the config.h.
2640 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2641 do not have to take care about this define if the library was
2645 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2647 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2649 * examples/Makefile.am,
2650 * examples/hildon-pannable-area-buttons-scroll-example.c,
2651 * examples/hildon-pannable-area-gesture-signals-example.c,
2652 * examples/hildon-pannable-area-scroll-jump-example.c,
2653 * examples/hildon-pannable-area-tree-view-example.c:
2654 Renamed the pannable area examples, now they have more meaningful
2657 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2659 * src/hildon-touch-selector.c:
2660 (hildon_touch_selector_set_column_selection_mode): Used of
2661 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2662 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2663 to avoid re-seting the same selection mode.
2665 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2666 breaks HildonPickerDialog)
2668 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2670 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2671 conditional in the Makefile.am
2673 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2675 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2676 Remove unused methods.
2678 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2680 * src/hildon-button.c (hildon_button_init):
2681 Make button images center-aligned by default
2683 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2686 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2687 activated, we have to think about how to deal with both defines
2688 MAEMO_GTK and MAEMO_CHANGES.
2690 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2692 * examples/hildon-app-menu-example.c (create_menu): Make all
2693 buttons finger size.
2695 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2697 Fixed the compilation without maemo gtk adding ifdefs with
2698 MAEMO_GTK define to the code, we have to check this version more
2701 * examples/Makefile.am: Added control to avoid some examples that
2702 just make sense with maemo gtk.
2705 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2706 hildon modes with the define.
2708 * examples/hildon-edit-toolbar-example.c,
2709 (create_icon_view): Create the icon view without hildon-gtk
2710 helpers if we are not using maemo gtk.
2712 * src/hildon-touch-selector.c,
2713 (_create_new_column): Create the treeview without hildon-gtk
2714 helpers if we are not using maemo gtk.
2716 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2718 * src/hildon-pnnable-area.c,
2719 (hildon_pannable_area_dispose),
2720 (hildon_pannable_area_button_press_cb),
2721 (hildon_pannable_area_child_mapped),
2722 (hildon_pannable_area_add),
2723 (hildon_pannable_area_remove): Added code to control the position
2724 of the event_window when adding and removing children from the
2725 pannable. We have to raise the event window when the child is
2728 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2729 selection mode using custom widget inside pannable)
2731 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2733 * configure.ac: post release version bump
2734 * debian/changelog: version bump
2736 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2741 * configure.ac: bump version
2742 * debian/changelog: updates
2744 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2746 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2747 search mode, in order to avoid lose the focus on the treeview when
2748 a hw key (like enter) is pressed.
2750 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2751 in HildonDateSelector dialog)
2753 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2755 * debian/rules: Added --enable-maintainer-mode
2756 * Makefile.am: Added ACLOCAL_AMFLAGS
2758 This allows to properly regenerate the Makefiles if you modify the
2759 configure.ac or any Makefile.am.
2761 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2763 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2764 properties, not needed at all.
2766 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2768 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2770 * src/hildon-note.c: (hildon_note_set_property),
2771 (hildon_note_get_property), (hildon_note_class_init),
2772 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2773 (hildon_note_new_confirmation_add_buttons): Remove icons.
2774 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2775 (hildon_note_new_information_with_icon_name): Deprecate.
2776 (hildon_note_new_confirmation): Act directly, without calling
2777 the deprecated constructor.
2778 (hildon_note_new_information): Act directly, without calling
2779 the deprecated constructor.
2780 * src/hildon-note.h: Mark deprecate methods as such.
2781 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2782 not run tests on the deprecated methods if built with deprecation
2785 Fixes: NB#91688 (Never show icons in information notes/confirmation
2788 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2790 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2791 (hildon_app_menu_key_press): Remove leftover usage of the
2792 private structure in HildonAppMenu struct.
2793 * src/hildon-app-menu.h: Remove leftover private structure
2794 from the HildonAppMenu struct.
2796 Fixes a crasher when using the HildonAppMenu.
2798 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2800 * src/hildon-picker-dialog.c: Use appropriate logical id
2801 for the default "Done" text.
2803 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2805 * configure.ac: post release version bump
2806 * debian/changelog: version bump
2808 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2810 Modified the way to scroll to the current selection just when the touch
2811 selector is shown on the screen, avoiding a g_idle. Added too a property
2812 to configure this behaviour. See hildon_pannable_area_jump_to_child
2813 documentation for more information.
2815 * src/hildon-touch-selector.c
2816 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2817 Added 'initial-scroll' property
2818 (hildon_touch_selector_set_property): Added
2819 (hildon_touch_selector_map): Removed as not required anymore
2820 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2821 only a concrete column, instead of iterate along all the columns
2823 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2828 * configure.ac: bump version
2829 * debian/changelog: updates
2831 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2833 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2834 compilation time warnings.
2836 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2839 the default value for HildonPannableArea::mov-mode to
2840 HILDON_PANNABLE_AREA_MODE_VERT.
2842 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2844 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2846 Reverting following commit:
2848 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2850 * src/hildon-app-menu-private.h
2851 * src/hildon-app-menu.[ch]
2852 * src/hildon-button.[ch]
2853 * src/hildon-check-button.[ch]
2854 * src/hildon-entry.[ch]
2855 * src/hildon-pannable-area.[ch]
2856 * src/hildon-text-view.[ch]:
2857 Added private field to the object's structure.
2859 because it causes an ABI breakage. We will need to introduce these
2860 changes later at some point. See NB#91636 for an extensive
2861 explanation and status.
2863 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2865 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2867 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2868 remove special cases that are no longer necessary.
2870 Fixes: NB#91016 (Change toolbar sizes, simplification)
2872 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2874 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2875 is shown in the cancel note.
2877 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2879 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2880 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2881 (hildon_seekbar_init): Remove steppers, remove expose event.
2882 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2884 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2886 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2888 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2889 label font to "SmallSystemFont" for vertically arranged buttons.
2891 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2894 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2896 * src/hildon-check-button.c
2897 (hildon_check_button_set_active, hildon_check_button_clicked):
2898 Don't access private parts directly, use getters instead.
2900 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-check-button.c (hildon_check_button_new):
2903 Align the contents of the check button to the left.
2905 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2907 * src/hildon-pannable-area.c,
2908 (hildon_pannable_area_scroll_to),
2909 (hildon_pannable_area_jump_to),
2910 (hildon_pannable_area_scroll_to_child),
2911 (hildon_pannable_area_jump_to_child): Replace the mapped
2912 precondition of these functions with the realized, it is the
2913 correct state of the widget in this case. Changed the
2914 documentation according to this modification.
2916 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2918 Added a new EXTRA_CFLAGS option to add the deprecated define to
2919 the compilation command. This way we can avoid using the define in
2920 the documentation compilation.
2922 * configure.ac: Defined EXTRA_CFLAGS.
2924 * examples/Makefile.am:
2926 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2928 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2930 * src/hildon-picker-dialog.c:
2931 Defined a utility macro with the desired touch selector height
2932 Removed currently unused separator, and title_label variables from
2934 (hildon_picker_dialog_init): Removed code related to the creation
2935 of unused private variables title_label and separator.
2936 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2937 to ensure correct visualization of the touch selector inside the dialog.
2938 * src/hildon-touch-selector.c
2939 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2940 ensure a concrete height of the widget.
2942 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2945 * tests/Makefile.am:
2947 Remove spurious whitespaces.
2949 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2952 compilation warning after the cancel button removal.
2954 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2956 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2958 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2959 Makefile.am, that way we can choose not to compile some examples
2960 and tests of the deprecated widgets.
2962 * examples/Makefile.am: Divided the sources in deprecated and
2965 * src/Makefile.am: Added undef statement of the deprecated
2966 symbol to the enums file generation process.
2968 * src/hildon-color-chooser-dialog.c
2969 * src/hildon-color-chooser-dialog.h
2970 * src/hildon-color-button.c
2971 * src/hildon-color-button.h
2972 * src/hildon-color-chooser.c
2973 * src/hildon-color-chooser.h
2974 * src/hildon-controlbar.c
2975 * src/hildon-controlbar.h
2976 * src/hildon-date-editor.c
2977 * src/hildon-date-editor.h
2978 * src/hildon-hvolumebar.c
2979 * src/hildon-hvolumebar.h
2980 * src/hildon-private.c
2981 * src/hildon-private.h
2982 * src/hildon-range-editor.c
2983 * src/hildon-range-editor.h
2984 * src/hildon-seekbar.c
2985 * src/hildon-seekbar.h
2986 * src/hildon-time-editor.c
2987 * src/hildon-time-editor.h
2988 * src/hildon-time-picker.c
2989 * src/hildon-time-picker.h
2990 * src/hildon-volumebar.c
2991 * src/hildon-volumebar.h
2992 * src/hildon-vvolumebar.c
2993 * src/hildon-vvolumebar.h
2994 * src/hildon-bread-crumb-trail.h
2995 * src/hildon-bread-crumb-trail.c
2996 * src/hildon-calendar-popup.c
2997 * src/hildon-calendar-popup.h
2998 * src/hildon-weekday-picker.c:
2999 * src/hildon-weekday-picker.h:
3000 * src/hildon-bread-crumb-widget.c:
3001 * src/hildon-bread-crumb-widget.h:
3002 * src/hildon-bread-crumb.c:
3003 * src/hildon-bread-crumb.h:
3004 * src/hildon-calendar.c:
3005 * src/hildon-calendar.h:
3006 * src/hildon-caption.c:
3007 * src/hildon-code-dialog.c:
3008 * src/hildon-code-dialog.h:
3009 * src/hildon-font-selection-dialog.c:
3010 * src/hildon-font-selection-dialog.h:
3011 * src/hildon-get-password-dialog.c:
3012 * src/hildon-get-password-dialog.h:
3013 * src/hildon-login-dialog.c:
3014 * src/hildon-login-dialog.h:
3015 * src/hildon-number-editor.c:
3016 * src/hildon-number-editor.h:
3017 * src/hildon-set-password-dialog.c:
3018 * src/hildon-set-password-dialog.h:
3019 * src/hildon-sort-dialog.c:
3020 * src/hildon-sort-dialog.h: This is the list of deprecated
3023 * src/hildon-touch-selector.c:
3024 * src/hildon-window.c: Added undef statement to avoid compilation
3027 * tests/Makefile.am: Divided the sources in deprecated and
3030 * tests/check_test.c,
3031 (configure_tests): Marked the deprecated code that was adding
3032 suites with deprecated tests.
3034 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3036 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3038 * src/hildon-touch-selector.c: (_default_print_func): Do not
3039 duplicate a string returned by gtk_tree_model_get(), it is already
3042 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3045 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3047 * src/hildon-pannable-area.c
3048 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3049 method, it had problems when adding a widget with viewport the
3050 second time. Now checks if it already has a viewport and uses it.
3052 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3055 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3057 * src/hildon-pannable-area.c,
3058 (hildon_pannable_area_scroll_to),
3059 (hildon_pannable_area_jump_to),
3060 (hildon_pannable_area_scroll_to_child),
3061 (hildon_pannable_area_jump_to_child): Added a precondition to the
3062 scroll and jump to functions: the widget must be mapped before we
3063 can safely call these functions. We have also added documentation
3064 to the functions to explain how to use them in this situation.
3067 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3069 Reviewed the threading handling of the pannable widget, we have
3070 used the gdk_threads_add_timeout function instead of the usual
3071 glib handlers. This avoids some problems with the threads.
3073 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3074 (hildon_pannable_area_initial_effect),
3075 (hildon_pannable_area_scroll_indicator_fade),
3076 (hildon_pannable_area_button_press_cb),
3077 (hildon_pannable_area_timeout),
3078 (hildon_pannable_area_motion_notify_cb),
3079 (hildon_pannable_area_button_release_cb),
3080 (hildon_pannable_area_scroll_cb),
3081 (hildon_pannable_area_scroll_to): Removed the
3082 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3083 gdk_threads_add_timeout.
3085 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3087 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3092 * configure.ac: bump version
3093 * debian/changelog: updates
3095 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3097 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3098 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3099 * src/hildon-color-chooser-dialog.c:
3100 (hildon_color_chooser_dialog_init):
3101 * src/hildon-font-selection-dialog.c:
3102 (hildon_font_selection_dialog_init):
3103 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3105 Remove all cancel/close-like dialogs, as these are not going to be
3108 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3110 * src/hildon-note.c: (hildon_note_rebuild),
3111 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3114 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3116 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3119 sure all buttons are shown, even the Cancel/Close-like ones.
3121 Fixes: NB#90861 (Custom Confirmation dialogs should be
3122 protected from cancel button removal)
3124 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3126 * debian/control: Change libhildon1-examples dependency from libhildon1
3128 * debian/libhildon1-examples.install
3130 * Makefile.am: Modified the final install directory for the examples on
3131 package libhildon1-examples
3132 * Makefile.static: Update clean target in order to remove all the binary
3135 Changes suggested by Claudio after review new libhildon1-examples package
3137 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3139 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3140 * src/hildon-touch-selector.c: Ditto.
3142 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3144 * debian/control: Added new package libhildon1-examples, in order to pack
3145 the current hildon examples as documentation
3146 * debian/rules: Not to compress .c files, modify some includes on the
3147 examples (as normally are compiled locally, but when installed it will
3148 require to include the installed libhildon1 library), and rename
3150 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3151 install all the example files on the new example package
3152 * examples/Makefile.static: Added static makefile that can be used to
3153 compile the examples, once installed the new example package
3154 * examples: Most of the examples were modified in order to grant that
3155 all use only '#include "hildon.h"', in order to be easy to prepare
3156 it on the example package
3158 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3161 * debian/libhildon1-dev.install
3162 * debian/libhildon1-doc.install:
3163 Move all gtk-doc files to a separate libhildon1-doc package.
3165 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3167 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3169 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3171 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3173 * debian/rules: Fixed a error in order to avoid unnecessary calls
3174 to autogen.sh on package building
3176 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3178 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3180 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3185 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3187 * src/hildon-picker-button.c
3188 (hildon_picker_button_finalize):
3189 Free priv->done_button_text
3191 * src/hildon-time-button.c
3192 (hildon_time_button_set_time)
3193 * src/hildon-picker-button.c
3194 (hildon_picker_button_clicked)
3195 (hildon_picker_button_selector_selection_changed)
3196 (hildon_picker_button_set_selector)
3197 * src/hildon-date-button.c
3198 (hildon_date_button_set_date):
3199 Free strings returned by hildon_touch_selector_get_current_text()
3201 * src/hildon-button.c (hildon_button_construct_child):
3202 Fix leaks in priv->image and priv->label_box
3204 Fixes: NB#90535 (Memory leak in picker button)
3206 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3208 * src/hildon-button.c: (hildon_button_get_property): Do not access
3209 private elements directly, use getters instead.
3211 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-app-menu-private.h
3214 * src/hildon-app-menu.c
3215 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3216 Store the menu's parent window.
3218 * src/hildon-stackable-window.c
3219 (hildon_stackable_window_toggle_menu)
3220 (hildon_stackable_window_finalize):
3221 Set the menu's parent window when the menu is shown, unset it when
3224 * src/hildon-app-menu.c
3225 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3226 (hildon_app_menu_class_init):
3227 Send unhandled keyboard accelerators to the parent window.
3229 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-stackable-window.c
3232 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3234 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3236 * configure.ac: post release version bump
3238 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3241 * configure.ac: Bump version
3242 * debian/changelog: Updates
3243 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3246 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3248 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3251 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3252 GtkMenu with Hildon style.
3254 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-picker-button.c:
3257 (hildon_picker_button_set_done_button_text): Set the dialog's
3258 done button text here as well.
3260 Fixes: NB#90232 (Picker button does not set the label on done button
3261 for the second time)
3263 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3265 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3268 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3270 * src/hildon-app-menu.c (hildon_app_menu_insert)
3271 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3272 the HildonAppMenu to be activatable using keyboard accelerators
3273 when the menu is not being shown.
3275 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3277 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3279 * src/hildon-stackable-window.c
3280 (hildon_stackable_window_show):
3281 Don't hide old windows automatically when new windows are shown:
3282 this is now a task for the window manager.
3283 (hildon_stackable_window_class_init)
3284 (hildon_stackable_window_hide):
3285 Remove windows from the stack everytime they're hidden.
3286 (hildon_stackable_window_realize):
3287 Don't change the _NET_WM_WINDOW_TYPE property. Use
3288 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3289 it as a stackable window.
3291 * src/hildon-program.c
3292 (hildon_program_pop_window_stack):
3293 Just hide the window to remove it from the stack.
3294 (hildon_program_go_to_root_window):
3295 Don't call gtk_widget_show(), this is now a task for the window
3298 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3300 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3302 * src/hildon-button.c
3303 (hildon_button_construct_child):
3304 Don't pack anything in the button until text or image are
3305 set. This allows adding a custom child after creating the button
3306 with hildon_button_new().
3307 (hildon_button_finalize, hildon_button_class_init)
3308 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3309 alignment and the label box even when they're not packed in the
3312 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3314 * src/hildon-touch-selector.h:
3315 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3316 currently the type definition was using GTK_TYPE_VBOX
3317 * src/hildon-touch-selector.c:
3318 Added some implementation notes in order to clarify that any other widget
3319 added without the column related API will not be included on the
3320 selection logic, and how the widget is freed, as some people ask about
3322 (hildon_touch_selector_remove): Reimplemented in order to free properly
3323 the column related data when you remove the private hbox.
3324 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3325 to get a proper HildonTouchSelectorColumn documentation
3327 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-touch-selector-entry.c:
3330 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3331 text in the GtkEntry and there is no item selected. Fixes a
3334 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3336 * src/hildon-app-menu-private.h
3337 * src/hildon-app-menu.[ch]
3338 * src/hildon-button.[ch]
3339 * src/hildon-check-button.[ch]
3340 * src/hildon-entry.[ch]
3341 * src/hildon-pannable-area.[ch]
3342 * src/hildon-text-view.[ch]:
3343 Added private field to the object's structure.
3345 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3347 * configure.ac: post-release version bump
3349 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3353 * configure.ac: pre-release version bump
3355 * debian/changelog: updates.
3357 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3359 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3360 Disconnect the handler for HildonTouchSelector::changed.
3362 (hildon_picker_button_selector_selection_changed): Update the button
3363 value if the selection change was not triggered by the
3366 (hildon_picker_button_set_selector): connect to
3367 HildonTouchSelector::changed.
3369 Fixes: NB#89650 (Picker button is not updated, when selection in
3370 selector has changed)
3372 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3374 * src/hildon-picker-dialog.c
3375 (hildon_picker_dialog_realize): Removed as not required
3376 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3377 * src/hildon-picker-button.c
3378 (_current_selector_empty): New function, checks if the selector is empty
3379 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3380 if the current selector is empty, in order to avoid to show the dialog
3381 close the dialog in this case (and shows a g_warning).
3383 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3385 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3387 * src/hildon-pannable-area.c,
3388 (hildon_pannable_area_scroll): Added clause to stop movement when
3389 the child of pannable is smaller than one page.
3390 (hildon_pannable_area_scroll_to): Added conditions to avoid
3391 starting the scrolling movement if the child is smaller than one
3392 page, the complete child is in the screen, we do not have to move.
3394 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3396 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3398 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3399 this is managed automatically by the widget when the size of the
3402 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3404 * src/hildon-picker-button.c
3405 (hildon_picker_button_set_done_button_text): Make a copy of the
3406 text, and free the previous value.
3408 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3410 * src/hildon-touch-selector-entry.c:
3411 (hildon_touch_selector_entry_print_func): Return the selected row's
3412 text if the entry is empty.
3414 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3417 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3419 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3421 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-check-button.h
3425 * src/hildon-check-button.c
3426 * examples/hildon-check-button-example.c:
3427 HildonCheckButton is now a new widget. 'toggled' signal added.
3429 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3431 * src/hildon-program-private.h
3432 * src/hildon-program.c (hildon_program_init)
3433 (hildon_program_finalize): Removed unused variables group_leader
3434 and name from HildonProgramPrivate.
3436 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-check-button.c (hildon_check_button_set_active)
3439 (hildon_check_button_get_active, hildon_check_button_new): Use
3440 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
3442 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
3444 * src/hildon-touch-selector.h
3445 (hildon_touch_selector_set_column_attributes): added deprecation
3446 guard HILDON_DISABLE_DEPRECATED
3447 * src/hildon-time-selector.c
3448 (hildon_time_selector_set_time)
3449 (hildon_time_selector_get_time): Fixed a typo on documentation
3450 * src/hildon-touch-selector.c: update HildonTouchSelector and
3451 HildonTouchSelectorColumn documentation
3452 * src/hildon-touch-selector-entry.c: update "text-column" property
3454 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
3455 to be added to the general documentation.
3457 2008-10-08 Alejandro G. Castro <alex@igalia.com>
3459 * examples/hildon-pannable-area-example-4.c,
3461 * examples/hildon-pannable-area-example.c,
3462 (main): Modified the code in order to use the container add, with
3463 viewport treeviews could have problems if they are really big.
3465 2008-10-06 Alejandro G. Castro <alex@igalia.com>
3467 * src/hildon-weekday-picker.c,
3468 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
3469 the agreement regarding deprecation in the library.
3471 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3473 * examples/hildon-picker-button-multicolumn-example.c:
3474 (main): Use custom "done" button text.
3476 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3477 (hildon_picker_button_set_property),
3478 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3479 (hildon_picker_button_init),
3480 (+hildon_picker_button_get_done_button_text),
3481 (+hildon_picker_button_set_done_button_text): New methods to customize
3482 the "done" button label in the launched HildonPickerDialog. Also,
3485 * src/hildon-picker-button.h: add the public API.
3487 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3489 * src/hildon-date-selector.h:
3490 * src/hildon-picker-dialog.h:
3491 * src/hildon-time-selector.h:
3492 * src/hildon-touch-selector-column.h:
3493 * src/hildon-touch-selector.h:
3495 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3496 declarations. Fixes gtk-doc warnings.
3498 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-picker-dialog.h
3501 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3502 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3504 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3505 long text is set as label for done button)
3507 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3509 * src/hildon-dialog.c (hildon_dialog_add_button):
3510 Set fixed width to all buttons in the HildonDialog.
3512 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3514 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3516 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3517 Set widget name using class name plus "-finger" or "-thumb".
3519 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3522 'clicked' when the state of the button is manually changed.
3524 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-app-menu.c (hildon_app_menu_realize)
3527 (hildon_app_menu_unrealize, hildon_app_menu_init)
3528 (hildon_app_menu_class_init, item_visibility_changed):
3529 Change the menu layout when the size of the screen changes.
3530 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3531 Show warning only when changing the number of colums using the
3534 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3536 * debian/compat: Set to 5
3537 * debian/control: Update dependencies.
3538 * debian/libhildon1-dbg.install: Remove.
3539 * debian/libhildon1-dev.install: Update according to cdbs paths.
3540 * debian/libhildon1.install: Update according to cdbs paths.
3541 * debian/rules: Switch to cdbs.
3543 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3545 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3546 'item' variable renamed to 'filter'
3548 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3550 * src/hildon-app-menu.c (hildon_app_menu_insert)
3551 (hildon_app_menu_add_filter, remove_item_from_list)
3552 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3553 Don't leak hidden items when the menu is destroyed.
3555 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3557 * src/hildon-app-menu.c (hildon_app_menu_insert)
3558 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3559 (hildon_app_menu_set_columns, item_visibility_changed)
3560 (filter_visibility_changed, hildon_app_menu_repack_filters)
3561 (hildon_app_menu_repack_items):
3562 Repack items and filters separately.
3564 Don't repack all items, change only the ones that are needed to
3567 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3569 * src/Makefile.am: added hildon-touch-selector-column.h
3571 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3573 * src/hildon-touch-selector.c: added the property "text-column" to the
3574 class HildonTouchSelectorColumn, and related get/set functions
3575 (_default_printf_func): updated to use "text-column" property
3576 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3577 "text-column" in his documentation, as this is now included on
3578 HildonTouchSelectorColumn. The get/set_property can still be used,
3579 working as a wrapper to the concrete column "text-column" property
3580 (_text_column_modified): callback added in order to handle the signal
3581 "notify::text-column" of the concrete HildonTouchSelectorColumn
3582 (hildon_touch_selector_entry_get_text_column)
3583 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3584 modified in order to use the HildonTouchSelectorColumn "text-column"
3586 * src/hildon-time-selector.c:
3587 * src/hildon-date-selector.c:
3588 * examples/hildon-touch-selector-example.c
3589 * examples/hildon-touch-selector-multi-cells-example.c
3590 * examples/hildon-picker-button-multicolumn-example.c
3591 Set the right value to "text-column" property on the creation of a new
3592 column using hildon_touch_selector_append_column()
3594 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3596 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3598 * src/hildon-app-menu.c
3599 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3600 updating the layout of the menu, don't create all widgets again,
3601 just repack the items in their new places.
3603 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3605 * src/hildon-time-selector.c
3606 (hildon_time_selector_get_time)
3607 (hildon_time_selector_set_time)
3608 Added documentation of these public methods
3610 * src/hildon-date-button.h
3611 * src/hildon-touch-selector-column.h
3612 * src/hildon-time-button.h
3613 * src/hildon-picker-dialog.h
3614 * src/hildon-time-selector.h
3615 * src/hildon-picker-button.h
3616 * src/hildon-touch-selector.h
3617 * src/hildon-time-picker.h
3618 * src/hildon-date-selector.h
3619 * src/hildon-touch-selector-entry.h
3620 Modified in order to use hildon-widgets code style
3622 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3624 Added deprecated support to the compilation process using
3625 HILDON_DISABLE_DEPRECATED
3627 * configure.ac: Added the --disable-deprecated to the configure
3630 * src/hildon-weekday-picker.c:
3631 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3632 to use the deprecated support. We will update the other deprecated
3633 widgets status in a new patch.
3635 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3637 * configure.ac: Fixed typo with fatal warnings support, the
3638 variable name was not correct
3640 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3642 * src/hildon-app-menu.c
3643 * src/hildon-program.c: Update documentation.
3645 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3647 * configure.ac: Post-release version bump.
3649 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3654 * configure.ac: Pre-release version bump.
3655 * debian/changelog: Updates.
3657 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3659 * NEWS: Update news for previous releases.
3661 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3663 * examples/hildon-touch-selector-multi-cells-example.c:
3664 (create_selector): Update the example to use
3665 hildon_touch_selector_append_column() with a NULL renderer and set
3666 the renderers later.
3667 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3668 passed a NULL renderer. This is documented behavior now.
3670 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3671 This must be used if the developer wants full control on the layout of
3672 the renderers to be added to the column.
3674 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3676 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3678 * src/hildon-touch-selector.c: Documentation fixes.
3680 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3682 * src/hildon-wizard-dialog-private.h: Remove image and box.
3683 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3684 (hildon_wizard_dialog_set_property), (response): Completely remove
3685 image/icon support, and the containers required for the layout.
3687 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3689 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3691 * src/hildon-app-menu.c: Updated documentation.
3693 * src/hildon-stackable-window.c
3694 (hildon_stackable_window_set_main_menu): Unref the old menu after
3695 ref'ing the new one.
3697 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3699 * src/hildon-stackable-window.c
3700 (hildon_stackable_window_set_main_menu): Unref the previous menu
3701 instead of destroying it.
3703 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3704 floating reference and set has_user_ref_count to FALSE to make
3705 HildonAppMenu act like a normal ref-counted widget and not a
3708 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3711 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3713 * src/hildon-touch-selector-column.h: new file
3714 * src/hildon-touch-selector.h
3715 * src/hildon-touch-selector.c
3716 Implemented GtkCellLayout interface, in order to allow to configure
3717 the cell layout on each individual selector column
3718 (hildon_touch_selector_set_column_attributes): marked as deprecated
3719 * examples/hildon-touch-selector-multi-cells-example.c
3720 Example of how to use the GtkCellLayout interface on the selector
3722 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3724 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3726 * src/hildon-app-menu.h
3727 * src/hildon-app-menu.c
3728 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3729 (hildon_app_menu_append, hildon_app_menu_prepend):
3730 New methods to prepend, insert and move items in the menu.
3732 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3734 * src/hildon-wizard-dialog.c:
3736 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3738 (create_title): Update logical IDs and related code.
3739 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3741 * src/hildon-wizard-dialog.h: Note that
3742 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3743 point, as it is not used anymore.
3745 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3747 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3749 * src/hildon-note.c:
3750 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3751 shown. Do not display an icon in confirmation notes nor information
3753 (hildon_note_set_button_text): Update logical ID for cancel button.
3755 Fixes: NB#88850 (Update HildonNote button strings + signals)
3757 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3759 * src/hildon-stackable-window.c
3760 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3762 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-app-menu-private.h
3765 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3766 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3767 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3768 temporary property 'columns' to change the number of columns.
3770 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3772 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3774 * examples/hildon-note-example.c: (on_information_clicked),
3775 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3776 debugging information.
3777 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3779 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3780 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3781 in order to close: this will be handled by the WM from now on.
3783 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3785 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-app-menu-private.h
3788 * src/hildon-app-menu.c
3789 (hildon_app_menu_append, hildon_app_menu_add_filter)
3790 (button_visibility_changed, hildon_app_menu_apply_style)
3791 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3792 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3793 layout everytime a button (item or filter) is shown or hidden.
3795 * src/hildon-stackable-window.c
3796 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3799 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3801 * src/hildon-touch-selector.c:
3802 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3803 that the treeview inside the touch selector is in fremantle hildon mode
3804 * examples/hildon-date-button-example.c
3805 * examples/hildon-picker-button-multicolumn-example.c
3806 * examples/hildon-touch-selector-entry-example.c
3807 * examples/hildon-touch-selector-example.c
3808 * examples/hildon-time-button-example.c
3809 * examples/hildon-picker-button-example.c:
3810 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3812 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3814 * examples/hildon-text-view-example.c: (main): Remove the
3815 gtkrc bits, now handled by the theme.
3817 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3819 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3822 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3824 * po/Makefile.am: Install properly the mo files.
3825 * po/en_GB.po: Update translation, to ease testing purposes.
3827 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3829 * examples/hildon-picker-button-example.c: (main): Select an item
3830 in the selector before setting it to the button.
3832 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3834 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3835 Update button's value if the selector has an item active.
3837 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3838 'value' with the selector)
3840 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3842 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3843 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3844 (hildon_picker_button_class_init): Plug the finalize method.
3845 (hildon_picker_button_set_selector): If there's a previously set
3846 selector, unref'it before setting a new one.
3848 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3849 HildonTouchSelector)
3851 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3853 * src/hildon-touch-selector-entry.c:
3854 (hildon_touch_selector_entry_changed): Check if there is no text
3855 selected before setting the entry text.
3858 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-touch-selector.h
3861 * src/hildon-touch-selector.c
3862 (hildon_touch_selector_get_active)
3863 (hildon_touch_selector_set_active): New methods to set/get the
3864 index of the selected item.
3866 * src/hildon-picker-button.h
3867 * src/hildon-picker-button.c
3868 (hildon_picker_button_get_active)
3869 (hildon_picker_button_set_active): New methods to set/get the
3870 index of the selected item.
3872 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3874 * configure.ac: post-release version bump.
3876 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3880 * configure.ac: Pre-release version bump.
3881 * debian/changelog: Updates.
3882 * debian/control: Add myself as maintainer and depend on l10n
3885 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3887 * src/hildon-window.c
3888 (hildon_window_set_main_menu)
3889 * src/hildon-stackable-window.c
3890 (hildon_stackable_window_set_main_menu):
3891 Updated documentation.
3893 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3895 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3896 Don't free selector->priv manually.
3899 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3902 (hildon_gtk_window_set_progress_indicator):
3903 * src/hildon-gtk.h: Added the new API
3904 hildon_gtk_window_set_progress_indicator, it changes the state of
3905 the window progress hint.
3907 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3909 * src/hildon-button.c
3910 * src/hildon-stackable-window.c: Minor documentation updates.
3912 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3914 * src/hildon-stackable-window.c: Updated documentation.
3916 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3918 * src/hildon-defines.h: Update margins definitions
3919 to the Fremantle sizes.
3922 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3924 * src/hildon-touch-selector.c,
3925 (_hildon_touch_selector_set_model): Cleaning the code after
3926 review, removed g_print and #if 0 from the code.
3928 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3930 * src/hildon-edit-toolbar.c: Update documentation.
3932 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3934 * src/hildon-check-button.h
3935 * src/hildon-check-button.c
3936 (hildon_check_button_set_label, hildon_check_button_get_label)
3937 * examples/hildon-check-button-example.c
3938 (button_clicked_cb):
3939 Removed deprecated methods.
3941 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3943 * src/hildon-text-view.c:
3944 Add sample code to the documentation.
3946 * src/hildon-entry.h
3947 * src/hildon-text-view.h:
3948 Minor cosmetic changes.
3950 * src/hildon-entry.c:
3951 Add sample code to the documentation.
3952 (hildon_entry_init, hildon_entry_refresh_contents):
3953 Don't allow NULL values in the placeholder.
3955 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3957 * doc/hildon-docs.sgml
3959 * examples/Makefile.am
3960 * examples/hildon-text-view-example.c
3962 * src/hildon-text-view.c
3963 * src/hildon-text-view.h
3965 New HildonTextView widget, with example.
3967 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3969 * po/POTFILES.in: Add missing files with translatable strings.
3970 Partially fixes NB#88287.
3972 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3974 * examples/hildon-pannable-area-example-2.c: (main): No need to
3975 set the cellrenderer height inside hildon touch lists, the theme does
3978 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3980 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3981 they are integrated in the theme.
3983 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3985 * examples/hildon-entry-example.c: Update the example adding
3986 widgets to modify the text and the placeholder of the HildonEntry.
3988 * src/hildon-entry.c: Show the placeholder everytime the widget
3989 is empty and loses the focus.
3991 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3993 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3995 * src/hildon-pannable-area.c,
3996 (hildon_pannable_area_size_request): Fixed bug in height
3997 requisition, avoid increasing size and add border twice.
3999 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4001 * configure.ac: postrelease version bump.
4003 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4007 * configure.ac: Prerelease version bump.
4008 * debian/changelog: update.
4009 * debian/rules: make -dbg package contain useful debugging symbols.
4011 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4013 * src/hildon-dialog.h
4014 * src/hildon-dialog.c
4015 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4016 New methods to add buttons with finger size.
4017 (hildon_dialog_new_with_buttons):
4018 Create buttons with finger size.
4020 * examples/hildon-dialog-example.c (main): Use HildonDialog
4021 methods to add buttons.
4023 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4025 * src/hildon-entry.c: Updated HildonButton documentation.
4027 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4029 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4030 button value label with (FALSE, FALSE) to prevent NB#88126 from
4033 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4035 * examples/hildon-pannable-area-example.c,
4036 (main): Removed examples panning a vbox inside a pannable
4037 area. Check bug NB#87965
4039 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4041 Patch contributed by Kris Rietveld (kris@imendio.com)
4043 * src/hildon-pannable-area.c,
4044 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4045 get_size and get_position, this saves an X server roundtrip.
4047 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4049 * doc/hildon-docs.sgml
4051 * examples/Makefile.am
4052 * examples/hildon-entry-example.c
4054 * src/hildon-entry.c
4055 * src/hildon-entry.h
4057 New HildonEntry widget, with example.
4059 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-button.c (hildon_button_construct_child): Pack the
4062 image with expand == fill == FALSE. This is a workaround for a bug
4065 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4067 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4068 labels for the text column, to make it more look more dynamic.
4070 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4072 * src/hildon-time-selector.c
4073 Define gettext auxiliar macro N_
4074 (_create_minutes_model)
4075 (_create_hours_model)
4076 (_create_ampm_model): use of strftime in order to fill the model
4077 * src/hildon-date-selector.c
4078 (hildon_date_selector_finalize):
4079 (_locales_init): remove the logic related to get the name of the months
4080 using nl_langinfo, as it is not required anymore
4082 (_create_year_model)
4083 (_create_month_model)
4084 (_update_day_model): use of strftime in order to fill the model properly
4087 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4089 * src/hildon-button.h
4090 * src/hildon-button.c (hildon_button_get_image): New method to
4093 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4095 * src/hildon-touch-selector.c:
4096 (hildon_touch_selector_remove_column): Remove from the correct parent
4097 and also remove the list element and free it.
4100 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4102 * src/hildon-time-selector.c
4103 (_create_hours_model): change the range on 12h ampm format in order to use
4104 a 12-11 range instead of previous 01-12 range
4105 (hildon_time_selector_set_time): change the way to select the current time
4106 on 12h ampm format, due the change on the range
4107 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4110 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4112 * src/hildon-touch-selector.c
4113 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4114 in order to allow use this function on multiple row selection mode if
4115 the column is different that the first one
4118 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4120 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4121 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4123 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4125 * src/hildon-date-selector.h: clean some comments, now on the .c
4126 * src/hildon-date-selector.c
4127 (hildon_date_selector_select_month): first implementation
4128 (hildon_date_selector_select_day): added documentation, reimplemented
4129 using hildon_date_selector_select_current_date to avoid repeat code
4132 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4134 Reviewed interaction logic based on device experiences, refactored
4137 * src/hildon-pannable-area.c,
4138 (hildon_pannable_area_class_init): Updated default vmax speed.
4139 (hildon_pannable_area_calculate_velocity): Added this function, it
4140 avoids duplicate valocity calculation. Adjusted calculation to
4141 avoid problems with zero dist events.
4143 (hildon_pannable_area_motion_notify_cb): Now we use the
4144 calculate_velocity function.
4146 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4148 * src/hildon-date-selector.c
4149 (hildon_date_selector_select_current_date): fix the day range check
4150 as it failed using the last day of the current month
4153 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4155 * src/hildon-touch-selector.c
4156 (hildon_touch_selector_get_num_columns): added a parameter validation
4159 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4161 * examples/Makefile.am
4162 * examples/hildon-edit-toolbar-example.c: Example of the
4163 HildonEditToolbar widget.
4165 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4167 * configure.ac: postrelease version bump.
4169 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4173 * configure.ac: prerelease version bump.
4174 * debian/changelog: update.
4176 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4178 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4179 renderer to display stock icons in the touch list. Also, set the sizes
4180 to the recommended in the style guide.
4182 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4183 * src/hildon-touch-selector.h
4184 (hildon_touch_selector_set_active_iter): renamed, now is
4185 hildon_touch_selector_select_iter
4186 (hildon_touch_selector_get_active_iter): renamed, now is
4187 hildon_touch_selector_get_selected
4188 (hildon_touch_selector_unselect_iter): added
4189 * src/hildon-touch-selector.c
4190 Update after API modification (methods renamed)
4191 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4192 order to avoid problems selecting multiple elements on the column
4193 (hildon_touch_selector_unselect_iter): added the implementation
4194 * src/hildon-time-selector.c
4195 * src/hildon-date-selector.c
4196 * src/hildon-touch-selector-entry.c
4197 Update methods calls after hildon-touch-selector.h API modification (methods
4200 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4202 * src/hildon-stackable-window.c
4203 (hildon_stackable_window_finalize): Call the parent class's finalize.
4205 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4207 * examples/hildon-touch-selector-example.c: (create_selector): Use
4208 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4211 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4213 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4214 set a cell background color, to respect theming.
4216 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4218 * doc/hildon-docs.sgml
4221 * src/hildon-edit-toolbar.c
4222 * src/hildon-edit-toolbar.h
4223 * src/hildon.h: New HildonEditToolbar widget.
4225 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4227 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4230 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4231 * src/hildon-touch-selector.c
4232 (_create_new_column): use g_object_set instead of two g_object_set_property
4234 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4235 * src/hildon-touch-selector.c
4236 (_create_new_column): use of hildon_gtk_tree_view_new to create
4237 the treeview, instead of use directly g_object_new
4238 (_create_new_column): update the property name "vindicator-mode" for the
4239 new one "vscrollbar-policy"
4240 * examples/hildon-date-button-example.c
4241 * examples/hildon-picker-button-multicolumn-example.c
4242 * examples/hildon-touch-selector-entry-example.c
4243 * examples/hildon-touch-selector-example.c
4244 * examples/hildon-time-button-example.c
4245 * examples/hildon-picker-button-example.c
4246 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4247 to all the treeviews inside a pannable area.
4249 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4251 * src/hildon-button.h
4252 * src/hildon-button.c (hildon_button_init)
4253 (hildon_button_set_arrangement, hildon_button_set_alignment)
4254 (hildon_button_set_title_alignment)
4255 (hildon_button_set_value_alignment)
4256 (hildon_button_set_image_alignment)
4257 (hildon_button_construct_child): New methods to set the alignment
4258 of the individual components of the button (title, value,
4259 image). Also, new method to alter the xscale and yscale properties
4260 of the GtkAlignment inside the button, so more complex layouts can
4263 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4265 * src/hildon-button.c (hildon_button_style_set)
4266 (hildon_button_class_init, hildon_button_set_arrangement)
4267 (hildon_button_construct_child): Apply style properties
4268 correctly. Use the 'image-spacing' style property too.
4270 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4272 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4273 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4276 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4278 * src/hildon-pannable-area.c,
4279 (hildon_pannable_area_size_request): Fixed problem with
4280 pannable-area size_request.
4282 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4284 Added management for the grab-focus to a child widget, like a
4285 range, we need to fade out the scrollbar when releasing.
4287 * src/hildon-pannable-area.c,
4288 (hildon_pannable_area_init): Connected the grab-focus signal to
4290 (hildon_pannable_area_grab_notify): Added this function in order
4291 to manage the situation when the grab-focus ends. We have to
4292 fade-out the scrollbar.
4294 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4296 * src/hildon-app-menu.c: Minor documentation update.
4298 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4300 * src/hildon-app-menu.c
4301 * examples/hildon-app-menu-example.c (create_menu): Update
4302 examples and documentation to explain how to connect callbacks.
4304 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4306 * examples/hildon-button-example.c
4307 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4308 hildon_stackable_window_new instead of gtk_window_new
4310 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4312 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4313 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4314 (hildon_pannable_area_set_property),
4315 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4316 (hildon_pannable_area_unrealize),
4317 (hildon_pannable_area_size_request),
4318 (hildon_pannable_area_size_allocate),
4319 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4320 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4321 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4322 (hildon_pannable_area_initial_effect),
4323 (hildon_pannable_area_redraw),
4324 (hildon_pannable_area_scroll_indicator_fade),
4325 (hildon_pannable_area_expose_event),
4326 (hildon_pannable_area_get_topmost), (synth_crossing),
4327 (hildon_pannable_area_button_press_cb),
4328 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4329 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4330 (hildon_pannable_area_motion_notify_cb),
4331 (hildon_pannable_area_button_release_cb),
4332 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4333 (hildon_pannable_area_remove),
4334 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4335 chage the code layout to a more GtkWidget like. Review the use of
4338 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4340 * examples/hildon-pannable-area-example-4.c,
4341 (main): Modified the name of the hindicator_mode to
4344 * src/hildon-pannable-area.c,
4345 (hildon_pannable_area_class_init),
4346 (hildon_pannable_area_motion_notify_cb),
4347 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4348 we have reduced the amount of signals and managed reviewed its
4349 rationale. Changed the default decelerate value.
4351 (hildon_pannable_area_add),
4352 (hildon_pannable_area_redraw): Refactored functions.
4354 (hildon_pannable_area_init),
4355 (hildon_pannable_area_get_property),
4356 (hildon_pannable_area_set_property):
4357 (hildon_pannable_draw_vscroll),
4358 (hildon_pannable_draw_hscroll),
4359 (hildon_pannable_area_initial_effect),
4360 (hildon_pannable_area_expose_event),
4361 (hildon_pannable_area_scroll),
4362 (hildon_pannable_area_button_press_cb),
4363 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4364 and vindicator_mode with hscrollbar_policy and
4365 vscrollbar_policy. Replaced hscroll and vscroll with
4366 hscroll_visible and vscroll_visible.
4368 (hildon_pannable_area_refresh): Refactor the function, remove
4369 variables and check the calls to this function, added resize
4370 conditions in case the children change their layout.
4372 (hildon_pannable_area_size_request): Added more detailed
4373 size_request calculation.
4376 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4378 * src/hildon-color-chooser.c
4379 (init_borders): use the correct gtk_border_free instead of g_free, to
4380 avoid a crash when this widget is used (ie: the three color selection
4383 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4385 * src/hildon-check-button.c,
4386 (hildon_check_button_set_active): Fixed problem when setting the
4387 active value, the widget was not redrawn.
4389 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4391 * src/hildon-pannable-area.c,
4392 (hildon_pannable_area_refresh),
4393 (hildon_pannable_area_scroll),
4394 (hildon_pannable_area_motion_notify_cb): Small code style change.
4396 (hildon_pannable_area_class_init): Default initial_hint set to
4397 FALSE, it is not in the specs.
4399 (hildon_pannable_area_initial_effect),
4400 (hildon_pannable_area_expose_event),
4401 (hildon_pannable_area_map),
4402 (hildon_pannable_area_init): Moved the launching point of the
4403 initial effect, it was in map but the sizes where not correct in
4404 that method so we do not know if we have the reproduce it. Now it
4405 is placed in the expose_event method and uses a variable to
4406 reproduce it just once.
4408 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4410 * src/hildon-pannable-area.c,
4411 (hildon_pannable_draw_vscroll),
4412 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4413 position allowed for the scrollbars.
4415 (hildon_pannable_area_size_allocate): Small style change.
4417 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4419 * src/hildon-pannable-area.c,
4420 (hildon_pannable_area_scroll_indicator_fade),
4421 (hildon_pannable_area_button_press_cb),
4422 (hildon_pannable_area_button_release_cb),
4423 (hildon_pannable_area_scroll_cb),
4424 (hildon_pannable_area_expose_event),
4425 (hildon_pannable_area_init): Added the define parameter
4426 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4427 and refactor the fade variable.
4429 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4431 * src/hildon-pannable-area.c,
4432 (hildon_pannable_area_redraw),
4433 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4434 lines, we were reimplemeting the redraw code.
4436 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4438 * src/hildon-pannable-area.c,
4439 (hildon_pannable_area_scroll_cb),
4440 (hildon_pannable_area_realize),
4441 (hildon_pannable_area_class_init): Added scroll_event management
4442 for pannable area, now we can scroll the usual desktop method.
4444 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
4445 initialization of the parameters should depend on idle_id.
4447 (hildon_pannable_area_init),
4448 (hildon_pannable_area_map): Small code style modifications
4450 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4452 * src/hildon-pannable-area.c
4453 (hildon_pannable_area_button_press_cb),
4454 (hildon_pannable_area_motion_notify_cb),
4455 (hildon_pannable_area_button_release_cb),
4456 (hildon_pannable_area_size_allocate),
4457 (hildon_pannable_area_scroll_to): Improved the timeouts
4458 management, we avoid creating them each time.
4460 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4462 * src/hildon-pannable-area.c:
4463 (hildon_pannable_area_refresh),
4464 (hildon_pannable_area_motion_notify_cb),
4465 (hildon_pannable_area_class_init):
4466 * src/hildon-pannable-area.h:
4467 * src/hildon-touch-selector.c
4468 (_create_new_column):
4469 * examples/hildon-pannable-area-example-4.c:
4470 (horizontal_movement),
4471 (vertical_movement),
4473 Replaced the names of enums in the HildonPannableArea:
4474 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
4475 HILDON_MOVEMENT_MODE_*
4476 - HILDON_PANNABLE_AREA_MOV_* ->
4478 - Removed HildonPannableAreaIndicatorMode, now we
4481 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4483 * examples/hildon-pannable-area-touch-grid-example.c
4484 * examples/hildon-pannable-area-touch-list-example.c: Fix
4485 compilation warnings.
4487 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-gtk.c (hildon_gtk_button_new)
4490 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4491 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4492 images overriding the value of the "gtk-button-images" setting.
4494 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4496 * src/hildon-check-button.c (hildon_check_button_new):
4497 Instead of using a custom container, display the label and the
4498 checkbox using the standard GtkButton API.
4500 * examples/hildon-check-button-example.c (main): Don't use
4501 hildon_check_button_set_label() anymore
4503 * src/hildon-check-button.h
4504 * src/hildon-check-button.c
4505 (hildon_check_button_set_label, hildon_check_button_get_label):
4506 Set as deprecated, now we're using gtk_button_{get,set}_label()
4508 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4510 * src/hildon-pannable-area.c,
4511 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4512 GtkTreeview first line we detected it after the inclusion of the
4513 GtkWindowImpl in gtk+. We now check if the window is visible, not
4514 just if the pointer is over the window.
4515 (hildon_pannable_axis_scroll),
4516 (hildon_pannable_area_expose_event): Small style changes.
4518 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-button.c: Update documentation.
4522 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4524 * examples/hildon-button-example.c: Add a switch to show images in
4527 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4529 * doc/hildon-docs.sgml: Some docs reorganization.
4531 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4533 * examples/hildon-pannable-area-touch-list-example.c
4535 * examples/hildon-pannable-area-touch-grid-example.c
4536 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4537 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4538 Fix memory leak when setting the tree model.
4540 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4544 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4546 * doc/hildon.types: Remove duplicated hildon_window_get_type
4547 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4548 documentation comment.
4550 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4552 * doc/Makefile.am: Complete list of private headers.
4554 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4556 * doc/hildon-docs.sgml
4557 * src/hildon-app-menu.c
4558 * src/hildon-bread-crumb.c
4559 * src/hildon-button.c
4561 * src/hildon-program.c
4562 * src/hildon-stackable-window.c
4563 * src/hildon-window.c: Lots of documentation updates.
4565 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4567 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4569 * configure.ac: Require Gtk+ 2.12.9 at least
4571 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4573 * src/hildon-pannable-area.c
4574 (hildon_pannable_area_scroll_indicator_fade),
4575 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4576 to protect the return of this timeout callbacks, avoiding deadlocks.
4578 2008-08-12 Christian Dywan <christian@imendio.com>
4581 * src/hildon-*.h: Ensure a consistent include order,
4582 include <gtk/gtk.h> instead of particular files and
4583 only include the topmost header in the gtk stack. See NB #39857
4585 2008-08-12 Christian Dywan <christian@imendio.com>
4587 * src/hildon-picker-dialog.c
4588 * src/hildon-touch-selector.c: Fix warnings about unused and
4589 uninitialized variables.
4591 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4593 * examples/Makefile.am
4594 * examples/hildon-check-button-example.c: Example of the hildon
4597 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4599 * src/hildon-window.h
4600 * src/hildon-window.c (hildon_window_class_init)
4601 (hildon_window_unset_program): Don't make
4602 hildon_window_unset_program a virtual function anymore.
4604 * src/hildon-stackable-window.c: Update documentation
4606 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4609 * doc/hildon-docs.sgml
4610 * doc/visual_index.xml
4611 * src/hildon-defines.c
4613 * src/hildon-helper.c
4614 * src/hildon-range-editor.c: Lots of documentation fixes.
4616 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4618 * examples/hildon-picker-button-multicolumn-example.c
4619 (create_touch_selector): Fix compilation warning.
4621 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4623 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4624 (hildon_pannable_area_button_release_cb)
4625 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4627 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4629 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4632 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4634 * src/hildon-bread-crumb-trail.h
4635 * src/hildon-date-editor.c
4636 * src/hildon-date-selector.c
4637 * src/hildon-pannable-area.c
4638 * src/hildon-picker-dialog.c
4639 * src/hildon-time-selector.c
4640 * src/hildon-touch-selector-entry.c
4641 * src/hildon-touch-selector.c
4642 * src/hildon-touch-selector.h: Misc documentation fixes
4644 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4646 * examples/hildon-date-editor-example.c (main): Updated date
4649 * examples/hildon-note-example.c (on_confirmation_clicked):
4650 Updated confirmation note example.
4652 * src/hildon-date-editor.c
4653 * src/hildon-note.c: Updated sample programs in documentation.
4656 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4658 * src/hildon-date-button.h:
4659 * src/hildon-picker-button.h:
4660 * src/hildon-time-button.c:
4661 * src/hildon-time-button.h:
4663 Some declarations changes to allow gtk-doc to document the widgets
4666 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4668 * src/hildon-date-button.c: Document the widget.
4669 * src/hildon-time-button.c: Document the widget.
4671 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4673 * src/hildon-picker-button.c: Document the widget.
4674 * src/hildon-touch-selector-entry.c: Document the widget.
4676 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4678 * doc/hildon-docs.sgml
4681 * src/hildon-check-button.h
4682 * src/hildon-check-button.c: New functions to create the Hildon
4686 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4688 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4690 * src/hildon-button.h
4691 * src/hildon-button.c
4692 (hildon_button_add_title_size_group)
4693 (hildon_button_add_value_size_group)
4694 (hildon_button_add_image_size_group)
4695 (hildon_button_add_size_groups): New functions to set size groups
4696 for the button labels and image.
4697 (hildon_button_new_full): Removed
4699 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4701 * src/hildon-time-selector.c
4702 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4703 in order to avoid a crash if gconf is not available
4705 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4707 * src/hildon-button.c (hildon_button_set_arrangement)
4708 (hildon_button_construct_child): Don't construct the button child
4709 before setting the arrangement.
4711 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4713 * src/hildon-program-private.h
4714 * src/hildon-program.c
4715 * src/hildon-program.h
4716 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4717 (hildon_program_peek_window_stack)
4718 (hildon_program_pop_window_stack)
4719 (hildon_program_go_to_root_window): HildonProgram now has a
4720 separate list for stackable windows. Functions are provided to
4721 manage that list with a stack-like API.
4723 * src/hildon-stackable-window.c: Stackable window management is
4724 now much simpler with the new HildonProgram API. Windows no
4725 longer need to be manually added to the program, they're
4726 automatically pushed to the top of the stack when shown.
4728 * examples/hildon-stackable-window-example.c: Updated example to
4729 reflect the API changes.
4731 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4733 * src/hildon-touch-selector.c: Comment out unimplemented
4734 hildon_touch_selector_insert_column() to avoid a compile warning.
4736 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4738 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4739 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4740 (hildon_touch_selector_set_column_selection_mode),
4741 (_hildon_touch_selector_set_model),
4742 (hildon_touch_selector_set_model):
4744 Complete review of HildonTouchSelector documentation.
4746 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4748 * doc/hildon-docs.sgml
4752 * src/hildon-gtk.c: Convenience functions for standard Gtk
4753 widgets, used to easily perform frequent operations.
4755 * src/hildon-button-helpers.h
4756 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4758 * src/hildon-helper.h
4759 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4760 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4762 * src/hildon-button.h
4763 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4765 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4767 * src/hildon-button.c (hildon_button_init)
4768 (hildon_button_set_arrangement, hildon_button_construct_child):
4769 Pack the image and the labels inside the same GtkAlignment so
4770 gtk_button_set_alignment() can be used
4772 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4774 * src/hildon-button.h
4775 * src/hildon-button.c
4776 (hildon_button_init, hildon_button_set_image)
4777 (hildon_button_set_image_position)
4778 (hildon_button_construct_child): New functions to add an image to
4781 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4783 * src/hildon-date-button.c
4784 * src/hildon-picker-button.c
4785 * src/hildon-time-button.c
4786 * src/hildon-button.c:
4787 (hildon_button_class_init): "size-flags" renamed to "size"
4788 (hildon_button_set_title): Hide the title label if set to NULL.
4790 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4792 HildonButtonFlags split into HildonButtonArrangement (to set the
4793 button layout) and HildonSizeType (which can be used for any
4796 * src/hildon-button.h
4797 * src/hildon-button.c
4798 (hildon_button_class_init)
4799 (hildon_button_set_arrangement)
4800 (hildon_button_set_property): New "size-flags"
4801 property. "arrangement-flags" renamed to "arrangement".
4802 (hildon_button_new, hildon_button_new_with_text)
4803 (hildon_button_new_full): Constructors updated to reflect type changes.
4805 * src/hildon-helper.h
4806 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4807 to set the size of a widget.
4811 * src/hildon-button-helpers.c
4812 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4814 * src/hildon-date-button.c
4815 * src/hildon-date-button.h
4816 * src/hildon-picker-button.c
4817 * src/hildon-picker-button.h
4818 * src/hildon-time-button.c
4819 * src/hildon-time-button.h: Updated widgets to reflect
4820 HildonButton API changes.
4822 * examples/hildon-button-example.c
4823 * examples/hildon-date-button-example.c
4824 * examples/hildon-picker-button-example.c
4825 * examples/hildon-picker-button-multicolumn-example.c
4826 * examples/hildon-time-button-example.c
4827 * examples/hildon-touch-selector-entry-example.c
4828 * examples/hildon-touch-selector-example.c: Updated examples to
4829 reflect HildonButton API changes.
4831 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4833 * doc/hildon-docs.sgml:
4835 * examples/Makefile.am:
4836 * examples/hildon-touch-selector-entry-example.c:
4838 * src/hildon-touch-selector-entry.c:
4839 * src/hildon-touch-selector-entry.h:
4842 Moved HildonTouchSelectorEntry from sandbox. Added its
4843 documentation and examples.
4845 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-touch-selector.h:
4848 * examples/hildon-picker-button-multicolumn-example.c:
4849 (hildon_touch_selector_append_text_column): Add a gboolean
4850 parameter to determine if text must be centered in the column.
4852 * src/hildon-date-selector.c: (hildon_date_selector_init):
4853 * src/hildon-time-selector.c: (hildon_time_selector_init):
4854 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4855 (create_touch_selector): Update widgets and example to reflect
4858 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4860 * src/hildon-touch-selector.c:
4861 (hildon_touch_selector_set_active_iter): Set also the cursor in
4864 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4866 * doc/hildon-docs.sgml
4869 * src/hildon-toggle-button.c
4870 * src/hildon-toggle-button.h
4871 * src/hildon.h: Removed HildonToggleButton widget, a derived
4872 class is not necessary for this.
4874 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4876 * src/hildon-pannable-area.c,
4877 (hildon_pannable_area_realize),
4878 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4881 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4883 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4884 "done" button the default widget for the dialog.
4886 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4888 * src/hildon-touch-selector.c:
4889 (hildon_touch_selector_class_init),
4890 (hildon_touch_selector_get_property),
4891 (_hildon_touch_selector_set_model),
4892 (_hildon_touch_selector_has_multiple_selection),
4893 (hildon_touch_selector_has_multiple_selection):
4894 Add a "has-multiple-selection" property with a virtual
4895 has_multiple_selection() method to allow derived classes to
4896 override the default value for it. See the method and property
4897 documentation for details.
4899 * src/hildon-touch-selector.h: Add the new API.
4901 * src/hildon-picker-dialog.c: (requires_done_button): Call
4902 hildon_touch_selector_has_multiple_selection() instead of
4903 determining the need for a button itself.
4905 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4907 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4908 (_hildon_touch_selector_set_model),
4909 (hildon_touch_selector_set_model): Move working code to
4910 _hildon_touch_selector_set_mode(). Call the class method instead.
4912 * src/hildon-touch-selector.h: Add (*set_model) to
4913 HildonTouchSelectorClass.
4915 Make hildon_touch_selector_set_model() a virtual method, so that
4916 derived classes can extend it and do fancy stuff with the model.
4918 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4920 * configure.ac: Set back the tarname in AC_INIT to hildon.
4922 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4926 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4927 instead of libesd (NB#86876). Volume handling is still an open issue.
4929 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4932 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4934 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4935 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4936 derived class to ease placement of an entry widget in
4937 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4938 end, where the selector columns are packed now.
4940 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-picker-button.c: Removed the simple _text() API.
4943 * src/hildon-picker-button.h: Likewise.
4945 * src/hildon-touch-selector.h:
4946 * src/hildon-touch-selector.c:
4947 (hildon_touch_selector_new_text),
4948 (hildon_touch_selector_append_text),
4949 (hildon_touch_selector_prepend_text),
4950 (hildon_touch_selector_insert_text):
4952 Moved the simple _text() API from HildonPickerButton to
4953 HildonTouchPicker, to provide better escalability and not to tie
4954 that API to HildonPickerButton.
4956 * examples/hildon-picker-button-example.c: (main): Example updated.
4958 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4960 * src/hildon-button.c: Updated documentation.
4962 * examples/hildon-button-example.c: Add the posibility to create
4963 the buttons using horizontal layout for title and value.
4965 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4967 * src/hildon-app-menu-private.h
4968 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4969 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4970 GtkSizeGroup for the filters, use the 'homogeneous' property of
4973 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4975 * examples/hildon-button-example.c: Updated example.
4977 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4979 * doc/hildon-docs.sgml:
4982 Update documentation.
4984 * examples/Makefile.am: Update renamed examples.
4986 * examples/hildon-picker-button-multicolumn-example.c:
4987 (create_touch_selector), (main): Update after the rename.
4989 * examples/hildon-touch-picker-example.c: Removed.
4990 * examples/hildon-touch-selector-example.c: (value_changed),
4991 (create_selector), (get_visible_content), (main): Renamed from
4992 hildon-touch-picker-example.c
4994 * src/Makefile.am: Updated renamed files.
4996 * src/hildon-date-button.c: (hildon_date_button_init),
4997 (hildon_date_button_get_date), (hildon_date_button_set_date):
4998 * src/hildon-date-selector.c: (hildon_date_selector_init),
4999 (_custom_print_func), (_update_day_model),
5000 (_manage_selector_change_cb),
5001 (hildon_date_selector_select_current_date),
5002 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5003 * src/hildon-date-selector.h:
5004 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5005 (hildon_picker_button_set_property),
5006 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5007 (hildon_picker_button_init), (hildon_picker_button_new_text),
5008 (hildon_picker_button_append_text),
5009 (hildon_picker_button_prepend_text),
5010 (hildon_picker_button_insert_text),
5011 (hildon_picker_button_set_selector),
5012 (hildon_picker_button_get_selector):
5013 * src/hildon-picker-button.h:
5014 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5015 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5016 (_update_title_on_selector_changed_cb), (requires_done_button),
5017 (_hildon_picker_dialog_set_selector),
5018 (hildon_picker_dialog_set_selector),
5019 (hildon_picker_dialog_get_selector):
5020 * src/hildon-picker-dialog.h:
5021 * src/hildon-time-button.c: (hildon_time_button_init),
5022 (hildon_time_button_get_time), (hildon_time_button_set_time):
5023 * src/hildon-time-selector.c: (hildon_time_selector_init),
5024 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5025 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5026 * src/hildon-time-selector.h:
5029 Massive code updates after the rename.
5031 * src/hildon-touch-picker.c: Removed.
5032 * src/hildon-touch-picker.h: Removed.
5034 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5035 (hildon_touch_selector_init), (hildon_touch_selector_map),
5036 (hildon_touch_selector_remove), (_default_print_func),
5037 (_selection_changed_cb), (_create_new_column),
5038 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5039 (hildon_touch_selector_append_text_column),
5040 (hildon_touch_selector_remove_column),
5041 (hildon_touch_selector_set_column_attributes),
5042 (hildon_touch_selector_insert_column),
5043 (hildon_touch_selector_get_num_columns),
5044 (hildon_touch_selector_get_column_selection_mode),
5045 (hildon_touch_selector_set_column_selection_mode),
5046 (hildon_touch_selector_set_print_func),
5047 (hildon_touch_selector_get_print_func),
5048 (hildon_touch_selector_get_active_iter),
5049 (hildon_touch_selector_set_active_iter),
5050 (hildon_touch_selector_get_selected_rows),
5051 (hildon_touch_selector_get_model),
5052 (hildon_touch_selector_set_model),
5053 (hildon_touch_selector_get_current_text),
5054 (_hildon_touch_selector_center_on_selected_items):
5055 * src/hildon-touch-selector.h: Renamed from
5056 hildon-touch-picker.[ch]
5058 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5059 references, code examples, and related documentation.
5061 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5063 * doc/hildon-docs.sgml
5066 * src/hildon-toggle-button.c
5067 * src/hildon-toggle-button.h
5068 * src/hildon.h: New HildonToggleButton widget.
5070 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5072 * src/hildon-button.c: Add API documentation.
5073 (hildon_button_set_size_groups): Check input parameters
5075 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5077 * src/hildon-pannable-area.c
5078 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5079 effect after reaching the movement thredshold. This way we start
5080 using the distance after passing the thredshold.
5082 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5084 * src/hildon-button.c: (hildon_button_set_property): Use the
5085 appropriate g_value_get_flags() method.
5087 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5089 * doc/hildon-docs.sgml:
5092 Add the touch pickers, picker dialogs, and picker button widgets
5093 to the documentation.
5095 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-button.c: (hildon_button_set_property),
5098 (hildon_button_class_init): Make "arrangement-flags" a proper
5099 G_TYPE_FLAGS derived property.
5101 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5103 * examples/Makefile.am: Add below examples.
5104 * examples/hildon-date-button-example.c:
5105 * examples/hildon-picker-button-example.c:
5106 * examples/hildon-picker-button-multicolumn-example.c:
5107 * examples/hildon-time-button-example.c:
5108 * examples/hildon-touch-picker-example.c:
5110 Add examples for the recently added touch pickers,
5111 picker dialogs, and picker button widgets.
5113 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-button.c: Add some API documentation
5117 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5119 * src/hildon-button.h
5120 * src/hildon-button.c
5122 (hildon_button_new_with_text): New constructor to create a button
5123 with no text at all.
5124 (hildon_button_init, hildon_button_set_arrangement)
5125 (hildon_button_set_title, hildon_button_set_value)
5126 (hildon_button_set_text)
5127 (hildon_button_construct_child): Hide the value when it's not used
5128 so the rest of the text is properly aligned.
5129 Allow creating buttons with arbitrary widgets inside (not just
5130 title/value labels).
5132 * examples/hildon-button-example.c (vertical_buttons_window)
5133 (horizontal_buttons_window): Update example to use new API.
5135 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5137 * src/Makefile.am: Added HildonTimeButton.
5138 * src/hildon-time-button.c: Added missing LGPL header.
5139 * src/hildon-time-button.h: Added missing LGPL header.
5140 * src/hildon.h: Add hildon-time-button.h
5142 Copied HildonTimeButton from sandbox to trunk. Future work on this
5143 widget must take place in trunk.
5145 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5147 * src/Makefile.am: Added HildonDateButton.
5148 * src/hildon-date-button.c: Update includes.
5149 * src/hildon.h: Add hildon-date-button.h
5151 Copied HildonDateButton from sandbox to trunk. Future work on this
5152 widget must take place in trunk.
5154 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5156 * src/Makefile.am: Added HildonPickerButton.
5157 * src/hildon-picker-button.h: Update includes.
5158 * src/hildon.h: Add hildon-picker-button.h
5160 Copied HildonPickerButton from sandbox to trunk. Future work on
5161 this widget must take place in trunk.
5163 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5165 * src/Makefile.am: Added HildonPickerDialog.
5166 * src/hildon-picker-dialog.c: Update includes.
5167 * src/hildon.h: Add hildon-picker-dialog.h
5169 Copied HildonPickerDialog from sandbox to trunk. Future work
5170 on this widget must take place in trunk.
5172 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5174 * src/Makefile.am: Added HildonTimeSelector.
5175 * src/hildon.h: Add hildon-time-selector.h
5177 Copied HildonTimeSelector widget from sandbox to trunk. Future
5178 work on this widget must happen in trunk.
5180 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5182 * src/Makefile.am: Added HildonDateSelector.
5183 * src/hildon.h: Add hildon-date-selector.h
5185 Copied HildonDateSelector widget from sandbox to trunk. Future
5186 work on this widget must happen in trunk.
5188 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5190 * src/Makefile.am: Added HildonTouchPicker.
5191 * src/hildon-touch-picker.c: Update includes.
5192 * src/hildon.h: Add hildon-touch-picker.h
5194 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5195 on this widget must happen in trunk.
5197 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5199 * src/hildon-pannable-area.c:
5200 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5202 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5204 * examples/hildon-app-menu-example.c (main): Let the window
5207 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5209 * src/hildon-pannable-area.c
5210 (hildon_pannable_area_class_init): Set the min value of the
5211 overshoot properties to zero, which points out that not
5212 overshooting allowed.
5214 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5216 Modified the procedure to get the widget at a point inside the
5217 pannable area when using the movement type signals. Now the user
5218 has to call a function to get the child, that way we just
5219 calculate the child in case the user really want to use it and not
5222 * src/hildon-marshalers.list: Modified the marshallers, now we do
5223 not have the widget as a parameter.
5225 * src/hildon-pannable-area.c
5226 (hildon_pannable_area_motion_notify_cb),
5227 (hildon_pannable_area_class_init),
5228 (hildon_pannable_get_child_widget_at): Removed the widget
5229 parameter from the signal callback. We have also refactored the
5230 emission of the signals.
5232 * src/hildon-pannable-area.h: Added a new method to the API to
5233 calculate a widget at a point inside the pannable area,
5234 hildon_pannable_get_child_widget_at.
5236 * examples/hildon-pannable-area-example-4.c
5237 (horizontal_movement): Modified the example to use the new API,
5238 added condition to control which widget is under the event. This
5239 way we can avoid scrolling laterally over other widgets.
5241 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5243 * src/hildon-pannable-area.c
5244 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5245 modes, we stop getting the pointer events due to returning the
5246 callback without properly calling the get pointer again. Fixed
5247 also an error using the hscroll and vscroll.
5249 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5251 * src/hildon-app-menu-private.h
5252 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5253 (hildon_app_menu_button_release, hildon_app_menu_init)
5254 (hildon_app_menu_class_init): Don't hide the menu on button
5255 release if the user didn't press outside first.
5257 * src/hildon-window.h
5258 * src/hildon-window.c (hildon_window_toggle_menu)
5259 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5260 hildon_window_toggle_menu a virtual function for the stackable
5261 window to override it.
5263 * src/hildon-stackable-window.h
5264 * src/hildon-stackable-window-private.h
5265 * src/hildon-stackable-window.c
5266 (hildon_stackable_window_realize)
5267 (hildon_stackable_window_finalize)
5268 (hildon_stackable_window_class_init)
5269 (hildon_stackable_window_init)
5270 (hildon_stackable_window_set_main_menu): New function to set the
5271 app menu of a HildonStackableWindow.
5273 * examples/hildon-app-menu-example.c: Remove the button to show
5274 the app menu, now it'll be shown when clicking on the title bar
5277 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5279 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5280 set the widget name if the arrangement flags do not specify
5283 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5285 * src/hildon-button.c: (hildon_button_set_property),
5286 (hildon_button_class_init), (hildon_button_new_full),
5287 (hildon_button_set_arrangement): Added "arrangement-flags"
5290 Make the HildonButtonFlags a construction-only property, to allow
5291 subclasses to set them properly.
5293 2008-07-21 Tim Janik <timj@imendio.com>
5295 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5296 insertion position after backspace, so additional digits are appended,
5299 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5301 * src/hildon-pannable-area.c,
5302 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5303 TODO list, it was complete and removed the g_debug and g_print
5306 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5308 Added the movement modes to the hildon-pannable-area, with this
5309 modes the developers can control in which directions the widget
5310 can scroll. They can also connect to signals in order to do
5311 something when that happens, allowing applications scroll. There
5312 is an example uploaded showing how to use it.
5314 * examples/Makefile.am:
5315 * examples/hildon-pannable-area-example-4.c: Added this example of
5316 an application using the modes.
5318 * src/hildon-marshalers.list: Added a new marshaller for the new
5321 * src/hildon-pannable-area.h: Added new enumerations and flags in
5322 order to control the movement modes and the new signals to warn
5323 about the movements in the area.
5325 * src/hildon-pannable-area.c:
5326 (hildon_pannable_axis_scroll),
5327 (hildon_pannable_area_scroll),
5328 (hildon_pannable_area_motion_notify_cb),
5329 (hildon_pannable_area_get_property),
5330 (hildon_pannable_area_set_property),
5331 (hildon_pannable_area_map),
5332 (hildon_pannable_area_class_init),
5333 (hildon_pannable_area_init),
5334 (hildon_pannable_area_jump_to): Added the modes to control the
5335 movement in the widget. We have added properties to control it,
5336 signals to warn about the movements and refactored some code.
5338 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5340 Changes required in order to allow vfast_factor set to zero to
5343 * src/hildon-pannable-area.c:
5344 (hildon_pannable_area_button_press_cb): Changed the condition, it
5345 is required for not allowing click when vfast_factor is zero.
5346 (hildon_pannable_area_timeout): Initialized velocity variables
5347 when we stop moving, it was less than 1 but not zero and we need
5348 to check zero in some situations.
5349 (hildon_pannable_area_class_init): Changed the default value of
5350 the speed factor, now the button_press is just sent in case the
5351 speed is 2 per cent of the max speed.
5352 (hildon_pannable_area_init): Initialization with 0.
5354 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5356 * src/hildon-pannable-area.c,
5357 (hildon_pannable_area_get_topmost): replaced
5358 gdk_window_get_children with gdk_window_peek_children, this way we
5359 do not have to free the list because it is not a copy.
5361 (hildon_pannable_axis_scroll),
5362 (hildon_pannable_area_scroll),
5363 (hildon_pannable_area_timeout),
5364 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5365 two parameters that were only used inside the
5366 hildon_pannable_area_scroll function.
5368 * examples/hildon-pannable-area-example.c,
5369 (get_sawtooth_label): Fixed small memory leak.
5371 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5373 More checks for the case where the overshoot is bigger than the
5376 * src/hildon-pannable-area.c:
5377 (hildon_pannable_draw_vscroll),
5378 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5379 to draw the slider of the scrollbar under the other scrollbar.
5380 (hildon_pannable_area_expose_event): added new checks to control
5381 the drawing of the overshooting area rectangle, in case it is too
5382 big for the area of the widget.
5383 (hildon_pannable_area_size_allocate): add more checks to avoid
5384 setting a position to the child widget outside the area.
5386 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5388 * src/hildon-pannable-area.c
5389 (hildon_pannable_area_size_allocate): Added conditions to control
5390 when overshooting is bigger than the allocated space for the
5391 children, this avoids negative allocations.
5393 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5395 * doc/hildon-docs.sgml
5397 * examples/Makefile.am
5398 * examples/hildon-button-example.c
5400 * src/hildon-button.c
5401 * src/hildon-button.h
5402 * src/hildon.h: Initial version of the new HildonButton widget,
5405 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5407 * src/hildon-pannable-area.c:
5408 (hildon_pannable_area_button_press_cb),
5409 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5410 (hildon_pannable_area_motion_notify_cb),
5411 (hildon_pannable_area_button_release_cb),
5412 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5413 (hildon_pannable_area_jump_to_child):
5415 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5417 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5419 * examples/Makefile.am
5420 * examples/hildon-pannable-area-touch-grid-example.c
5421 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5422 the Hildon Touch List and Hildon Touch Grid using the
5423 HildonPannableArea widget.
5425 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5427 * src/hildon-pannable-area.c,
5428 (hildon_pannable_area_button_press_cb),
5429 (hildon_pannable_area_refresh),
5430 (hildon_pannable_area_scroll),
5431 (hildon_pannable_area_motion_notify_cb),
5432 (hildon_pannable_area_button_release_cb),
5433 (hildon_pannable_area_expose_event),
5434 (hildon_pannable_area_add),
5435 (hildon_pannable_area_remove),
5436 (hildon_pannable_area_realize),
5437 (hildon_pannable_area_size_allocate),
5438 (hildon_pannable_area_class_init),
5439 (hildon_pannable_area_init),
5440 (hildon_pannable_area_scroll_to_child),
5441 (hildon_pannable_area_jump_to_child): Fixed the problem of
5442 removing the child from the GtkBin, we have rearranged the widget
5443 hierarchy, now there is no GtkAlignment which was not doing
5444 anything interesting but breaking some of the assumptions of
5445 GtkContainer. Now developers if they want to add a GtkAlignment
5446 they could, but it is not inside the area.
5448 We had to review the whole allocation/expose process, now it is
5449 improved and we save at least three signals which would be saving
5450 some time when rendering the widget. The allocation of the
5451 scrollbars is now made in the allocate method as usual.
5453 We have also added some conditions in order to control when there
5454 is no child of the pannable area. Maybe we will need more work
5457 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5459 * src/hildon-pannable-area.c,
5460 (hildon_pannable_area_dispose): Released the fade-out timeout when
5461 disposing the widget.
5463 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5465 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
5466 zero, we are going to use that property in order to deactivate the
5468 (hildon_pannable_axis_scroll),
5469 (hildon_pannable_area_size_allocate): Added conditions to control
5470 when overshoot_max is zero. Moved the gtk_adjustment_set_value
5471 call, now it is called in all situations and we can remove calls
5472 in the allocate method.
5473 (hildon_pannable_area_map): Control the situation when
5474 overshoot_max is zero, we do not need the timeout.
5475 (hildon_pannable_area_class_init): Added documentation in order to
5476 point out that setting zero to overshoot_max means deactivate
5479 NOTE: removed trailing whitespaces from my previous comments of
5482 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5484 * src/hildon-pannable-area.c
5485 (hildon_pannable_area_get_property),
5486 (hildon_pannable_area_set_property),
5487 (hildon_pannable_area_map),
5488 (hildon_pannable_area_class_init),
5489 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5490 to cause the widget give a hint about its panning abilities upon
5493 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5495 * src/hildon-pannable-area.c: Several documentation improvements.
5497 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5499 * src/hildon-program.c
5500 * src/hildon-stackable-window.c: Update documentation.
5502 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5504 * src/hildon-stackable-window.c (get_previous_window_if_last):
5505 Renamed get_last_window()
5506 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5507 (hildon_stackable_window_unset_program):
5509 (get_previous_window_if_last):
5510 Detect if the window hasn't been added to a HildonProgram.
5512 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5514 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5516 * src/hildon-pannable-area.c
5517 (hildon_pannable_area_button_press_cb),
5518 (hildon_pannable_axis_scroll),
5519 (hildon_pannable_area_scroll),
5520 (hildon_pannable_area_timeout),
5521 (hildon_pannable_calculate_vel_factor),
5522 (hildon_pannable_area_get_property),
5523 (hildon_pannable_area_set_property),
5524 (hildon_pannable_area_class_init),
5525 (hildon_pannable_area_init),
5526 (hildon_pannable_area_scroll_to),
5527 (hildon_pannable_area_jump_to),
5528 (hildon_pannable_area_scroll_to_child),
5529 (hildon_pannable_area_jump_to_child):
5530 * src/hildon-pannable-area.h: Added the new API functions:
5531 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5532 hildon_pannable_area_scroll_to_child,
5533 hildon_pannable_area_jump_to_child
5536 * examples/Makefile.am
5537 * examples/hildon-pannable-area-example-2.c
5538 * examples/hildon-pannable-area-example-3.c: Added these two new
5539 examples in order to test and show how the new APIs work.
5541 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5543 * examples/hildon-stackable-window-example.c (new_window):
5544 * src/Makefile.am (noinst_HEADERS):
5545 * src/hildon-program.c (hildon_program_go_to_root_window):
5546 * src/hildon-program.h:
5547 * src/hildon-stackable-window-private.h:
5548 * src/hildon-stackable-window.c:
5549 * src/hildon-stackable-window.h:
5550 Create hildon-stackable-window-private.h
5551 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5553 * examples/hildon-app-menu-example.c (create_menu):
5554 * examples/hildon-hvolumebar-insensitive-example.c (main):
5555 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5556 * examples/hildon-toolbar-seekbar-example.c (main):
5557 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5558 * src/hildon-banner.c (hildon_banner_set_property):
5559 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5560 Fix compilation warnings
5562 * src/hildon-window.c:
5565 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5567 * src/hildon-stackable-window.c
5568 (hildon_stackable_window_unset_program):
5569 Calculate correctly whether to show the previous window if the
5570 last one is removed from the stack.
5571 (hildon_stackable_window_go_to_root_window):
5572 Send delete events starting from the topmost window.
5573 Stop if one of the windows is not destroyed.
5575 (hildon_stackable_window_delete_event)
5576 (hildon_stackable_window_class_init):
5577 Ignore the delete event if the window is not the topmost one.
5579 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5581 * src/hildon-pannable-area.c
5582 (hildon_pannable_area_expose_event): Fixed a problem when
5583 selecting the background color of the scrollbars.
5585 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5587 * examples/hildon-stackable-window-example.c
5588 * src/hildon-stackable-window.c
5589 * src/hildon-stackable-window.h
5590 hildon_stackable_window_go_home() renamed to
5591 hildon_stackable_window_go_to_root_window()
5592 Send delete events to windows rather than closing them with
5593 gtk_widget_destroy()
5595 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5597 * src/hildon-pannable-area.c
5598 (hildon_pannable_area_button_release_cb): Fix overshooting in
5601 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5603 * src/hildon-pannable-area.c
5604 (hildon_pannable_area_init): Initially show the scroll indicators.
5605 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5607 Add initial effect showing the widget is pannable.
5609 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5611 * src/hildon-pannable-area.c
5612 (hildon_pannable_area_class_init)
5613 (hildon_pannable_area_set_property)
5614 (hildon_pannable_area_get_property)
5615 (hildon_pannable_area_button_press_cb):
5616 New 'velocity_fast_factor' property to decide which velocity is
5619 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5621 * src/hildon-pannable-area.c
5622 (hildon_pannable_draw_hscroll)
5623 (hildon_pannable_draw_vscroll):
5624 Use float variables to calculate the size of the scrollbars to
5625 avoid error propagation and resizing during scrolling.
5627 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5629 * src/hildon-pannable-area.c
5630 (hildon_pannable_draw_vscroll)
5631 (hildon_pannable_draw_hscroll):
5632 Define a minimum size for the scroll bars
5634 * src/hildon-stackable-window.c
5635 (hildon_stackable_window_go_home): Fix compilation warning
5636 (get_last_window): Minor optimizations
5637 (hildon_stackable_window_class_init): Fix initialization of
5640 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5642 * src/hildon-stackable-window.c: Fixed typos in doc
5644 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5646 * src/hildon-pannable-area.c
5647 (hildon_pannable_area_scroll):
5648 Calculate here whether we need to scroll instead of using the booleans
5649 that tell us whether to /draw/ the scrolling bars.
5651 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5653 * src/hildon-app-menu.h
5655 * src/hildon-app-menu.c
5656 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5657 multiple filter groups related code and API. Now we support only
5659 * examples/hildon-app-menu-example.c:
5661 Update to reflect API changes.
5663 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5665 * src/hildon-stackable-window.c
5666 (hildon_stackable_window_class_init):
5667 Add hildon_stackable_window_realize.
5668 (hildon_stackable_window_realize):
5669 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5670 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5671 to apply theming and behavior specific to HildonStackableWindow
5674 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5676 * src/hildon-note.c (hildon_note_button_release):
5677 Close information notes also when tapping on them
5679 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5681 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5682 ELASTICITY, refactor and review, fix some issues with drawing
5685 * src/hildon-pannable-area.c:
5686 (hildon_pannable_area_button_press_cb): removed the conditions to
5687 avoid clicks when overshooting. It is not required
5689 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5690 define. Refatored and reviewed the code, now we do not need to
5691 manage velocity in motion_notify.
5693 (hildon_pannable_area_motion_notify_cb): We have moved the code
5694 that controls the area_scroll to the axis_scroll function and get
5695 rid of duplicated code.
5697 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5699 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5701 (hildon_pannable_draw_vscroll),
5702 (hildon_pannable_draw_hscroll): Fixed the problems with the
5703 scrollbar drawing, now we do not use two surfaces, it is easier
5704 and saves resources.
5706 (hildon_pannable_area_get_property): Style modification.
5708 (hildon_pannable_area_class_init): Changed some default values.
5710 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5712 * src/hildon-stackable-window.c: Fix some typos in the
5715 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5717 * src/hildon-dialog.c:
5718 Change indentation style
5721 (hildon_note_button_release):
5722 Use root coordinates to check if the release event happened
5725 * src/hildon-app-menu.c
5726 (hildon_app_menu_button_release):
5727 Remove unnecessary check
5729 * examples/hildon-app-menu-example.c
5731 Add cast to fix warning
5733 * src/hildon-app-menu.c
5734 (hildon_app_menu_class_init):
5735 New inner-border style property.
5736 Set all default spacings to 16
5737 (hildon_app_menu_init):
5738 Use vertical-spacing to set the space between filter buttons and
5739 regular menu buttons.
5740 Set the default container border using the inner-border value.
5742 * examples/hildon-app-menu-example.c
5744 Don't set the menu border explicitly, now we have the inner-border
5745 style property for that.
5747 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5749 * src/hildon-app-menu.c (hildon_app_menu_init):
5750 Make the window modal
5752 * src/hildon-note.c (hildon_note_map)
5753 * src/hildon-app-menu.c (hildon_app_menu_map):
5754 Destroy the grab window if we're unable to grab the pointer
5756 * src/hildon-app-menu-private.h
5757 * src/hildon-app-menu.c
5758 (hildon_app_menu_init, hildon_app_menu_finalize)
5759 (hildon_app_menu_map, hildon_app_menu_unmap)
5760 (hildon_app_menu_button_release)
5761 (grab_transfer_window_get):
5762 Bring back the grab window
5763 (hildon_app_menu_realize):
5764 Decorate the window, set WM hint for Matchbox
5766 * src/hildon-note.c (hildon_note_realize):
5767 * src/hildon-banner.c (hildon_banner_realize):
5768 Add WM hints for Matchbox
5770 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5772 * src/hildon-app-menu-private.h
5773 * src/hildon-app-menu.c
5774 (hildon_app_menu_init, hildon_app_menu_finalize)
5775 (hildon_app_menu_map, hildon_app_menu_unmap)
5776 (hildon_app_menu_button_release):
5777 Remove the grab window, it's not needed anymore
5779 * src/hildon-program.c
5780 Fixed typo in documentation
5782 * src/hildon-app-menu.h
5783 * src/hildon-app-menu.c
5784 * examples/hildon-app-menu-example.c
5785 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5787 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5790 Added new transfer_window and close_if_pressed_outside private
5792 (hildon_note_rebuild):
5793 Don't add a cancel button to the information note. It will be
5794 closed when tapping outside
5795 Remove the comment about the OK button in the documentation
5796 (hildon_note_realize):
5797 Set the notification type hint
5798 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5799 Grab/ungrab pointer and keyboard if the note has to be closed when
5801 (hildon_note_button_release):
5802 Close the note when tapping outside (if applicable)
5804 * src/hildon-app-menu.c
5805 Grab/ungrab pointer and keyboard on map/unmap
5806 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5807 Close the menu on button release, not button press
5809 * src/hildon-banner.c
5810 (hildon_banner_set_property)
5811 (hildon_banner_check_position):
5812 Make the banner use the full width of the screen
5813 (hildon_banner_show_information)
5814 (hildon_banner_show_information_with_markup):
5815 Don't display an icon by default
5817 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5819 Added fading scrollbars and adapted all the overshooting code to
5820 horizontal scrolling. We have also fixed bugs with overshooting
5821 and current fading implementation.
5823 * src/hildon-pannable-area.c
5824 (hildon_pannable_area_scroll_indicator_fade): Time out function
5825 used to change the transparency of the scrollbars.
5827 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5828 control and fixed a problem with fading, we now remove the fade
5829 timeout before adding a new one.
5831 (hildon_pannable_axis_scroll):
5832 (hildon_pannable_area_scroll):
5833 (hildon_pannable_area_timeout): Added this functions so we can use
5834 the scroll code both for vertical and horizontal.
5836 (hildon_pannable_area_motion_notify_cb):
5837 (hildon_pannable_area_button_release_cb): Added the horizontal
5838 scrolling control, fixed a problem with the overshooting timeout.
5840 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5841 painting of the scrolls.
5843 (hildon_pannable_draw_vscroll):
5844 (hildon_pannable_draw_hscroll):
5845 (hildon_pannable_area_expose_event):
5846 Draw both scrollbars and rectangles in the overshooting area.
5848 (hildon_pannable_area_get_property):
5849 (hildon_pannable_area_set_property):
5850 Modified the overshoot property to overshoot_max
5852 (hildon_pannable_area_map):
5853 Replaced the comments symbols.
5855 (hildon_pannable_area_size_allocate):
5856 (hildon_pannable_area_class_init):
5857 (hildon_pannable_area_init): Added horizontal scroll, fading
5858 effect properties, fixed a problem when overshooting in the bottom
5861 * examples/hildon-pannable-area-example.c:
5862 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5863 looks better in the example.
5865 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5867 * src/hildon-window.c
5868 * src/hildon-window.h
5869 (hildon_window_class_init)
5870 (hildon_window_unset_program)
5871 (hildon_window_unset_program_real):
5872 Make unset_program a virtual function
5874 * src/hildon-stackable-window.c
5875 * src/hildon-stackable-window.h
5876 Added hildon_stackable_window_go_home()
5878 * examples/Makefile.am
5879 * examples/hildon-stackable-window-example.c
5880 HildonStackableWindow example
5882 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5884 * hildon-pannable-area.c: Added the overshoot property and removed
5885 the OVERSHOOT define. Fixed an indent style error.
5886 (hildon_pannable_area_motion_notify_cb):
5887 (hildon_pannable_area_get_property):
5888 (hildon_pannable_area_set_property): Add overshoot property.
5890 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5893 (hildon_pannable_area_class_init): Installed the new property.
5895 * hildon-pannable-area-example.c: Added a sawtooth function, this
5896 way it is easier to check the movement in the pannable.
5897 (get_sawtooth_label): Added this function.
5898 (main): Now we get the labels from the new get_sawtooth_label
5901 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5903 * src/hildon-app-menu.h
5904 * src/hildon-app-menu.c
5905 Renamed API variables for consistency
5907 (hildon_app_menu_popup): Use also the default window size to
5908 decide where to place the menu
5910 (hildon_app_menu_init, hildon_app_menu_class_init): New
5911 external-border style property
5913 2008-05-26 Michael Natterer <mitch@imendio.com>
5915 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5916 widget_class->tap_and_hold_setup signal slot doesn't exist any
5917 longer, stop overriding it.
5919 (hildon_time_editor_init): g_signal_connect() to the
5920 tap-and-hold-setup signal instead.
5922 (hildon_time_editor_entry_keypress): add cast to fix warning.
5924 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5926 * doc/hildon-docs.sgml
5928 * examples/Makefile.am
5929 * examples/hildon-app-menu-example.c
5931 * src/hildon-app-menu-private.h
5932 * src/hildon-app-menu.c
5933 * src/hildon-app-menu.h
5935 New HildonAppMenu widget
5937 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5939 Rearranged the inheritance of the pannable area, now it inherits
5940 from GtkBin. This will allow us to control the event_window and
5941 the allocation process of the widget, required for some effects.
5943 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5944 GtkBin structures. * src/hildon-pannable-area.c: Added the
5945 event_window variable.
5946 (hildon_pannable_area_button_press_cb):
5947 (hildon_pannable_area_button_release_cb):
5948 (hildon_pannable_area_motion_notify_cb):
5949 Changed the signature of the method, now we override the event
5950 callback instead of connecting to the signal.
5952 (hildon_pannable_area_realize):
5953 (hildon_pannable_area_unrealize):
5954 (hildon_pannable_area_map):
5955 (hildon_pannable_area_unmap):
5956 (hildon_pannable_area_size_allocate):
5957 Added functions to control the widget construction. We add a
5958 INPUT_ONLY window and we put it over the widgets inside the
5959 container, this event_window handles the events.
5961 (hildon_pannable_area_class_init):
5962 Replaced the signal connections with overrides of the event
5965 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5967 Bouncing effect added when touching the borders, you can change
5968 the elasticity of the border changing the ELASTICITY define.
5970 * src/hildon-pannable-area.c: Added ELASTICITY define.
5971 (hildon_pannable_area_timeout): Added inverse velocity when
5972 touching the border of the child widget, that causes a bounce.
5974 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5976 Improved performance, we now do not go to the X server in order to
5977 get the list of window children. Apparently the effect is the
5978 same, we have to be careful and check if this breaks something in
5981 * src/hildon-pannable-area.c:
5982 (get_ordered_children): Removed this function.
5983 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5984 the children windows function with gdk_window_get_children.
5986 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5988 * src/hildon-pannable-area.c:
5989 (hildon_pannable_area_dispose): Fixed a crash when closing the
5990 window and kinetics is activated.
5992 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5994 * src/hildon-pannable-area.h
5995 * src/hildon-pannable-area.c
5996 Changed indentation style to meet the one used in Hildon
5998 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6000 Reviewed the interaction of the AUTO mode, now we use the time
6001 attribute of the events and calculate the velocity in the motion,
6002 doing a gimp like calculation. The velocity is calculated in each
6003 motion event using the last velocity and the current one, the
6004 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6006 * src/hildon-pannable-area.c: Replaced the time based algorithm
6008 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6009 timeout for the AUTO mode when we are still moving the cursor. We
6010 added also the velocity calculation in this function.
6011 (hildon_pannable_area_button_release_cb): launch the timeout in
6012 case we are in AUTO mode. There are still some constants here that
6013 come from the old implementation that should be reviewed and
6016 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6018 * doc/hildon-docs.sgml
6021 * src/hildon-stackable-window.c
6022 * src/hildon-stackable-window.h
6024 New HildonStackableWindow widget
6026 * examples/hildon-dialog-example.c
6027 * examples/hildon-pannable-area-example.c
6030 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-dialog.c
6033 (hildon_dialog_new_with_buttons): New constructor.
6035 * examples/hildon-dialog-example.c
6036 (main): Update the example to use the new
6037 hildon_dialog_new_with_buttons().
6039 * examples/hildon-pannable-area-example.c
6040 (main): Update example.
6042 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6044 * doc/hildon-docs.sgml
6046 Added HildonPannableArea to the documentation.
6048 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6050 * doc/visual_index.xml
6051 Fix reference to HildonLoginDialog in documentation
6053 * doc/hildon-docs.sgml
6055 * examples/Makefile.am
6056 * examples/hildon-dialog-example.c
6058 * src/hildon-dialog.c
6059 * src/hildon-dialog.h
6061 New HildonDialog widget.
6063 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6065 * src/hildon-pannable-area.c
6066 Merge latest changes (r4318, r4342) from libmokoui trunk
6068 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6070 * examples/Makefile.am
6071 * examples/hildon-pannable-area-example.c
6073 * src/hildon-pannable-area.c
6074 * src/hildon-pannable-area.h
6076 New HildonPannableArea widget.
6078 2008-04-15 18:05:19 <timj@imendio.com>
6080 * src/hildon-banner.c: revert the recent change, that introduced
6081 gtk_window_present() calls. this reopens:
6082 Bug 78481 - [freetest] information banners are hidden under browser menu
6083 But resolves another variant of:
6084 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6086 2008-04-15 13:21:13 <timj@imendio.com>
6088 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6089 recreated its layout, spotted by Kris. this fixes all remaining
6090 artefacts and stability issues with the banner code. in particular:
6091 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6093 2008-04-14 16:52:59 <timj@imendio.com>
6095 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6096 operating on unrealized widgets, fixes:
6097 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6099 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6101 2008-04-09 Kristian Rietveld <kris@imendio.com>
6103 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6104 makes banner disappear.
6105 Fixes: NB#79182: info banner flickering with certain message lengts.
6107 * src/hildon-banner.c (hildon_banner_constructor),
6108 (hildon_banner_init), (hildon_banner_set_text),
6109 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6110 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6111 FALSE, reset size requests of label and banner,
6112 (force_to_wrap_truncated): when the text is too wide, always enforce
6113 the maximum possible width instead of recalculating it from the
6114 layout; enforce the maximum banner height of 3 lines,
6115 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6116 nicer wrapping and no truncated chars if space gets tight.
6118 * src/hildon-banner-private.h: add has_been_wrapped and
6119 has_been_truncated fields.
6121 2008-04-07 Sven Herzberg <sven@imendio.com>
6123 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6124 local values in hildon_date_editor_size_allocate
6126 * src/hildon-date-editor.c: moved the real allocation code into the
6129 2008-04-07 Sven Herzberg <sven@imendio.com>
6131 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6132 local values in hildon_date_editor_size_allocate
6134 * src/hildon-date-editor.c: merged the two if() branches together
6136 2008-04-07 Sven Herzberg <sven@imendio.com>
6138 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6139 local values in hildon_date_editor_size_allocate
6141 * src/hildon-date-editor.c: changed the arguments of the if()
6144 2008-04-07 Sven Herzberg <sven@imendio.com>
6146 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6147 local values in hildon_date_editor_size_allocate
6149 * src/hildon-date-editor.c: split the calculation of the allocation
6150 from the real allocation
6152 2008-03-27 Michael Natterer <mitch@imendio.com>
6154 Fixes: NB#81696: The passcode is not overwritten even after
6157 * src/hildon-code-dialog.c
6158 (hildon_code_dialog_button_clicked)
6159 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6160 because that doesn't overwrite selected text. Instead, emit the
6161 "commit" signal on the entry's im_context so the entry's normal
6162 insert logic is triggered. Set the cursor to the end of the entry
6163 after each insert operation so that we *only* insert in the middle
6164 of the text if something was selected.
6166 2008-03-27 Michael Natterer <mitch@imendio.com>
6168 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6169 selector cannot be opened
6171 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6172 when the popup color selector is created. Please connect to this
6173 signal in order to set the dialog's help ID.
6175 2008-03-25 Sven Herzberg <sven@imendio.com>
6177 Fixes: MB#1212: Hide info banners (infoprints) on click
6179 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6180 extracted the close event simulation into an extra function
6181 (hildon_banner_button_press_event): simulate a close event and destroy
6182 the widget if the event wasn't handled
6183 (hildon_banner_class_init): added the button_press_event handler
6184 (hildon_banner_init): added button-press events to the widget
6186 2008-03-25 Sven Herzberg <sven@imendio.com>
6188 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6189 Patch from: Mohammad Anwari <mdamt@maemo.org>
6191 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6192 instead of the right in RTL mode
6193 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6194 breadcrumb button list in RTL mode
6195 * src/hildon-caption.c: mirror the appearance of the caption widget in
6197 * src/hildon-date-editor.c: mirror appearance of the date editor in
6199 * src/hildon-time-editor.c: mirror appearance of the time editor in
6201 * src/hildon-window.c: fix the position of the popup in RTL mode
6203 2008-03-25 Sven Herzberg <sven@imendio.com>
6205 Amendment to the fix of NB#22072. Fix compilation.
6207 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6209 2008-03-19 Sven Herzberg <sven@imendio.com>
6211 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6214 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6215 timeout id properly when the timeout will disappear this leaves no
6216 artifacts around in the destroy(); there will only be the timeout
6217 created by hildon_banner_ensure_timeout() and adding a new timeout
6218 will also work if the timeout gets removed because the timeout_handler
6221 2008-03-19 Michael Natterer <mitch@imendio.com>
6223 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6225 * src/hildon-volumebar.c
6226 * src/hildon-vvolumebar.c
6227 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6228 the widget becomes focussable at all.
6230 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6231 set the focus to wither the mute button or the volumebar.
6233 Remove own "can-focus" property and instead listen to
6234 notify::can-focus in order to update the widget's state.
6236 Implement GtkWidget::focus() and make sure we can also *leave* the
6237 widget, not only enter it, depending on volumebar orientation and
6238 requested focus direction.
6240 Clean up set_mute() to cooperate nicely with all the above.
6242 2008-03-04 Michael Natterer <mitch@imendio.com>
6244 Fixes: NB#78481: information banners are hidden under browser menu
6246 * src/hildon-banner.c: call gtk_window_present() on the banners so
6247 they are risen if they are already visible.
6249 2008-03-03 Sven Herzberg <sven@imendio.com>
6251 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6253 * examples/hildon-window-menu-example.c: (main): extended the window
6254 menu example to serve as a testcase for automatically added
6255 accelerator groups, too
6256 * src/hildon-window.c: (hildon_window_add_accel_group),
6257 (hildon_window_set_menu): added patch by Tommi Komulainen
6259 2008-03-03 Sven Herzberg <sven@imendio.com>
6261 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6263 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6264 knowledge about the border allocators used within GTK+
6266 2008-02-26 Sven Herzberg <sven@imendio.com>
6268 Fixes: MB#2981: Build with asserts broken
6270 * src/hildon-date-editor.c,
6271 * src/hildon-number-editor.c,
6272 * src/hildon-time-editor.c,
6273 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6274 the proper GType instance check
6276 2008-02-25 Sven Herzberg <sven@imendio.com>
6278 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6280 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6281 * examples/hildon-window-menu-example.c: (main): explicitly show
6283 * src/hildon-window.c:
6284 (hildon_window_set_main_menu): moved most of the code from set_menu()
6285 to this place; skipped the call to gtk_widget_show_all(); also didn't
6286 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6287 (hildon_window_set_menu): removed most of the code, just keep the
6288 questionable gtk_widget_show_all()
6289 * src/hildon-window.h: added the new function and deprecate the old
6292 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6298 * debian/changelog: Updating.
6300 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6303 * pkgconfig/Makefile.am:
6304 * pkgconfig/hildon.pc.in:
6307 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6308 use newly created API_MAJOR_VERSION.
6310 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6316 * debian/changelog: Updating.
6318 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6320 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6322 Add outer_border style property, we use it but don't define it (!).
6326 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6328 * examples/hildon-bread-crumb-trail-example.c (main):
6332 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6334 Fix logic for the bread crumb trail node removal.
6338 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6344 * debian/changelog: Updating.
6346 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6348 Patch by Alejandro to get/set passwords dialogs accesibility.
6350 * hildon-1/src/hildon-get-password-dialog.c:
6351 * hildon-1/src/hildon-set-password-dialog.c:
6352 Set atk_set_name to the passwd entries in order to allow
6353 accessibility by name on this entries.
6355 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6360 * debian/control: Updating gtk dep.
6362 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6364 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6365 USE_MAEMO_GTK is enabled.
6367 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6369 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6370 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6372 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6378 * debian/changelog: Updating.
6380 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6382 * examples/Makefile.am:
6383 * examples/hildon-logical-color-example.c:
6384 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6385 applied + adding a test case. Fixes: NB#71660.
6387 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6389 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6390 to be visible, fixes warning on map for windows without toolbars.
6392 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6394 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6395 2.11.0, add a check for that besides the MAEMO_GTK check.
6397 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6403 * debian/changelog: Updating.
6405 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6407 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6408 visibility. Fixes: NB#70842 and MB#615.
6410 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6412 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6413 set the separator as no-show-all so it doesn't unintentionally appear when
6414 someone does a show_all.
6416 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6418 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6419 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6420 toplevel item. Fixes: NB#62031
6422 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6424 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6425 fix the name of the function in the docs.
6427 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6433 * debian/changelog: Updating.
6435 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6437 * examples/hildon-banner-long-example.c: Adding a test-case for long
6440 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
6442 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6444 * src/hildon-color-chooser-dialog.c:
6445 * src/hildon-color-chooser.c:
6446 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
6447 memory leaks in font selector and color selector. Fixes: NB#70499 and
6450 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
6452 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
6454 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6456 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
6457 little bit bigger. Fixes: #NB63694.
6459 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6465 * debian/changelog: Updating.
6467 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6470 * doc/hildon-docs.sgml:
6471 * doc/images/bread-crumb-trail.png:
6472 * doc/images/calendar-popup.png:
6473 * doc/images/caption.png:
6474 * doc/images/code-dialog.png:
6475 * doc/images/color-button.png:
6476 * doc/images/color-chooser-dialog.png:
6477 * doc/images/color-chooser.png:
6478 * doc/images/controlbar.png:
6479 * doc/images/date-editor.png:
6480 * doc/images/font-selection-dialog.png:
6481 * doc/images/get-password-dialog.png:
6482 * doc/images/hvolumebar.png:
6483 * doc/images/login-dialog.png:
6484 * doc/images/note.png:
6485 * doc/images/number-editor.png:
6486 * doc/images/range-editor.png:
6487 * doc/images/seekbar.png:
6488 * doc/images/set-password-dialog.png:
6489 * doc/images/sort-dialog.png:
6490 * doc/images/time-editor.png:
6491 * doc/images/time-picker.png:
6492 * doc/images/vvolumebar.png:
6493 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6494 Adding the bread-crumb-trial and helpers to the documentation.
6496 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6498 * examples/hildon-find-toolbar-example.c:
6499 * src/hildon-find-toolbar.c:
6500 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6501 actually continue firing the other handlers if connected. Adding a new
6503 hildon_find_toolbar_get_last_index that gets the index of the most
6504 recently added (last) item. Fixes: NB#52301.
6506 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6508 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6509 behaviour. Fixes: NB#68610.
6511 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6513 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6516 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6518 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6519 when realizing the banner. Should make the infonbanner effect a bit more
6522 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6524 * src/hildon-volumebar.c:
6525 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6526 hildon_volumebar_set_range_insensitive_message and
6527 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6529 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6531 * src/hildon-window.c: Fixing the border freeing on destroy.
6533 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6535 * src/hildon-code-dialog-private.h:
6536 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6537 kw keyboard support in HildonCodeDialog.
6539 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6545 * debian/changelog: Updating.
6547 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6549 * src/hildon-date-editor.c:
6550 * src/hildon-number-editor.c:
6551 * src/hildon-private.c:
6552 * src/hildon-private.h:
6553 * src/hildon-time-editor.c:
6554 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6555 handling in subclassed composite widgets. Fixes: NB#66628.
6557 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6559 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6560 from destroy_ callback as it introduces problems in async dbus signal
6561 handlers. Fixes NB#66673.
6563 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6565 * examples/hildon-hvolumebar-example.c:
6566 * src/hildon-volumebar.c: Improving the focus handling in the
6567 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6568 set_property accessor so that "mute" property can be actually set. I'm
6569 scared that nobody noticed it's totally broken.
6571 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6573 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6576 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6578 * src/hildon-calendar.c:
6579 * src/hildon-number-editor.c:
6580 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6581 matches the spec of 6 chars per second. Fixes: NB#60489.
6583 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6585 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6586 gtk_style_lookup_color sometime returns FALSE even though color was
6587 found and values were filled properly. Weird. Removing the warning for the
6590 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6592 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6593 expand vertically. Adding some extra space to the find toolbar buttons to
6594 make them thumbable. Fixes NB#66060.
6596 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6598 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6599 popup with "Ok" and "Cancel". Fixes NB#59299.
6601 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6603 * src/hildon-calendar.c: Process all window updates before executing next
6604 timeout. Fixes: NB#54146.
6606 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6612 * debian/changelog: Updating.
6614 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6616 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6617 the client event and ignore it, since we use the delete event to close
6620 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6622 * src/hildon-helper.c: Remove the bogus warning about color not being
6623 found. Fixes NB#58352.
6625 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6627 * examples/Makefile.am:
6628 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6629 HildonSeekbar widget inside a toolbar.
6631 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6633 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6634 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6635 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6636 don't want to be closed by non-temporary windows on map.
6638 Also use G_DEFINE_TYPE instead of manually typed code.
6640 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6647 * debian/rules: Updating.
6649 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6651 * examples/Makefile.am:
6652 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6653 bug NB#61128. Strangely it works.
6655 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6657 * src/hildon-date-editor.c: When the date editor entry has been changed
6658 but the numbers of characters < max, turn off the skip validation flag.
6659 Prevents a situation when we enter first a valid year and later re-write
6660 it with an invalid one. Fixes NB#60154.
6662 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6664 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6665 code dialog. Fixes NB#64355.
6667 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6669 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6670 switching the page. Fixes NB#49374.
6672 * examples/Makefile.am:
6673 * examples/hildon-wizard-dialog-example.c: Adding an example for
6674 HildonWizardDialog that shows how to handle manual sensitivity setting on
6677 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6681 * src/hildon-version.h.in:
6682 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6684 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6686 * src/hildon-volumebar.c: Updating the docs.
6688 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6694 * debian/changelog: Updating.
6696 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6698 * src/hildon-find-toolbar.c:
6699 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6700 selected item: hildon_find_toolbar_set_active,
6701 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6702 hildon_find_toolbar_get_active_iter . They correspond to respective
6703 GtkComboBox functions.
6705 * examples/Makefile.am:
6706 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6709 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6711 * examples/Makefile.am:
6712 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6715 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6716 when font size > 32 and we pack a focusable widget inside. Actually using
6717 the default response would work too, but since we don't show default
6718 response state in any way (no theming) it would not be visible to the
6719 user. Fixes NB#63430.
6721 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6723 * src/hildon-date-editor.c: Adding the missing variable setter in the
6724 set_property handler. Fixes NB#54182.
6726 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6728 * src/hildon-window.h: Changing the long key press time from 1500ms to
6729 800ms as requested in NB#63700. I have a bad feeling about this, let's
6730 see... Fixes NB#63700.
6732 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6734 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6735 hildon_time_picker_map, hildon_time_picker_realize,
6736 hildon_time_picker_style_set): Split the contents of map to more
6737 appropriate functions; set window decorations on realize and update
6738 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6740 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6745 * debian/changelog: Updating.
6747 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6749 * src/Makefile.am: fixed installation of the header files
6751 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6757 * debian/changelog: Updating.
6759 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6761 * configure.ac: Removing some remaining of --enable-xan.
6763 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6765 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6766 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6768 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6769 2.10.12-osso6 because the move-focus signal needs to be available in
6772 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6774 * examples/Makefile.am:
6775 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6776 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6777 fine. Prolly NB#61128 is fixed now.
6779 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6781 * src/hildon-volumebar.c:
6782 * src/hildon-volumebar.h: Adding the
6783 hildon_volumebar_set_range_insensitive_message and
6784 hildon_volumebar_set_range_insensitive_messagef functions to set
6785 insensitive message on the slider of the volumebar. Fixes NB#61129.
6787 * examples/Makefile.am:
6788 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6789 test the new insensitive messsage functionality on HildonVolumebar.
6791 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6793 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6796 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6798 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6799 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6800 button on after clearing the trail.
6802 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6804 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6806 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6808 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6809 by splitting the installed headers in generated and non-generated groups. Use
6810 only the non-generated headers to create the hildon-enum-types.h file.
6812 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6814 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6816 * src/hildon-window.c: Hide the window before performing the destroy.
6817 Should make the app closing a little tiny bit more snappy.
6819 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6821 * src/hildon-seekbar.c: add gtkrange.h header
6822 * src/hildon-caption.c: remove unused variable
6824 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6826 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6829 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6835 * debian/changelog: Updating.
6837 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6839 * src/hildon-window.c (hildon_window_window_state_event,
6840 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6841 escape timeout on focus-out-event rather than notify::is-topmost; the
6842 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6844 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6846 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6847 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6849 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6851 * src/hildon-window: actually, you need to use the macro always, there's
6852 no private pointer in the instance structure. We should have cleaned this up
6853 when we had the chance...
6855 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6857 * src/hildon-window.c: do not get the private date from HildonWindow before
6858 it passes the g_return_if_fail check. Once it's passed the test, there's no
6859 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6860 if you are only going to access the data once. Whitespace cleanups.
6862 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6864 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6865 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6867 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6873 * debian/changelog: Updating.
6875 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6877 * src/hildon-window.c: When destroying the window, remove (if exists) the
6878 escape timeout handler. Fixes #NB59276.
6880 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6882 * src/hildon-banner.c: When realizing the widget, set the window
6883 transiency. Setting the transiency in the gobject constructor is not
6884 good, as the widget is not realized at that point. Fixes: #NB56624.
6886 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6888 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6889 Add padding for future expansions.
6891 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6893 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6894 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6895 will fake an activation on the previous to the last item of the trail, so
6896 the effect can be overrided by the developer as usual.
6897 Also change the callback for the back button to do the same thing, so its
6898 effect can be overrided too. Fixes: NB#58982
6900 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6902 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6903 HildonCaption. Fixes NB#52379.
6905 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6907 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6908 the internal state of the trail after the user has had the chance of executing
6909 his handler for the signal. Specifically, it may happen that the activated button
6910 is removed and the user still lets the default handler run. This would segfault
6913 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6915 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6916 scrollbar to the preview dialog. Fixes NB#54147.
6918 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6920 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6921 max/min year properties can be altered, so the client can modify it
6922 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6924 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6926 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6927 hildonlike by default. Fixing a problem with disappearing arrows when
6928 scrolling through months and years. Fixes NB#54127.
6930 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6932 * examples/hildon-date-editor-example.c: Adding error callback to the date
6935 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6941 * configure.ac: Updating.
6943 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6945 * configure.ac: Adding a special '--enable-xan' configure option that
6946 turns off the -Werror compilation setting. Usefull for development.
6948 * src/hildon-calendar.c:
6949 * src/hildon-number-editor.c:
6950 * src/hildon-time-picker.c: Adding the 5* multiplier to
6953 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6955 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6956 instead of g_object_ref + gtk_object_sink.
6958 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6964 * debian/changelog: Updating.
6966 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6968 * src/hildon-color-chooser-dialog.c:
6969 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6970 straight from Tommi labs.
6972 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6974 * examples/hildon-finger-example.c: Correcting the header file path.
6976 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6977 the changed signal. Fixes a small memory leak.
6979 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6983 * src/hildon-banner.c: Importing several usefull fixes from the
6984 ubuntu-mobile branch.
6986 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6988 * examples/Makefile.am:
6989 * examples/hildon-finger-example.c: Adding a finger-checking code
6992 * src/hildon-font-selection-dialog.c: Do not allocate the color
6993 structure using the g_new. Fixes NB#54061.
6995 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6997 * src/hildon-helper.c: Correcting tabs in file.
6999 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7001 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7002 control the visibility of the children.
7004 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7006 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7012 * debian/changelog: Updating.
7014 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7016 * src/hildon-bread-crumb-trail.c:
7017 (hildon_bread_crumb_trail_size_allocate):
7019 Make the back button always a square.
7021 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7023 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7024 from the .c file as it's a private file.
7026 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7028 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7029 uses slightly bigger height.
7031 * src/hildon-font-selection-dialog.c: Adding some checks before
7032 freeing memory in the font selection dialog.
7034 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7036 * src/hildon-font-selection-dialog.c: Adding a small check when
7039 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7040 buttons sensitivity on page switching.
7042 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7044 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7045 internal details of adding a bread crumb to the trail.
7047 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7053 * debian/changelog: Updating.
7055 * src/hildon-bread-crumb-trail.h:
7056 * src/hildon-bread-crumb.h: Changing the API guard to
7057 HILDON_ENABLE_UNSTABLE_API.
7059 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7067 * src/hildon-helper.h: Updating.
7069 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7077 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7081 * src/hildon-helper.h: Small fix to make the package actually compile.
7083 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7085 * src/hildon-bread-crumb-trail.h:
7086 * src/hildon-bread-crumb.h:
7088 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7089 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7091 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7093 * examples/hildon-bread-crumb-trail-example.c:
7095 * src/hildon-bread-crumb-trail.c:
7096 * src/hildon-bread-crumb-trail.h:
7097 * src/hildon-bread-crumb.c:
7098 * src/hildon-bread-crumb.h:
7099 * src/hildon-marshalers.list:
7100 * src/hildon-bread-crumb-widget.c:
7101 * src/hildon-bread-crumb-widget.h:
7103 Slight change in the widget design. The bread crumb trail API is
7104 unchanged, but HildonBreadCrumb is now an interface. A *private*
7105 implementation, hildon-bread-crumb-widget, is provided and used
7106 internally by the trail for the push_text/push_icon functions.
7108 The generic push API is still available, so anyone can implement
7109 and use its own bread crumb widget.
7111 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7113 * debian/rules: Fixing the shlibs.
7115 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7117 * src/hildon-banner.c: Fixing a problem with timed banners having
7118 their parrent destroyed before they are.
7120 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7122 * src/hildon-bread-crumb.c:
7123 * src/hildon-bread-crumb.h:
7125 Make the get_natural_size function a vfunc.
7127 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7129 * src/hildon-bread-crumb.c:
7130 * src/hildon-bread-crumb-trail.c:
7134 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7141 * debian/changelog: Updating for release.
7143 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7145 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7146 don't leak the pango layout.
7148 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7151 * examples/hildon-bread-crumb-trail-example.c:
7155 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7157 * debian/changelog: Removing the bug-fixed entries that were actually
7158 resolved as WONTFIX.
7160 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7163 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7165 * src/hildon-bread-crumb-trail.c:
7166 * src/hildon-bread-crumb-trail.h:
7167 * src/hildon-bread-crumb.c:
7168 * src/hildon-bread-crumb.h:
7172 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7174 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7175 until it's passed the type check.
7177 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7179 * examples/hildon-bread-crumb-trail-example.c
7183 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7185 * examples/Makefile.am
7186 * examples/hildon-bread-crumb-trail-example.c
7188 * src/hildon-bread-crumb-trail.c
7189 * src/hildon-bread-crumb-trail.h
7190 * src/hildon-bread-crumb.c
7191 * src/hildon-bread-crumb.h
7193 New HildonBreadCrumbTrail widget.
7195 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7197 * src/hildon-range-editor.c (hildon_range_editor_init),
7198 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7199 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7200 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7201 hildon_time_editor_class_init, hildon_time_editor_init),
7202 src/hildon-get-password-dialog.c (invalid_input,
7203 hildon_get_password_set_property, hildon_get_password_get_property,
7204 create_contents, hildon_get_password_dialog_set_max_characters),
7205 src/hildon-set-password-dialog.c (create_contents),
7206 src/hildon-date-editor.c (hildon_date_editor_init),
7207 src/hildon-login-dialog.c (hildon_login_dialog_init),
7208 src/hildon-number-editor.c (hildon_number_editor_init),
7209 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7210 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7211 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7212 configure option and adding the respective checks in the code.
7213 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7214 hildon_calendar_drag_data_received): fixed some build warnings.
7216 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7218 * debian/changelog: A 1.0.0 release notes.