1 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4 Update button's value if the selector has an item active.
6 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
7 'value' with the selector)
9 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
11 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
12 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
13 (hildon_picker_button_class_init): Plug the finalize method.
14 (hildon_picker_button_set_selector): If there's a previously set
15 selector, unref'it before setting a new one.
17 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
20 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
22 * src/hildon-touch-selector-entry.c:
23 (hildon_touch_selector_entry_changed): Check if there is no text
24 selected before setting the entry text.
27 2008-09-15 Alberto Garcia <agarcia@igalia.com>
29 * src/hildon-touch-selector.h
30 * src/hildon-touch-selector.c
31 (hildon_touch_selector_get_active)
32 (hildon_touch_selector_set_active): New methods to set/get the
33 index of the selected item.
35 * src/hildon-picker-button.h
36 * src/hildon-picker-button.c
37 (hildon_picker_button_get_active)
38 (hildon_picker_button_set_active): New methods to set/get the
39 index of the selected item.
41 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
43 * configure.ac: post-release version bump.
45 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
49 * configure.ac: Pre-release version bump.
50 * debian/changelog: Updates.
51 * debian/control: Add myself as maintainer and depend on l10n
54 2008-09-15 Alberto Garcia <agarcia@igalia.com>
57 (hildon_window_set_main_menu)
58 * src/hildon-stackable-window.c
59 (hildon_stackable_window_set_main_menu):
60 Updated documentation.
62 2008-09-15 Alberto Garcia <agarcia@igalia.com>
64 * src/hildon-date-selector.c (hildon_date_selector_finalize):
65 Don't free selector->priv manually.
68 2008-09-12 Alejandro G. Castro <alex@igalia.com>
71 (hildon_gtk_window_set_progress_indicator):
72 * src/hildon-gtk.h: Added the new API
73 hildon_gtk_window_set_progress_indicator, it changes the state of
74 the window progress hint.
76 2008-09-12 Alberto Garcia <agarcia@igalia.com>
79 * src/hildon-stackable-window.c: Minor documentation updates.
81 2008-09-12 Alberto Garcia <agarcia@igalia.com>
83 * src/hildon-stackable-window.c: Updated documentation.
85 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
87 * src/hildon-defines.h: Update margins definitions
88 to the Fremantle sizes.
91 2008-09-12 Alejandro G. Castro <alex@igalia.com>
93 * src/hildon-touch-selector.c,
94 (_hildon_touch_selector_set_model): Cleaning the code after
95 review, removed g_print and #if 0 from the code.
97 2008-09-11 Alberto Garcia <agarcia@igalia.com>
99 * src/hildon-edit-toolbar.c: Update documentation.
101 2008-09-11 Alberto Garcia <agarcia@igalia.com>
103 * src/hildon-check-button.h
104 * src/hildon-check-button.c
105 (hildon_check_button_set_label, hildon_check_button_get_label)
106 * examples/hildon-check-button-example.c
108 Removed deprecated methods.
110 2008-09-11 Alberto Garcia <agarcia@igalia.com>
112 * src/hildon-text-view.c:
113 Add sample code to the documentation.
116 * src/hildon-text-view.h:
117 Minor cosmetic changes.
119 * src/hildon-entry.c:
120 Add sample code to the documentation.
121 (hildon_entry_init, hildon_entry_refresh_contents):
122 Don't allow NULL values in the placeholder.
124 2008-09-10 Alberto Garcia <agarcia@igalia.com>
126 * doc/hildon-docs.sgml
128 * examples/Makefile.am
129 * examples/hildon-text-view-example.c
131 * src/hildon-text-view.c
132 * src/hildon-text-view.h
134 New HildonTextView widget, with example.
136 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
138 * po/POTFILES.in: Add missing files with translatable strings.
139 Partially fixes NB#88287.
141 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
143 * examples/hildon-pannable-area-example-2.c: (main): No need to
144 set the cellrenderer height inside hildon touch lists, the theme does
147 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
149 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
150 they are integrated in the theme.
152 2008-09-09 Alberto Garcia <agarcia@igalia.com>
154 * examples/hildon-entry-example.c: Update the example adding
155 widgets to modify the text and the placeholder of the HildonEntry.
157 * src/hildon-entry.c: Show the placeholder everytime the widget
158 is empty and loses the focus.
160 2008-09-09 Alejandro G. Castro <alex@igalia.com>
162 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
164 * src/hildon-pannable-area.c,
165 (hildon_pannable_area_size_request): Fixed bug in height
166 requisition, avoid increasing size and add border twice.
168 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
170 * configure.ac: postrelease version bump.
172 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
176 * configure.ac: Prerelease version bump.
177 * debian/changelog: update.
178 * debian/rules: make -dbg package contain useful debugging symbols.
180 2008-09-08 Alberto Garcia <agarcia@igalia.com>
182 * src/hildon-dialog.h
183 * src/hildon-dialog.c
184 (hildon_dialog_add_button, hildon_dialog_add_buttons):
185 New methods to add buttons with finger size.
186 (hildon_dialog_new_with_buttons):
187 Create buttons with finger size.
189 * examples/hildon-dialog-example.c (main): Use HildonDialog
190 methods to add buttons.
192 2008-09-08 Alberto Garcia <agarcia@igalia.com>
194 * src/hildon-entry.c: Updated HildonButton documentation.
196 2008-09-08 Alberto Garcia <agarcia@igalia.com>
198 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
199 button value label with (FALSE, FALSE) to prevent NB#88126 from
202 2008-09-08 Alejandro G. Castro <alex@igalia.com>
204 * examples/hildon-pannable-area-example.c,
205 (main): Removed examples panning a vbox inside a pannable
206 area. Check bug NB#87965
208 2008-09-08 Alejandro G. Castro <alex@igalia.com>
210 Patch contributed by Kris Rietveld (kris@imendio.com)
212 * src/hildon-pannable-area.c,
213 (hildon_pannable_area_get_topmost): replaced the get_geometry with
214 get_size and get_position, this saves an X server roundtrip.
216 2008-09-05 Alberto Garcia <agarcia@igalia.com>
218 * doc/hildon-docs.sgml
220 * examples/Makefile.am
221 * examples/hildon-entry-example.c
226 New HildonEntry widget, with example.
228 2008-09-05 Alberto Garcia <agarcia@igalia.com>
230 * src/hildon-button.c (hildon_button_construct_child): Pack the
231 image with expand == fill == FALSE. This is a workaround for a bug
234 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
236 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
237 labels for the text column, to make it more look more dynamic.
239 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
241 * src/hildon-time-selector.c
242 Define gettext auxiliar macro N_
243 (_create_minutes_model)
244 (_create_hours_model)
245 (_create_ampm_model): use of strftime in order to fill the model
246 * src/hildon-date-selector.c
247 (hildon_date_selector_finalize):
248 (_locales_init): remove the logic related to get the name of the months
249 using nl_langinfo, as it is not required anymore
252 (_create_month_model)
253 (_update_day_model): use of strftime in order to fill the model properly
256 2008-09-04 Alberto Garcia <agarcia@igalia.com>
258 * src/hildon-button.h
259 * src/hildon-button.c (hildon_button_get_image): New method to
262 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
264 * src/hildon-touch-selector.c:
265 (hildon_touch_selector_remove_column): Remove from the correct parent
266 and also remove the list element and free it.
269 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
271 * src/hildon-time-selector.c
272 (_create_hours_model): change the range on 12h ampm format in order to use
273 a 12-11 range instead of previous 01-12 range
274 (hildon_time_selector_set_time): change the way to select the current time
275 on 12h ampm format, due the change on the range
276 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
279 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
281 * src/hildon-touch-selector.c
282 (hildon_date_touch_selector_get_selected): fix the selection mode check,
283 in order to allow use this function on multiple row selection mode if
284 the column is different that the first one
287 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
289 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
290 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
292 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
294 * src/hildon-date-selector.h: clean some comments, now on the .c
295 * src/hildon-date-selector.c
296 (hildon_date_selector_select_month): first implementation
297 (hildon_date_selector_select_day): added documentation, reimplemented
298 using hildon_date_selector_select_current_date to avoid repeat code
301 2008-09-02 Alejandro G. Castro <alex@igalia.com>
303 Reviewed interaction logic based on device experiences, refactored
306 * src/hildon-pannable-area.c,
307 (hildon_pannable_area_class_init): Updated default vmax speed.
308 (hildon_pannable_area_calculate_velocity): Added this function, it
309 avoids duplicate valocity calculation. Adjusted calculation to
310 avoid problems with zero dist events.
312 (hildon_pannable_area_motion_notify_cb): Now we use the
313 calculate_velocity function.
315 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
317 * src/hildon-date-selector.c
318 (hildon_date_selector_select_current_date): fix the day range check
319 as it failed using the last day of the current month
322 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
324 * src/hildon-touch-selector.c
325 (hildon_touch_selector_get_num_columns): added a parameter validation
328 2008-08-29 Alberto Garcia <agarcia@igalia.com>
330 * examples/Makefile.am
331 * examples/hildon-edit-toolbar-example.c: Example of the
332 HildonEditToolbar widget.
334 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
336 * configure.ac: postrelease version bump.
338 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
342 * configure.ac: prerelease version bump.
343 * debian/changelog: update.
345 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
347 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
348 renderer to display stock icons in the touch list. Also, set the sizes
349 to the recommended in the style guide.
351 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
352 * src/hildon-touch-selector.h
353 (hildon_touch_selector_set_active_iter): renamed, now is
354 hildon_touch_selector_select_iter
355 (hildon_touch_selector_get_active_iter): renamed, now is
356 hildon_touch_selector_get_selected
357 (hildon_touch_selector_unselect_iter): added
358 * src/hildon-touch-selector.c
359 Update after API modification (methods renamed)
360 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
361 order to avoid problems selecting multiple elements on the column
362 (hildon_touch_selector_unselect_iter): added the implementation
363 * src/hildon-time-selector.c
364 * src/hildon-date-selector.c
365 * src/hildon-touch-selector-entry.c
366 Update methods calls after hildon-touch-selector.h API modification (methods
369 2008-08-29 Alberto Garcia <agarcia@igalia.com>
371 * src/hildon-stackable-window.c
372 (hildon_stackable_window_finalize): Call the parent class's finalize.
374 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
376 * examples/hildon-touch-selector-example.c: (create_selector): Use
377 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
380 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
382 * examples/hildon-touch-selector-example.c: (create_selector): Do not
383 set a cell background color, to respect theming.
385 2008-08-28 Alberto Garcia <agarcia@igalia.com>
387 * doc/hildon-docs.sgml
390 * src/hildon-edit-toolbar.c
391 * src/hildon-edit-toolbar.h
392 * src/hildon.h: New HildonEditToolbar widget.
394 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
396 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
399 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
400 * src/hildon-touch-selector.c
401 (_create_new_column): use g_object_set instead of two g_object_set_property
403 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
404 * src/hildon-touch-selector.c
405 (_create_new_column): use of hildon_gtk_tree_view_new to create
406 the treeview, instead of use directly g_object_new
407 (_create_new_column): update the property name "vindicator-mode" for the
408 new one "vscrollbar-policy"
409 * examples/hildon-date-button-example.c
410 * examples/hildon-picker-button-multicolumn-example.c
411 * examples/hildon-touch-selector-entry-example.c
412 * examples/hildon-touch-selector-example.c
413 * examples/hildon-time-button-example.c
414 * examples/hildon-picker-button-example.c
415 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
416 to all the treeviews inside a pannable area.
418 2008-08-27 Alberto Garcia <agarcia@igalia.com>
420 * src/hildon-button.h
421 * src/hildon-button.c (hildon_button_init)
422 (hildon_button_set_arrangement, hildon_button_set_alignment)
423 (hildon_button_set_title_alignment)
424 (hildon_button_set_value_alignment)
425 (hildon_button_set_image_alignment)
426 (hildon_button_construct_child): New methods to set the alignment
427 of the individual components of the button (title, value,
428 image). Also, new method to alter the xscale and yscale properties
429 of the GtkAlignment inside the button, so more complex layouts can
432 2008-08-27 Alberto Garcia <agarcia@igalia.com>
434 * src/hildon-button.c (hildon_button_style_set)
435 (hildon_button_class_init, hildon_button_set_arrangement)
436 (hildon_button_construct_child): Apply style properties
437 correctly. Use the 'image-spacing' style property too.
439 2008-08-26 Alberto Garcia <agarcia@igalia.com>
441 * src/hildon-app-menu.c (hildon_app_menu_style_set)
442 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
445 2008-08-26 Alejandro G. Castro <alex@igalia.com>
447 * src/hildon-pannable-area.c,
448 (hildon_pannable_area_size_request): Fixed problem with
449 pannable-area size_request.
451 2008-08-26 Alejandro G. Castro <alex@igalia.com>
453 Added management for the grab-focus to a child widget, like a
454 range, we need to fade out the scrollbar when releasing.
456 * src/hildon-pannable-area.c,
457 (hildon_pannable_area_init): Connected the grab-focus signal to
459 (hildon_pannable_area_grab_notify): Added this function in order
460 to manage the situation when the grab-focus ends. We have to
461 fade-out the scrollbar.
463 2008-08-25 Alberto Garcia <agarcia@igalia.com>
465 * src/hildon-app-menu.c: Minor documentation update.
467 2008-08-25 Alberto Garcia <agarcia@igalia.com>
469 * src/hildon-app-menu.c
470 * examples/hildon-app-menu-example.c (create_menu): Update
471 examples and documentation to explain how to connect callbacks.
473 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
475 * examples/hildon-button-example.c
476 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
477 hildon_stackable_window_new instead of gtk_window_new
479 2008-08-22 Alejandro G. Castro <alex@igalia.com>
481 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
482 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
483 (hildon_pannable_area_set_property),
484 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
485 (hildon_pannable_area_unrealize),
486 (hildon_pannable_area_size_request),
487 (hildon_pannable_area_size_allocate),
488 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
489 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
490 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
491 (hildon_pannable_area_initial_effect),
492 (hildon_pannable_area_redraw),
493 (hildon_pannable_area_scroll_indicator_fade),
494 (hildon_pannable_area_expose_event),
495 (hildon_pannable_area_get_topmost), (synth_crossing),
496 (hildon_pannable_area_button_press_cb),
497 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
498 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
499 (hildon_pannable_area_motion_notify_cb),
500 (hildon_pannable_area_button_release_cb),
501 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
502 (hildon_pannable_area_remove),
503 (hildon_pannable_calculate_vel_factor): Widget refactorization,
504 chage the code layout to a more GtkWidget like. Review the use of
507 2008-08-21 Alejandro G. Castro <alex@igalia.com>
509 * examples/hildon-pannable-area-example-4.c,
510 (main): Modified the name of the hindicator_mode to
513 * src/hildon-pannable-area.c,
514 (hildon_pannable_area_class_init),
515 (hildon_pannable_area_motion_notify_cb),
516 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
517 we have reduced the amount of signals and managed reviewed its
518 rationale. Changed the default decelerate value.
520 (hildon_pannable_area_add),
521 (hildon_pannable_area_redraw): Refactored functions.
523 (hildon_pannable_area_init),
524 (hildon_pannable_area_get_property),
525 (hildon_pannable_area_set_property):
526 (hildon_pannable_draw_vscroll),
527 (hildon_pannable_draw_hscroll),
528 (hildon_pannable_area_initial_effect),
529 (hildon_pannable_area_expose_event),
530 (hildon_pannable_area_scroll),
531 (hildon_pannable_area_button_press_cb),
532 (hildon_pannable_area_realize): Replaced the names hindicator_mode
533 and vindicator_mode with hscrollbar_policy and
534 vscrollbar_policy. Replaced hscroll and vscroll with
535 hscroll_visible and vscroll_visible.
537 (hildon_pannable_area_refresh): Refactor the function, remove
538 variables and check the calls to this function, added resize
539 conditions in case the children change their layout.
541 (hildon_pannable_area_size_request): Added more detailed
542 size_request calculation.
545 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
547 * src/hildon-color-chooser.c
548 (init_borders): use the correct gtk_border_free instead of g_free, to
549 avoid a crash when this widget is used (ie: the three color selection
552 2008-08-20 Alejandro G. Castro <alex@igalia.com>
554 * src/hildon-check-button.c,
555 (hildon_check_button_set_active): Fixed problem when setting the
556 active value, the widget was not redrawn.
558 2008-08-20 Alejandro G. Castro <alex@igalia.com>
560 * src/hildon-pannable-area.c,
561 (hildon_pannable_area_refresh),
562 (hildon_pannable_area_scroll),
563 (hildon_pannable_area_motion_notify_cb): Small code style change.
565 (hildon_pannable_area_class_init): Default initial_hint set to
566 FALSE, it is not in the specs.
568 (hildon_pannable_area_initial_effect),
569 (hildon_pannable_area_expose_event),
570 (hildon_pannable_area_map),
571 (hildon_pannable_area_init): Moved the launching point of the
572 initial effect, it was in map but the sizes where not correct in
573 that method so we do not know if we have the reproduce it. Now it
574 is placed in the expose_event method and uses a variable to
575 reproduce it just once.
577 2008-08-19 Alejandro G. Castro <alex@igalia.com>
579 * src/hildon-pannable-area.c,
580 (hildon_pannable_draw_vscroll),
581 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
582 position allowed for the scrollbars.
584 (hildon_pannable_area_size_allocate): Small style change.
586 2008-08-19 Alejandro G. Castro <alex@igalia.com>
588 * src/hildon-pannable-area.c,
589 (hildon_pannable_area_scroll_indicator_fade),
590 (hildon_pannable_area_button_press_cb),
591 (hildon_pannable_area_button_release_cb),
592 (hildon_pannable_area_scroll_cb),
593 (hildon_pannable_area_expose_event),
594 (hildon_pannable_area_init): Added the define parameter
595 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
596 and refactor the fade variable.
598 2008-08-19 Alejandro G. Castro <alex@igalia.com>
600 * src/hildon-pannable-area.c,
601 (hildon_pannable_area_redraw),
602 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
603 lines, we were reimplemeting the redraw code.
605 2008-08-18 Alejandro G. Castro <alex@igalia.com>
607 * src/hildon-pannable-area.c,
608 (hildon_pannable_area_scroll_cb),
609 (hildon_pannable_area_realize),
610 (hildon_pannable_area_class_init): Added scroll_event management
611 for pannable area, now we can scroll the usual desktop method.
613 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
614 initialization of the parameters should depend on idle_id.
616 (hildon_pannable_area_init),
617 (hildon_pannable_area_map): Small code style modifications
619 2008-08-18 Alejandro G. Castro <alex@igalia.com>
621 * src/hildon-pannable-area.c
622 (hildon_pannable_area_button_press_cb),
623 (hildon_pannable_area_motion_notify_cb),
624 (hildon_pannable_area_button_release_cb),
625 (hildon_pannable_area_size_allocate),
626 (hildon_pannable_area_scroll_to): Improved the timeouts
627 management, we avoid creating them each time.
629 2008-08-14 Alejandro G. Castro <alex@igalia.com>
631 * src/hildon-pannable-area.c:
632 (hildon_pannable_area_refresh),
633 (hildon_pannable_area_motion_notify_cb),
634 (hildon_pannable_area_class_init):
635 * src/hildon-pannable-area.h:
636 * src/hildon-touch-selector.c
637 (_create_new_column):
638 * examples/hildon-pannable-area-example-4.c:
639 (horizontal_movement),
642 Replaced the names of enums in the HildonPannableArea:
643 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
644 HILDON_MOVEMENT_MODE_*
645 - HILDON_PANNABLE_AREA_MOV_* ->
647 - Removed HildonPannableAreaIndicatorMode, now we
650 2008-08-14 Alberto Garcia <agarcia@igalia.com>
652 * examples/hildon-pannable-area-touch-grid-example.c
653 * examples/hildon-pannable-area-touch-list-example.c: Fix
654 compilation warnings.
656 2008-08-14 Alberto Garcia <agarcia@igalia.com>
658 * src/hildon-gtk.c (hildon_gtk_button_new)
659 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
660 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
661 images overriding the value of the "gtk-button-images" setting.
663 2008-08-14 Alberto Garcia <agarcia@igalia.com>
665 * src/hildon-check-button.c (hildon_check_button_new):
666 Instead of using a custom container, display the label and the
667 checkbox using the standard GtkButton API.
669 * examples/hildon-check-button-example.c (main): Don't use
670 hildon_check_button_set_label() anymore
672 * src/hildon-check-button.h
673 * src/hildon-check-button.c
674 (hildon_check_button_set_label, hildon_check_button_get_label):
675 Set as deprecated, now we're using gtk_button_{get,set}_label()
677 2008-08-14 Alejandro G. Castro <alex@igalia.com>
679 * src/hildon-pannable-area.c,
680 (hildon_pannable_area_get_topmost): Fixed bug with click in the
681 GtkTreeview first line we detected it after the inclusion of the
682 GtkWindowImpl in gtk+. We now check if the window is visible, not
683 just if the pointer is over the window.
684 (hildon_pannable_axis_scroll),
685 (hildon_pannable_area_expose_event): Small style changes.
687 2008-08-13 Alberto Garcia <agarcia@igalia.com>
689 * src/hildon-button.c: Update documentation.
691 2008-08-13 Alberto Garcia <agarcia@igalia.com>
693 * examples/hildon-button-example.c: Add a switch to show images in
696 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
698 * doc/hildon-docs.sgml: Some docs reorganization.
700 2008-08-12 Alberto Garcia <agarcia@igalia.com>
702 * examples/hildon-pannable-area-touch-list-example.c
704 * examples/hildon-pannable-area-touch-grid-example.c
705 (create_icon_view): Use gtk_{tree,icon}_view_new() and
706 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
707 Fix memory leak when setting the tree model.
709 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
713 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
715 * doc/hildon.types: Remove duplicated hildon_window_get_type
716 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
717 documentation comment.
719 2008-08-12 Alberto Garcia <agarcia@igalia.com>
721 * doc/Makefile.am: Complete list of private headers.
723 2008-08-12 Alberto Garcia <agarcia@igalia.com>
725 * doc/hildon-docs.sgml
726 * src/hildon-app-menu.c
727 * src/hildon-bread-crumb.c
728 * src/hildon-button.c
730 * src/hildon-program.c
731 * src/hildon-stackable-window.c
732 * src/hildon-window.c: Lots of documentation updates.
734 2008-08-12 Alberto Garcia <agarcia@igalia.com>
736 * debian/control: Depend on Gtk 2:2.12.9-0osso3
738 * configure.ac: Require Gtk+ 2.12.9 at least
740 2008-08-12 Alejandro G. Castro <alex@igalia.com>
742 * src/hildon-pannable-area.c
743 (hildon_pannable_area_scroll_indicator_fade),
744 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
745 to protect the return of this timeout callbacks, avoiding deadlocks.
747 2008-08-12 Christian Dywan <christian@imendio.com>
750 * src/hildon-*.h: Ensure a consistent include order,
751 include <gtk/gtk.h> instead of particular files and
752 only include the topmost header in the gtk stack. See NB #39857
754 2008-08-12 Christian Dywan <christian@imendio.com>
756 * src/hildon-picker-dialog.c
757 * src/hildon-touch-selector.c: Fix warnings about unused and
758 uninitialized variables.
760 2008-08-11 Alberto Garcia <agarcia@igalia.com>
762 * examples/Makefile.am
763 * examples/hildon-check-button-example.c: Example of the hildon
766 2008-08-11 Alberto Garcia <agarcia@igalia.com>
768 * src/hildon-window.h
769 * src/hildon-window.c (hildon_window_class_init)
770 (hildon_window_unset_program): Don't make
771 hildon_window_unset_program a virtual function anymore.
773 * src/hildon-stackable-window.c: Update documentation
775 2008-08-11 Alberto Garcia <agarcia@igalia.com>
778 * doc/hildon-docs.sgml
779 * doc/visual_index.xml
780 * src/hildon-defines.c
782 * src/hildon-helper.c
783 * src/hildon-range-editor.c: Lots of documentation fixes.
785 2008-08-11 Alberto Garcia <agarcia@igalia.com>
787 * examples/hildon-picker-button-multicolumn-example.c
788 (create_touch_selector): Fix compilation warning.
790 2008-08-11 Alberto Garcia <agarcia@igalia.com>
792 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
793 (hildon_pannable_area_button_release_cb)
794 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
796 2008-08-11 Alberto Garcia <agarcia@igalia.com>
798 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
801 2008-08-11 Alberto Garcia <agarcia@igalia.com>
803 * src/hildon-bread-crumb-trail.h
804 * src/hildon-date-editor.c
805 * src/hildon-date-selector.c
806 * src/hildon-pannable-area.c
807 * src/hildon-picker-dialog.c
808 * src/hildon-time-selector.c
809 * src/hildon-touch-selector-entry.c
810 * src/hildon-touch-selector.c
811 * src/hildon-touch-selector.h: Misc documentation fixes
813 2008-08-11 Alberto Garcia <agarcia@igalia.com>
815 * examples/hildon-date-editor-example.c (main): Updated date
818 * examples/hildon-note-example.c (on_confirmation_clicked):
819 Updated confirmation note example.
821 * src/hildon-date-editor.c
822 * src/hildon-note.c: Updated sample programs in documentation.
825 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
827 * src/hildon-date-button.h:
828 * src/hildon-picker-button.h:
829 * src/hildon-time-button.c:
830 * src/hildon-time-button.h:
832 Some declarations changes to allow gtk-doc to document the widgets
835 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
837 * src/hildon-date-button.c: Document the widget.
838 * src/hildon-time-button.c: Document the widget.
840 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
842 * src/hildon-picker-button.c: Document the widget.
843 * src/hildon-touch-selector-entry.c: Document the widget.
845 2008-08-08 Alberto Garcia <agarcia@igalia.com>
847 * doc/hildon-docs.sgml
850 * src/hildon-check-button.h
851 * src/hildon-check-button.c: New functions to create the Hildon
855 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
857 2008-08-08 Alberto Garcia <agarcia@igalia.com>
859 * src/hildon-button.h
860 * src/hildon-button.c
861 (hildon_button_add_title_size_group)
862 (hildon_button_add_value_size_group)
863 (hildon_button_add_image_size_group)
864 (hildon_button_add_size_groups): New functions to set size groups
865 for the button labels and image.
866 (hildon_button_new_full): Removed
868 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
870 * src/hildon-time-selector.c
871 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
872 in order to avoid a crash if gconf is not available
874 2008-08-08 Alberto Garcia <agarcia@igalia.com>
876 * src/hildon-button.c (hildon_button_set_arrangement)
877 (hildon_button_construct_child): Don't construct the button child
878 before setting the arrangement.
880 2008-08-08 Alberto Garcia <agarcia@igalia.com>
882 * src/hildon-program-private.h
883 * src/hildon-program.c
884 * src/hildon-program.h
885 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
886 (hildon_program_peek_window_stack)
887 (hildon_program_pop_window_stack)
888 (hildon_program_go_to_root_window): HildonProgram now has a
889 separate list for stackable windows. Functions are provided to
890 manage that list with a stack-like API.
892 * src/hildon-stackable-window.c: Stackable window management is
893 now much simpler with the new HildonProgram API. Windows no
894 longer need to be manually added to the program, they're
895 automatically pushed to the top of the stack when shown.
897 * examples/hildon-stackable-window-example.c: Updated example to
898 reflect the API changes.
900 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
902 * src/hildon-touch-selector.c: Comment out unimplemented
903 hildon_touch_selector_insert_column() to avoid a compile warning.
905 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
907 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
908 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
909 (hildon_touch_selector_set_column_selection_mode),
910 (_hildon_touch_selector_set_model),
911 (hildon_touch_selector_set_model):
913 Complete review of HildonTouchSelector documentation.
915 2008-08-08 Alberto Garcia <agarcia@igalia.com>
917 * doc/hildon-docs.sgml
921 * src/hildon-gtk.c: Convenience functions for standard Gtk
922 widgets, used to easily perform frequent operations.
924 * src/hildon-button-helpers.h
925 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
927 * src/hildon-helper.h
928 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
929 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
931 * src/hildon-button.h
932 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
934 2008-08-07 Alberto Garcia <agarcia@igalia.com>
936 * src/hildon-button.c (hildon_button_init)
937 (hildon_button_set_arrangement, hildon_button_construct_child):
938 Pack the image and the labels inside the same GtkAlignment so
939 gtk_button_set_alignment() can be used
941 2008-08-07 Alberto Garcia <agarcia@igalia.com>
943 * src/hildon-button.h
944 * src/hildon-button.c
945 (hildon_button_init, hildon_button_set_image)
946 (hildon_button_set_image_position)
947 (hildon_button_construct_child): New functions to add an image to
950 2008-08-07 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-date-button.c
953 * src/hildon-picker-button.c
954 * src/hildon-time-button.c
955 * src/hildon-button.c:
956 (hildon_button_class_init): "size-flags" renamed to "size"
957 (hildon_button_set_title): Hide the title label if set to NULL.
959 2008-08-07 Alberto Garcia <agarcia@igalia.com>
961 HildonButtonFlags split into HildonButtonArrangement (to set the
962 button layout) and HildonSizeType (which can be used for any
965 * src/hildon-button.h
966 * src/hildon-button.c
967 (hildon_button_class_init)
968 (hildon_button_set_arrangement)
969 (hildon_button_set_property): New "size-flags"
970 property. "arrangement-flags" renamed to "arrangement".
971 (hildon_button_new, hildon_button_new_with_text)
972 (hildon_button_new_full): Constructors updated to reflect type changes.
974 * src/hildon-helper.h
975 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
976 to set the size of a widget.
980 * src/hildon-button-helpers.c
981 * src/hildon-button-helpers.h: New hildon-button-helpers module.
983 * src/hildon-date-button.c
984 * src/hildon-date-button.h
985 * src/hildon-picker-button.c
986 * src/hildon-picker-button.h
987 * src/hildon-time-button.c
988 * src/hildon-time-button.h: Updated widgets to reflect
989 HildonButton API changes.
991 * examples/hildon-button-example.c
992 * examples/hildon-date-button-example.c
993 * examples/hildon-picker-button-example.c
994 * examples/hildon-picker-button-multicolumn-example.c
995 * examples/hildon-time-button-example.c
996 * examples/hildon-touch-selector-entry-example.c
997 * examples/hildon-touch-selector-example.c: Updated examples to
998 reflect HildonButton API changes.
1000 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1002 * doc/hildon-docs.sgml:
1004 * examples/Makefile.am:
1005 * examples/hildon-touch-selector-entry-example.c:
1007 * src/hildon-touch-selector-entry.c:
1008 * src/hildon-touch-selector-entry.h:
1011 Moved HildonTouchSelectorEntry from sandbox. Added its
1012 documentation and examples.
1014 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1016 * src/hildon-touch-selector.h:
1017 * examples/hildon-picker-button-multicolumn-example.c:
1018 (hildon_touch_selector_append_text_column): Add a gboolean
1019 parameter to determine if text must be centered in the column.
1021 * src/hildon-date-selector.c: (hildon_date_selector_init):
1022 * src/hildon-time-selector.c: (hildon_time_selector_init):
1023 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1024 (create_touch_selector): Update widgets and example to reflect
1027 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1029 * src/hildon-touch-selector.c:
1030 (hildon_touch_selector_set_active_iter): Set also the cursor in
1033 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1035 * doc/hildon-docs.sgml
1038 * src/hildon-toggle-button.c
1039 * src/hildon-toggle-button.h
1040 * src/hildon.h: Removed HildonToggleButton widget, a derived
1041 class is not necessary for this.
1043 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1045 * src/hildon-pannable-area.c,
1046 (hildon_pannable_area_realize),
1047 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1050 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1052 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1053 "done" button the default widget for the dialog.
1055 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1057 * src/hildon-touch-selector.c:
1058 (hildon_touch_selector_class_init),
1059 (hildon_touch_selector_get_property),
1060 (_hildon_touch_selector_set_model),
1061 (_hildon_touch_selector_has_multiple_selection),
1062 (hildon_touch_selector_has_multiple_selection):
1063 Add a "has-multiple-selection" property with a virtual
1064 has_multiple_selection() method to allow derived classes to
1065 override the default value for it. See the method and property
1066 documentation for details.
1068 * src/hildon-touch-selector.h: Add the new API.
1070 * src/hildon-picker-dialog.c: (requires_done_button): Call
1071 hildon_touch_selector_has_multiple_selection() instead of
1072 determining the need for a button itself.
1074 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1076 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1077 (_hildon_touch_selector_set_model),
1078 (hildon_touch_selector_set_model): Move working code to
1079 _hildon_touch_selector_set_mode(). Call the class method instead.
1081 * src/hildon-touch-selector.h: Add (*set_model) to
1082 HildonTouchSelectorClass.
1084 Make hildon_touch_selector_set_model() a virtual method, so that
1085 derived classes can extend it and do fancy stuff with the model.
1087 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1089 * configure.ac: Set back the tarname in AC_INIT to hildon.
1091 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1095 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1096 instead of libesd (NB#86876). Volume handling is still an open issue.
1098 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1101 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1104 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1105 derived class to ease placement of an entry widget in
1106 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1107 end, where the selector columns are packed now.
1109 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1111 * src/hildon-picker-button.c: Removed the simple _text() API.
1112 * src/hildon-picker-button.h: Likewise.
1114 * src/hildon-touch-selector.h:
1115 * src/hildon-touch-selector.c:
1116 (hildon_touch_selector_new_text),
1117 (hildon_touch_selector_append_text),
1118 (hildon_touch_selector_prepend_text),
1119 (hildon_touch_selector_insert_text):
1121 Moved the simple _text() API from HildonPickerButton to
1122 HildonTouchPicker, to provide better escalability and not to tie
1123 that API to HildonPickerButton.
1125 * examples/hildon-picker-button-example.c: (main): Example updated.
1127 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1129 * src/hildon-button.c: Updated documentation.
1131 * examples/hildon-button-example.c: Add the posibility to create
1132 the buttons using horizontal layout for title and value.
1134 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1136 * src/hildon-app-menu-private.h
1137 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
1138 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
1139 GtkSizeGroup for the filters, use the 'homogeneous' property of
1142 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1144 * examples/hildon-button-example.c: Updated example.
1146 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
1148 * doc/hildon-docs.sgml:
1151 Update documentation.
1153 * examples/Makefile.am: Update renamed examples.
1155 * examples/hildon-picker-button-multicolumn-example.c:
1156 (create_touch_selector), (main): Update after the rename.
1158 * examples/hildon-touch-picker-example.c: Removed.
1159 * examples/hildon-touch-selector-example.c: (value_changed),
1160 (create_selector), (get_visible_content), (main): Renamed from
1161 hildon-touch-picker-example.c
1163 * src/Makefile.am: Updated renamed files.
1165 * src/hildon-date-button.c: (hildon_date_button_init),
1166 (hildon_date_button_get_date), (hildon_date_button_set_date):
1167 * src/hildon-date-selector.c: (hildon_date_selector_init),
1168 (_custom_print_func), (_update_day_model),
1169 (_manage_selector_change_cb),
1170 (hildon_date_selector_select_current_date),
1171 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1172 * src/hildon-date-selector.h:
1173 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1174 (hildon_picker_button_set_property),
1175 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1176 (hildon_picker_button_init), (hildon_picker_button_new_text),
1177 (hildon_picker_button_append_text),
1178 (hildon_picker_button_prepend_text),
1179 (hildon_picker_button_insert_text),
1180 (hildon_picker_button_set_selector),
1181 (hildon_picker_button_get_selector):
1182 * src/hildon-picker-button.h:
1183 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1184 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1185 (_update_title_on_selector_changed_cb), (requires_done_button),
1186 (_hildon_picker_dialog_set_selector),
1187 (hildon_picker_dialog_set_selector),
1188 (hildon_picker_dialog_get_selector):
1189 * src/hildon-picker-dialog.h:
1190 * src/hildon-time-button.c: (hildon_time_button_init),
1191 (hildon_time_button_get_time), (hildon_time_button_set_time):
1192 * src/hildon-time-selector.c: (hildon_time_selector_init),
1193 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1194 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1195 * src/hildon-time-selector.h:
1198 Massive code updates after the rename.
1200 * src/hildon-touch-picker.c: Removed.
1201 * src/hildon-touch-picker.h: Removed.
1203 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1204 (hildon_touch_selector_init), (hildon_touch_selector_map),
1205 (hildon_touch_selector_remove), (_default_print_func),
1206 (_selection_changed_cb), (_create_new_column),
1207 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1208 (hildon_touch_selector_append_text_column),
1209 (hildon_touch_selector_remove_column),
1210 (hildon_touch_selector_set_column_attributes),
1211 (hildon_touch_selector_insert_column),
1212 (hildon_touch_selector_get_num_columns),
1213 (hildon_touch_selector_get_column_selection_mode),
1214 (hildon_touch_selector_set_column_selection_mode),
1215 (hildon_touch_selector_set_print_func),
1216 (hildon_touch_selector_get_print_func),
1217 (hildon_touch_selector_get_active_iter),
1218 (hildon_touch_selector_set_active_iter),
1219 (hildon_touch_selector_get_selected_rows),
1220 (hildon_touch_selector_get_model),
1221 (hildon_touch_selector_set_model),
1222 (hildon_touch_selector_get_current_text),
1223 (_hildon_touch_selector_center_on_selected_items):
1224 * src/hildon-touch-selector.h: Renamed from
1225 hildon-touch-picker.[ch]
1227 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1228 references, code examples, and related documentation.
1230 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1232 * doc/hildon-docs.sgml
1235 * src/hildon-toggle-button.c
1236 * src/hildon-toggle-button.h
1237 * src/hildon.h: New HildonToggleButton widget.
1239 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-button.c: Add API documentation.
1242 (hildon_button_set_size_groups): Check input parameters
1244 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1246 * src/hildon-pannable-area.c
1247 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1248 effect after reaching the movement thredshold. This way we start
1249 using the distance after passing the thredshold.
1251 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1253 * src/hildon-button.c: (hildon_button_set_property): Use the
1254 appropriate g_value_get_flags() method.
1256 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1258 * doc/hildon-docs.sgml:
1261 Add the touch pickers, picker dialogs, and picker button widgets
1262 to the documentation.
1264 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1266 * src/hildon-button.c: (hildon_button_set_property),
1267 (hildon_button_class_init): Make "arrangement-flags" a proper
1268 G_TYPE_FLAGS derived property.
1270 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1272 * examples/Makefile.am: Add below examples.
1273 * examples/hildon-date-button-example.c:
1274 * examples/hildon-picker-button-example.c:
1275 * examples/hildon-picker-button-multicolumn-example.c:
1276 * examples/hildon-time-button-example.c:
1277 * examples/hildon-touch-picker-example.c:
1279 Add examples for the recently added touch pickers,
1280 picker dialogs, and picker button widgets.
1282 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1284 * src/hildon-button.c: Add some API documentation
1286 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1288 * src/hildon-button.h
1289 * src/hildon-button.c
1291 (hildon_button_new_with_text): New constructor to create a button
1292 with no text at all.
1293 (hildon_button_init, hildon_button_set_arrangement)
1294 (hildon_button_set_title, hildon_button_set_value)
1295 (hildon_button_set_text)
1296 (hildon_button_construct_child): Hide the value when it's not used
1297 so the rest of the text is properly aligned.
1298 Allow creating buttons with arbitrary widgets inside (not just
1299 title/value labels).
1301 * examples/hildon-button-example.c (vertical_buttons_window)
1302 (horizontal_buttons_window): Update example to use new API.
1304 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1306 * src/Makefile.am: Added HildonTimeButton.
1307 * src/hildon-time-button.c: Added missing LGPL header.
1308 * src/hildon-time-button.h: Added missing LGPL header.
1309 * src/hildon.h: Add hildon-time-button.h
1311 Copied HildonTimeButton from sandbox to trunk. Future work on this
1312 widget must take place in trunk.
1314 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1316 * src/Makefile.am: Added HildonDateButton.
1317 * src/hildon-date-button.c: Update includes.
1318 * src/hildon.h: Add hildon-date-button.h
1320 Copied HildonDateButton from sandbox to trunk. Future work on this
1321 widget must take place in trunk.
1323 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1325 * src/Makefile.am: Added HildonPickerButton.
1326 * src/hildon-picker-button.h: Update includes.
1327 * src/hildon.h: Add hildon-picker-button.h
1329 Copied HildonPickerButton from sandbox to trunk. Future work on
1330 this widget must take place in trunk.
1332 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1334 * src/Makefile.am: Added HildonPickerDialog.
1335 * src/hildon-picker-dialog.c: Update includes.
1336 * src/hildon.h: Add hildon-picker-dialog.h
1338 Copied HildonPickerDialog from sandbox to trunk. Future work
1339 on this widget must take place in trunk.
1341 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1343 * src/Makefile.am: Added HildonTimeSelector.
1344 * src/hildon.h: Add hildon-time-selector.h
1346 Copied HildonTimeSelector widget from sandbox to trunk. Future
1347 work on this widget must happen in trunk.
1349 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1351 * src/Makefile.am: Added HildonDateSelector.
1352 * src/hildon.h: Add hildon-date-selector.h
1354 Copied HildonDateSelector widget from sandbox to trunk. Future
1355 work on this widget must happen in trunk.
1357 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/Makefile.am: Added HildonTouchPicker.
1360 * src/hildon-touch-picker.c: Update includes.
1361 * src/hildon.h: Add hildon-touch-picker.h
1363 Copied HildonTouchPicker widget from sandbox to trunk. Future work
1364 on this widget must happen in trunk.
1366 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1368 * src/hildon-pannable-area.c:
1369 (hildon_pannable_area_motion_notify_cb): Fix a typo.
1371 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1373 * examples/hildon-app-menu-example.c (main): Let the window
1376 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1378 * src/hildon-pannable-area.c
1379 (hildon_pannable_area_class_init): Set the min value of the
1380 overshoot properties to zero, which points out that not
1381 overshooting allowed.
1383 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1385 Modified the procedure to get the widget at a point inside the
1386 pannable area when using the movement type signals. Now the user
1387 has to call a function to get the child, that way we just
1388 calculate the child in case the user really want to use it and not
1391 * src/hildon-marshalers.list: Modified the marshallers, now we do
1392 not have the widget as a parameter.
1394 * src/hildon-pannable-area.c
1395 (hildon_pannable_area_motion_notify_cb),
1396 (hildon_pannable_area_class_init),
1397 (hildon_pannable_get_child_widget_at): Removed the widget
1398 parameter from the signal callback. We have also refactored the
1399 emission of the signals.
1401 * src/hildon-pannable-area.h: Added a new method to the API to
1402 calculate a widget at a point inside the pannable area,
1403 hildon_pannable_get_child_widget_at.
1405 * examples/hildon-pannable-area-example-4.c
1406 (horizontal_movement): Modified the example to use the new API,
1407 added condition to control which widget is under the event. This
1408 way we can avoid scrolling laterally over other widgets.
1410 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1412 * src/hildon-pannable-area.c
1413 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1414 modes, we stop getting the pointer events due to returning the
1415 callback without properly calling the get pointer again. Fixed
1416 also an error using the hscroll and vscroll.
1418 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1420 * src/hildon-app-menu-private.h
1421 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1422 (hildon_app_menu_button_release, hildon_app_menu_init)
1423 (hildon_app_menu_class_init): Don't hide the menu on button
1424 release if the user didn't press outside first.
1426 * src/hildon-window.h
1427 * src/hildon-window.c (hildon_window_toggle_menu)
1428 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1429 hildon_window_toggle_menu a virtual function for the stackable
1430 window to override it.
1432 * src/hildon-stackable-window.h
1433 * src/hildon-stackable-window-private.h
1434 * src/hildon-stackable-window.c
1435 (hildon_stackable_window_realize)
1436 (hildon_stackable_window_finalize)
1437 (hildon_stackable_window_class_init)
1438 (hildon_stackable_window_init)
1439 (hildon_stackable_window_set_main_menu): New function to set the
1440 app menu of a HildonStackableWindow.
1442 * examples/hildon-app-menu-example.c: Remove the button to show
1443 the app menu, now it'll be shown when clicking on the title bar
1446 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1448 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1449 set the widget name if the arrangement flags do not specify
1452 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-button.c: (hildon_button_set_property),
1455 (hildon_button_class_init), (hildon_button_new_full),
1456 (hildon_button_set_arrangement): Added "arrangement-flags"
1459 Make the HildonButtonFlags a construction-only property, to allow
1460 subclasses to set them properly.
1462 2008-07-21 Tim Janik <timj@imendio.com>
1464 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1465 insertion position after backspace, so additional digits are appended,
1468 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1470 * src/hildon-pannable-area.c,
1471 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1472 TODO list, it was complete and removed the g_debug and g_print
1475 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1477 Added the movement modes to the hildon-pannable-area, with this
1478 modes the developers can control in which directions the widget
1479 can scroll. They can also connect to signals in order to do
1480 something when that happens, allowing applications scroll. There
1481 is an example uploaded showing how to use it.
1483 * examples/Makefile.am:
1484 * examples/hildon-pannable-area-example-4.c: Added this example of
1485 an application using the modes.
1487 * src/hildon-marshalers.list: Added a new marshaller for the new
1490 * src/hildon-pannable-area.h: Added new enumerations and flags in
1491 order to control the movement modes and the new signals to warn
1492 about the movements in the area.
1494 * src/hildon-pannable-area.c:
1495 (hildon_pannable_axis_scroll),
1496 (hildon_pannable_area_scroll),
1497 (hildon_pannable_area_motion_notify_cb),
1498 (hildon_pannable_area_get_property),
1499 (hildon_pannable_area_set_property),
1500 (hildon_pannable_area_map),
1501 (hildon_pannable_area_class_init),
1502 (hildon_pannable_area_init),
1503 (hildon_pannable_area_jump_to): Added the modes to control the
1504 movement in the widget. We have added properties to control it,
1505 signals to warn about the movements and refactored some code.
1507 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1509 Changes required in order to allow vfast_factor set to zero to
1512 * src/hildon-pannable-area.c:
1513 (hildon_pannable_area_button_press_cb): Changed the condition, it
1514 is required for not allowing click when vfast_factor is zero.
1515 (hildon_pannable_area_timeout): Initialized velocity variables
1516 when we stop moving, it was less than 1 but not zero and we need
1517 to check zero in some situations.
1518 (hildon_pannable_area_class_init): Changed the default value of
1519 the speed factor, now the button_press is just sent in case the
1520 speed is 2 per cent of the max speed.
1521 (hildon_pannable_area_init): Initialization with 0.
1523 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1525 * src/hildon-pannable-area.c,
1526 (hildon_pannable_area_get_topmost): replaced
1527 gdk_window_get_children with gdk_window_peek_children, this way we
1528 do not have to free the list because it is not a copy.
1530 (hildon_pannable_axis_scroll),
1531 (hildon_pannable_area_scroll),
1532 (hildon_pannable_area_timeout),
1533 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1534 two parameters that were only used inside the
1535 hildon_pannable_area_scroll function.
1537 * examples/hildon-pannable-area-example.c,
1538 (get_sawtooth_label): Fixed small memory leak.
1540 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1542 More checks for the case where the overshoot is bigger than the
1545 * src/hildon-pannable-area.c:
1546 (hildon_pannable_draw_vscroll),
1547 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1548 to draw the slider of the scrollbar under the other scrollbar.
1549 (hildon_pannable_area_expose_event): added new checks to control
1550 the drawing of the overshooting area rectangle, in case it is too
1551 big for the area of the widget.
1552 (hildon_pannable_area_size_allocate): add more checks to avoid
1553 setting a position to the child widget outside the area.
1555 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1557 * src/hildon-pannable-area.c
1558 (hildon_pannable_area_size_allocate): Added conditions to control
1559 when overshooting is bigger than the allocated space for the
1560 children, this avoids negative allocations.
1562 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1564 * doc/hildon-docs.sgml
1566 * examples/Makefile.am
1567 * examples/hildon-button-example.c
1569 * src/hildon-button.c
1570 * src/hildon-button.h
1571 * src/hildon.h: Initial version of the new HildonButton widget,
1574 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-pannable-area.c:
1577 (hildon_pannable_area_button_press_cb),
1578 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1579 (hildon_pannable_area_motion_notify_cb),
1580 (hildon_pannable_area_button_release_cb),
1581 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1582 (hildon_pannable_area_jump_to_child):
1584 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1586 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1588 * examples/Makefile.am
1589 * examples/hildon-pannable-area-touch-grid-example.c
1590 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1591 the Hildon Touch List and Hildon Touch Grid using the
1592 HildonPannableArea widget.
1594 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1596 * src/hildon-pannable-area.c,
1597 (hildon_pannable_area_button_press_cb),
1598 (hildon_pannable_area_refresh),
1599 (hildon_pannable_area_scroll),
1600 (hildon_pannable_area_motion_notify_cb),
1601 (hildon_pannable_area_button_release_cb),
1602 (hildon_pannable_area_expose_event),
1603 (hildon_pannable_area_add),
1604 (hildon_pannable_area_remove),
1605 (hildon_pannable_area_realize),
1606 (hildon_pannable_area_size_allocate),
1607 (hildon_pannable_area_class_init),
1608 (hildon_pannable_area_init),
1609 (hildon_pannable_area_scroll_to_child),
1610 (hildon_pannable_area_jump_to_child): Fixed the problem of
1611 removing the child from the GtkBin, we have rearranged the widget
1612 hierarchy, now there is no GtkAlignment which was not doing
1613 anything interesting but breaking some of the assumptions of
1614 GtkContainer. Now developers if they want to add a GtkAlignment
1615 they could, but it is not inside the area.
1617 We had to review the whole allocation/expose process, now it is
1618 improved and we save at least three signals which would be saving
1619 some time when rendering the widget. The allocation of the
1620 scrollbars is now made in the allocate method as usual.
1622 We have also added some conditions in order to control when there
1623 is no child of the pannable area. Maybe we will need more work
1626 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1628 * src/hildon-pannable-area.c,
1629 (hildon_pannable_area_dispose): Released the fade-out timeout when
1630 disposing the widget.
1632 2008-06-27 Alejandro G. Castro <alex@ig\alia.com>
1634 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1635 zero, we are going to use that property in order to deactivate the
1637 (hildon_pannable_axis_scroll),
1638 (hildon_pannable_area_size_allocate): Added conditions to control
1639 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1640 call, now it is called in all situations and we can remove calls
1641 in the allocate method.
1642 (hildon_pannable_area_map): Control the situation when
1643 overshoot_max is zero, we do not need the timeout.
1644 (hildon_pannable_area_class_init): Added documentation in order to
1645 point out that setting zero to overshoot_max means deactivate
1648 NOTE: removed trailing whitespaces from my previous comments of
1651 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1653 * src/hildon-pannable-area.c
1654 (hildon_pannable_area_get_property),
1655 (hildon_pannable_area_set_property),
1656 (hildon_pannable_area_map),
1657 (hildon_pannable_area_class_init),
1658 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1659 to cause the widget give a hint about its panning abilities upon
1662 2008-06-26 Claudio Saavedra <csaavedra@ig\alia.com>
1664 * src/hildon-pannable-area.c: Several documentation improvements.
1666 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1668 * src/hildon-program.c
1669 * src/hildon-stackable-window.c: Update documentation.
1671 2008-06-26 Alberto Garcia <agarcia@ig\alia.com>
1673 * src/hildon-stackable-window.c (get_previous_window_if_last):
1674 Renamed get_last_window()
1675 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1676 (hildon_stackable_window_unset_program):
1678 (get_previous_window_if_last):
1679 Detect if the window hasn't been added to a HildonProgram.
1681 2008-06-26 Alejandro G. Castro <alex@ig\alia.com>
1683 contributed and reviewed by: Claudio Saavedra <csaavedra@ig\alia.com>
1685 * src/hildon-pannable-area.c
1686 (hildon_pannable_area_button_press_cb),
1687 (hildon_pannable_axis_scroll),
1688 (hildon_pannable_area_scroll),
1689 (hildon_pannable_area_timeout),
1690 (hildon_pannable_calculate_vel_factor),
1691 (hildon_pannable_area_get_property),
1692 (hildon_pannable_area_set_property),
1693 (hildon_pannable_area_class_init),
1694 (hildon_pannable_area_init),
1695 (hildon_pannable_area_scroll_to),
1696 (hildon_pannable_area_jump_to),
1697 (hildon_pannable_area_scroll_to_child),
1698 (hildon_pannable_area_jump_to_child):
1699 * src/hildon-pannable-area.h: Added the new API functions:
1700 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1701 hildon_pannable_area_scroll_to_child,
1702 hildon_pannable_area_jump_to_child
1705 * examples/Makefile.am
1706 * examples/hildon-pannable-area-example-2.c
1707 * examples/hildon-pannable-area-example-3.c: Added these two new
1708 examples in order to test and show how the new APIs work.
1710 2008-06-25 Alberto Garcia <agarcia@ig\alia.com>
1712 * examples/hildon-stackable-window-example.c (new_window):
1713 * src/Makefile.am (noinst_HEADERS):
1714 * src/hildon-program.c (hildon_program_go_to_root_window):
1715 * src/hildon-program.h:
1716 * src/hildon-stackable-window-private.h:
1717 * src/hildon-stackable-window.c:
1718 * src/hildon-stackable-window.h:
1719 Create hildon-stackable-window-private.h
1720 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1722 * examples/hildon-app-menu-example.c (create_menu):
1723 * examples/hildon-hvolumebar-insensitive-example.c (main):
1724 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1725 * examples/hildon-toolbar-seekbar-example.c (main):
1726 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1727 * src/hildon-banner.c (hildon_banner_set_property):
1728 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1729 Fix compilation warnings
1731 * src/hildon-window.c:
1734 2008-06-24 Alberto Garcia <agarcia@ig\alia.com>
1736 * src/hildon-stackable-window.c
1737 (hildon_stackable_window_unset_program):
1738 Calculate correctly whether to show the previous window if the
1739 last one is removed from the stack.
1740 (hildon_stackable_window_go_to_root_window):
1741 Send delete events starting from the topmost window.
1742 Stop if one of the windows is not destroyed.
1744 (hildon_stackable_window_delete_event)
1745 (hildon_stackable_window_class_init):
1746 Ignore the delete event if the window is not the topmost one.
1748 2008-06-24 Alejandro G. Castro <alex@ig\alia.com>
1750 * src/hildon-pannable-area.c
1751 (hildon_pannable_area_expose_event): Fixed a problem when
1752 selecting the background color of the scrollbars.
1754 2008-06-23 Alberto Garcia <agarcia@ig\alia.com>
1756 * examples/hildon-stackable-window-example.c
1757 * src/hildon-stackable-window.c
1758 * src/hildon-stackable-window.h
1759 hildon_stackable_window_go_home() renamed to
1760 hildon_stackable_window_go_to_root_window()
1761 Send delete events to windows rather than closing them with
1762 gtk_widget_destroy()
1764 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1766 * src/hildon-pannable-area.c
1767 (hildon_pannable_area_button_release_cb): Fix overshooting in
1770 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1772 * src/hildon-pannable-area.c
1773 (hildon_pannable_area_init): Initially show the scroll indicators.
1774 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1776 Add initial effect showing the widget is pannable.
1778 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1780 * src/hildon-pannable-area.c
1781 (hildon_pannable_area_class_init)
1782 (hildon_pannable_area_set_property)
1783 (hildon_pannable_area_get_property)
1784 (hildon_pannable_area_button_press_cb):
1785 New 'velocity_fast_factor' property to decide which velocity is
1788 2008-06-19 Claudio Saavedra <csaavedra@ig\alia.com>
1790 * src/hildon-pannable-area.c
1791 (hildon_pannable_draw_hscroll)
1792 (hildon_pannable_draw_vscroll):
1793 Use float variables to calculate the size of the scrollbars to
1794 avoid error propagation and resizing during scrolling.
1796 2008-06-19 Alberto Garcia <agarcia@ig\alia.com>
1798 * src/hildon-pannable-area.c
1799 (hildon_pannable_draw_vscroll)
1800 (hildon_pannable_draw_hscroll):
1801 Define a minimum size for the scroll bars
1803 * src/hildon-stackable-window.c
1804 (hildon_stackable_window_go_home): Fix compilation warning
1805 (get_last_window): Minor optimizations
1806 (hildon_stackable_window_class_init): Fix initialization of
1809 2008-06-18 Alberto Garcia <agarcia@ig\alia.com>
1811 * src/hildon-stackable-window.c: Fixed typos in doc
1813 2008-06-18 Claudio Saavedra <csaavedra@ig\alia.com>
1815 * src/hildon-pannable-area.c
1816 (hildon_pannable_area_scroll):
1817 Calculate here whether we need to scroll instead of using the booleans
1818 that tell us whether to /draw/ the scrolling bars.
1820 2008-06-17 Claudio Saavedra <csaavedra@ig\alia.com>
1822 * src/hildon-app-menu.h
1824 * src/hildon-app-menu.c
1825 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1826 multiple filter groups related code and API. Now we support only
1828 * examples/hildon-app-menu-example.c:
1830 Update to reflect API changes.
1832 2008-06-16 Claudio Saavedra <csaavedra@ig\alia.com>
1834 * src/hildon-stackable-window.c
1835 (hildon_stackable_window_class_init):
1836 Add hildon_stackable_window_realize.
1837 (hildon_stackable_window_realize):
1838 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1839 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1840 to apply theming and behavior specific to HildonStackableWindow
1843 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1845 * src/hildon-note.c (hildon_note_button_release):
1846 Close information notes also when tapping on them
1848 2008-06-12 Alejandro G. Castro <alex@ig\alia.com>
1850 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1851 ELASTICITY, refactor and review, fix some issues with drawing
1854 * src/hildon-pannable-area.c:
1855 (hildon_pannable_area_button_press_cb): removed the conditions to
1856 avoid clicks when overshooting. It is not required
1858 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1859 define. Refatored and reviewed the code, now we do not need to
1860 manage velocity in motion_notify.
1862 (hildon_pannable_area_motion_notify_cb): We have moved the code
1863 that controls the area_scroll to the axis_scroll function and get
1864 rid of duplicated code.
1866 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1868 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1870 (hildon_pannable_draw_vscroll),
1871 (hildon_pannable_draw_hscroll): Fixed the problems with the
1872 scrollbar drawing, now we do not use two surfaces, it is easier
1873 and saves resources.
1875 (hildon_pannable_area_get_property): Style modification.
1877 (hildon_pannable_area_class_init): Changed some default values.
1879 2008-06-12 Claudio Saavedra <csaavedra@ig\alia.com>
1881 * src/hildon-stackable-window.c: Fix some typos in the
1884 2008-06-12 Alberto Garcia <agarcia@ig\alia.com>
1886 * src/hildon-dialog.c:
1887 Change indentation style
1890 (hildon_note_button_release):
1891 Use root coordinates to check if the release event happened
1894 * src/hildon-app-menu.c
1895 (hildon_app_menu_button_release):
1896 Remove unnecessary check
1898 * examples/hildon-app-menu-example.c
1900 Add cast to fix warning
1902 * src/hildon-app-menu.c
1903 (hildon_app_menu_class_init):
1904 New inner-border style property.
1905 Set all default spacings to 16
1906 (hildon_app_menu_init):
1907 Use vertical-spacing to set the space between filter buttons and
1908 regular menu buttons.
1909 Set the default container border using the inner-border value.
1911 * examples/hildon-app-menu-example.c
1913 Don't set the menu border explicitly, now we have the inner-border
1914 style property for that.
1916 2008-06-11 Alberto Garcia <agarcia@ig\alia.com>
1918 * src/hildon-app-menu.c (hildon_app_menu_init):
1919 Make the window modal
1921 * src/hildon-note.c (hildon_note_map)
1922 * src/hildon-app-menu.c (hildon_app_menu_map):
1923 Destroy the grab window if we're unable to grab the pointer
1925 * src/hildon-app-menu-private.h
1926 * src/hildon-app-menu.c
1927 (hildon_app_menu_init, hildon_app_menu_finalize)
1928 (hildon_app_menu_map, hildon_app_menu_unmap)
1929 (hildon_app_menu_button_release)
1930 (grab_transfer_window_get):
1931 Bring back the grab window
1932 (hildon_app_menu_realize):
1933 Decorate the window, set WM hint for Matchbox
1935 * src/hildon-note.c (hildon_note_realize):
1936 * src/hildon-banner.c (hildon_banner_realize):
1937 Add WM hints for Matchbox
1939 2008-06-10 Alberto Garcia <agarcia@ig\alia.com>
1941 * src/hildon-app-menu-private.h
1942 * src/hildon-app-menu.c
1943 (hildon_app_menu_init, hildon_app_menu_finalize)
1944 (hildon_app_menu_map, hildon_app_menu_unmap)
1945 (hildon_app_menu_button_release):
1946 Remove the grab window, it's not needed anymore
1948 * src/hildon-program.c
1949 Fixed typo in documentation
1951 * src/hildon-app-menu.h
1952 * src/hildon-app-menu.c
1953 * examples/hildon-app-menu-example.c
1954 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
1956 2008-06-09 Alberto Garcia <agarcia@ig\alia.com>
1959 Added new transfer_window and close_if_pressed_outside private
1961 (hildon_note_rebuild):
1962 Don't add a cancel button to the information note. It will be
1963 closed when tapping outside
1964 Remove the comment about the OK button in the documentation
1965 (hildon_note_realize):
1966 Set the notification type hint
1967 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
1968 Grab/ungrab pointer and keyboard if the note has to be closed when
1970 (hildon_note_button_release):
1971 Close the note when tapping outside (if applicable)
1973 * src/hildon-app-menu.c
1974 Grab/ungrab pointer and keyboard on map/unmap
1975 (hildon_app_menu_button_release, hildon_app_menu_class_init):
1976 Close the menu on button release, not button press
1978 * src/hildon-banner.c
1979 (hildon_banner_set_property)
1980 (hildon_banner_check_position):
1981 Make the banner use the full width of the screen
1982 (hildon_banner_show_information)
1983 (hildon_banner_show_information_with_markup):
1984 Don't display an icon by default
1986 2008-06-09 Alejandro G. Castro <alex@ig\alia.com>
1988 Added fading scrollbars and adapted all the overshooting code to
1989 horizontal scrolling. We have also fixed bugs with overshooting
1990 and current fading implementation.
1992 * src/hildon-pannable-area.c
1993 (hildon_pannable_area_scroll_indicator_fade): Time out function
1994 used to change the transparency of the scrollbars.
1996 (hildon_pannable_area_button_press_cb): Added horizontal overshot
1997 control and fixed a problem with fading, we now remove the fade
1998 timeout before adding a new one.
2000 (hildon_pannable_axis_scroll):
2001 (hildon_pannable_area_scroll):
2002 (hildon_pannable_area_timeout): Added this functions so we can use
2003 the scroll code both for vertical and horizontal.
2005 (hildon_pannable_area_motion_notify_cb):
2006 (hildon_pannable_area_button_release_cb): Added the horizontal
2007 scrolling control, fixed a problem with the overshooting timeout.
2009 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2010 painting of the scrolls.
2012 (hildon_pannable_draw_vscroll):
2013 (hildon_pannable_draw_hscroll):
2014 (hildon_pannable_area_expose_event):
2015 Draw both scrollbars and rectangles in the overshooting area.
2017 (hildon_pannable_area_get_property):
2018 (hildon_pannable_area_set_property):
2019 Modified the overshoot property to overshoot_max
2021 (hildon_pannable_area_map):
2022 Replaced the comments symbols.
2024 (hildon_pannable_area_size_allocate):
2025 (hildon_pannable_area_class_init):
2026 (hildon_pannable_area_init): Added horizontal scroll, fading
2027 effect properties, fixed a problem when overshooting in the bottom
2030 * examples/hildon-pannable-area-example.c:
2031 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2032 looks better in the example.
2034 2008-06-03 Alberto Garcia <agarcia@ig\alia.com>
2036 * src/hildon-window.c
2037 * src/hildon-window.h
2038 (hildon_window_class_init)
2039 (hildon_window_unset_program)
2040 (hildon_window_unset_program_real):
2041 Make unset_program a virtual function
2043 * src/hildon-stackable-window.c
2044 * src/hildon-stackable-window.h
2045 Added hildon_stackable_window_go_home()
2047 * examples/Makefile.am
2048 * examples/hildon-stackable-window-example.c
2049 HildonStackableWindow example
2051 2008-06-03 Alejandro G. Castro <alex@ig\alia.com>
2053 * hildon-pannable-area.c: Added the overshoot property and removed
2054 the OVERSHOOT define. Fixed an indent style error.
2055 (hildon_pannable_area_motion_notify_cb):
2056 (hildon_pannable_area_get_property):
2057 (hildon_pannable_area_set_property): Add overshoot property.
2059 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2062 (hildon_pannable_area_class_init): Installed the new property.
2064 * hildon-pannable-area-example.c: Added a sawtooth function, this
2065 way it is easier to check the movement in the pannable.
2066 (get_sawtooth_label): Added this function.
2067 (main): Now we get the labels from the new get_sawtooth_label
2070 2008-05-26 Alberto Garcia <agarcia@ig\alia.com>
2072 * src/hildon-app-menu.h
2073 * src/hildon-app-menu.c
2074 Renamed API variables for consistency
2076 (hildon_app_menu_popup): Use also the default window size to
2077 decide where to place the menu
2079 (hildon_app_menu_init, hildon_app_menu_class_init): New
2080 external-border style property
2082 2008-05-26 Michael Natterer <mitch@imendio.com>
2084 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2085 widget_class->tap_and_hold_setup signal slot doesn't exist any
2086 longer, stop overriding it.
2088 (hildon_time_editor_init): g_signal_connect() to the
2089 tap-and-hold-setup signal instead.
2091 (hildon_time_editor_entry_keypress): add cast to fix warning.
2093 2008-05-23 Alberto Garcia <agarcia@ig\alia.com>
2095 * doc/hildon-docs.sgml
2097 * examples/Makefile.am
2098 * examples/hildon-app-menu-example.c
2100 * src/hildon-app-menu-private.h
2101 * src/hildon-app-menu.c
2102 * src/hildon-app-menu.h
2104 New HildonAppMenu widget
2106 2008-05-21 Alejandro G. Castro <alex@ig\alia.com>
2108 Rearranged the inheritance of the pannable area, now it inherits
2109 from GtkBin. This will allow us to control the event_window and
2110 the allocation process of the widget, required for some effects.
2112 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
2113 GtkBin structures. * src/hildon-pannable-area.c: Added the
2114 event_window variable.
2115 (hildon_pannable_area_button_press_cb):
2116 (hildon_pannable_area_button_release_cb):
2117 (hildon_pannable_area_motion_notify_cb):
2118 Changed the signature of the method, now we override the event
2119 callback instead of connecting to the signal.
2121 (hildon_pannable_area_realize):
2122 (hildon_pannable_area_unrealize):
2123 (hildon_pannable_area_map):
2124 (hildon_pannable_area_unmap):
2125 (hildon_pannable_area_size_allocate):
2126 Added functions to control the widget construction. We add a
2127 INPUT_ONLY window and we put it over the widgets inside the
2128 container, this event_window handles the events.
2130 (hildon_pannable_area_class_init):
2131 Replaced the signal connections with overrides of the event
2134 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
2136 Bouncing effect added when touching the borders, you can change
2137 the elasticity of the border changing the ELASTICITY define.
2139 * src/hildon-pannable-area.c: Added ELASTICITY define.
2140 (hildon_pannable_area_timeout): Added inverse velocity when
2141 touching the border of the child widget, that causes a bounce.
2143 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
2145 Improved performance, we now do not go to the X server in order to
2146 get the list of window children. Apparently the effect is the
2147 same, we have to be careful and check if this breaks something in
2150 * src/hildon-pannable-area.c:
2151 (get_ordered_children): Removed this function.
2152 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
2153 the children windows function with gdk_window_get_children.
2155 2008-05-20 Alejandro G. Castro <alex@ig\alia.com>
2157 * src/hildon-pannable-area.c:
2158 (hildon_pannable_area_dispose): Fixed a crash when closing the
2159 window and kinetics is activated.
2161 2008-05-19 Alberto Garcia <agarcia@ig\alia.com>
2163 * src/hildon-pannable-area.h
2164 * src/hildon-pannable-area.c
2165 Changed indentation style to meet the one used in Hildon
2167 2008-05-19 Alejandro G. Castro <alex@ig\alia.com>
2169 Reviewed the interaction of the AUTO mode, now we use the time
2170 attribute of the events and calculate the velocity in the motion,
2171 doing a gimp like calculation. The velocity is calculated in each
2172 motion event using the last velocity and the current one, the
2173 SMOOTH_FACTOR controls the percentage of the new velocity we use.
2175 * src/hildon-pannable-area.c: Replaced the time based algorithm
2177 (hildon_pannable_area_motion_notify_cb): now we do not launch the
2178 timeout for the AUTO mode when we are still moving the cursor. We
2179 added also the velocity calculation in this function.
2180 (hildon_pannable_area_button_release_cb): launch the timeout in
2181 case we are in AUTO mode. There are still some constants here that
2182 come from the old implementation that should be reviewed and
2185 2008-05-15 Alberto Garcia <agarcia@ig\alia.com>
2187 * doc/hildon-docs.sgml
2190 * src/hildon-stackable-window.c
2191 * src/hildon-stackable-window.h
2193 New HildonStackableWindow widget
2195 * examples/hildon-dialog-example.c
2196 * examples/hildon-pannable-area-example.c
2199 2008-05-14 Alberto Garcia <agarcia@ig\alia.com>
2201 * src/hildon-dialog.c
2202 (hildon_dialog_new_with_buttons): New constructor.
2204 * examples/hildon-dialog-example.c
2205 (main): Update the example to use the new
2206 hildon_dialog_new_with_buttons().
2208 * examples/hildon-pannable-area-example.c
2209 (main): Update example.
2211 2008-05-13 Alberto Garcia <agarcia@ig\alia.com>
2213 * doc/hildon-docs.sgml
2215 Added HildonPannableArea to the documentation.
2217 2008-05-13 Victor Jaquez <vjaquez@ig\alia.com>
2219 * doc/visual_index.xml
2220 Fix reference to HildonLoginDialog in documentation
2222 * doc/hildon-docs.sgml
2224 * examples/Makefile.am
2225 * examples/hildon-dialog-example.c
2227 * src/hildon-dialog.c
2228 * src/hildon-dialog.h
2230 New HildonDialog widget.
2232 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2234 * src/hildon-pannable-area.c
2235 Merge latest changes (r4318, r4342) from libmokoui trunk
2237 2008-05-09 Alberto Garcia <agarcia@ig\alia.com>
2239 * examples/Makefile.am
2240 * examples/hildon-pannable-area-example.c
2242 * src/hildon-pannable-area.c
2243 * src/hildon-pannable-area.h
2245 New HildonPannableArea widget.
2247 2008-04-15 18:05:19 <timj@imendio.com>
2249 * src/hildon-banner.c: revert the recent change, that introduced
2250 gtk_window_present() calls. this reopens:
2251 Bug 78481 - [freetest] information banners are hidden under browser menu
2252 But resolves another variant of:
2253 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2255 2008-04-15 13:21:13 <timj@imendio.com>
2257 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2258 recreated its layout, spotted by Kris. this fixes all remaining
2259 artefacts and stability issues with the banner code. in particular:
2260 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2262 2008-04-14 16:52:59 <timj@imendio.com>
2264 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2265 operating on unrealized widgets, fixes:
2266 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2268 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2270 2008-04-09 Kristian Rietveld <kris@imendio.com>
2272 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2273 makes banner disappear.
2274 Fixes: NB#79182: info banner flickering with certain message lengts.
2276 * src/hildon-banner.c (hildon_banner_constructor),
2277 (hildon_banner_init), (hildon_banner_set_text),
2278 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2279 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2280 FALSE, reset size requests of label and banner,
2281 (force_to_wrap_truncated): when the text is too wide, always enforce
2282 the maximum possible width instead of recalculating it from the
2283 layout; enforce the maximum banner height of 3 lines,
2284 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2285 nicer wrapping and no truncated chars if space gets tight.
2287 * src/hildon-banner-private.h: add has_been_wrapped and
2288 has_been_truncated fields.
2290 2008-04-07 Sven Herzberg <sven@imendio.com>
2292 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2293 local values in hildon_date_editor_size_allocate
2295 * src/hildon-date-editor.c: moved the real allocation code into the
2298 2008-04-07 Sven Herzberg <sven@imendio.com>
2300 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2301 local values in hildon_date_editor_size_allocate
2303 * src/hildon-date-editor.c: merged the two if() branches together
2305 2008-04-07 Sven Herzberg <sven@imendio.com>
2307 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2308 local values in hildon_date_editor_size_allocate
2310 * src/hildon-date-editor.c: changed the arguments of the if()
2313 2008-04-07 Sven Herzberg <sven@imendio.com>
2315 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2316 local values in hildon_date_editor_size_allocate
2318 * src/hildon-date-editor.c: split the calculation of the allocation
2319 from the real allocation
2321 2008-03-27 Michael Natterer <mitch@imendio.com>
2323 Fixes: NB#81696: The passcode is not overwritten even after
2326 * src/hildon-code-dialog.c
2327 (hildon_code_dialog_button_clicked)
2328 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2329 because that doesn't overwrite selected text. Instead, emit the
2330 "commit" signal on the entry's im_context so the entry's normal
2331 insert logic is triggered. Set the cursor to the end of the entry
2332 after each insert operation so that we *only* insert in the middle
2333 of the text if something was selected.
2335 2008-03-27 Michael Natterer <mitch@imendio.com>
2337 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2338 selector cannot be opened
2340 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2341 when the popup color selector is created. Please connect to this
2342 signal in order to set the dialog's help ID.
2344 2008-03-25 Sven Herzberg <sven@imendio.com>
2346 Fixes: MB#1212: Hide info banners (infoprints) on click
2348 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2349 extracted the close event simulation into an extra function
2350 (hildon_banner_button_press_event): simulate a close event and destroy
2351 the widget if the event wasn't handled
2352 (hildon_banner_class_init): added the button_press_event handler
2353 (hildon_banner_init): added button-press events to the widget
2355 2008-03-25 Sven Herzberg <sven@imendio.com>
2357 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2358 Patch from: Mohammad Anwari <mdamt@maemo.org>
2360 * src/hildon-banner.c: let the HildonBanners pop up on the left side
2361 instead of the right in RTL mode
2362 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2363 breadcrumb button list in RTL mode
2364 * src/hildon-caption.c: mirror the appearance of the caption widget in
2366 * src/hildon-date-editor.c: mirror appearance of the date editor in
2368 * src/hildon-time-editor.c: mirror appearance of the time editor in
2370 * src/hildon-window.c: fix the position of the popup in RTL mode
2372 2008-03-25 Sven Herzberg <sven@imendio.com>
2374 Amendment to the fix of NB#22072. Fix compilation.
2376 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2378 2008-03-19 Sven Herzberg <sven@imendio.com>
2380 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2383 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2384 timeout id properly when the timeout will disappear this leaves no
2385 artifacts around in the destroy(); there will only be the timeout
2386 created by hildon_banner_ensure_timeout() and adding a new timeout
2387 will also work if the timeout gets removed because the timeout_handler
2390 2008-03-19 Michael Natterer <mitch@imendio.com>
2392 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2394 * src/hildon-volumebar.c
2395 * src/hildon-vvolumebar.c
2396 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2397 the widget becomes focussable at all.
2399 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2400 set the focus to wither the mute button or the volumebar.
2402 Remove own "can-focus" property and instead listen to
2403 notify::can-focus in order to update the widget's state.
2405 Implement GtkWidget::focus() and make sure we can also *leave* the
2406 widget, not only enter it, depending on volumebar orientation and
2407 requested focus direction.
2409 Clean up set_mute() to cooperate nicely with all the above.
2411 2008-03-04 Michael Natterer <mitch@imendio.com>
2413 Fixes: NB#78481: information banners are hidden under browser menu
2415 * src/hildon-banner.c: call gtk_window_present() on the banners so
2416 they are risen if they are already visible.
2418 2008-03-03 Sven Herzberg <sven@imendio.com>
2420 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2422 * examples/hildon-window-menu-example.c: (main): extended the window
2423 menu example to serve as a testcase for automatically added
2424 accelerator groups, too
2425 * src/hildon-window.c: (hildon_window_add_accel_group),
2426 (hildon_window_set_menu): added patch by Tommi Komulainen
2428 2008-03-03 Sven Herzberg <sven@imendio.com>
2430 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2432 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2433 knowledge about the border allocators used within GTK+
2435 2008-02-26 Sven Herzberg <sven@imendio.com>
2437 Fixes: MB#2981: Build with asserts broken
2439 * src/hildon-date-editor.c,
2440 * src/hildon-number-editor.c,
2441 * src/hildon-time-editor.c,
2442 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2443 the proper GType instance check
2445 2008-02-25 Sven Herzberg <sven@imendio.com>
2447 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2449 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2450 * examples/hildon-window-menu-example.c: (main): explicitly show
2452 * src/hildon-window.c:
2453 (hildon_window_set_main_menu): moved most of the code from set_menu()
2454 to this place; skipped the call to gtk_widget_show_all(); also didn't
2455 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2456 (hildon_window_set_menu): removed most of the code, just keep the
2457 questionable gtk_widget_show_all()
2458 * src/hildon-window.h: added the new function and deprecate the old
2461 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2467 * debian/changelog: Updating.
2469 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2472 * pkgconfig/Makefile.am:
2473 * pkgconfig/hildon.pc.in:
2476 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2477 use newly created API_MAJOR_VERSION.
2479 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2485 * debian/changelog: Updating.
2487 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2489 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2491 Add outer_border style property, we use it but don't define it (!).
2495 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2497 * examples/hildon-bread-crumb-trail-example.c (main):
2501 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2503 Fix logic for the bread crumb trail node removal.
2507 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2513 * debian/changelog: Updating.
2515 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2517 Patch by Alejandro to get/set passwords dialogs accesibility.
2519 * hildon-1/src/hildon-get-password-dialog.c:
2520 * hildon-1/src/hildon-set-password-dialog.c:
2521 Set atk_set_name to the passwd entries in order to allow
2522 accessibility by name on this entries.
2524 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2529 * debian/control: Updating gtk dep.
2531 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2533 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2534 USE_MAEMO_GTK is enabled.
2536 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2538 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2539 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2541 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2547 * debian/changelog: Updating.
2549 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2551 * examples/Makefile.am:
2552 * examples/hildon-logical-color-example.c:
2553 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2554 applied + adding a test case. Fixes: NB#71660.
2556 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2558 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2559 to be visible, fixes warning on map for windows without toolbars.
2561 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2563 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2564 2.11.0, add a check for that besides the MAEMO_GTK check.
2566 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2572 * debian/changelog: Updating.
2574 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2576 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2577 visibility. Fixes: NB#70842 and MB#615.
2579 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2581 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2582 set the separator as no-show-all so it doesn't unintentionally appear when
2583 someone does a show_all.
2585 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2587 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2588 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2589 toplevel item. Fixes: NB#62031
2591 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2593 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2594 fix the name of the function in the docs.
2596 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2602 * debian/changelog: Updating.
2604 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2606 * examples/hildon-banner-long-example.c: Adding a test-case for long
2609 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2611 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2613 * src/hildon-color-chooser-dialog.c:
2614 * src/hildon-color-chooser.c:
2615 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2616 memory leaks in font selector and color selector. Fixes: NB#70499 and
2619 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2621 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2623 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2625 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2626 little bit bigger. Fixes: #NB63694.
2628 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2634 * debian/changelog: Updating.
2636 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2639 * doc/hildon-docs.sgml:
2640 * doc/images/bread-crumb-trail.png:
2641 * doc/images/calendar-popup.png:
2642 * doc/images/caption.png:
2643 * doc/images/code-dialog.png:
2644 * doc/images/color-button.png:
2645 * doc/images/color-chooser-dialog.png:
2646 * doc/images/color-chooser.png:
2647 * doc/images/controlbar.png:
2648 * doc/images/date-editor.png:
2649 * doc/images/font-selection-dialog.png:
2650 * doc/images/get-password-dialog.png:
2651 * doc/images/hvolumebar.png:
2652 * doc/images/login-dialog.png:
2653 * doc/images/note.png:
2654 * doc/images/number-editor.png:
2655 * doc/images/range-editor.png:
2656 * doc/images/seekbar.png:
2657 * doc/images/set-password-dialog.png:
2658 * doc/images/sort-dialog.png:
2659 * doc/images/time-editor.png:
2660 * doc/images/time-picker.png:
2661 * doc/images/vvolumebar.png:
2662 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2663 Adding the bread-crumb-trial and helpers to the documentation.
2665 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2667 * examples/hildon-find-toolbar-example.c:
2668 * src/hildon-find-toolbar.c:
2669 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2670 actually continue firing the other handlers if connected. Adding a new
2672 hildon_find_toolbar_get_last_index that gets the index of the most
2673 recently added (last) item. Fixes: NB#52301.
2675 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2677 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2678 behaviour. Fixes: NB#68610.
2680 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2682 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2685 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2687 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2688 when realizing the banner. Should make the infonbanner effect a bit more
2691 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2693 * src/hildon-volumebar.c:
2694 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2695 hildon_volumebar_set_range_insensitive_message and
2696 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2698 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2700 * src/hildon-window.c: Fixing the border freeing on destroy.
2702 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2704 * src/hildon-code-dialog-private.h:
2705 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2706 kw keyboard support in HildonCodeDialog.
2708 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2714 * debian/changelog: Updating.
2716 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2718 * src/hildon-date-editor.c:
2719 * src/hildon-number-editor.c:
2720 * src/hildon-private.c:
2721 * src/hildon-private.h:
2722 * src/hildon-time-editor.c:
2723 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2724 handling in subclassed composite widgets. Fixes: NB#66628.
2726 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2728 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2729 from destroy_ callback as it introduces problems in async dbus signal
2730 handlers. Fixes NB#66673.
2732 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2734 * examples/hildon-hvolumebar-example.c:
2735 * src/hildon-volumebar.c: Improving the focus handling in the
2736 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2737 set_property accessor so that "mute" property can be actually set. I'm
2738 scared that nobody noticed it's totally broken.
2740 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2742 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2745 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2747 * src/hildon-calendar.c:
2748 * src/hildon-number-editor.c:
2749 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2750 matches the spec of 6 chars per second. Fixes: NB#60489.
2752 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2754 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2755 gtk_style_lookup_color sometime returns FALSE even though color was
2756 found and values were filled properly. Weird. Removing the warning for the
2759 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2761 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2762 expand vertically. Adding some extra space to the find toolbar buttons to
2763 make them thumbable. Fixes NB#66060.
2765 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2767 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2768 popup with "Ok" and "Cancel". Fixes NB#59299.
2770 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2772 * src/hildon-calendar.c: Process all window updates before executing next
2773 timeout. Fixes: NB#54146.
2775 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2781 * debian/changelog: Updating.
2783 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2785 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2786 the client event and ignore it, since we use the delete event to close
2789 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2791 * src/hildon-helper.c: Remove the bogus warning about color not being
2792 found. Fixes NB#58352.
2794 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2796 * examples/Makefile.am:
2797 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2798 HildonSeekbar widget inside a toolbar.
2800 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2802 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2803 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2804 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2805 don't want to be closed by non-temporary windows on map.
2807 Also use G_DEFINE_TYPE instead of manually typed code.
2809 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2816 * debian/rules: Updating.
2818 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2820 * examples/Makefile.am:
2821 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2822 bug NB#61128. Strangely it works.
2824 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2826 * src/hildon-date-editor.c: When the date editor entry has been changed
2827 but the numbers of characters < max, turn off the skip validation flag.
2828 Prevents a situation when we enter first a valid year and later re-write
2829 it with an invalid one. Fixes NB#60154.
2831 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2833 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2834 code dialog. Fixes NB#64355.
2836 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2838 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2839 switching the page. Fixes NB#49374.
2841 * examples/Makefile.am:
2842 * examples/hildon-wizard-dialog-example.c: Adding an example for
2843 HildonWizardDialog that shows how to handle manual sensitivity setting on
2846 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2850 * src/hildon-version.h.in:
2851 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2853 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2855 * src/hildon-volumebar.c: Updating the docs.
2857 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2863 * debian/changelog: Updating.
2865 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2867 * src/hildon-find-toolbar.c:
2868 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2869 selected item: hildon_find_toolbar_set_active,
2870 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2871 hildon_find_toolbar_get_active_iter . They correspond to respective
2872 GtkComboBox functions.
2874 * examples/Makefile.am:
2875 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2878 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2880 * examples/Makefile.am:
2881 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
2884 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
2885 when font size > 32 and we pack a focusable widget inside. Actually using
2886 the default response would work too, but since we don't show default
2887 response state in any way (no theming) it would not be visible to the
2888 user. Fixes NB#63430.
2890 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2892 * src/hildon-date-editor.c: Adding the missing variable setter in the
2893 set_property handler. Fixes NB#54182.
2895 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2897 * src/hildon-window.h: Changing the long key press time from 1500ms to
2898 800ms as requested in NB#63700. I have a bad feeling about this, let's
2899 see... Fixes NB#63700.
2901 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
2903 * src/hildon-time-picker.c (hildon_time_picker_class_init,
2904 hildon_time_picker_map, hildon_time_picker_realize,
2905 hildon_time_picker_style_set): Split the contents of map to more
2906 appropriate functions; set window decorations on realize and update
2907 arrows' size requisitions on style-set. Avoids unnecessary resizing.
2909 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
2914 * debian/changelog: Updating.
2916 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
2918 * src/Makefile.am: fixed installation of the header files
2920 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2926 * debian/changelog: Updating.
2928 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2930 * configure.ac: Removing some remaining of --enable-xan.
2932 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
2934 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
2935 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
2937 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
2938 2.10.12-osso6 because the move-focus signal needs to be available in
2941 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2943 * examples/Makefile.am:
2944 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
2945 that makes a HildonVolumebar insensitive before mapping it. Seems to work
2946 fine. Prolly NB#61128 is fixed now.
2948 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2950 * src/hildon-volumebar.c:
2951 * src/hildon-volumebar.h: Adding the
2952 hildon_volumebar_set_range_insensitive_message and
2953 hildon_volumebar_set_range_insensitive_messagef functions to set
2954 insensitive message on the slider of the volumebar. Fixes NB#61129.
2956 * examples/Makefile.am:
2957 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
2958 test the new insensitive messsage functionality on HildonVolumebar.
2960 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
2962 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
2965 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
2967 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
2968 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
2969 button on after clearing the trail.
2971 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2973 * src/hildon-code-dialog.c: Removing the separator from the dialog.
2975 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2977 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
2978 by splitting the installed headers in generated and non-generated groups. Use
2979 only the non-generated headers to create the hildon-enum-types.h file.
2981 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
2983 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2985 * src/hildon-window.c: Hide the window before performing the destroy.
2986 Should make the app closing a little tiny bit more snappy.
2988 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
2990 * src/hildon-seekbar.c: add gtkrange.h header
2991 * src/hildon-caption.c: remove unused variable
2993 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
2995 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
2998 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3004 * debian/changelog: Updating.
3006 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3008 * src/hildon-window.c (hildon_window_window_state_event,
3009 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3010 escape timeout on focus-out-event rather than notify::is-topmost; the
3011 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3013 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3015 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3016 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3018 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3020 * src/hildon-window: actually, you need to use the macro always, there's
3021 no private pointer in the instance structure. We should have cleaned this up
3022 when we had the chance...
3024 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3026 * src/hildon-window.c: do not get the private date from HildonWindow before
3027 it passes the g_return_if_fail check. Once it's passed the test, there's no
3028 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3029 if you are only going to access the data once. Whitespace cleanups.
3031 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3033 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3034 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3036 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3042 * debian/changelog: Updating.
3044 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3046 * src/hildon-window.c: When destroying the window, remove (if exists) the
3047 escape timeout handler. Fixes #NB59276.
3049 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3051 * src/hildon-banner.c: When realizing the widget, set the window
3052 transiency. Setting the transiency in the gobject constructor is not
3053 good, as the widget is not realized at that point. Fixes: #NB56624.
3055 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3057 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3058 Add padding for future expansions.
3060 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3062 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3063 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3064 will fake an activation on the previous to the last item of the trail, so
3065 the effect can be overrided by the developer as usual.
3066 Also change the callback for the back button to do the same thing, so its
3067 effect can be overrided too. Fixes: NB#58982
3069 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3071 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3072 HildonCaption. Fixes NB#52379.
3074 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3076 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3077 the internal state of the trail after the user has had the chance of executing
3078 his handler for the signal. Specifically, it may happen that the activated button
3079 is removed and the user still lets the default handler run. This would segfault
3082 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3084 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3085 scrollbar to the preview dialog. Fixes NB#54147.
3087 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3089 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3090 max/min year properties can be altered, so the client can modify it
3091 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3093 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3095 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3096 hildonlike by default. Fixing a problem with disappearing arrows when
3097 scrolling through months and years. Fixes NB#54127.
3099 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3101 * examples/hildon-date-editor-example.c: Adding error callback to the date
3104 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3110 * configure.ac: Updating.
3112 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3114 * configure.ac: Adding a special '--enable-xan' configure option that
3115 turns off the -Werror compilation setting. Usefull for development.
3117 * src/hildon-calendar.c:
3118 * src/hildon-number-editor.c:
3119 * src/hildon-time-picker.c: Adding the 5* multiplier to
3122 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
3124 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
3125 instead of g_object_ref + gtk_object_sink.
3127 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3133 * debian/changelog: Updating.
3135 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3137 * src/hildon-color-chooser-dialog.c:
3138 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
3139 straight from Tommi labs.
3141 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3143 * examples/hildon-finger-example.c: Correcting the header file path.
3145 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
3146 the changed signal. Fixes a small memory leak.
3148 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3152 * src/hildon-banner.c: Importing several usefull fixes from the
3153 ubuntu-mobile branch.
3155 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3157 * examples/Makefile.am:
3158 * examples/hildon-finger-example.c: Adding a finger-checking code
3161 * src/hildon-font-selection-dialog.c: Do not allocate the color
3162 structure using the g_new. Fixes NB#54061.
3164 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3166 * src/hildon-helper.c: Correcting tabs in file.
3168 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
3170 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3171 control the visibility of the children.
3173 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3175 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3181 * debian/changelog: Updating.
3183 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3185 * src/hildon-bread-crumb-trail.c:
3186 (hildon_bread_crumb_trail_size_allocate):
3188 Make the back button always a square.
3190 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3192 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3193 from the .c file as it's a private file.
3195 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3197 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3198 uses slightly bigger height.
3200 * src/hildon-font-selection-dialog.c: Adding some checks before
3201 freeing memory in the font selection dialog.
3203 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3205 * src/hildon-font-selection-dialog.c: Adding a small check when
3208 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3209 buttons sensitivity on page switching.
3211 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3213 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3214 internal details of adding a bread crumb to the trail.
3216 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3222 * debian/changelog: Updating.
3224 * src/hildon-bread-crumb-trail.h:
3225 * src/hildon-bread-crumb.h: Changing the API guard to
3226 HILDON_ENABLE_UNSTABLE_API.
3228 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3236 * src/hildon-helper.h: Updating.
3238 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3246 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3250 * src/hildon-helper.h: Small fix to make the package actually compile.
3252 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3254 * src/hildon-bread-crumb-trail.h:
3255 * src/hildon-bread-crumb.h:
3257 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3258 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3260 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3262 * examples/hildon-bread-crumb-trail-example.c:
3264 * src/hildon-bread-crumb-trail.c:
3265 * src/hildon-bread-crumb-trail.h:
3266 * src/hildon-bread-crumb.c:
3267 * src/hildon-bread-crumb.h:
3268 * src/hildon-marshalers.list:
3269 * src/hildon-bread-crumb-widget.c:
3270 * src/hildon-bread-crumb-widget.h:
3272 Slight change in the widget design. The bread crumb trail API is
3273 unchanged, but HildonBreadCrumb is now an interface. A *private*
3274 implementation, hildon-bread-crumb-widget, is provided and used
3275 internally by the trail for the push_text/push_icon functions.
3277 The generic push API is still available, so anyone can implement
3278 and use its own bread crumb widget.
3280 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3282 * debian/rules: Fixing the shlibs.
3284 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3286 * src/hildon-banner.c: Fixing a problem with timed banners having
3287 their parrent destroyed before they are.
3289 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3291 * src/hildon-bread-crumb.c:
3292 * src/hildon-bread-crumb.h:
3294 Make the get_natural_size function a vfunc.
3296 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3298 * src/hildon-bread-crumb.c:
3299 * src/hildon-bread-crumb-trail.c:
3303 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3310 * debian/changelog: Updating for release.
3312 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3314 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3315 don't leak the pango layout.
3317 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3320 * examples/hildon-bread-crumb-trail-example.c:
3324 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3326 * debian/changelog: Removing the bug-fixed entries that were actually
3327 resolved as WONTFIX.
3329 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3332 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3334 * src/hildon-bread-crumb-trail.c:
3335 * src/hildon-bread-crumb-trail.h:
3336 * src/hildon-bread-crumb.c:
3337 * src/hildon-bread-crumb.h:
3341 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3343 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3344 until it's passed the type check.
3346 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3348 * examples/hildon-bread-crumb-trail-example.c
3352 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3354 * examples/Makefile.am
3355 * examples/hildon-bread-crumb-trail-example.c
3357 * src/hildon-bread-crumb-trail.c
3358 * src/hildon-bread-crumb-trail.h
3359 * src/hildon-bread-crumb.c
3360 * src/hildon-bread-crumb.h
3362 New HildonBreadCrumbTrail widget.
3364 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
3366 * src/hildon-range-editor.c (hildon_range_editor_init),
3367 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3368 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3369 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3370 hildon_time_editor_class_init, hildon_time_editor_init),
3371 src/hildon-get-password-dialog.c (invalid_input,
3372 hildon_get_password_set_property, hildon_get_password_get_property,
3373 create_contents, hildon_get_password_dialog_set_max_characters),
3374 src/hildon-set-password-dialog.c (create_contents),
3375 src/hildon-date-editor.c (hildon_date_editor_init),
3376 src/hildon-login-dialog.c (hildon_login_dialog_init),
3377 src/hildon-number-editor.c (hildon_number_editor_init),
3378 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3379 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3380 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3381 configure option and adding the respective checks in the code.
3382 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3383 hildon_calendar_drag_data_received): fixed some build warnings.
3385 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3387 * debian/changelog: A 1.0.0 release notes.