1 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2 * src/hildon-touch-selector-column.h: new file
3 * src/hildon-touch-selector.h
4 * src/hildon-touch-selector.c
5 Implemented GtkCellLayout interface, in order to allow to configure
6 the cell layout on each individual selector column
7 (hildon_touch_selector_set_column_attributes): marked as deprecated
8 * examples/hildon-touch-selector-multi-cells-example.c
9 Example of how to use the GtkCellLayout interface on the selector
13 2008-09-24 Alberto Garcia <agarcia@igalia.com>
15 * src/hildon-app-menu.h
16 * src/hildon-app-menu.c
17 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
18 (hildon_app_menu_append, hildon_app_menu_prepend):
19 New methods to prepend, insert and move items in the menu.
21 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
23 * src/hildon-wizard-dialog.c:
25 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
27 (create_title): Update logical IDs and related code.
28 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
30 * src/hildon-wizard-dialog.h: Note that
31 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
32 point, as it is not used anymore.
34 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
36 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
39 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
40 shown. Do not display an icon in confirmation notes nor information
42 (hildon_note_set_button_text): Update logical ID for cancel button.
44 Fixes: NB#88850 (Update HildonNote button strings + signals)
46 2008-09-24 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-stackable-window.c
49 (hildon_stackable_window_set_main_menu): Fix compilation warning.
51 2008-09-24 Alberto Garcia <agarcia@igalia.com>
53 * src/hildon-app-menu-private.h
54 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
55 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
56 (hildon_app_menu_init, hildon_app_menu_class_init): Added
57 temporary property 'columns' to change the number of columns.
59 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
61 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
63 * examples/hildon-note-example.c: (on_information_clicked),
64 (on_confirmation_clicked), (on_progress_clicked), (main): Add
65 debugging information.
66 * src/hildon-note-private.h: Remove close_if_pressed_outside,
68 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
69 (hildon_note_rebuild): Remove special handling of tapping outside/inside
70 in order to close: this will be handled by the WM from now on.
72 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
74 2008-09-24 Alberto Garcia <agarcia@igalia.com>
76 * src/hildon-app-menu-private.h
77 * src/hildon-app-menu.c
78 (hildon_app_menu_append, hildon_app_menu_add_filter)
79 (button_visibility_changed, hildon_app_menu_apply_style)
80 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
81 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
82 layout everytime a button (item or filter) is shown or hidden.
84 * src/hildon-stackable-window.c
85 (hildon_stackable_window_set_main_menu): Destroy the old menu when
88 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
90 * src/hildon-touch-selector.c:
91 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
92 that the treeview inside the touch selector is in fremantle hildon mode
93 * examples/hildon-date-button-example.c
94 * examples/hildon-picker-button-multicolumn-example.c
95 * examples/hildon-touch-selector-entry-example.c
96 * examples/hildon-touch-selector-example.c
97 * examples/hildon-time-button-example.c
98 * examples/hildon-picker-button-example.c:
99 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
101 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
103 * examples/hildon-text-view-example.c: (main): Remove the
104 gtkrc bits, now handled by the theme.
106 2008-09-22 Alberto Garcia <agarcia@igalia.com>
108 * src/hildon-picker-button.c (hildon_picker_button_set_active):
111 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
113 * po/Makefile.am: Install properly the mo files.
114 * po/en_GB.po: Update translation, to ease testing purposes.
116 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
118 * examples/hildon-picker-button-example.c: (main): Select an item
119 in the selector before setting it to the button.
121 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
123 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
124 Update button's value if the selector has an item active.
126 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
127 'value' with the selector)
129 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
131 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
132 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
133 (hildon_picker_button_class_init): Plug the finalize method.
134 (hildon_picker_button_set_selector): If there's a previously set
135 selector, unref'it before setting a new one.
137 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
140 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
142 * src/hildon-touch-selector-entry.c:
143 (hildon_touch_selector_entry_changed): Check if there is no text
144 selected before setting the entry text.
147 2008-09-15 Alberto Garcia <agarcia@igalia.com>
149 * src/hildon-touch-selector.h
150 * src/hildon-touch-selector.c
151 (hildon_touch_selector_get_active)
152 (hildon_touch_selector_set_active): New methods to set/get the
153 index of the selected item.
155 * src/hildon-picker-button.h
156 * src/hildon-picker-button.c
157 (hildon_picker_button_get_active)
158 (hildon_picker_button_set_active): New methods to set/get the
159 index of the selected item.
161 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
163 * configure.ac: post-release version bump.
165 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
169 * configure.ac: Pre-release version bump.
170 * debian/changelog: Updates.
171 * debian/control: Add myself as maintainer and depend on l10n
174 2008-09-15 Alberto Garcia <agarcia@igalia.com>
176 * src/hildon-window.c
177 (hildon_window_set_main_menu)
178 * src/hildon-stackable-window.c
179 (hildon_stackable_window_set_main_menu):
180 Updated documentation.
182 2008-09-15 Alberto Garcia <agarcia@igalia.com>
184 * src/hildon-date-selector.c (hildon_date_selector_finalize):
185 Don't free selector->priv manually.
188 2008-09-12 Alejandro G. Castro <alex@igalia.com>
191 (hildon_gtk_window_set_progress_indicator):
192 * src/hildon-gtk.h: Added the new API
193 hildon_gtk_window_set_progress_indicator, it changes the state of
194 the window progress hint.
196 2008-09-12 Alberto Garcia <agarcia@igalia.com>
198 * src/hildon-button.c
199 * src/hildon-stackable-window.c: Minor documentation updates.
201 2008-09-12 Alberto Garcia <agarcia@igalia.com>
203 * src/hildon-stackable-window.c: Updated documentation.
205 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
207 * src/hildon-defines.h: Update margins definitions
208 to the Fremantle sizes.
211 2008-09-12 Alejandro G. Castro <alex@igalia.com>
213 * src/hildon-touch-selector.c,
214 (_hildon_touch_selector_set_model): Cleaning the code after
215 review, removed g_print and #if 0 from the code.
217 2008-09-11 Alberto Garcia <agarcia@igalia.com>
219 * src/hildon-edit-toolbar.c: Update documentation.
221 2008-09-11 Alberto Garcia <agarcia@igalia.com>
223 * src/hildon-check-button.h
224 * src/hildon-check-button.c
225 (hildon_check_button_set_label, hildon_check_button_get_label)
226 * examples/hildon-check-button-example.c
228 Removed deprecated methods.
230 2008-09-11 Alberto Garcia <agarcia@igalia.com>
232 * src/hildon-text-view.c:
233 Add sample code to the documentation.
236 * src/hildon-text-view.h:
237 Minor cosmetic changes.
239 * src/hildon-entry.c:
240 Add sample code to the documentation.
241 (hildon_entry_init, hildon_entry_refresh_contents):
242 Don't allow NULL values in the placeholder.
244 2008-09-10 Alberto Garcia <agarcia@igalia.com>
246 * doc/hildon-docs.sgml
248 * examples/Makefile.am
249 * examples/hildon-text-view-example.c
251 * src/hildon-text-view.c
252 * src/hildon-text-view.h
254 New HildonTextView widget, with example.
256 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
258 * po/POTFILES.in: Add missing files with translatable strings.
259 Partially fixes NB#88287.
261 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
263 * examples/hildon-pannable-area-example-2.c: (main): No need to
264 set the cellrenderer height inside hildon touch lists, the theme does
267 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
269 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
270 they are integrated in the theme.
272 2008-09-09 Alberto Garcia <agarcia@igalia.com>
274 * examples/hildon-entry-example.c: Update the example adding
275 widgets to modify the text and the placeholder of the HildonEntry.
277 * src/hildon-entry.c: Show the placeholder everytime the widget
278 is empty and loses the focus.
280 2008-09-09 Alejandro G. Castro <alex@igalia.com>
282 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
284 * src/hildon-pannable-area.c,
285 (hildon_pannable_area_size_request): Fixed bug in height
286 requisition, avoid increasing size and add border twice.
288 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
290 * configure.ac: postrelease version bump.
292 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
296 * configure.ac: Prerelease version bump.
297 * debian/changelog: update.
298 * debian/rules: make -dbg package contain useful debugging symbols.
300 2008-09-08 Alberto Garcia <agarcia@igalia.com>
302 * src/hildon-dialog.h
303 * src/hildon-dialog.c
304 (hildon_dialog_add_button, hildon_dialog_add_buttons):
305 New methods to add buttons with finger size.
306 (hildon_dialog_new_with_buttons):
307 Create buttons with finger size.
309 * examples/hildon-dialog-example.c (main): Use HildonDialog
310 methods to add buttons.
312 2008-09-08 Alberto Garcia <agarcia@igalia.com>
314 * src/hildon-entry.c: Updated HildonButton documentation.
316 2008-09-08 Alberto Garcia <agarcia@igalia.com>
318 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
319 button value label with (FALSE, FALSE) to prevent NB#88126 from
322 2008-09-08 Alejandro G. Castro <alex@igalia.com>
324 * examples/hildon-pannable-area-example.c,
325 (main): Removed examples panning a vbox inside a pannable
326 area. Check bug NB#87965
328 2008-09-08 Alejandro G. Castro <alex@igalia.com>
330 Patch contributed by Kris Rietveld (kris@imendio.com)
332 * src/hildon-pannable-area.c,
333 (hildon_pannable_area_get_topmost): replaced the get_geometry with
334 get_size and get_position, this saves an X server roundtrip.
336 2008-09-05 Alberto Garcia <agarcia@igalia.com>
338 * doc/hildon-docs.sgml
340 * examples/Makefile.am
341 * examples/hildon-entry-example.c
346 New HildonEntry widget, with example.
348 2008-09-05 Alberto Garcia <agarcia@igalia.com>
350 * src/hildon-button.c (hildon_button_construct_child): Pack the
351 image with expand == fill == FALSE. This is a workaround for a bug
354 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
356 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
357 labels for the text column, to make it more look more dynamic.
359 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
361 * src/hildon-time-selector.c
362 Define gettext auxiliar macro N_
363 (_create_minutes_model)
364 (_create_hours_model)
365 (_create_ampm_model): use of strftime in order to fill the model
366 * src/hildon-date-selector.c
367 (hildon_date_selector_finalize):
368 (_locales_init): remove the logic related to get the name of the months
369 using nl_langinfo, as it is not required anymore
372 (_create_month_model)
373 (_update_day_model): use of strftime in order to fill the model properly
376 2008-09-04 Alberto Garcia <agarcia@igalia.com>
378 * src/hildon-button.h
379 * src/hildon-button.c (hildon_button_get_image): New method to
382 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
384 * src/hildon-touch-selector.c:
385 (hildon_touch_selector_remove_column): Remove from the correct parent
386 and also remove the list element and free it.
389 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
391 * src/hildon-time-selector.c
392 (_create_hours_model): change the range on 12h ampm format in order to use
393 a 12-11 range instead of previous 01-12 range
394 (hildon_time_selector_set_time): change the way to select the current time
395 on 12h ampm format, due the change on the range
396 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
399 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
401 * src/hildon-touch-selector.c
402 (hildon_date_touch_selector_get_selected): fix the selection mode check,
403 in order to allow use this function on multiple row selection mode if
404 the column is different that the first one
407 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
409 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
410 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
412 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
414 * src/hildon-date-selector.h: clean some comments, now on the .c
415 * src/hildon-date-selector.c
416 (hildon_date_selector_select_month): first implementation
417 (hildon_date_selector_select_day): added documentation, reimplemented
418 using hildon_date_selector_select_current_date to avoid repeat code
421 2008-09-02 Alejandro G. Castro <alex@igalia.com>
423 Reviewed interaction logic based on device experiences, refactored
426 * src/hildon-pannable-area.c,
427 (hildon_pannable_area_class_init): Updated default vmax speed.
428 (hildon_pannable_area_calculate_velocity): Added this function, it
429 avoids duplicate valocity calculation. Adjusted calculation to
430 avoid problems with zero dist events.
432 (hildon_pannable_area_motion_notify_cb): Now we use the
433 calculate_velocity function.
435 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
437 * src/hildon-date-selector.c
438 (hildon_date_selector_select_current_date): fix the day range check
439 as it failed using the last day of the current month
442 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
444 * src/hildon-touch-selector.c
445 (hildon_touch_selector_get_num_columns): added a parameter validation
448 2008-08-29 Alberto Garcia <agarcia@igalia.com>
450 * examples/Makefile.am
451 * examples/hildon-edit-toolbar-example.c: Example of the
452 HildonEditToolbar widget.
454 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
456 * configure.ac: postrelease version bump.
458 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
462 * configure.ac: prerelease version bump.
463 * debian/changelog: update.
465 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
467 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
468 renderer to display stock icons in the touch list. Also, set the sizes
469 to the recommended in the style guide.
471 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
472 * src/hildon-touch-selector.h
473 (hildon_touch_selector_set_active_iter): renamed, now is
474 hildon_touch_selector_select_iter
475 (hildon_touch_selector_get_active_iter): renamed, now is
476 hildon_touch_selector_get_selected
477 (hildon_touch_selector_unselect_iter): added
478 * src/hildon-touch-selector.c
479 Update after API modification (methods renamed)
480 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
481 order to avoid problems selecting multiple elements on the column
482 (hildon_touch_selector_unselect_iter): added the implementation
483 * src/hildon-time-selector.c
484 * src/hildon-date-selector.c
485 * src/hildon-touch-selector-entry.c
486 Update methods calls after hildon-touch-selector.h API modification (methods
489 2008-08-29 Alberto Garcia <agarcia@igalia.com>
491 * src/hildon-stackable-window.c
492 (hildon_stackable_window_finalize): Call the parent class's finalize.
494 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
496 * examples/hildon-touch-selector-example.c: (create_selector): Use
497 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
500 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
502 * examples/hildon-touch-selector-example.c: (create_selector): Do not
503 set a cell background color, to respect theming.
505 2008-08-28 Alberto Garcia <agarcia@igalia.com>
507 * doc/hildon-docs.sgml
510 * src/hildon-edit-toolbar.c
511 * src/hildon-edit-toolbar.h
512 * src/hildon.h: New HildonEditToolbar widget.
514 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
516 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
519 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
520 * src/hildon-touch-selector.c
521 (_create_new_column): use g_object_set instead of two g_object_set_property
523 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
524 * src/hildon-touch-selector.c
525 (_create_new_column): use of hildon_gtk_tree_view_new to create
526 the treeview, instead of use directly g_object_new
527 (_create_new_column): update the property name "vindicator-mode" for the
528 new one "vscrollbar-policy"
529 * examples/hildon-date-button-example.c
530 * examples/hildon-picker-button-multicolumn-example.c
531 * examples/hildon-touch-selector-entry-example.c
532 * examples/hildon-touch-selector-example.c
533 * examples/hildon-time-button-example.c
534 * examples/hildon-picker-button-example.c
535 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
536 to all the treeviews inside a pannable area.
538 2008-08-27 Alberto Garcia <agarcia@igalia.com>
540 * src/hildon-button.h
541 * src/hildon-button.c (hildon_button_init)
542 (hildon_button_set_arrangement, hildon_button_set_alignment)
543 (hildon_button_set_title_alignment)
544 (hildon_button_set_value_alignment)
545 (hildon_button_set_image_alignment)
546 (hildon_button_construct_child): New methods to set the alignment
547 of the individual components of the button (title, value,
548 image). Also, new method to alter the xscale and yscale properties
549 of the GtkAlignment inside the button, so more complex layouts can
552 2008-08-27 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-button.c (hildon_button_style_set)
555 (hildon_button_class_init, hildon_button_set_arrangement)
556 (hildon_button_construct_child): Apply style properties
557 correctly. Use the 'image-spacing' style property too.
559 2008-08-26 Alberto Garcia <agarcia@igalia.com>
561 * src/hildon-app-menu.c (hildon_app_menu_style_set)
562 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
565 2008-08-26 Alejandro G. Castro <alex@igalia.com>
567 * src/hildon-pannable-area.c,
568 (hildon_pannable_area_size_request): Fixed problem with
569 pannable-area size_request.
571 2008-08-26 Alejandro G. Castro <alex@igalia.com>
573 Added management for the grab-focus to a child widget, like a
574 range, we need to fade out the scrollbar when releasing.
576 * src/hildon-pannable-area.c,
577 (hildon_pannable_area_init): Connected the grab-focus signal to
579 (hildon_pannable_area_grab_notify): Added this function in order
580 to manage the situation when the grab-focus ends. We have to
581 fade-out the scrollbar.
583 2008-08-25 Alberto Garcia <agarcia@igalia.com>
585 * src/hildon-app-menu.c: Minor documentation update.
587 2008-08-25 Alberto Garcia <agarcia@igalia.com>
589 * src/hildon-app-menu.c
590 * examples/hildon-app-menu-example.c (create_menu): Update
591 examples and documentation to explain how to connect callbacks.
593 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
595 * examples/hildon-button-example.c
596 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
597 hildon_stackable_window_new instead of gtk_window_new
599 2008-08-22 Alejandro G. Castro <alex@igalia.com>
601 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
602 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
603 (hildon_pannable_area_set_property),
604 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
605 (hildon_pannable_area_unrealize),
606 (hildon_pannable_area_size_request),
607 (hildon_pannable_area_size_allocate),
608 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
609 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
610 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
611 (hildon_pannable_area_initial_effect),
612 (hildon_pannable_area_redraw),
613 (hildon_pannable_area_scroll_indicator_fade),
614 (hildon_pannable_area_expose_event),
615 (hildon_pannable_area_get_topmost), (synth_crossing),
616 (hildon_pannable_area_button_press_cb),
617 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
618 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
619 (hildon_pannable_area_motion_notify_cb),
620 (hildon_pannable_area_button_release_cb),
621 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
622 (hildon_pannable_area_remove),
623 (hildon_pannable_calculate_vel_factor): Widget refactorization,
624 chage the code layout to a more GtkWidget like. Review the use of
627 2008-08-21 Alejandro G. Castro <alex@igalia.com>
629 * examples/hildon-pannable-area-example-4.c,
630 (main): Modified the name of the hindicator_mode to
633 * src/hildon-pannable-area.c,
634 (hildon_pannable_area_class_init),
635 (hildon_pannable_area_motion_notify_cb),
636 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
637 we have reduced the amount of signals and managed reviewed its
638 rationale. Changed the default decelerate value.
640 (hildon_pannable_area_add),
641 (hildon_pannable_area_redraw): Refactored functions.
643 (hildon_pannable_area_init),
644 (hildon_pannable_area_get_property),
645 (hildon_pannable_area_set_property):
646 (hildon_pannable_draw_vscroll),
647 (hildon_pannable_draw_hscroll),
648 (hildon_pannable_area_initial_effect),
649 (hildon_pannable_area_expose_event),
650 (hildon_pannable_area_scroll),
651 (hildon_pannable_area_button_press_cb),
652 (hildon_pannable_area_realize): Replaced the names hindicator_mode
653 and vindicator_mode with hscrollbar_policy and
654 vscrollbar_policy. Replaced hscroll and vscroll with
655 hscroll_visible and vscroll_visible.
657 (hildon_pannable_area_refresh): Refactor the function, remove
658 variables and check the calls to this function, added resize
659 conditions in case the children change their layout.
661 (hildon_pannable_area_size_request): Added more detailed
662 size_request calculation.
665 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
667 * src/hildon-color-chooser.c
668 (init_borders): use the correct gtk_border_free instead of g_free, to
669 avoid a crash when this widget is used (ie: the three color selection
672 2008-08-20 Alejandro G. Castro <alex@igalia.com>
674 * src/hildon-check-button.c,
675 (hildon_check_button_set_active): Fixed problem when setting the
676 active value, the widget was not redrawn.
678 2008-08-20 Alejandro G. Castro <alex@igalia.com>
680 * src/hildon-pannable-area.c,
681 (hildon_pannable_area_refresh),
682 (hildon_pannable_area_scroll),
683 (hildon_pannable_area_motion_notify_cb): Small code style change.
685 (hildon_pannable_area_class_init): Default initial_hint set to
686 FALSE, it is not in the specs.
688 (hildon_pannable_area_initial_effect),
689 (hildon_pannable_area_expose_event),
690 (hildon_pannable_area_map),
691 (hildon_pannable_area_init): Moved the launching point of the
692 initial effect, it was in map but the sizes where not correct in
693 that method so we do not know if we have the reproduce it. Now it
694 is placed in the expose_event method and uses a variable to
695 reproduce it just once.
697 2008-08-19 Alejandro G. Castro <alex@igalia.com>
699 * src/hildon-pannable-area.c,
700 (hildon_pannable_draw_vscroll),
701 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
702 position allowed for the scrollbars.
704 (hildon_pannable_area_size_allocate): Small style change.
706 2008-08-19 Alejandro G. Castro <alex@igalia.com>
708 * src/hildon-pannable-area.c,
709 (hildon_pannable_area_scroll_indicator_fade),
710 (hildon_pannable_area_button_press_cb),
711 (hildon_pannable_area_button_release_cb),
712 (hildon_pannable_area_scroll_cb),
713 (hildon_pannable_area_expose_event),
714 (hildon_pannable_area_init): Added the define parameter
715 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
716 and refactor the fade variable.
718 2008-08-19 Alejandro G. Castro <alex@igalia.com>
720 * src/hildon-pannable-area.c,
721 (hildon_pannable_area_redraw),
722 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
723 lines, we were reimplemeting the redraw code.
725 2008-08-18 Alejandro G. Castro <alex@igalia.com>
727 * src/hildon-pannable-area.c,
728 (hildon_pannable_area_scroll_cb),
729 (hildon_pannable_area_realize),
730 (hildon_pannable_area_class_init): Added scroll_event management
731 for pannable area, now we can scroll the usual desktop method.
733 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
734 initialization of the parameters should depend on idle_id.
736 (hildon_pannable_area_init),
737 (hildon_pannable_area_map): Small code style modifications
739 2008-08-18 Alejandro G. Castro <alex@igalia.com>
741 * src/hildon-pannable-area.c
742 (hildon_pannable_area_button_press_cb),
743 (hildon_pannable_area_motion_notify_cb),
744 (hildon_pannable_area_button_release_cb),
745 (hildon_pannable_area_size_allocate),
746 (hildon_pannable_area_scroll_to): Improved the timeouts
747 management, we avoid creating them each time.
749 2008-08-14 Alejandro G. Castro <alex@igalia.com>
751 * src/hildon-pannable-area.c:
752 (hildon_pannable_area_refresh),
753 (hildon_pannable_area_motion_notify_cb),
754 (hildon_pannable_area_class_init):
755 * src/hildon-pannable-area.h:
756 * src/hildon-touch-selector.c
757 (_create_new_column):
758 * examples/hildon-pannable-area-example-4.c:
759 (horizontal_movement),
762 Replaced the names of enums in the HildonPannableArea:
763 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
764 HILDON_MOVEMENT_MODE_*
765 - HILDON_PANNABLE_AREA_MOV_* ->
767 - Removed HildonPannableAreaIndicatorMode, now we
770 2008-08-14 Alberto Garcia <agarcia@igalia.com>
772 * examples/hildon-pannable-area-touch-grid-example.c
773 * examples/hildon-pannable-area-touch-list-example.c: Fix
774 compilation warnings.
776 2008-08-14 Alberto Garcia <agarcia@igalia.com>
778 * src/hildon-gtk.c (hildon_gtk_button_new)
779 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
780 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
781 images overriding the value of the "gtk-button-images" setting.
783 2008-08-14 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-check-button.c (hildon_check_button_new):
786 Instead of using a custom container, display the label and the
787 checkbox using the standard GtkButton API.
789 * examples/hildon-check-button-example.c (main): Don't use
790 hildon_check_button_set_label() anymore
792 * src/hildon-check-button.h
793 * src/hildon-check-button.c
794 (hildon_check_button_set_label, hildon_check_button_get_label):
795 Set as deprecated, now we're using gtk_button_{get,set}_label()
797 2008-08-14 Alejandro G. Castro <alex@igalia.com>
799 * src/hildon-pannable-area.c,
800 (hildon_pannable_area_get_topmost): Fixed bug with click in the
801 GtkTreeview first line we detected it after the inclusion of the
802 GtkWindowImpl in gtk+. We now check if the window is visible, not
803 just if the pointer is over the window.
804 (hildon_pannable_axis_scroll),
805 (hildon_pannable_area_expose_event): Small style changes.
807 2008-08-13 Alberto Garcia <agarcia@igalia.com>
809 * src/hildon-button.c: Update documentation.
811 2008-08-13 Alberto Garcia <agarcia@igalia.com>
813 * examples/hildon-button-example.c: Add a switch to show images in
816 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
818 * doc/hildon-docs.sgml: Some docs reorganization.
820 2008-08-12 Alberto Garcia <agarcia@igalia.com>
822 * examples/hildon-pannable-area-touch-list-example.c
824 * examples/hildon-pannable-area-touch-grid-example.c
825 (create_icon_view): Use gtk_{tree,icon}_view_new() and
826 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
827 Fix memory leak when setting the tree model.
829 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
833 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
835 * doc/hildon.types: Remove duplicated hildon_window_get_type
836 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
837 documentation comment.
839 2008-08-12 Alberto Garcia <agarcia@igalia.com>
841 * doc/Makefile.am: Complete list of private headers.
843 2008-08-12 Alberto Garcia <agarcia@igalia.com>
845 * doc/hildon-docs.sgml
846 * src/hildon-app-menu.c
847 * src/hildon-bread-crumb.c
848 * src/hildon-button.c
850 * src/hildon-program.c
851 * src/hildon-stackable-window.c
852 * src/hildon-window.c: Lots of documentation updates.
854 2008-08-12 Alberto Garcia <agarcia@igalia.com>
856 * debian/control: Depend on Gtk 2:2.12.9-0osso3
858 * configure.ac: Require Gtk+ 2.12.9 at least
860 2008-08-12 Alejandro G. Castro <alex@igalia.com>
862 * src/hildon-pannable-area.c
863 (hildon_pannable_area_scroll_indicator_fade),
864 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
865 to protect the return of this timeout callbacks, avoiding deadlocks.
867 2008-08-12 Christian Dywan <christian@imendio.com>
870 * src/hildon-*.h: Ensure a consistent include order,
871 include <gtk/gtk.h> instead of particular files and
872 only include the topmost header in the gtk stack. See NB #39857
874 2008-08-12 Christian Dywan <christian@imendio.com>
876 * src/hildon-picker-dialog.c
877 * src/hildon-touch-selector.c: Fix warnings about unused and
878 uninitialized variables.
880 2008-08-11 Alberto Garcia <agarcia@igalia.com>
882 * examples/Makefile.am
883 * examples/hildon-check-button-example.c: Example of the hildon
886 2008-08-11 Alberto Garcia <agarcia@igalia.com>
888 * src/hildon-window.h
889 * src/hildon-window.c (hildon_window_class_init)
890 (hildon_window_unset_program): Don't make
891 hildon_window_unset_program a virtual function anymore.
893 * src/hildon-stackable-window.c: Update documentation
895 2008-08-11 Alberto Garcia <agarcia@igalia.com>
898 * doc/hildon-docs.sgml
899 * doc/visual_index.xml
900 * src/hildon-defines.c
902 * src/hildon-helper.c
903 * src/hildon-range-editor.c: Lots of documentation fixes.
905 2008-08-11 Alberto Garcia <agarcia@igalia.com>
907 * examples/hildon-picker-button-multicolumn-example.c
908 (create_touch_selector): Fix compilation warning.
910 2008-08-11 Alberto Garcia <agarcia@igalia.com>
912 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
913 (hildon_pannable_area_button_release_cb)
914 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
916 2008-08-11 Alberto Garcia <agarcia@igalia.com>
918 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
921 2008-08-11 Alberto Garcia <agarcia@igalia.com>
923 * src/hildon-bread-crumb-trail.h
924 * src/hildon-date-editor.c
925 * src/hildon-date-selector.c
926 * src/hildon-pannable-area.c
927 * src/hildon-picker-dialog.c
928 * src/hildon-time-selector.c
929 * src/hildon-touch-selector-entry.c
930 * src/hildon-touch-selector.c
931 * src/hildon-touch-selector.h: Misc documentation fixes
933 2008-08-11 Alberto Garcia <agarcia@igalia.com>
935 * examples/hildon-date-editor-example.c (main): Updated date
938 * examples/hildon-note-example.c (on_confirmation_clicked):
939 Updated confirmation note example.
941 * src/hildon-date-editor.c
942 * src/hildon-note.c: Updated sample programs in documentation.
945 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-date-button.h:
948 * src/hildon-picker-button.h:
949 * src/hildon-time-button.c:
950 * src/hildon-time-button.h:
952 Some declarations changes to allow gtk-doc to document the widgets
955 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
957 * src/hildon-date-button.c: Document the widget.
958 * src/hildon-time-button.c: Document the widget.
960 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
962 * src/hildon-picker-button.c: Document the widget.
963 * src/hildon-touch-selector-entry.c: Document the widget.
965 2008-08-08 Alberto Garcia <agarcia@igalia.com>
967 * doc/hildon-docs.sgml
970 * src/hildon-check-button.h
971 * src/hildon-check-button.c: New functions to create the Hildon
975 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
977 2008-08-08 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-button.h
980 * src/hildon-button.c
981 (hildon_button_add_title_size_group)
982 (hildon_button_add_value_size_group)
983 (hildon_button_add_image_size_group)
984 (hildon_button_add_size_groups): New functions to set size groups
985 for the button labels and image.
986 (hildon_button_new_full): Removed
988 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
990 * src/hildon-time-selector.c
991 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
992 in order to avoid a crash if gconf is not available
994 2008-08-08 Alberto Garcia <agarcia@igalia.com>
996 * src/hildon-button.c (hildon_button_set_arrangement)
997 (hildon_button_construct_child): Don't construct the button child
998 before setting the arrangement.
1000 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1002 * src/hildon-program-private.h
1003 * src/hildon-program.c
1004 * src/hildon-program.h
1005 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1006 (hildon_program_peek_window_stack)
1007 (hildon_program_pop_window_stack)
1008 (hildon_program_go_to_root_window): HildonProgram now has a
1009 separate list for stackable windows. Functions are provided to
1010 manage that list with a stack-like API.
1012 * src/hildon-stackable-window.c: Stackable window management is
1013 now much simpler with the new HildonProgram API. Windows no
1014 longer need to be manually added to the program, they're
1015 automatically pushed to the top of the stack when shown.
1017 * examples/hildon-stackable-window-example.c: Updated example to
1018 reflect the API changes.
1020 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1022 * src/hildon-touch-selector.c: Comment out unimplemented
1023 hildon_touch_selector_insert_column() to avoid a compile warning.
1025 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1027 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1028 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1029 (hildon_touch_selector_set_column_selection_mode),
1030 (_hildon_touch_selector_set_model),
1031 (hildon_touch_selector_set_model):
1033 Complete review of HildonTouchSelector documentation.
1035 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1037 * doc/hildon-docs.sgml
1041 * src/hildon-gtk.c: Convenience functions for standard Gtk
1042 widgets, used to easily perform frequent operations.
1044 * src/hildon-button-helpers.h
1045 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1047 * src/hildon-helper.h
1048 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1049 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1051 * src/hildon-button.h
1052 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1054 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-button.c (hildon_button_init)
1057 (hildon_button_set_arrangement, hildon_button_construct_child):
1058 Pack the image and the labels inside the same GtkAlignment so
1059 gtk_button_set_alignment() can be used
1061 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1063 * src/hildon-button.h
1064 * src/hildon-button.c
1065 (hildon_button_init, hildon_button_set_image)
1066 (hildon_button_set_image_position)
1067 (hildon_button_construct_child): New functions to add an image to
1070 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1072 * src/hildon-date-button.c
1073 * src/hildon-picker-button.c
1074 * src/hildon-time-button.c
1075 * src/hildon-button.c:
1076 (hildon_button_class_init): "size-flags" renamed to "size"
1077 (hildon_button_set_title): Hide the title label if set to NULL.
1079 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1081 HildonButtonFlags split into HildonButtonArrangement (to set the
1082 button layout) and HildonSizeType (which can be used for any
1085 * src/hildon-button.h
1086 * src/hildon-button.c
1087 (hildon_button_class_init)
1088 (hildon_button_set_arrangement)
1089 (hildon_button_set_property): New "size-flags"
1090 property. "arrangement-flags" renamed to "arrangement".
1091 (hildon_button_new, hildon_button_new_with_text)
1092 (hildon_button_new_full): Constructors updated to reflect type changes.
1094 * src/hildon-helper.h
1095 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1096 to set the size of a widget.
1100 * src/hildon-button-helpers.c
1101 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1103 * src/hildon-date-button.c
1104 * src/hildon-date-button.h
1105 * src/hildon-picker-button.c
1106 * src/hildon-picker-button.h
1107 * src/hildon-time-button.c
1108 * src/hildon-time-button.h: Updated widgets to reflect
1109 HildonButton API changes.
1111 * examples/hildon-button-example.c
1112 * examples/hildon-date-button-example.c
1113 * examples/hildon-picker-button-example.c
1114 * examples/hildon-picker-button-multicolumn-example.c
1115 * examples/hildon-time-button-example.c
1116 * examples/hildon-touch-selector-entry-example.c
1117 * examples/hildon-touch-selector-example.c: Updated examples to
1118 reflect HildonButton API changes.
1120 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1122 * doc/hildon-docs.sgml:
1124 * examples/Makefile.am:
1125 * examples/hildon-touch-selector-entry-example.c:
1127 * src/hildon-touch-selector-entry.c:
1128 * src/hildon-touch-selector-entry.h:
1131 Moved HildonTouchSelectorEntry from sandbox. Added its
1132 documentation and examples.
1134 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1136 * src/hildon-touch-selector.h:
1137 * examples/hildon-picker-button-multicolumn-example.c:
1138 (hildon_touch_selector_append_text_column): Add a gboolean
1139 parameter to determine if text must be centered in the column.
1141 * src/hildon-date-selector.c: (hildon_date_selector_init):
1142 * src/hildon-time-selector.c: (hildon_time_selector_init):
1143 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1144 (create_touch_selector): Update widgets and example to reflect
1147 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1149 * src/hildon-touch-selector.c:
1150 (hildon_touch_selector_set_active_iter): Set also the cursor in
1153 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1155 * doc/hildon-docs.sgml
1158 * src/hildon-toggle-button.c
1159 * src/hildon-toggle-button.h
1160 * src/hildon.h: Removed HildonToggleButton widget, a derived
1161 class is not necessary for this.
1163 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1165 * src/hildon-pannable-area.c,
1166 (hildon_pannable_area_realize),
1167 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1170 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1172 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1173 "done" button the default widget for the dialog.
1175 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1177 * src/hildon-touch-selector.c:
1178 (hildon_touch_selector_class_init),
1179 (hildon_touch_selector_get_property),
1180 (_hildon_touch_selector_set_model),
1181 (_hildon_touch_selector_has_multiple_selection),
1182 (hildon_touch_selector_has_multiple_selection):
1183 Add a "has-multiple-selection" property with a virtual
1184 has_multiple_selection() method to allow derived classes to
1185 override the default value for it. See the method and property
1186 documentation for details.
1188 * src/hildon-touch-selector.h: Add the new API.
1190 * src/hildon-picker-dialog.c: (requires_done_button): Call
1191 hildon_touch_selector_has_multiple_selection() instead of
1192 determining the need for a button itself.
1194 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1196 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1197 (_hildon_touch_selector_set_model),
1198 (hildon_touch_selector_set_model): Move working code to
1199 _hildon_touch_selector_set_mode(). Call the class method instead.
1201 * src/hildon-touch-selector.h: Add (*set_model) to
1202 HildonTouchSelectorClass.
1204 Make hildon_touch_selector_set_model() a virtual method, so that
1205 derived classes can extend it and do fancy stuff with the model.
1207 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1209 * configure.ac: Set back the tarname in AC_INIT to hildon.
1211 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1215 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1216 instead of libesd (NB#86876). Volume handling is still an open issue.
1218 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1221 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1223 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1224 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1225 derived class to ease placement of an entry widget in
1226 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1227 end, where the selector columns are packed now.
1229 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1231 * src/hildon-picker-button.c: Removed the simple _text() API.
1232 * src/hildon-picker-button.h: Likewise.
1234 * src/hildon-touch-selector.h:
1235 * src/hildon-touch-selector.c:
1236 (hildon_touch_selector_new_text),
1237 (hildon_touch_selector_append_text),
1238 (hildon_touch_selector_prepend_text),
1239 (hildon_touch_selector_insert_text):
1241 Moved the simple _text() API from HildonPickerButton to
1242 HildonTouchPicker, to provide better escalability and not to tie
1243 that API to HildonPickerButton.
1245 * examples/hildon-picker-button-example.c: (main): Example updated.
1247 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-button.c: Updated documentation.
1251 * examples/hildon-button-example.c: Add the posibility to create
1252 the buttons using horizontal layout for title and value.
1254 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-app-menu-private.h
1257 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
1258 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
1259 GtkSizeGroup for the filters, use the 'homogeneous' property of
1262 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1264 * examples/hildon-button-example.c: Updated example.
1266 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
1268 * doc/hildon-docs.sgml:
1271 Update documentation.
1273 * examples/Makefile.am: Update renamed examples.
1275 * examples/hildon-picker-button-multicolumn-example.c:
1276 (create_touch_selector), (main): Update after the rename.
1278 * examples/hildon-touch-picker-example.c: Removed.
1279 * examples/hildon-touch-selector-example.c: (value_changed),
1280 (create_selector), (get_visible_content), (main): Renamed from
1281 hildon-touch-picker-example.c
1283 * src/Makefile.am: Updated renamed files.
1285 * src/hildon-date-button.c: (hildon_date_button_init),
1286 (hildon_date_button_get_date), (hildon_date_button_set_date):
1287 * src/hildon-date-selector.c: (hildon_date_selector_init),
1288 (_custom_print_func), (_update_day_model),
1289 (_manage_selector_change_cb),
1290 (hildon_date_selector_select_current_date),
1291 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1292 * src/hildon-date-selector.h:
1293 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1294 (hildon_picker_button_set_property),
1295 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1296 (hildon_picker_button_init), (hildon_picker_button_new_text),
1297 (hildon_picker_button_append_text),
1298 (hildon_picker_button_prepend_text),
1299 (hildon_picker_button_insert_text),
1300 (hildon_picker_button_set_selector),
1301 (hildon_picker_button_get_selector):
1302 * src/hildon-picker-button.h:
1303 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1304 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1305 (_update_title_on_selector_changed_cb), (requires_done_button),
1306 (_hildon_picker_dialog_set_selector),
1307 (hildon_picker_dialog_set_selector),
1308 (hildon_picker_dialog_get_selector):
1309 * src/hildon-picker-dialog.h:
1310 * src/hildon-time-button.c: (hildon_time_button_init),
1311 (hildon_time_button_get_time), (hildon_time_button_set_time):
1312 * src/hildon-time-selector.c: (hildon_time_selector_init),
1313 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1314 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1315 * src/hildon-time-selector.h:
1318 Massive code updates after the rename.
1320 * src/hildon-touch-picker.c: Removed.
1321 * src/hildon-touch-picker.h: Removed.
1323 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1324 (hildon_touch_selector_init), (hildon_touch_selector_map),
1325 (hildon_touch_selector_remove), (_default_print_func),
1326 (_selection_changed_cb), (_create_new_column),
1327 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1328 (hildon_touch_selector_append_text_column),
1329 (hildon_touch_selector_remove_column),
1330 (hildon_touch_selector_set_column_attributes),
1331 (hildon_touch_selector_insert_column),
1332 (hildon_touch_selector_get_num_columns),
1333 (hildon_touch_selector_get_column_selection_mode),
1334 (hildon_touch_selector_set_column_selection_mode),
1335 (hildon_touch_selector_set_print_func),
1336 (hildon_touch_selector_get_print_func),
1337 (hildon_touch_selector_get_active_iter),
1338 (hildon_touch_selector_set_active_iter),
1339 (hildon_touch_selector_get_selected_rows),
1340 (hildon_touch_selector_get_model),
1341 (hildon_touch_selector_set_model),
1342 (hildon_touch_selector_get_current_text),
1343 (_hildon_touch_selector_center_on_selected_items):
1344 * src/hildon-touch-selector.h: Renamed from
1345 hildon-touch-picker.[ch]
1347 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1348 references, code examples, and related documentation.
1350 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1352 * doc/hildon-docs.sgml
1355 * src/hildon-toggle-button.c
1356 * src/hildon-toggle-button.h
1357 * src/hildon.h: New HildonToggleButton widget.
1359 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1361 * src/hildon-button.c: Add API documentation.
1362 (hildon_button_set_size_groups): Check input parameters
1364 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1366 * src/hildon-pannable-area.c
1367 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1368 effect after reaching the movement thredshold. This way we start
1369 using the distance after passing the thredshold.
1371 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1373 * src/hildon-button.c: (hildon_button_set_property): Use the
1374 appropriate g_value_get_flags() method.
1376 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1378 * doc/hildon-docs.sgml:
1381 Add the touch pickers, picker dialogs, and picker button widgets
1382 to the documentation.
1384 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1386 * src/hildon-button.c: (hildon_button_set_property),
1387 (hildon_button_class_init): Make "arrangement-flags" a proper
1388 G_TYPE_FLAGS derived property.
1390 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1392 * examples/Makefile.am: Add below examples.
1393 * examples/hildon-date-button-example.c:
1394 * examples/hildon-picker-button-example.c:
1395 * examples/hildon-picker-button-multicolumn-example.c:
1396 * examples/hildon-time-button-example.c:
1397 * examples/hildon-touch-picker-example.c:
1399 Add examples for the recently added touch pickers,
1400 picker dialogs, and picker button widgets.
1402 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1404 * src/hildon-button.c: Add some API documentation
1406 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1408 * src/hildon-button.h
1409 * src/hildon-button.c
1411 (hildon_button_new_with_text): New constructor to create a button
1412 with no text at all.
1413 (hildon_button_init, hildon_button_set_arrangement)
1414 (hildon_button_set_title, hildon_button_set_value)
1415 (hildon_button_set_text)
1416 (hildon_button_construct_child): Hide the value when it's not used
1417 so the rest of the text is properly aligned.
1418 Allow creating buttons with arbitrary widgets inside (not just
1419 title/value labels).
1421 * examples/hildon-button-example.c (vertical_buttons_window)
1422 (horizontal_buttons_window): Update example to use new API.
1424 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1426 * src/Makefile.am: Added HildonTimeButton.
1427 * src/hildon-time-button.c: Added missing LGPL header.
1428 * src/hildon-time-button.h: Added missing LGPL header.
1429 * src/hildon.h: Add hildon-time-button.h
1431 Copied HildonTimeButton from sandbox to trunk. Future work on this
1432 widget must take place in trunk.
1434 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/Makefile.am: Added HildonDateButton.
1437 * src/hildon-date-button.c: Update includes.
1438 * src/hildon.h: Add hildon-date-button.h
1440 Copied HildonDateButton from sandbox to trunk. Future work on this
1441 widget must take place in trunk.
1443 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1445 * src/Makefile.am: Added HildonPickerButton.
1446 * src/hildon-picker-button.h: Update includes.
1447 * src/hildon.h: Add hildon-picker-button.h
1449 Copied HildonPickerButton from sandbox to trunk. Future work on
1450 this widget must take place in trunk.
1452 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/Makefile.am: Added HildonPickerDialog.
1455 * src/hildon-picker-dialog.c: Update includes.
1456 * src/hildon.h: Add hildon-picker-dialog.h
1458 Copied HildonPickerDialog from sandbox to trunk. Future work
1459 on this widget must take place in trunk.
1461 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1463 * src/Makefile.am: Added HildonTimeSelector.
1464 * src/hildon.h: Add hildon-time-selector.h
1466 Copied HildonTimeSelector widget from sandbox to trunk. Future
1467 work on this widget must happen in trunk.
1469 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1471 * src/Makefile.am: Added HildonDateSelector.
1472 * src/hildon.h: Add hildon-date-selector.h
1474 Copied HildonDateSelector widget from sandbox to trunk. Future
1475 work on this widget must happen in trunk.
1477 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1479 * src/Makefile.am: Added HildonTouchPicker.
1480 * src/hildon-touch-picker.c: Update includes.
1481 * src/hildon.h: Add hildon-touch-picker.h
1483 Copied HildonTouchPicker widget from sandbox to trunk. Future work
1484 on this widget must happen in trunk.
1486 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-pannable-area.c:
1489 (hildon_pannable_area_motion_notify_cb): Fix a typo.
1491 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1493 * examples/hildon-app-menu-example.c (main): Let the window
1496 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1498 * src/hildon-pannable-area.c
1499 (hildon_pannable_area_class_init): Set the min value of the
1500 overshoot properties to zero, which points out that not
1501 overshooting allowed.
1503 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1505 Modified the procedure to get the widget at a point inside the
1506 pannable area when using the movement type signals. Now the user
1507 has to call a function to get the child, that way we just
1508 calculate the child in case the user really want to use it and not
1511 * src/hildon-marshalers.list: Modified the marshallers, now we do
1512 not have the widget as a parameter.
1514 * src/hildon-pannable-area.c
1515 (hildon_pannable_area_motion_notify_cb),
1516 (hildon_pannable_area_class_init),
1517 (hildon_pannable_get_child_widget_at): Removed the widget
1518 parameter from the signal callback. We have also refactored the
1519 emission of the signals.
1521 * src/hildon-pannable-area.h: Added a new method to the API to
1522 calculate a widget at a point inside the pannable area,
1523 hildon_pannable_get_child_widget_at.
1525 * examples/hildon-pannable-area-example-4.c
1526 (horizontal_movement): Modified the example to use the new API,
1527 added condition to control which widget is under the event. This
1528 way we can avoid scrolling laterally over other widgets.
1530 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1532 * src/hildon-pannable-area.c
1533 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1534 modes, we stop getting the pointer events due to returning the
1535 callback without properly calling the get pointer again. Fixed
1536 also an error using the hscroll and vscroll.
1538 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1540 * src/hildon-app-menu-private.h
1541 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1542 (hildon_app_menu_button_release, hildon_app_menu_init)
1543 (hildon_app_menu_class_init): Don't hide the menu on button
1544 release if the user didn't press outside first.
1546 * src/hildon-window.h
1547 * src/hildon-window.c (hildon_window_toggle_menu)
1548 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1549 hildon_window_toggle_menu a virtual function for the stackable
1550 window to override it.
1552 * src/hildon-stackable-window.h
1553 * src/hildon-stackable-window-private.h
1554 * src/hildon-stackable-window.c
1555 (hildon_stackable_window_realize)
1556 (hildon_stackable_window_finalize)
1557 (hildon_stackable_window_class_init)
1558 (hildon_stackable_window_init)
1559 (hildon_stackable_window_set_main_menu): New function to set the
1560 app menu of a HildonStackableWindow.
1562 * examples/hildon-app-menu-example.c: Remove the button to show
1563 the app menu, now it'll be shown when clicking on the title bar
1566 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1569 set the widget name if the arrangement flags do not specify
1572 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/hildon-button.c: (hildon_button_set_property),
1575 (hildon_button_class_init), (hildon_button_new_full),
1576 (hildon_button_set_arrangement): Added "arrangement-flags"
1579 Make the HildonButtonFlags a construction-only property, to allow
1580 subclasses to set them properly.
1582 2008-07-21 Tim Janik <timj@imendio.com>
1584 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1585 insertion position after backspace, so additional digits are appended,
1588 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1590 * src/hildon-pannable-area.c,
1591 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1592 TODO list, it was complete and removed the g_debug and g_print
1595 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1597 Added the movement modes to the hildon-pannable-area, with this
1598 modes the developers can control in which directions the widget
1599 can scroll. They can also connect to signals in order to do
1600 something when that happens, allowing applications scroll. There
1601 is an example uploaded showing how to use it.
1603 * examples/Makefile.am:
1604 * examples/hildon-pannable-area-example-4.c: Added this example of
1605 an application using the modes.
1607 * src/hildon-marshalers.list: Added a new marshaller for the new
1610 * src/hildon-pannable-area.h: Added new enumerations and flags in
1611 order to control the movement modes and the new signals to warn
1612 about the movements in the area.
1614 * src/hildon-pannable-area.c:
1615 (hildon_pannable_axis_scroll),
1616 (hildon_pannable_area_scroll),
1617 (hildon_pannable_area_motion_notify_cb),
1618 (hildon_pannable_area_get_property),
1619 (hildon_pannable_area_set_property),
1620 (hildon_pannable_area_map),
1621 (hildon_pannable_area_class_init),
1622 (hildon_pannable_area_init),
1623 (hildon_pannable_area_jump_to): Added the modes to control the
1624 movement in the widget. We have added properties to control it,
1625 signals to warn about the movements and refactored some code.
1627 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1629 Changes required in order to allow vfast_factor set to zero to
1632 * src/hildon-pannable-area.c:
1633 (hildon_pannable_area_button_press_cb): Changed the condition, it
1634 is required for not allowing click when vfast_factor is zero.
1635 (hildon_pannable_area_timeout): Initialized velocity variables
1636 when we stop moving, it was less than 1 but not zero and we need
1637 to check zero in some situations.
1638 (hildon_pannable_area_class_init): Changed the default value of
1639 the speed factor, now the button_press is just sent in case the
1640 speed is 2 per cent of the max speed.
1641 (hildon_pannable_area_init): Initialization with 0.
1643 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1645 * src/hildon-pannable-area.c,
1646 (hildon_pannable_area_get_topmost): replaced
1647 gdk_window_get_children with gdk_window_peek_children, this way we
1648 do not have to free the list because it is not a copy.
1650 (hildon_pannable_axis_scroll),
1651 (hildon_pannable_area_scroll),
1652 (hildon_pannable_area_timeout),
1653 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1654 two parameters that were only used inside the
1655 hildon_pannable_area_scroll function.
1657 * examples/hildon-pannable-area-example.c,
1658 (get_sawtooth_label): Fixed small memory leak.
1660 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1662 More checks for the case where the overshoot is bigger than the
1665 * src/hildon-pannable-area.c:
1666 (hildon_pannable_draw_vscroll),
1667 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1668 to draw the slider of the scrollbar under the other scrollbar.
1669 (hildon_pannable_area_expose_event): added new checks to control
1670 the drawing of the overshooting area rectangle, in case it is too
1671 big for the area of the widget.
1672 (hildon_pannable_area_size_allocate): add more checks to avoid
1673 setting a position to the child widget outside the area.
1675 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1677 * src/hildon-pannable-area.c
1678 (hildon_pannable_area_size_allocate): Added conditions to control
1679 when overshooting is bigger than the allocated space for the
1680 children, this avoids negative allocations.
1682 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1684 * doc/hildon-docs.sgml
1686 * examples/Makefile.am
1687 * examples/hildon-button-example.c
1689 * src/hildon-button.c
1690 * src/hildon-button.h
1691 * src/hildon.h: Initial version of the new HildonButton widget,
1694 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1696 * src/hildon-pannable-area.c:
1697 (hildon_pannable_area_button_press_cb),
1698 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1699 (hildon_pannable_area_motion_notify_cb),
1700 (hildon_pannable_area_button_release_cb),
1701 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1702 (hildon_pannable_area_jump_to_child):
1704 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1706 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1708 * examples/Makefile.am
1709 * examples/hildon-pannable-area-touch-grid-example.c
1710 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1711 the Hildon Touch List and Hildon Touch Grid using the
1712 HildonPannableArea widget.
1714 2008-06-27 Alejandro G. Castro <alex@igalia.com>
1716 * src/hildon-pannable-area.c,
1717 (hildon_pannable_area_button_press_cb),
1718 (hildon_pannable_area_refresh),
1719 (hildon_pannable_area_scroll),
1720 (hildon_pannable_area_motion_notify_cb),
1721 (hildon_pannable_area_button_release_cb),
1722 (hildon_pannable_area_expose_event),
1723 (hildon_pannable_area_add),
1724 (hildon_pannable_area_remove),
1725 (hildon_pannable_area_realize),
1726 (hildon_pannable_area_size_allocate),
1727 (hildon_pannable_area_class_init),
1728 (hildon_pannable_area_init),
1729 (hildon_pannable_area_scroll_to_child),
1730 (hildon_pannable_area_jump_to_child): Fixed the problem of
1731 removing the child from the GtkBin, we have rearranged the widget
1732 hierarchy, now there is no GtkAlignment which was not doing
1733 anything interesting but breaking some of the assumptions of
1734 GtkContainer. Now developers if they want to add a GtkAlignment
1735 they could, but it is not inside the area.
1737 We had to review the whole allocation/expose process, now it is
1738 improved and we save at least three signals which would be saving
1739 some time when rendering the widget. The allocation of the
1740 scrollbars is now made in the allocate method as usual.
1742 We have also added some conditions in order to control when there
1743 is no child of the pannable area. Maybe we will need more work
1746 2008-06-27 Alejandro G. Castro <alex@igalia.com>
1748 * src/hildon-pannable-area.c,
1749 (hildon_pannable_area_dispose): Released the fade-out timeout when
1750 disposing the widget.
1752 2008-06-27 Alejandro G. Castro <alex@igalia.com>
1754 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1755 zero, we are going to use that property in order to deactivate the
1757 (hildon_pannable_axis_scroll),
1758 (hildon_pannable_area_size_allocate): Added conditions to control
1759 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1760 call, now it is called in all situations and we can remove calls
1761 in the allocate method.
1762 (hildon_pannable_area_map): Control the situation when
1763 overshoot_max is zero, we do not need the timeout.
1764 (hildon_pannable_area_class_init): Added documentation in order to
1765 point out that setting zero to overshoot_max means deactivate
1768 NOTE: removed trailing whitespaces from my previous comments of
1771 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-pannable-area.c
1774 (hildon_pannable_area_get_property),
1775 (hildon_pannable_area_set_property),
1776 (hildon_pannable_area_map),
1777 (hildon_pannable_area_class_init),
1778 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1779 to cause the widget give a hint about its panning abilities upon
1782 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
1784 * src/hildon-pannable-area.c: Several documentation improvements.
1786 2008-06-26 Alberto Garcia <agarcia@igalia.com>
1788 * src/hildon-program.c
1789 * src/hildon-stackable-window.c: Update documentation.
1791 2008-06-26 Alberto Garcia <agarcia@igalia.com>
1793 * src/hildon-stackable-window.c (get_previous_window_if_last):
1794 Renamed get_last_window()
1795 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1796 (hildon_stackable_window_unset_program):
1798 (get_previous_window_if_last):
1799 Detect if the window hasn't been added to a HildonProgram.
1801 2008-06-26 Alejandro G. Castro <alex@igalia.com>
1803 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
1805 * src/hildon-pannable-area.c
1806 (hildon_pannable_area_button_press_cb),
1807 (hildon_pannable_axis_scroll),
1808 (hildon_pannable_area_scroll),
1809 (hildon_pannable_area_timeout),
1810 (hildon_pannable_calculate_vel_factor),
1811 (hildon_pannable_area_get_property),
1812 (hildon_pannable_area_set_property),
1813 (hildon_pannable_area_class_init),
1814 (hildon_pannable_area_init),
1815 (hildon_pannable_area_scroll_to),
1816 (hildon_pannable_area_jump_to),
1817 (hildon_pannable_area_scroll_to_child),
1818 (hildon_pannable_area_jump_to_child):
1819 * src/hildon-pannable-area.h: Added the new API functions:
1820 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1821 hildon_pannable_area_scroll_to_child,
1822 hildon_pannable_area_jump_to_child
1825 * examples/Makefile.am
1826 * examples/hildon-pannable-area-example-2.c
1827 * examples/hildon-pannable-area-example-3.c: Added these two new
1828 examples in order to test and show how the new APIs work.
1830 2008-06-25 Alberto Garcia <agarcia@igalia.com>
1832 * examples/hildon-stackable-window-example.c (new_window):
1833 * src/Makefile.am (noinst_HEADERS):
1834 * src/hildon-program.c (hildon_program_go_to_root_window):
1835 * src/hildon-program.h:
1836 * src/hildon-stackable-window-private.h:
1837 * src/hildon-stackable-window.c:
1838 * src/hildon-stackable-window.h:
1839 Create hildon-stackable-window-private.h
1840 Move hildon_stackable_window_go_to_root_window() to HildonProgram
1842 * examples/hildon-app-menu-example.c (create_menu):
1843 * examples/hildon-hvolumebar-insensitive-example.c (main):
1844 * examples/hildon-hvolumebar-timer-example.c (on_idle):
1845 * examples/hildon-toolbar-seekbar-example.c (main):
1846 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
1847 * src/hildon-banner.c (hildon_banner_set_property):
1848 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
1849 Fix compilation warnings
1851 * src/hildon-window.c:
1854 2008-06-24 Alberto Garcia <agarcia@igalia.com>
1856 * src/hildon-stackable-window.c
1857 (hildon_stackable_window_unset_program):
1858 Calculate correctly whether to show the previous window if the
1859 last one is removed from the stack.
1860 (hildon_stackable_window_go_to_root_window):
1861 Send delete events starting from the topmost window.
1862 Stop if one of the windows is not destroyed.
1864 (hildon_stackable_window_delete_event)
1865 (hildon_stackable_window_class_init):
1866 Ignore the delete event if the window is not the topmost one.
1868 2008-06-24 Alejandro G. Castro <alex@igalia.com>
1870 * src/hildon-pannable-area.c
1871 (hildon_pannable_area_expose_event): Fixed a problem when
1872 selecting the background color of the scrollbars.
1874 2008-06-23 Alberto Garcia <agarcia@igalia.com>
1876 * examples/hildon-stackable-window-example.c
1877 * src/hildon-stackable-window.c
1878 * src/hildon-stackable-window.h
1879 hildon_stackable_window_go_home() renamed to
1880 hildon_stackable_window_go_to_root_window()
1881 Send delete events to windows rather than closing them with
1882 gtk_widget_destroy()
1884 2008-06-19 Alberto Garcia <agarcia@igalia.com>
1886 * src/hildon-pannable-area.c
1887 (hildon_pannable_area_button_release_cb): Fix overshooting in
1890 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
1892 * src/hildon-pannable-area.c
1893 (hildon_pannable_area_init): Initially show the scroll indicators.
1894 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
1896 Add initial effect showing the widget is pannable.
1898 2008-06-19 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-pannable-area.c
1901 (hildon_pannable_area_class_init)
1902 (hildon_pannable_area_set_property)
1903 (hildon_pannable_area_get_property)
1904 (hildon_pannable_area_button_press_cb):
1905 New 'velocity_fast_factor' property to decide which velocity is
1908 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-pannable-area.c
1911 (hildon_pannable_draw_hscroll)
1912 (hildon_pannable_draw_vscroll):
1913 Use float variables to calculate the size of the scrollbars to
1914 avoid error propagation and resizing during scrolling.
1916 2008-06-19 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-pannable-area.c
1919 (hildon_pannable_draw_vscroll)
1920 (hildon_pannable_draw_hscroll):
1921 Define a minimum size for the scroll bars
1923 * src/hildon-stackable-window.c
1924 (hildon_stackable_window_go_home): Fix compilation warning
1925 (get_last_window): Minor optimizations
1926 (hildon_stackable_window_class_init): Fix initialization of
1929 2008-06-18 Alberto Garcia <agarcia@igalia.com>
1931 * src/hildon-stackable-window.c: Fixed typos in doc
1933 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-pannable-area.c
1936 (hildon_pannable_area_scroll):
1937 Calculate here whether we need to scroll instead of using the booleans
1938 that tell us whether to /draw/ the scrolling bars.
1940 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
1942 * src/hildon-app-menu.h
1944 * src/hildon-app-menu.c
1945 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
1946 multiple filter groups related code and API. Now we support only
1948 * examples/hildon-app-menu-example.c:
1950 Update to reflect API changes.
1952 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
1954 * src/hildon-stackable-window.c
1955 (hildon_stackable_window_class_init):
1956 Add hildon_stackable_window_realize.
1957 (hildon_stackable_window_realize):
1958 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
1959 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
1960 to apply theming and behavior specific to HildonStackableWindow
1963 2008-06-12 Alberto Garcia <agarcia@igalia.com>
1965 * src/hildon-note.c (hildon_note_button_release):
1966 Close information notes also when tapping on them
1968 2008-06-12 Alejandro G. Castro <alex@igalia.com>
1970 Added BOUNCE_STEPS define to control the overshoot effect. Removed
1971 ELASTICITY, refactor and review, fix some issues with drawing
1974 * src/hildon-pannable-area.c:
1975 (hildon_pannable_area_button_press_cb): removed the conditions to
1976 avoid clicks when overshooting. It is not required
1978 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
1979 define. Refatored and reviewed the code, now we do not need to
1980 manage velocity in motion_notify.
1982 (hildon_pannable_area_motion_notify_cb): We have moved the code
1983 that controls the area_scroll to the axis_scroll function and get
1984 rid of duplicated code.
1986 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
1988 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
1990 (hildon_pannable_draw_vscroll),
1991 (hildon_pannable_draw_hscroll): Fixed the problems with the
1992 scrollbar drawing, now we do not use two surfaces, it is easier
1993 and saves resources.
1995 (hildon_pannable_area_get_property): Style modification.
1997 (hildon_pannable_area_class_init): Changed some default values.
1999 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-stackable-window.c: Fix some typos in the
2004 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-dialog.c:
2007 Change indentation style
2010 (hildon_note_button_release):
2011 Use root coordinates to check if the release event happened
2014 * src/hildon-app-menu.c
2015 (hildon_app_menu_button_release):
2016 Remove unnecessary check
2018 * examples/hildon-app-menu-example.c
2020 Add cast to fix warning
2022 * src/hildon-app-menu.c
2023 (hildon_app_menu_class_init):
2024 New inner-border style property.
2025 Set all default spacings to 16
2026 (hildon_app_menu_init):
2027 Use vertical-spacing to set the space between filter buttons and
2028 regular menu buttons.
2029 Set the default container border using the inner-border value.
2031 * examples/hildon-app-menu-example.c
2033 Don't set the menu border explicitly, now we have the inner-border
2034 style property for that.
2036 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2038 * src/hildon-app-menu.c (hildon_app_menu_init):
2039 Make the window modal
2041 * src/hildon-note.c (hildon_note_map)
2042 * src/hildon-app-menu.c (hildon_app_menu_map):
2043 Destroy the grab window if we're unable to grab the pointer
2045 * src/hildon-app-menu-private.h
2046 * src/hildon-app-menu.c
2047 (hildon_app_menu_init, hildon_app_menu_finalize)
2048 (hildon_app_menu_map, hildon_app_menu_unmap)
2049 (hildon_app_menu_button_release)
2050 (grab_transfer_window_get):
2051 Bring back the grab window
2052 (hildon_app_menu_realize):
2053 Decorate the window, set WM hint for Matchbox
2055 * src/hildon-note.c (hildon_note_realize):
2056 * src/hildon-banner.c (hildon_banner_realize):
2057 Add WM hints for Matchbox
2059 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2061 * src/hildon-app-menu-private.h
2062 * src/hildon-app-menu.c
2063 (hildon_app_menu_init, hildon_app_menu_finalize)
2064 (hildon_app_menu_map, hildon_app_menu_unmap)
2065 (hildon_app_menu_button_release):
2066 Remove the grab window, it's not needed anymore
2068 * src/hildon-program.c
2069 Fixed typo in documentation
2071 * src/hildon-app-menu.h
2072 * src/hildon-app-menu.c
2073 * examples/hildon-app-menu-example.c
2074 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2076 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2079 Added new transfer_window and close_if_pressed_outside private
2081 (hildon_note_rebuild):
2082 Don't add a cancel button to the information note. It will be
2083 closed when tapping outside
2084 Remove the comment about the OK button in the documentation
2085 (hildon_note_realize):
2086 Set the notification type hint
2087 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2088 Grab/ungrab pointer and keyboard if the note has to be closed when
2090 (hildon_note_button_release):
2091 Close the note when tapping outside (if applicable)
2093 * src/hildon-app-menu.c
2094 Grab/ungrab pointer and keyboard on map/unmap
2095 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2096 Close the menu on button release, not button press
2098 * src/hildon-banner.c
2099 (hildon_banner_set_property)
2100 (hildon_banner_check_position):
2101 Make the banner use the full width of the screen
2102 (hildon_banner_show_information)
2103 (hildon_banner_show_information_with_markup):
2104 Don't display an icon by default
2106 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2108 Added fading scrollbars and adapted all the overshooting code to
2109 horizontal scrolling. We have also fixed bugs with overshooting
2110 and current fading implementation.
2112 * src/hildon-pannable-area.c
2113 (hildon_pannable_area_scroll_indicator_fade): Time out function
2114 used to change the transparency of the scrollbars.
2116 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2117 control and fixed a problem with fading, we now remove the fade
2118 timeout before adding a new one.
2120 (hildon_pannable_axis_scroll):
2121 (hildon_pannable_area_scroll):
2122 (hildon_pannable_area_timeout): Added this functions so we can use
2123 the scroll code both for vertical and horizontal.
2125 (hildon_pannable_area_motion_notify_cb):
2126 (hildon_pannable_area_button_release_cb): Added the horizontal
2127 scrolling control, fixed a problem with the overshooting timeout.
2129 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2130 painting of the scrolls.
2132 (hildon_pannable_draw_vscroll):
2133 (hildon_pannable_draw_hscroll):
2134 (hildon_pannable_area_expose_event):
2135 Draw both scrollbars and rectangles in the overshooting area.
2137 (hildon_pannable_area_get_property):
2138 (hildon_pannable_area_set_property):
2139 Modified the overshoot property to overshoot_max
2141 (hildon_pannable_area_map):
2142 Replaced the comments symbols.
2144 (hildon_pannable_area_size_allocate):
2145 (hildon_pannable_area_class_init):
2146 (hildon_pannable_area_init): Added horizontal scroll, fading
2147 effect properties, fixed a problem when overshooting in the bottom
2150 * examples/hildon-pannable-area-example.c:
2151 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2152 looks better in the example.
2154 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-window.c
2157 * src/hildon-window.h
2158 (hildon_window_class_init)
2159 (hildon_window_unset_program)
2160 (hildon_window_unset_program_real):
2161 Make unset_program a virtual function
2163 * src/hildon-stackable-window.c
2164 * src/hildon-stackable-window.h
2165 Added hildon_stackable_window_go_home()
2167 * examples/Makefile.am
2168 * examples/hildon-stackable-window-example.c
2169 HildonStackableWindow example
2171 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2173 * hildon-pannable-area.c: Added the overshoot property and removed
2174 the OVERSHOOT define. Fixed an indent style error.
2175 (hildon_pannable_area_motion_notify_cb):
2176 (hildon_pannable_area_get_property):
2177 (hildon_pannable_area_set_property): Add overshoot property.
2179 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2182 (hildon_pannable_area_class_init): Installed the new property.
2184 * hildon-pannable-area-example.c: Added a sawtooth function, this
2185 way it is easier to check the movement in the pannable.
2186 (get_sawtooth_label): Added this function.
2187 (main): Now we get the labels from the new get_sawtooth_label
2190 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2192 * src/hildon-app-menu.h
2193 * src/hildon-app-menu.c
2194 Renamed API variables for consistency
2196 (hildon_app_menu_popup): Use also the default window size to
2197 decide where to place the menu
2199 (hildon_app_menu_init, hildon_app_menu_class_init): New
2200 external-border style property
2202 2008-05-26 Michael Natterer <mitch@imendio.com>
2204 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2205 widget_class->tap_and_hold_setup signal slot doesn't exist any
2206 longer, stop overriding it.
2208 (hildon_time_editor_init): g_signal_connect() to the
2209 tap-and-hold-setup signal instead.
2211 (hildon_time_editor_entry_keypress): add cast to fix warning.
2213 2008-05-23 Alberto Garcia <agarcia@igalia.com>
2215 * doc/hildon-docs.sgml
2217 * examples/Makefile.am
2218 * examples/hildon-app-menu-example.c
2220 * src/hildon-app-menu-private.h
2221 * src/hildon-app-menu.c
2222 * src/hildon-app-menu.h
2224 New HildonAppMenu widget
2226 2008-05-21 Alejandro G. Castro <alex@igalia.com>
2228 Rearranged the inheritance of the pannable area, now it inherits
2229 from GtkBin. This will allow us to control the event_window and
2230 the allocation process of the widget, required for some effects.
2232 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
2233 GtkBin structures. * src/hildon-pannable-area.c: Added the
2234 event_window variable.
2235 (hildon_pannable_area_button_press_cb):
2236 (hildon_pannable_area_button_release_cb):
2237 (hildon_pannable_area_motion_notify_cb):
2238 Changed the signature of the method, now we override the event
2239 callback instead of connecting to the signal.
2241 (hildon_pannable_area_realize):
2242 (hildon_pannable_area_unrealize):
2243 (hildon_pannable_area_map):
2244 (hildon_pannable_area_unmap):
2245 (hildon_pannable_area_size_allocate):
2246 Added functions to control the widget construction. We add a
2247 INPUT_ONLY window and we put it over the widgets inside the
2248 container, this event_window handles the events.
2250 (hildon_pannable_area_class_init):
2251 Replaced the signal connections with overrides of the event
2254 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2256 Bouncing effect added when touching the borders, you can change
2257 the elasticity of the border changing the ELASTICITY define.
2259 * src/hildon-pannable-area.c: Added ELASTICITY define.
2260 (hildon_pannable_area_timeout): Added inverse velocity when
2261 touching the border of the child widget, that causes a bounce.
2263 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2265 Improved performance, we now do not go to the X server in order to
2266 get the list of window children. Apparently the effect is the
2267 same, we have to be careful and check if this breaks something in
2270 * src/hildon-pannable-area.c:
2271 (get_ordered_children): Removed this function.
2272 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
2273 the children windows function with gdk_window_get_children.
2275 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2277 * src/hildon-pannable-area.c:
2278 (hildon_pannable_area_dispose): Fixed a crash when closing the
2279 window and kinetics is activated.
2281 2008-05-19 Alberto Garcia <agarcia@igalia.com>
2283 * src/hildon-pannable-area.h
2284 * src/hildon-pannable-area.c
2285 Changed indentation style to meet the one used in Hildon
2287 2008-05-19 Alejandro G. Castro <alex@igalia.com>
2289 Reviewed the interaction of the AUTO mode, now we use the time
2290 attribute of the events and calculate the velocity in the motion,
2291 doing a gimp like calculation. The velocity is calculated in each
2292 motion event using the last velocity and the current one, the
2293 SMOOTH_FACTOR controls the percentage of the new velocity we use.
2295 * src/hildon-pannable-area.c: Replaced the time based algorithm
2297 (hildon_pannable_area_motion_notify_cb): now we do not launch the
2298 timeout for the AUTO mode when we are still moving the cursor. We
2299 added also the velocity calculation in this function.
2300 (hildon_pannable_area_button_release_cb): launch the timeout in
2301 case we are in AUTO mode. There are still some constants here that
2302 come from the old implementation that should be reviewed and
2305 2008-05-15 Alberto Garcia <agarcia@igalia.com>
2307 * doc/hildon-docs.sgml
2310 * src/hildon-stackable-window.c
2311 * src/hildon-stackable-window.h
2313 New HildonStackableWindow widget
2315 * examples/hildon-dialog-example.c
2316 * examples/hildon-pannable-area-example.c
2319 2008-05-14 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-dialog.c
2322 (hildon_dialog_new_with_buttons): New constructor.
2324 * examples/hildon-dialog-example.c
2325 (main): Update the example to use the new
2326 hildon_dialog_new_with_buttons().
2328 * examples/hildon-pannable-area-example.c
2329 (main): Update example.
2331 2008-05-13 Alberto Garcia <agarcia@igalia.com>
2333 * doc/hildon-docs.sgml
2335 Added HildonPannableArea to the documentation.
2337 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
2339 * doc/visual_index.xml
2340 Fix reference to HildonLoginDialog in documentation
2342 * doc/hildon-docs.sgml
2344 * examples/Makefile.am
2345 * examples/hildon-dialog-example.c
2347 * src/hildon-dialog.c
2348 * src/hildon-dialog.h
2350 New HildonDialog widget.
2352 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-pannable-area.c
2355 Merge latest changes (r4318, r4342) from libmokoui trunk
2357 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2359 * examples/Makefile.am
2360 * examples/hildon-pannable-area-example.c
2362 * src/hildon-pannable-area.c
2363 * src/hildon-pannable-area.h
2365 New HildonPannableArea widget.
2367 2008-04-15 18:05:19 <timj@imendio.com>
2369 * src/hildon-banner.c: revert the recent change, that introduced
2370 gtk_window_present() calls. this reopens:
2371 Bug 78481 - [freetest] information banners are hidden under browser menu
2372 But resolves another variant of:
2373 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2375 2008-04-15 13:21:13 <timj@imendio.com>
2377 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2378 recreated its layout, spotted by Kris. this fixes all remaining
2379 artefacts and stability issues with the banner code. in particular:
2380 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2382 2008-04-14 16:52:59 <timj@imendio.com>
2384 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2385 operating on unrealized widgets, fixes:
2386 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2388 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2390 2008-04-09 Kristian Rietveld <kris@imendio.com>
2392 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2393 makes banner disappear.
2394 Fixes: NB#79182: info banner flickering with certain message lengts.
2396 * src/hildon-banner.c (hildon_banner_constructor),
2397 (hildon_banner_init), (hildon_banner_set_text),
2398 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2399 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2400 FALSE, reset size requests of label and banner,
2401 (force_to_wrap_truncated): when the text is too wide, always enforce
2402 the maximum possible width instead of recalculating it from the
2403 layout; enforce the maximum banner height of 3 lines,
2404 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2405 nicer wrapping and no truncated chars if space gets tight.
2407 * src/hildon-banner-private.h: add has_been_wrapped and
2408 has_been_truncated fields.
2410 2008-04-07 Sven Herzberg <sven@imendio.com>
2412 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2413 local values in hildon_date_editor_size_allocate
2415 * src/hildon-date-editor.c: moved the real allocation code into the
2418 2008-04-07 Sven Herzberg <sven@imendio.com>
2420 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2421 local values in hildon_date_editor_size_allocate
2423 * src/hildon-date-editor.c: merged the two if() branches together
2425 2008-04-07 Sven Herzberg <sven@imendio.com>
2427 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2428 local values in hildon_date_editor_size_allocate
2430 * src/hildon-date-editor.c: changed the arguments of the if()
2433 2008-04-07 Sven Herzberg <sven@imendio.com>
2435 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2436 local values in hildon_date_editor_size_allocate
2438 * src/hildon-date-editor.c: split the calculation of the allocation
2439 from the real allocation
2441 2008-03-27 Michael Natterer <mitch@imendio.com>
2443 Fixes: NB#81696: The passcode is not overwritten even after
2446 * src/hildon-code-dialog.c
2447 (hildon_code_dialog_button_clicked)
2448 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2449 because that doesn't overwrite selected text. Instead, emit the
2450 "commit" signal on the entry's im_context so the entry's normal
2451 insert logic is triggered. Set the cursor to the end of the entry
2452 after each insert operation so that we *only* insert in the middle
2453 of the text if something was selected.
2455 2008-03-27 Michael Natterer <mitch@imendio.com>
2457 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2458 selector cannot be opened
2460 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2461 when the popup color selector is created. Please connect to this
2462 signal in order to set the dialog's help ID.
2464 2008-03-25 Sven Herzberg <sven@imendio.com>
2466 Fixes: MB#1212: Hide info banners (infoprints) on click
2468 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2469 extracted the close event simulation into an extra function
2470 (hildon_banner_button_press_event): simulate a close event and destroy
2471 the widget if the event wasn't handled
2472 (hildon_banner_class_init): added the button_press_event handler
2473 (hildon_banner_init): added button-press events to the widget
2475 2008-03-25 Sven Herzberg <sven@imendio.com>
2477 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2478 Patch from: Mohammad Anwari <mdamt@maemo.org>
2480 * src/hildon-banner.c: let the HildonBanners pop up on the left side
2481 instead of the right in RTL mode
2482 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2483 breadcrumb button list in RTL mode
2484 * src/hildon-caption.c: mirror the appearance of the caption widget in
2486 * src/hildon-date-editor.c: mirror appearance of the date editor in
2488 * src/hildon-time-editor.c: mirror appearance of the time editor in
2490 * src/hildon-window.c: fix the position of the popup in RTL mode
2492 2008-03-25 Sven Herzberg <sven@imendio.com>
2494 Amendment to the fix of NB#22072. Fix compilation.
2496 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2498 2008-03-19 Sven Herzberg <sven@imendio.com>
2500 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2503 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2504 timeout id properly when the timeout will disappear this leaves no
2505 artifacts around in the destroy(); there will only be the timeout
2506 created by hildon_banner_ensure_timeout() and adding a new timeout
2507 will also work if the timeout gets removed because the timeout_handler
2510 2008-03-19 Michael Natterer <mitch@imendio.com>
2512 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2514 * src/hildon-volumebar.c
2515 * src/hildon-vvolumebar.c
2516 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2517 the widget becomes focussable at all.
2519 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2520 set the focus to wither the mute button or the volumebar.
2522 Remove own "can-focus" property and instead listen to
2523 notify::can-focus in order to update the widget's state.
2525 Implement GtkWidget::focus() and make sure we can also *leave* the
2526 widget, not only enter it, depending on volumebar orientation and
2527 requested focus direction.
2529 Clean up set_mute() to cooperate nicely with all the above.
2531 2008-03-04 Michael Natterer <mitch@imendio.com>
2533 Fixes: NB#78481: information banners are hidden under browser menu
2535 * src/hildon-banner.c: call gtk_window_present() on the banners so
2536 they are risen if they are already visible.
2538 2008-03-03 Sven Herzberg <sven@imendio.com>
2540 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2542 * examples/hildon-window-menu-example.c: (main): extended the window
2543 menu example to serve as a testcase for automatically added
2544 accelerator groups, too
2545 * src/hildon-window.c: (hildon_window_add_accel_group),
2546 (hildon_window_set_menu): added patch by Tommi Komulainen
2548 2008-03-03 Sven Herzberg <sven@imendio.com>
2550 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2552 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2553 knowledge about the border allocators used within GTK+
2555 2008-02-26 Sven Herzberg <sven@imendio.com>
2557 Fixes: MB#2981: Build with asserts broken
2559 * src/hildon-date-editor.c,
2560 * src/hildon-number-editor.c,
2561 * src/hildon-time-editor.c,
2562 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2563 the proper GType instance check
2565 2008-02-25 Sven Herzberg <sven@imendio.com>
2567 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2569 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2570 * examples/hildon-window-menu-example.c: (main): explicitly show
2572 * src/hildon-window.c:
2573 (hildon_window_set_main_menu): moved most of the code from set_menu()
2574 to this place; skipped the call to gtk_widget_show_all(); also didn't
2575 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2576 (hildon_window_set_menu): removed most of the code, just keep the
2577 questionable gtk_widget_show_all()
2578 * src/hildon-window.h: added the new function and deprecate the old
2581 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2587 * debian/changelog: Updating.
2589 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2592 * pkgconfig/Makefile.am:
2593 * pkgconfig/hildon.pc.in:
2596 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2597 use newly created API_MAJOR_VERSION.
2599 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2605 * debian/changelog: Updating.
2607 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2609 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2611 Add outer_border style property, we use it but don't define it (!).
2615 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2617 * examples/hildon-bread-crumb-trail-example.c (main):
2621 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2623 Fix logic for the bread crumb trail node removal.
2627 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2633 * debian/changelog: Updating.
2635 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2637 Patch by Alejandro to get/set passwords dialogs accesibility.
2639 * hildon-1/src/hildon-get-password-dialog.c:
2640 * hildon-1/src/hildon-set-password-dialog.c:
2641 Set atk_set_name to the passwd entries in order to allow
2642 accessibility by name on this entries.
2644 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2649 * debian/control: Updating gtk dep.
2651 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2653 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2654 USE_MAEMO_GTK is enabled.
2656 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2658 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2659 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2661 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2667 * debian/changelog: Updating.
2669 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2671 * examples/Makefile.am:
2672 * examples/hildon-logical-color-example.c:
2673 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2674 applied + adding a test case. Fixes: NB#71660.
2676 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2678 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2679 to be visible, fixes warning on map for windows without toolbars.
2681 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2683 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2684 2.11.0, add a check for that besides the MAEMO_GTK check.
2686 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2692 * debian/changelog: Updating.
2694 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2696 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2697 visibility. Fixes: NB#70842 and MB#615.
2699 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2701 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2702 set the separator as no-show-all so it doesn't unintentionally appear when
2703 someone does a show_all.
2705 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2707 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2708 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2709 toplevel item. Fixes: NB#62031
2711 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2713 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2714 fix the name of the function in the docs.
2716 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2722 * debian/changelog: Updating.
2724 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2726 * examples/hildon-banner-long-example.c: Adding a test-case for long
2729 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2731 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2733 * src/hildon-color-chooser-dialog.c:
2734 * src/hildon-color-chooser.c:
2735 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2736 memory leaks in font selector and color selector. Fixes: NB#70499 and
2739 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2741 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2743 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2745 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2746 little bit bigger. Fixes: #NB63694.
2748 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2754 * debian/changelog: Updating.
2756 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2759 * doc/hildon-docs.sgml:
2760 * doc/images/bread-crumb-trail.png:
2761 * doc/images/calendar-popup.png:
2762 * doc/images/caption.png:
2763 * doc/images/code-dialog.png:
2764 * doc/images/color-button.png:
2765 * doc/images/color-chooser-dialog.png:
2766 * doc/images/color-chooser.png:
2767 * doc/images/controlbar.png:
2768 * doc/images/date-editor.png:
2769 * doc/images/font-selection-dialog.png:
2770 * doc/images/get-password-dialog.png:
2771 * doc/images/hvolumebar.png:
2772 * doc/images/login-dialog.png:
2773 * doc/images/note.png:
2774 * doc/images/number-editor.png:
2775 * doc/images/range-editor.png:
2776 * doc/images/seekbar.png:
2777 * doc/images/set-password-dialog.png:
2778 * doc/images/sort-dialog.png:
2779 * doc/images/time-editor.png:
2780 * doc/images/time-picker.png:
2781 * doc/images/vvolumebar.png:
2782 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2783 Adding the bread-crumb-trial and helpers to the documentation.
2785 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2787 * examples/hildon-find-toolbar-example.c:
2788 * src/hildon-find-toolbar.c:
2789 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2790 actually continue firing the other handlers if connected. Adding a new
2792 hildon_find_toolbar_get_last_index that gets the index of the most
2793 recently added (last) item. Fixes: NB#52301.
2795 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2797 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2798 behaviour. Fixes: NB#68610.
2800 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2802 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2805 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2807 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2808 when realizing the banner. Should make the infonbanner effect a bit more
2811 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2813 * src/hildon-volumebar.c:
2814 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2815 hildon_volumebar_set_range_insensitive_message and
2816 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2818 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2820 * src/hildon-window.c: Fixing the border freeing on destroy.
2822 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2824 * src/hildon-code-dialog-private.h:
2825 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
2826 kw keyboard support in HildonCodeDialog.
2828 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2834 * debian/changelog: Updating.
2836 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2838 * src/hildon-date-editor.c:
2839 * src/hildon-number-editor.c:
2840 * src/hildon-private.c:
2841 * src/hildon-private.h:
2842 * src/hildon-time-editor.c:
2843 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
2844 handling in subclassed composite widgets. Fixes: NB#66628.
2846 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2848 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
2849 from destroy_ callback as it introduces problems in async dbus signal
2850 handlers. Fixes NB#66673.
2852 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2854 * examples/hildon-hvolumebar-example.c:
2855 * src/hildon-volumebar.c: Improving the focus handling in the
2856 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
2857 set_property accessor so that "mute" property can be actually set. I'm
2858 scared that nobody noticed it's totally broken.
2860 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2862 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
2865 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2867 * src/hildon-calendar.c:
2868 * src/hildon-number-editor.c:
2869 * src/hildon-time-picker.c: Changing the timeout repeat so that it
2870 matches the spec of 6 chars per second. Fixes: NB#60489.
2872 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2874 * src/hildon-helper.c: Really fixing NB#58352. Looks like
2875 gtk_style_lookup_color sometime returns FALSE even though color was
2876 found and values were filled properly. Weird. Removing the warning for the
2879 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2881 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
2882 expand vertically. Adding some extra space to the find toolbar buttons to
2883 make them thumbable. Fixes NB#66060.
2885 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2887 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
2888 popup with "Ok" and "Cancel". Fixes NB#59299.
2890 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2892 * src/hildon-calendar.c: Process all window updates before executing next
2893 timeout. Fixes: NB#54146.
2895 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2901 * debian/changelog: Updating.
2903 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2905 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
2906 the client event and ignore it, since we use the delete event to close
2909 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2911 * src/hildon-helper.c: Remove the bogus warning about color not being
2912 found. Fixes NB#58352.
2914 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2916 * examples/Makefile.am:
2917 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
2918 HildonSeekbar widget inside a toolbar.
2920 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
2922 * src/hildon-banner.c (hildon_banner_init): mark the banners as
2923 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
2924 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
2925 don't want to be closed by non-temporary windows on map.
2927 Also use G_DEFINE_TYPE instead of manually typed code.
2929 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2936 * debian/rules: Updating.
2938 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2940 * examples/Makefile.am:
2941 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
2942 bug NB#61128. Strangely it works.
2944 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2946 * src/hildon-date-editor.c: When the date editor entry has been changed
2947 but the numbers of characters < max, turn off the skip validation flag.
2948 Prevents a situation when we enter first a valid year and later re-write
2949 it with an invalid one. Fixes NB#60154.
2951 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2953 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
2954 code dialog. Fixes NB#64355.
2956 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2958 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
2959 switching the page. Fixes NB#49374.
2961 * examples/Makefile.am:
2962 * examples/hildon-wizard-dialog-example.c: Adding an example for
2963 HildonWizardDialog that shows how to handle manual sensitivity setting on
2966 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2970 * src/hildon-version.h.in:
2971 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
2973 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2975 * src/hildon-volumebar.c: Updating the docs.
2977 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2983 * debian/changelog: Updating.
2985 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2987 * src/hildon-find-toolbar.c:
2988 * src/hildon-find-toolbar.h: Adding a few new functions to control the
2989 selected item: hildon_find_toolbar_set_active,
2990 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
2991 hildon_find_toolbar_get_active_iter . They correspond to respective
2992 GtkComboBox functions.
2994 * examples/Makefile.am:
2995 * examples/hildon-find-toolbar-example.c: Adding the example to test the
2998 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3000 * examples/Makefile.am:
3001 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3004 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3005 when font size > 32 and we pack a focusable widget inside. Actually using
3006 the default response would work too, but since we don't show default
3007 response state in any way (no theming) it would not be visible to the
3008 user. Fixes NB#63430.
3010 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3012 * src/hildon-date-editor.c: Adding the missing variable setter in the
3013 set_property handler. Fixes NB#54182.
3015 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3017 * src/hildon-window.h: Changing the long key press time from 1500ms to
3018 800ms as requested in NB#63700. I have a bad feeling about this, let's
3019 see... Fixes NB#63700.
3021 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3023 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3024 hildon_time_picker_map, hildon_time_picker_realize,
3025 hildon_time_picker_style_set): Split the contents of map to more
3026 appropriate functions; set window decorations on realize and update
3027 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3029 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3034 * debian/changelog: Updating.
3036 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3038 * src/Makefile.am: fixed installation of the header files
3040 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3046 * debian/changelog: Updating.
3048 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3050 * configure.ac: Removing some remaining of --enable-xan.
3052 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3054 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3055 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3057 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3058 2.10.12-osso6 because the move-focus signal needs to be available in
3061 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3063 * examples/Makefile.am:
3064 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3065 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3066 fine. Prolly NB#61128 is fixed now.
3068 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3070 * src/hildon-volumebar.c:
3071 * src/hildon-volumebar.h: Adding the
3072 hildon_volumebar_set_range_insensitive_message and
3073 hildon_volumebar_set_range_insensitive_messagef functions to set
3074 insensitive message on the slider of the volumebar. Fixes NB#61129.
3076 * examples/Makefile.am:
3077 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3078 test the new insensitive messsage functionality on HildonVolumebar.
3080 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3082 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3085 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3087 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3088 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3089 button on after clearing the trail.
3091 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3093 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3095 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3097 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3098 by splitting the installed headers in generated and non-generated groups. Use
3099 only the non-generated headers to create the hildon-enum-types.h file.
3101 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3103 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3105 * src/hildon-window.c: Hide the window before performing the destroy.
3106 Should make the app closing a little tiny bit more snappy.
3108 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3110 * src/hildon-seekbar.c: add gtkrange.h header
3111 * src/hildon-caption.c: remove unused variable
3113 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3115 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3118 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3124 * debian/changelog: Updating.
3126 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3128 * src/hildon-window.c (hildon_window_window_state_event,
3129 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3130 escape timeout on focus-out-event rather than notify::is-topmost; the
3131 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3133 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3135 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3136 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3138 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3140 * src/hildon-window: actually, you need to use the macro always, there's
3141 no private pointer in the instance structure. We should have cleaned this up
3142 when we had the chance...
3144 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3146 * src/hildon-window.c: do not get the private date from HildonWindow before
3147 it passes the g_return_if_fail check. Once it's passed the test, there's no
3148 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3149 if you are only going to access the data once. Whitespace cleanups.
3151 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3153 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3154 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3156 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3162 * debian/changelog: Updating.
3164 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3166 * src/hildon-window.c: When destroying the window, remove (if exists) the
3167 escape timeout handler. Fixes #NB59276.
3169 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3171 * src/hildon-banner.c: When realizing the widget, set the window
3172 transiency. Setting the transiency in the gobject constructor is not
3173 good, as the widget is not realized at that point. Fixes: #NB56624.
3175 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3177 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3178 Add padding for future expansions.
3180 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3182 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3183 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3184 will fake an activation on the previous to the last item of the trail, so
3185 the effect can be overrided by the developer as usual.
3186 Also change the callback for the back button to do the same thing, so its
3187 effect can be overrided too. Fixes: NB#58982
3189 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3191 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3192 HildonCaption. Fixes NB#52379.
3194 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3196 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3197 the internal state of the trail after the user has had the chance of executing
3198 his handler for the signal. Specifically, it may happen that the activated button
3199 is removed and the user still lets the default handler run. This would segfault
3202 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3204 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3205 scrollbar to the preview dialog. Fixes NB#54147.
3207 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3209 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3210 max/min year properties can be altered, so the client can modify it
3211 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3213 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3215 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3216 hildonlike by default. Fixing a problem with disappearing arrows when
3217 scrolling through months and years. Fixes NB#54127.
3219 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3221 * examples/hildon-date-editor-example.c: Adding error callback to the date
3224 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3230 * configure.ac: Updating.
3232 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3234 * configure.ac: Adding a special '--enable-xan' configure option that
3235 turns off the -Werror compilation setting. Usefull for development.
3237 * src/hildon-calendar.c:
3238 * src/hildon-number-editor.c:
3239 * src/hildon-time-picker.c: Adding the 5* multiplier to
3242 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
3244 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
3245 instead of g_object_ref + gtk_object_sink.
3247 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3253 * debian/changelog: Updating.
3255 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3257 * src/hildon-color-chooser-dialog.c:
3258 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
3259 straight from Tommi labs.
3261 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3263 * examples/hildon-finger-example.c: Correcting the header file path.
3265 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
3266 the changed signal. Fixes a small memory leak.
3268 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3272 * src/hildon-banner.c: Importing several usefull fixes from the
3273 ubuntu-mobile branch.
3275 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3277 * examples/Makefile.am:
3278 * examples/hildon-finger-example.c: Adding a finger-checking code
3281 * src/hildon-font-selection-dialog.c: Do not allocate the color
3282 structure using the g_new. Fixes NB#54061.
3284 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3286 * src/hildon-helper.c: Correcting tabs in file.
3288 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
3290 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3291 control the visibility of the children.
3293 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3295 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3301 * debian/changelog: Updating.
3303 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3305 * src/hildon-bread-crumb-trail.c:
3306 (hildon_bread_crumb_trail_size_allocate):
3308 Make the back button always a square.
3310 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3312 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3313 from the .c file as it's a private file.
3315 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3317 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3318 uses slightly bigger height.
3320 * src/hildon-font-selection-dialog.c: Adding some checks before
3321 freeing memory in the font selection dialog.
3323 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3325 * src/hildon-font-selection-dialog.c: Adding a small check when
3328 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3329 buttons sensitivity on page switching.
3331 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3333 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3334 internal details of adding a bread crumb to the trail.
3336 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3342 * debian/changelog: Updating.
3344 * src/hildon-bread-crumb-trail.h:
3345 * src/hildon-bread-crumb.h: Changing the API guard to
3346 HILDON_ENABLE_UNSTABLE_API.
3348 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3356 * src/hildon-helper.h: Updating.
3358 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3366 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3370 * src/hildon-helper.h: Small fix to make the package actually compile.
3372 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3374 * src/hildon-bread-crumb-trail.h:
3375 * src/hildon-bread-crumb.h:
3377 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3378 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3380 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3382 * examples/hildon-bread-crumb-trail-example.c:
3384 * src/hildon-bread-crumb-trail.c:
3385 * src/hildon-bread-crumb-trail.h:
3386 * src/hildon-bread-crumb.c:
3387 * src/hildon-bread-crumb.h:
3388 * src/hildon-marshalers.list:
3389 * src/hildon-bread-crumb-widget.c:
3390 * src/hildon-bread-crumb-widget.h:
3392 Slight change in the widget design. The bread crumb trail API is
3393 unchanged, but HildonBreadCrumb is now an interface. A *private*
3394 implementation, hildon-bread-crumb-widget, is provided and used
3395 internally by the trail for the push_text/push_icon functions.
3397 The generic push API is still available, so anyone can implement
3398 and use its own bread crumb widget.
3400 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3402 * debian/rules: Fixing the shlibs.
3404 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3406 * src/hildon-banner.c: Fixing a problem with timed banners having
3407 their parrent destroyed before they are.
3409 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3411 * src/hildon-bread-crumb.c:
3412 * src/hildon-bread-crumb.h:
3414 Make the get_natural_size function a vfunc.
3416 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3418 * src/hildon-bread-crumb.c:
3419 * src/hildon-bread-crumb-trail.c:
3423 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3430 * debian/changelog: Updating for release.
3432 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3434 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3435 don't leak the pango layout.
3437 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3440 * examples/hildon-bread-crumb-trail-example.c:
3444 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3446 * debian/changelog: Removing the bug-fixed entries that were actually
3447 resolved as WONTFIX.
3449 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3452 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3454 * src/hildon-bread-crumb-trail.c:
3455 * src/hildon-bread-crumb-trail.h:
3456 * src/hildon-bread-crumb.c:
3457 * src/hildon-bread-crumb.h:
3461 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3463 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3464 until it's passed the type check.
3466 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3468 * examples/hildon-bread-crumb-trail-example.c
3472 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3474 * examples/Makefile.am
3475 * examples/hildon-bread-crumb-trail-example.c
3477 * src/hildon-bread-crumb-trail.c
3478 * src/hildon-bread-crumb-trail.h
3479 * src/hildon-bread-crumb.c
3480 * src/hildon-bread-crumb.h
3482 New HildonBreadCrumbTrail widget.
3484 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
3486 * src/hildon-range-editor.c (hildon_range_editor_init),
3487 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3488 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3489 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3490 hildon_time_editor_class_init, hildon_time_editor_init),
3491 src/hildon-get-password-dialog.c (invalid_input,
3492 hildon_get_password_set_property, hildon_get_password_get_property,
3493 create_contents, hildon_get_password_dialog_set_max_characters),
3494 src/hildon-set-password-dialog.c (create_contents),
3495 src/hildon-date-editor.c (hildon_date_editor_init),
3496 src/hildon-login-dialog.c (hildon_login_dialog_init),
3497 src/hildon-number-editor.c (hildon_number_editor_init),
3498 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3499 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3500 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3501 configure option and adding the respective checks in the code.
3502 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3503 hildon_calendar_drag_data_received): fixed some build warnings.
3505 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3507 * debian/changelog: A 1.0.0 release notes.