1 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3 * debian/compat: Set to 5
4 * debian/control: Update dependencies.
5 * debian/libhildon1-dbg.install: Remove.
6 * debian/libhildon1-dev.install: Update according to cdbs paths.
7 * debian/libhildon1.install: Update according to cdbs paths.
8 * debian/rules: Switch to cdbs.
10 2008-10-01 Alberto Garcia <agarcia@igalia.com>
12 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
13 'item' variable renamed to 'filter'
15 2008-10-01 Alberto Garcia <agarcia@igalia.com>
17 * src/hildon-app-menu.c (hildon_app_menu_insert)
18 (hildon_app_menu_add_filter, remove_item_from_list)
19 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
20 Don't leak hidden items when the menu is destroyed.
22 2008-10-01 Alberto Garcia <agarcia@igalia.com>
24 * src/hildon-app-menu.c (hildon_app_menu_insert)
25 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
26 (hildon_app_menu_set_columns, item_visibility_changed)
27 (filter_visibility_changed, hildon_app_menu_repack_filters)
28 (hildon_app_menu_repack_items):
29 Repack items and filters separately.
31 Don't repack all items, change only the ones that are needed to
34 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
36 * src/Makefile.am: added hildon-touch-selector-column.h
38 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
40 * src/hildon-touch-selector.c: added the property "text-column" to the
41 class HildonTouchSelectorColumn, and related get/set functions
42 (_default_printf_func): updated to use "text-column" property
43 * src/hildon-touch-selector-entry.c: mark as deprecated the property
44 "text-column" in his documentation, as this is now included on
45 HildonTouchSelectorColumn. The get/set_property can still be used,
46 working as a wrapper to the concrete column "text-column" property
47 (_text_column_modified): callback added in order to handle the signal
48 "notify::text-column" of the concrete HildonTouchSelectorColumn
49 (hildon_touch_selector_entry_get_text_column)
50 (hildon_touch_selector_entry_set_text_column): Added documentation, and
51 modified in order to use the HildonTouchSelectorColumn "text-column"
53 * src/hildon-time-selector.c:
54 * src/hildon-date-selector.c:
55 * examples/hildon-touch-selector-example.c
56 * examples/hildon-touch-selector-multi-cells-example.c
57 * examples/hildon-picker-button-multicolumn-example.c
58 Set the right value to "text-column" property on the creation of a new
59 column using hildon_touch_selector_append_column()
61 Fixes: NB#88644 (Hardcoded first column of the model as text column)
63 2008-09-30 Alberto Garcia <agarcia@igalia.com>
65 * src/hildon-app-menu.c
66 (hildon_app_menu_construct_child, hildon_app_menu_init): When
67 updating the layout of the menu, don't create all widgets again,
68 just repack the items in their new places.
70 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
72 * src/hildon-time-selector.c
73 (hildon_time_selector_get_time)
74 (hildon_time_selector_set_time)
75 Added documentation of these public methods
77 * src/hildon-date-button.h
78 * src/hildon-touch-selector-column.h
79 * src/hildon-time-button.h
80 * src/hildon-picker-dialog.h
81 * src/hildon-time-selector.h
82 * src/hildon-picker-button.h
83 * src/hildon-touch-selector.h
84 * src/hildon-time-picker.h
85 * src/hildon-date-selector.h
86 * src/hildon-touch-selector-entry.h
87 Modified in order to use hildon-widgets code style
89 2008-09-30 Alejandro G. Castro <alex@igalia.com>
91 Added deprecated support to the compilation process using
92 HILDON_DISABLE_DEPRECATED
94 * configure.ac: Added the --disable-deprecated to the configure
97 * src/hildon-weekday-picker.c:
98 * src/hildon-weekday-picker.h: Deprecated widget, example of how
99 to use the deprecated support. We will update the other deprecated
100 widgets status in a new patch.
102 2008-09-30 Alejandro G. Castro <alex@igalia.com>
104 * configure.ac: Fixed typo with fatal warnings support, the
105 variable name was not correct
107 2008-09-29 Alberto Garcia <agarcia@igalia.com>
109 * src/hildon-app-menu.c
110 * src/hildon-program.c: Update documentation.
112 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
114 * configure.ac: Post-release version bump.
116 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
121 * configure.ac: Pre-release version bump.
122 * debian/changelog: Updates.
124 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
126 * NEWS: Update news for previous releases.
128 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
130 * examples/hildon-touch-selector-multi-cells-example.c:
131 (create_selector): Update the example to use
132 hildon_touch_selector_append_column() with a NULL renderer and set
134 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
135 passed a NULL renderer. This is documented behavior now.
137 Allow passing a NULL renderer to hildon_touch_selector_append_column().
138 This must be used if the developer wants full control on the layout of
139 the renderers to be added to the column.
141 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
143 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
145 * src/hildon-touch-selector.c: Documentation fixes.
147 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
149 * src/hildon-wizard-dialog-private.h: Remove image and box.
150 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
151 (hildon_wizard_dialog_set_property), (response): Completely remove
152 image/icon support, and the containers required for the layout.
154 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
156 2008-09-25 Alberto Garcia <agarcia@igalia.com>
158 * src/hildon-app-menu.c: Updated documentation.
160 * src/hildon-stackable-window.c
161 (hildon_stackable_window_set_main_menu): Unref the old menu after
164 2008-09-25 Alberto Garcia <agarcia@igalia.com>
166 * src/hildon-stackable-window.c
167 (hildon_stackable_window_set_main_menu): Unref the previous menu
168 instead of destroying it.
170 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
171 floating reference and set has_user_ref_count to FALSE to make
172 HildonAppMenu act like a normal ref-counted widget and not a
175 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
178 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
180 * src/hildon-touch-selector-column.h: new file
181 * src/hildon-touch-selector.h
182 * src/hildon-touch-selector.c
183 Implemented GtkCellLayout interface, in order to allow to configure
184 the cell layout on each individual selector column
185 (hildon_touch_selector_set_column_attributes): marked as deprecated
186 * examples/hildon-touch-selector-multi-cells-example.c
187 Example of how to use the GtkCellLayout interface on the selector
189 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
191 2008-09-24 Alberto Garcia <agarcia@igalia.com>
193 * src/hildon-app-menu.h
194 * src/hildon-app-menu.c
195 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
196 (hildon_app_menu_append, hildon_app_menu_prepend):
197 New methods to prepend, insert and move items in the menu.
199 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
201 * src/hildon-wizard-dialog.c:
203 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
205 (create_title): Update logical IDs and related code.
206 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
208 * src/hildon-wizard-dialog.h: Note that
209 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
210 point, as it is not used anymore.
212 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
214 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
217 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
218 shown. Do not display an icon in confirmation notes nor information
220 (hildon_note_set_button_text): Update logical ID for cancel button.
222 Fixes: NB#88850 (Update HildonNote button strings + signals)
224 2008-09-24 Alberto Garcia <agarcia@igalia.com>
226 * src/hildon-stackable-window.c
227 (hildon_stackable_window_set_main_menu): Fix compilation warning.
229 2008-09-24 Alberto Garcia <agarcia@igalia.com>
231 * src/hildon-app-menu-private.h
232 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
233 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
234 (hildon_app_menu_init, hildon_app_menu_class_init): Added
235 temporary property 'columns' to change the number of columns.
237 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
239 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
241 * examples/hildon-note-example.c: (on_information_clicked),
242 (on_confirmation_clicked), (on_progress_clicked), (main): Add
243 debugging information.
244 * src/hildon-note-private.h: Remove close_if_pressed_outside,
246 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
247 (hildon_note_rebuild): Remove special handling of tapping outside/inside
248 in order to close: this will be handled by the WM from now on.
250 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
252 2008-09-24 Alberto Garcia <agarcia@igalia.com>
254 * src/hildon-app-menu-private.h
255 * src/hildon-app-menu.c
256 (hildon_app_menu_append, hildon_app_menu_add_filter)
257 (button_visibility_changed, hildon_app_menu_apply_style)
258 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
259 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
260 layout everytime a button (item or filter) is shown or hidden.
262 * src/hildon-stackable-window.c
263 (hildon_stackable_window_set_main_menu): Destroy the old menu when
266 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
268 * src/hildon-touch-selector.c:
269 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
270 that the treeview inside the touch selector is in fremantle hildon mode
271 * examples/hildon-date-button-example.c
272 * examples/hildon-picker-button-multicolumn-example.c
273 * examples/hildon-touch-selector-entry-example.c
274 * examples/hildon-touch-selector-example.c
275 * examples/hildon-time-button-example.c
276 * examples/hildon-picker-button-example.c:
277 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
279 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
281 * examples/hildon-text-view-example.c: (main): Remove the
282 gtkrc bits, now handled by the theme.
284 2008-09-22 Alberto Garcia <agarcia@igalia.com>
286 * src/hildon-picker-button.c (hildon_picker_button_set_active):
289 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
291 * po/Makefile.am: Install properly the mo files.
292 * po/en_GB.po: Update translation, to ease testing purposes.
294 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
296 * examples/hildon-picker-button-example.c: (main): Select an item
297 in the selector before setting it to the button.
299 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
301 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
302 Update button's value if the selector has an item active.
304 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
305 'value' with the selector)
307 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
309 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
310 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
311 (hildon_picker_button_class_init): Plug the finalize method.
312 (hildon_picker_button_set_selector): If there's a previously set
313 selector, unref'it before setting a new one.
315 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
318 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
320 * src/hildon-touch-selector-entry.c:
321 (hildon_touch_selector_entry_changed): Check if there is no text
322 selected before setting the entry text.
325 2008-09-15 Alberto Garcia <agarcia@igalia.com>
327 * src/hildon-touch-selector.h
328 * src/hildon-touch-selector.c
329 (hildon_touch_selector_get_active)
330 (hildon_touch_selector_set_active): New methods to set/get the
331 index of the selected item.
333 * src/hildon-picker-button.h
334 * src/hildon-picker-button.c
335 (hildon_picker_button_get_active)
336 (hildon_picker_button_set_active): New methods to set/get the
337 index of the selected item.
339 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
341 * configure.ac: post-release version bump.
343 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
347 * configure.ac: Pre-release version bump.
348 * debian/changelog: Updates.
349 * debian/control: Add myself as maintainer and depend on l10n
352 2008-09-15 Alberto Garcia <agarcia@igalia.com>
354 * src/hildon-window.c
355 (hildon_window_set_main_menu)
356 * src/hildon-stackable-window.c
357 (hildon_stackable_window_set_main_menu):
358 Updated documentation.
360 2008-09-15 Alberto Garcia <agarcia@igalia.com>
362 * src/hildon-date-selector.c (hildon_date_selector_finalize):
363 Don't free selector->priv manually.
366 2008-09-12 Alejandro G. Castro <alex@igalia.com>
369 (hildon_gtk_window_set_progress_indicator):
370 * src/hildon-gtk.h: Added the new API
371 hildon_gtk_window_set_progress_indicator, it changes the state of
372 the window progress hint.
374 2008-09-12 Alberto Garcia <agarcia@igalia.com>
376 * src/hildon-button.c
377 * src/hildon-stackable-window.c: Minor documentation updates.
379 2008-09-12 Alberto Garcia <agarcia@igalia.com>
381 * src/hildon-stackable-window.c: Updated documentation.
383 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
385 * src/hildon-defines.h: Update margins definitions
386 to the Fremantle sizes.
389 2008-09-12 Alejandro G. Castro <alex@igalia.com>
391 * src/hildon-touch-selector.c,
392 (_hildon_touch_selector_set_model): Cleaning the code after
393 review, removed g_print and #if 0 from the code.
395 2008-09-11 Alberto Garcia <agarcia@igalia.com>
397 * src/hildon-edit-toolbar.c: Update documentation.
399 2008-09-11 Alberto Garcia <agarcia@igalia.com>
401 * src/hildon-check-button.h
402 * src/hildon-check-button.c
403 (hildon_check_button_set_label, hildon_check_button_get_label)
404 * examples/hildon-check-button-example.c
406 Removed deprecated methods.
408 2008-09-11 Alberto Garcia <agarcia@igalia.com>
410 * src/hildon-text-view.c:
411 Add sample code to the documentation.
414 * src/hildon-text-view.h:
415 Minor cosmetic changes.
417 * src/hildon-entry.c:
418 Add sample code to the documentation.
419 (hildon_entry_init, hildon_entry_refresh_contents):
420 Don't allow NULL values in the placeholder.
422 2008-09-10 Alberto Garcia <agarcia@igalia.com>
424 * doc/hildon-docs.sgml
426 * examples/Makefile.am
427 * examples/hildon-text-view-example.c
429 * src/hildon-text-view.c
430 * src/hildon-text-view.h
432 New HildonTextView widget, with example.
434 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
436 * po/POTFILES.in: Add missing files with translatable strings.
437 Partially fixes NB#88287.
439 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
441 * examples/hildon-pannable-area-example-2.c: (main): No need to
442 set the cellrenderer height inside hildon touch lists, the theme does
445 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
447 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
448 they are integrated in the theme.
450 2008-09-09 Alberto Garcia <agarcia@igalia.com>
452 * examples/hildon-entry-example.c: Update the example adding
453 widgets to modify the text and the placeholder of the HildonEntry.
455 * src/hildon-entry.c: Show the placeholder everytime the widget
456 is empty and loses the focus.
458 2008-09-09 Alejandro G. Castro <alex@igalia.com>
460 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
462 * src/hildon-pannable-area.c,
463 (hildon_pannable_area_size_request): Fixed bug in height
464 requisition, avoid increasing size and add border twice.
466 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
468 * configure.ac: postrelease version bump.
470 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
474 * configure.ac: Prerelease version bump.
475 * debian/changelog: update.
476 * debian/rules: make -dbg package contain useful debugging symbols.
478 2008-09-08 Alberto Garcia <agarcia@igalia.com>
480 * src/hildon-dialog.h
481 * src/hildon-dialog.c
482 (hildon_dialog_add_button, hildon_dialog_add_buttons):
483 New methods to add buttons with finger size.
484 (hildon_dialog_new_with_buttons):
485 Create buttons with finger size.
487 * examples/hildon-dialog-example.c (main): Use HildonDialog
488 methods to add buttons.
490 2008-09-08 Alberto Garcia <agarcia@igalia.com>
492 * src/hildon-entry.c: Updated HildonButton documentation.
494 2008-09-08 Alberto Garcia <agarcia@igalia.com>
496 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
497 button value label with (FALSE, FALSE) to prevent NB#88126 from
500 2008-09-08 Alejandro G. Castro <alex@igalia.com>
502 * examples/hildon-pannable-area-example.c,
503 (main): Removed examples panning a vbox inside a pannable
504 area. Check bug NB#87965
506 2008-09-08 Alejandro G. Castro <alex@igalia.com>
508 Patch contributed by Kris Rietveld (kris@imendio.com)
510 * src/hildon-pannable-area.c,
511 (hildon_pannable_area_get_topmost): replaced the get_geometry with
512 get_size and get_position, this saves an X server roundtrip.
514 2008-09-05 Alberto Garcia <agarcia@igalia.com>
516 * doc/hildon-docs.sgml
518 * examples/Makefile.am
519 * examples/hildon-entry-example.c
524 New HildonEntry widget, with example.
526 2008-09-05 Alberto Garcia <agarcia@igalia.com>
528 * src/hildon-button.c (hildon_button_construct_child): Pack the
529 image with expand == fill == FALSE. This is a workaround for a bug
532 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
534 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
535 labels for the text column, to make it more look more dynamic.
537 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
539 * src/hildon-time-selector.c
540 Define gettext auxiliar macro N_
541 (_create_minutes_model)
542 (_create_hours_model)
543 (_create_ampm_model): use of strftime in order to fill the model
544 * src/hildon-date-selector.c
545 (hildon_date_selector_finalize):
546 (_locales_init): remove the logic related to get the name of the months
547 using nl_langinfo, as it is not required anymore
550 (_create_month_model)
551 (_update_day_model): use of strftime in order to fill the model properly
554 2008-09-04 Alberto Garcia <agarcia@igalia.com>
556 * src/hildon-button.h
557 * src/hildon-button.c (hildon_button_get_image): New method to
560 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
562 * src/hildon-touch-selector.c:
563 (hildon_touch_selector_remove_column): Remove from the correct parent
564 and also remove the list element and free it.
567 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
569 * src/hildon-time-selector.c
570 (_create_hours_model): change the range on 12h ampm format in order to use
571 a 12-11 range instead of previous 01-12 range
572 (hildon_time_selector_set_time): change the way to select the current time
573 on 12h ampm format, due the change on the range
574 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
577 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
579 * src/hildon-touch-selector.c
580 (hildon_date_touch_selector_get_selected): fix the selection mode check,
581 in order to allow use this function on multiple row selection mode if
582 the column is different that the first one
585 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
587 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
588 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
590 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
592 * src/hildon-date-selector.h: clean some comments, now on the .c
593 * src/hildon-date-selector.c
594 (hildon_date_selector_select_month): first implementation
595 (hildon_date_selector_select_day): added documentation, reimplemented
596 using hildon_date_selector_select_current_date to avoid repeat code
599 2008-09-02 Alejandro G. Castro <alex@igalia.com>
601 Reviewed interaction logic based on device experiences, refactored
604 * src/hildon-pannable-area.c,
605 (hildon_pannable_area_class_init): Updated default vmax speed.
606 (hildon_pannable_area_calculate_velocity): Added this function, it
607 avoids duplicate valocity calculation. Adjusted calculation to
608 avoid problems with zero dist events.
610 (hildon_pannable_area_motion_notify_cb): Now we use the
611 calculate_velocity function.
613 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
615 * src/hildon-date-selector.c
616 (hildon_date_selector_select_current_date): fix the day range check
617 as it failed using the last day of the current month
620 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
622 * src/hildon-touch-selector.c
623 (hildon_touch_selector_get_num_columns): added a parameter validation
626 2008-08-29 Alberto Garcia <agarcia@igalia.com>
628 * examples/Makefile.am
629 * examples/hildon-edit-toolbar-example.c: Example of the
630 HildonEditToolbar widget.
632 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
634 * configure.ac: postrelease version bump.
636 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
640 * configure.ac: prerelease version bump.
641 * debian/changelog: update.
643 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
645 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
646 renderer to display stock icons in the touch list. Also, set the sizes
647 to the recommended in the style guide.
649 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
650 * src/hildon-touch-selector.h
651 (hildon_touch_selector_set_active_iter): renamed, now is
652 hildon_touch_selector_select_iter
653 (hildon_touch_selector_get_active_iter): renamed, now is
654 hildon_touch_selector_get_selected
655 (hildon_touch_selector_unselect_iter): added
656 * src/hildon-touch-selector.c
657 Update after API modification (methods renamed)
658 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
659 order to avoid problems selecting multiple elements on the column
660 (hildon_touch_selector_unselect_iter): added the implementation
661 * src/hildon-time-selector.c
662 * src/hildon-date-selector.c
663 * src/hildon-touch-selector-entry.c
664 Update methods calls after hildon-touch-selector.h API modification (methods
667 2008-08-29 Alberto Garcia <agarcia@igalia.com>
669 * src/hildon-stackable-window.c
670 (hildon_stackable_window_finalize): Call the parent class's finalize.
672 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
674 * examples/hildon-touch-selector-example.c: (create_selector): Use
675 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
678 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
680 * examples/hildon-touch-selector-example.c: (create_selector): Do not
681 set a cell background color, to respect theming.
683 2008-08-28 Alberto Garcia <agarcia@igalia.com>
685 * doc/hildon-docs.sgml
688 * src/hildon-edit-toolbar.c
689 * src/hildon-edit-toolbar.h
690 * src/hildon.h: New HildonEditToolbar widget.
692 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
694 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
697 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
698 * src/hildon-touch-selector.c
699 (_create_new_column): use g_object_set instead of two g_object_set_property
701 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
702 * src/hildon-touch-selector.c
703 (_create_new_column): use of hildon_gtk_tree_view_new to create
704 the treeview, instead of use directly g_object_new
705 (_create_new_column): update the property name "vindicator-mode" for the
706 new one "vscrollbar-policy"
707 * examples/hildon-date-button-example.c
708 * examples/hildon-picker-button-multicolumn-example.c
709 * examples/hildon-touch-selector-entry-example.c
710 * examples/hildon-touch-selector-example.c
711 * examples/hildon-time-button-example.c
712 * examples/hildon-picker-button-example.c
713 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
714 to all the treeviews inside a pannable area.
716 2008-08-27 Alberto Garcia <agarcia@igalia.com>
718 * src/hildon-button.h
719 * src/hildon-button.c (hildon_button_init)
720 (hildon_button_set_arrangement, hildon_button_set_alignment)
721 (hildon_button_set_title_alignment)
722 (hildon_button_set_value_alignment)
723 (hildon_button_set_image_alignment)
724 (hildon_button_construct_child): New methods to set the alignment
725 of the individual components of the button (title, value,
726 image). Also, new method to alter the xscale and yscale properties
727 of the GtkAlignment inside the button, so more complex layouts can
730 2008-08-27 Alberto Garcia <agarcia@igalia.com>
732 * src/hildon-button.c (hildon_button_style_set)
733 (hildon_button_class_init, hildon_button_set_arrangement)
734 (hildon_button_construct_child): Apply style properties
735 correctly. Use the 'image-spacing' style property too.
737 2008-08-26 Alberto Garcia <agarcia@igalia.com>
739 * src/hildon-app-menu.c (hildon_app_menu_style_set)
740 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
743 2008-08-26 Alejandro G. Castro <alex@igalia.com>
745 * src/hildon-pannable-area.c,
746 (hildon_pannable_area_size_request): Fixed problem with
747 pannable-area size_request.
749 2008-08-26 Alejandro G. Castro <alex@igalia.com>
751 Added management for the grab-focus to a child widget, like a
752 range, we need to fade out the scrollbar when releasing.
754 * src/hildon-pannable-area.c,
755 (hildon_pannable_area_init): Connected the grab-focus signal to
757 (hildon_pannable_area_grab_notify): Added this function in order
758 to manage the situation when the grab-focus ends. We have to
759 fade-out the scrollbar.
761 2008-08-25 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-app-menu.c: Minor documentation update.
765 2008-08-25 Alberto Garcia <agarcia@igalia.com>
767 * src/hildon-app-menu.c
768 * examples/hildon-app-menu-example.c (create_menu): Update
769 examples and documentation to explain how to connect callbacks.
771 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
773 * examples/hildon-button-example.c
774 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
775 hildon_stackable_window_new instead of gtk_window_new
777 2008-08-22 Alejandro G. Castro <alex@igalia.com>
779 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
780 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
781 (hildon_pannable_area_set_property),
782 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
783 (hildon_pannable_area_unrealize),
784 (hildon_pannable_area_size_request),
785 (hildon_pannable_area_size_allocate),
786 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
787 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
788 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
789 (hildon_pannable_area_initial_effect),
790 (hildon_pannable_area_redraw),
791 (hildon_pannable_area_scroll_indicator_fade),
792 (hildon_pannable_area_expose_event),
793 (hildon_pannable_area_get_topmost), (synth_crossing),
794 (hildon_pannable_area_button_press_cb),
795 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
796 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
797 (hildon_pannable_area_motion_notify_cb),
798 (hildon_pannable_area_button_release_cb),
799 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
800 (hildon_pannable_area_remove),
801 (hildon_pannable_calculate_vel_factor): Widget refactorization,
802 chage the code layout to a more GtkWidget like. Review the use of
805 2008-08-21 Alejandro G. Castro <alex@igalia.com>
807 * examples/hildon-pannable-area-example-4.c,
808 (main): Modified the name of the hindicator_mode to
811 * src/hildon-pannable-area.c,
812 (hildon_pannable_area_class_init),
813 (hildon_pannable_area_motion_notify_cb),
814 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
815 we have reduced the amount of signals and managed reviewed its
816 rationale. Changed the default decelerate value.
818 (hildon_pannable_area_add),
819 (hildon_pannable_area_redraw): Refactored functions.
821 (hildon_pannable_area_init),
822 (hildon_pannable_area_get_property),
823 (hildon_pannable_area_set_property):
824 (hildon_pannable_draw_vscroll),
825 (hildon_pannable_draw_hscroll),
826 (hildon_pannable_area_initial_effect),
827 (hildon_pannable_area_expose_event),
828 (hildon_pannable_area_scroll),
829 (hildon_pannable_area_button_press_cb),
830 (hildon_pannable_area_realize): Replaced the names hindicator_mode
831 and vindicator_mode with hscrollbar_policy and
832 vscrollbar_policy. Replaced hscroll and vscroll with
833 hscroll_visible and vscroll_visible.
835 (hildon_pannable_area_refresh): Refactor the function, remove
836 variables and check the calls to this function, added resize
837 conditions in case the children change their layout.
839 (hildon_pannable_area_size_request): Added more detailed
840 size_request calculation.
843 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
845 * src/hildon-color-chooser.c
846 (init_borders): use the correct gtk_border_free instead of g_free, to
847 avoid a crash when this widget is used (ie: the three color selection
850 2008-08-20 Alejandro G. Castro <alex@igalia.com>
852 * src/hildon-check-button.c,
853 (hildon_check_button_set_active): Fixed problem when setting the
854 active value, the widget was not redrawn.
856 2008-08-20 Alejandro G. Castro <alex@igalia.com>
858 * src/hildon-pannable-area.c,
859 (hildon_pannable_area_refresh),
860 (hildon_pannable_area_scroll),
861 (hildon_pannable_area_motion_notify_cb): Small code style change.
863 (hildon_pannable_area_class_init): Default initial_hint set to
864 FALSE, it is not in the specs.
866 (hildon_pannable_area_initial_effect),
867 (hildon_pannable_area_expose_event),
868 (hildon_pannable_area_map),
869 (hildon_pannable_area_init): Moved the launching point of the
870 initial effect, it was in map but the sizes where not correct in
871 that method so we do not know if we have the reproduce it. Now it
872 is placed in the expose_event method and uses a variable to
873 reproduce it just once.
875 2008-08-19 Alejandro G. Castro <alex@igalia.com>
877 * src/hildon-pannable-area.c,
878 (hildon_pannable_draw_vscroll),
879 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
880 position allowed for the scrollbars.
882 (hildon_pannable_area_size_allocate): Small style change.
884 2008-08-19 Alejandro G. Castro <alex@igalia.com>
886 * src/hildon-pannable-area.c,
887 (hildon_pannable_area_scroll_indicator_fade),
888 (hildon_pannable_area_button_press_cb),
889 (hildon_pannable_area_button_release_cb),
890 (hildon_pannable_area_scroll_cb),
891 (hildon_pannable_area_expose_event),
892 (hildon_pannable_area_init): Added the define parameter
893 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
894 and refactor the fade variable.
896 2008-08-19 Alejandro G. Castro <alex@igalia.com>
898 * src/hildon-pannable-area.c,
899 (hildon_pannable_area_redraw),
900 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
901 lines, we were reimplemeting the redraw code.
903 2008-08-18 Alejandro G. Castro <alex@igalia.com>
905 * src/hildon-pannable-area.c,
906 (hildon_pannable_area_scroll_cb),
907 (hildon_pannable_area_realize),
908 (hildon_pannable_area_class_init): Added scroll_event management
909 for pannable area, now we can scroll the usual desktop method.
911 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
912 initialization of the parameters should depend on idle_id.
914 (hildon_pannable_area_init),
915 (hildon_pannable_area_map): Small code style modifications
917 2008-08-18 Alejandro G. Castro <alex@igalia.com>
919 * src/hildon-pannable-area.c
920 (hildon_pannable_area_button_press_cb),
921 (hildon_pannable_area_motion_notify_cb),
922 (hildon_pannable_area_button_release_cb),
923 (hildon_pannable_area_size_allocate),
924 (hildon_pannable_area_scroll_to): Improved the timeouts
925 management, we avoid creating them each time.
927 2008-08-14 Alejandro G. Castro <alex@igalia.com>
929 * src/hildon-pannable-area.c:
930 (hildon_pannable_area_refresh),
931 (hildon_pannable_area_motion_notify_cb),
932 (hildon_pannable_area_class_init):
933 * src/hildon-pannable-area.h:
934 * src/hildon-touch-selector.c
935 (_create_new_column):
936 * examples/hildon-pannable-area-example-4.c:
937 (horizontal_movement),
940 Replaced the names of enums in the HildonPannableArea:
941 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
942 HILDON_MOVEMENT_MODE_*
943 - HILDON_PANNABLE_AREA_MOV_* ->
945 - Removed HildonPannableAreaIndicatorMode, now we
948 2008-08-14 Alberto Garcia <agarcia@igalia.com>
950 * examples/hildon-pannable-area-touch-grid-example.c
951 * examples/hildon-pannable-area-touch-list-example.c: Fix
952 compilation warnings.
954 2008-08-14 Alberto Garcia <agarcia@igalia.com>
956 * src/hildon-gtk.c (hildon_gtk_button_new)
957 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
958 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
959 images overriding the value of the "gtk-button-images" setting.
961 2008-08-14 Alberto Garcia <agarcia@igalia.com>
963 * src/hildon-check-button.c (hildon_check_button_new):
964 Instead of using a custom container, display the label and the
965 checkbox using the standard GtkButton API.
967 * examples/hildon-check-button-example.c (main): Don't use
968 hildon_check_button_set_label() anymore
970 * src/hildon-check-button.h
971 * src/hildon-check-button.c
972 (hildon_check_button_set_label, hildon_check_button_get_label):
973 Set as deprecated, now we're using gtk_button_{get,set}_label()
975 2008-08-14 Alejandro G. Castro <alex@igalia.com>
977 * src/hildon-pannable-area.c,
978 (hildon_pannable_area_get_topmost): Fixed bug with click in the
979 GtkTreeview first line we detected it after the inclusion of the
980 GtkWindowImpl in gtk+. We now check if the window is visible, not
981 just if the pointer is over the window.
982 (hildon_pannable_axis_scroll),
983 (hildon_pannable_area_expose_event): Small style changes.
985 2008-08-13 Alberto Garcia <agarcia@igalia.com>
987 * src/hildon-button.c: Update documentation.
989 2008-08-13 Alberto Garcia <agarcia@igalia.com>
991 * examples/hildon-button-example.c: Add a switch to show images in
994 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
996 * doc/hildon-docs.sgml: Some docs reorganization.
998 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1000 * examples/hildon-pannable-area-touch-list-example.c
1002 * examples/hildon-pannable-area-touch-grid-example.c
1003 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1004 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1005 Fix memory leak when setting the tree model.
1007 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1011 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1013 * doc/hildon.types: Remove duplicated hildon_window_get_type
1014 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1015 documentation comment.
1017 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1019 * doc/Makefile.am: Complete list of private headers.
1021 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1023 * doc/hildon-docs.sgml
1024 * src/hildon-app-menu.c
1025 * src/hildon-bread-crumb.c
1026 * src/hildon-button.c
1028 * src/hildon-program.c
1029 * src/hildon-stackable-window.c
1030 * src/hildon-window.c: Lots of documentation updates.
1032 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1034 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1036 * configure.ac: Require Gtk+ 2.12.9 at least
1038 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1040 * src/hildon-pannable-area.c
1041 (hildon_pannable_area_scroll_indicator_fade),
1042 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1043 to protect the return of this timeout callbacks, avoiding deadlocks.
1045 2008-08-12 Christian Dywan <christian@imendio.com>
1048 * src/hildon-*.h: Ensure a consistent include order,
1049 include <gtk/gtk.h> instead of particular files and
1050 only include the topmost header in the gtk stack. See NB #39857
1052 2008-08-12 Christian Dywan <christian@imendio.com>
1054 * src/hildon-picker-dialog.c
1055 * src/hildon-touch-selector.c: Fix warnings about unused and
1056 uninitialized variables.
1058 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1060 * examples/Makefile.am
1061 * examples/hildon-check-button-example.c: Example of the hildon
1064 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1066 * src/hildon-window.h
1067 * src/hildon-window.c (hildon_window_class_init)
1068 (hildon_window_unset_program): Don't make
1069 hildon_window_unset_program a virtual function anymore.
1071 * src/hildon-stackable-window.c: Update documentation
1073 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1076 * doc/hildon-docs.sgml
1077 * doc/visual_index.xml
1078 * src/hildon-defines.c
1080 * src/hildon-helper.c
1081 * src/hildon-range-editor.c: Lots of documentation fixes.
1083 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1085 * examples/hildon-picker-button-multicolumn-example.c
1086 (create_touch_selector): Fix compilation warning.
1088 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1090 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1091 (hildon_pannable_area_button_release_cb)
1092 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1094 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1099 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1101 * src/hildon-bread-crumb-trail.h
1102 * src/hildon-date-editor.c
1103 * src/hildon-date-selector.c
1104 * src/hildon-pannable-area.c
1105 * src/hildon-picker-dialog.c
1106 * src/hildon-time-selector.c
1107 * src/hildon-touch-selector-entry.c
1108 * src/hildon-touch-selector.c
1109 * src/hildon-touch-selector.h: Misc documentation fixes
1111 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1113 * examples/hildon-date-editor-example.c (main): Updated date
1116 * examples/hildon-note-example.c (on_confirmation_clicked):
1117 Updated confirmation note example.
1119 * src/hildon-date-editor.c
1120 * src/hildon-note.c: Updated sample programs in documentation.
1123 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1125 * src/hildon-date-button.h:
1126 * src/hildon-picker-button.h:
1127 * src/hildon-time-button.c:
1128 * src/hildon-time-button.h:
1130 Some declarations changes to allow gtk-doc to document the widgets
1133 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1135 * src/hildon-date-button.c: Document the widget.
1136 * src/hildon-time-button.c: Document the widget.
1138 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1140 * src/hildon-picker-button.c: Document the widget.
1141 * src/hildon-touch-selector-entry.c: Document the widget.
1143 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1145 * doc/hildon-docs.sgml
1148 * src/hildon-check-button.h
1149 * src/hildon-check-button.c: New functions to create the Hildon
1153 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1155 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1157 * src/hildon-button.h
1158 * src/hildon-button.c
1159 (hildon_button_add_title_size_group)
1160 (hildon_button_add_value_size_group)
1161 (hildon_button_add_image_size_group)
1162 (hildon_button_add_size_groups): New functions to set size groups
1163 for the button labels and image.
1164 (hildon_button_new_full): Removed
1166 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1168 * src/hildon-time-selector.c
1169 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1170 in order to avoid a crash if gconf is not available
1172 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1174 * src/hildon-button.c (hildon_button_set_arrangement)
1175 (hildon_button_construct_child): Don't construct the button child
1176 before setting the arrangement.
1178 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-program-private.h
1181 * src/hildon-program.c
1182 * src/hildon-program.h
1183 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1184 (hildon_program_peek_window_stack)
1185 (hildon_program_pop_window_stack)
1186 (hildon_program_go_to_root_window): HildonProgram now has a
1187 separate list for stackable windows. Functions are provided to
1188 manage that list with a stack-like API.
1190 * src/hildon-stackable-window.c: Stackable window management is
1191 now much simpler with the new HildonProgram API. Windows no
1192 longer need to be manually added to the program, they're
1193 automatically pushed to the top of the stack when shown.
1195 * examples/hildon-stackable-window-example.c: Updated example to
1196 reflect the API changes.
1198 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1200 * src/hildon-touch-selector.c: Comment out unimplemented
1201 hildon_touch_selector_insert_column() to avoid a compile warning.
1203 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1205 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1206 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1207 (hildon_touch_selector_set_column_selection_mode),
1208 (_hildon_touch_selector_set_model),
1209 (hildon_touch_selector_set_model):
1211 Complete review of HildonTouchSelector documentation.
1213 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1215 * doc/hildon-docs.sgml
1219 * src/hildon-gtk.c: Convenience functions for standard Gtk
1220 widgets, used to easily perform frequent operations.
1222 * src/hildon-button-helpers.h
1223 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1225 * src/hildon-helper.h
1226 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1227 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1229 * src/hildon-button.h
1230 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1232 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1234 * src/hildon-button.c (hildon_button_init)
1235 (hildon_button_set_arrangement, hildon_button_construct_child):
1236 Pack the image and the labels inside the same GtkAlignment so
1237 gtk_button_set_alignment() can be used
1239 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-button.h
1242 * src/hildon-button.c
1243 (hildon_button_init, hildon_button_set_image)
1244 (hildon_button_set_image_position)
1245 (hildon_button_construct_child): New functions to add an image to
1248 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1250 * src/hildon-date-button.c
1251 * src/hildon-picker-button.c
1252 * src/hildon-time-button.c
1253 * src/hildon-button.c:
1254 (hildon_button_class_init): "size-flags" renamed to "size"
1255 (hildon_button_set_title): Hide the title label if set to NULL.
1257 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1259 HildonButtonFlags split into HildonButtonArrangement (to set the
1260 button layout) and HildonSizeType (which can be used for any
1263 * src/hildon-button.h
1264 * src/hildon-button.c
1265 (hildon_button_class_init)
1266 (hildon_button_set_arrangement)
1267 (hildon_button_set_property): New "size-flags"
1268 property. "arrangement-flags" renamed to "arrangement".
1269 (hildon_button_new, hildon_button_new_with_text)
1270 (hildon_button_new_full): Constructors updated to reflect type changes.
1272 * src/hildon-helper.h
1273 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1274 to set the size of a widget.
1278 * src/hildon-button-helpers.c
1279 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1281 * src/hildon-date-button.c
1282 * src/hildon-date-button.h
1283 * src/hildon-picker-button.c
1284 * src/hildon-picker-button.h
1285 * src/hildon-time-button.c
1286 * src/hildon-time-button.h: Updated widgets to reflect
1287 HildonButton API changes.
1289 * examples/hildon-button-example.c
1290 * examples/hildon-date-button-example.c
1291 * examples/hildon-picker-button-example.c
1292 * examples/hildon-picker-button-multicolumn-example.c
1293 * examples/hildon-time-button-example.c
1294 * examples/hildon-touch-selector-entry-example.c
1295 * examples/hildon-touch-selector-example.c: Updated examples to
1296 reflect HildonButton API changes.
1298 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1300 * doc/hildon-docs.sgml:
1302 * examples/Makefile.am:
1303 * examples/hildon-touch-selector-entry-example.c:
1305 * src/hildon-touch-selector-entry.c:
1306 * src/hildon-touch-selector-entry.h:
1309 Moved HildonTouchSelectorEntry from sandbox. Added its
1310 documentation and examples.
1312 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1314 * src/hildon-touch-selector.h:
1315 * examples/hildon-picker-button-multicolumn-example.c:
1316 (hildon_touch_selector_append_text_column): Add a gboolean
1317 parameter to determine if text must be centered in the column.
1319 * src/hildon-date-selector.c: (hildon_date_selector_init):
1320 * src/hildon-time-selector.c: (hildon_time_selector_init):
1321 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1322 (create_touch_selector): Update widgets and example to reflect
1325 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-touch-selector.c:
1328 (hildon_touch_selector_set_active_iter): Set also the cursor in
1331 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1333 * doc/hildon-docs.sgml
1336 * src/hildon-toggle-button.c
1337 * src/hildon-toggle-button.h
1338 * src/hildon.h: Removed HildonToggleButton widget, a derived
1339 class is not necessary for this.
1341 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1343 * src/hildon-pannable-area.c,
1344 (hildon_pannable_area_realize),
1345 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1348 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1350 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1351 "done" button the default widget for the dialog.
1353 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1355 * src/hildon-touch-selector.c:
1356 (hildon_touch_selector_class_init),
1357 (hildon_touch_selector_get_property),
1358 (_hildon_touch_selector_set_model),
1359 (_hildon_touch_selector_has_multiple_selection),
1360 (hildon_touch_selector_has_multiple_selection):
1361 Add a "has-multiple-selection" property with a virtual
1362 has_multiple_selection() method to allow derived classes to
1363 override the default value for it. See the method and property
1364 documentation for details.
1366 * src/hildon-touch-selector.h: Add the new API.
1368 * src/hildon-picker-dialog.c: (requires_done_button): Call
1369 hildon_touch_selector_has_multiple_selection() instead of
1370 determining the need for a button itself.
1372 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1374 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1375 (_hildon_touch_selector_set_model),
1376 (hildon_touch_selector_set_model): Move working code to
1377 _hildon_touch_selector_set_mode(). Call the class method instead.
1379 * src/hildon-touch-selector.h: Add (*set_model) to
1380 HildonTouchSelectorClass.
1382 Make hildon_touch_selector_set_model() a virtual method, so that
1383 derived classes can extend it and do fancy stuff with the model.
1385 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1387 * configure.ac: Set back the tarname in AC_INIT to hildon.
1389 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1393 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1394 instead of libesd (NB#86876). Volume handling is still an open issue.
1396 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1399 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1401 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1402 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1403 derived class to ease placement of an entry widget in
1404 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1405 end, where the selector columns are packed now.
1407 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1409 * src/hildon-picker-button.c: Removed the simple _text() API.
1410 * src/hildon-picker-button.h: Likewise.
1412 * src/hildon-touch-selector.h:
1413 * src/hildon-touch-selector.c:
1414 (hildon_touch_selector_new_text),
1415 (hildon_touch_selector_append_text),
1416 (hildon_touch_selector_prepend_text),
1417 (hildon_touch_selector_insert_text):
1419 Moved the simple _text() API from HildonPickerButton to
1420 HildonTouchPicker, to provide better escalability and not to tie
1421 that API to HildonPickerButton.
1423 * examples/hildon-picker-button-example.c: (main): Example updated.
1425 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1427 * src/hildon-button.c: Updated documentation.
1429 * examples/hildon-button-example.c: Add the posibility to create
1430 the buttons using horizontal layout for title and value.
1432 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1434 * src/hildon-app-menu-private.h
1435 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
1436 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
1437 GtkSizeGroup for the filters, use the 'homogeneous' property of
1440 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1442 * examples/hildon-button-example.c: Updated example.
1444 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
1446 * doc/hildon-docs.sgml:
1449 Update documentation.
1451 * examples/Makefile.am: Update renamed examples.
1453 * examples/hildon-picker-button-multicolumn-example.c:
1454 (create_touch_selector), (main): Update after the rename.
1456 * examples/hildon-touch-picker-example.c: Removed.
1457 * examples/hildon-touch-selector-example.c: (value_changed),
1458 (create_selector), (get_visible_content), (main): Renamed from
1459 hildon-touch-picker-example.c
1461 * src/Makefile.am: Updated renamed files.
1463 * src/hildon-date-button.c: (hildon_date_button_init),
1464 (hildon_date_button_get_date), (hildon_date_button_set_date):
1465 * src/hildon-date-selector.c: (hildon_date_selector_init),
1466 (_custom_print_func), (_update_day_model),
1467 (_manage_selector_change_cb),
1468 (hildon_date_selector_select_current_date),
1469 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1470 * src/hildon-date-selector.h:
1471 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1472 (hildon_picker_button_set_property),
1473 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1474 (hildon_picker_button_init), (hildon_picker_button_new_text),
1475 (hildon_picker_button_append_text),
1476 (hildon_picker_button_prepend_text),
1477 (hildon_picker_button_insert_text),
1478 (hildon_picker_button_set_selector),
1479 (hildon_picker_button_get_selector):
1480 * src/hildon-picker-button.h:
1481 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1482 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1483 (_update_title_on_selector_changed_cb), (requires_done_button),
1484 (_hildon_picker_dialog_set_selector),
1485 (hildon_picker_dialog_set_selector),
1486 (hildon_picker_dialog_get_selector):
1487 * src/hildon-picker-dialog.h:
1488 * src/hildon-time-button.c: (hildon_time_button_init),
1489 (hildon_time_button_get_time), (hildon_time_button_set_time):
1490 * src/hildon-time-selector.c: (hildon_time_selector_init),
1491 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1492 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1493 * src/hildon-time-selector.h:
1496 Massive code updates after the rename.
1498 * src/hildon-touch-picker.c: Removed.
1499 * src/hildon-touch-picker.h: Removed.
1501 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1502 (hildon_touch_selector_init), (hildon_touch_selector_map),
1503 (hildon_touch_selector_remove), (_default_print_func),
1504 (_selection_changed_cb), (_create_new_column),
1505 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1506 (hildon_touch_selector_append_text_column),
1507 (hildon_touch_selector_remove_column),
1508 (hildon_touch_selector_set_column_attributes),
1509 (hildon_touch_selector_insert_column),
1510 (hildon_touch_selector_get_num_columns),
1511 (hildon_touch_selector_get_column_selection_mode),
1512 (hildon_touch_selector_set_column_selection_mode),
1513 (hildon_touch_selector_set_print_func),
1514 (hildon_touch_selector_get_print_func),
1515 (hildon_touch_selector_get_active_iter),
1516 (hildon_touch_selector_set_active_iter),
1517 (hildon_touch_selector_get_selected_rows),
1518 (hildon_touch_selector_get_model),
1519 (hildon_touch_selector_set_model),
1520 (hildon_touch_selector_get_current_text),
1521 (_hildon_touch_selector_center_on_selected_items):
1522 * src/hildon-touch-selector.h: Renamed from
1523 hildon-touch-picker.[ch]
1525 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1526 references, code examples, and related documentation.
1528 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1530 * doc/hildon-docs.sgml
1533 * src/hildon-toggle-button.c
1534 * src/hildon-toggle-button.h
1535 * src/hildon.h: New HildonToggleButton widget.
1537 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1539 * src/hildon-button.c: Add API documentation.
1540 (hildon_button_set_size_groups): Check input parameters
1542 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1544 * src/hildon-pannable-area.c
1545 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1546 effect after reaching the movement thredshold. This way we start
1547 using the distance after passing the thredshold.
1549 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1551 * src/hildon-button.c: (hildon_button_set_property): Use the
1552 appropriate g_value_get_flags() method.
1554 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1556 * doc/hildon-docs.sgml:
1559 Add the touch pickers, picker dialogs, and picker button widgets
1560 to the documentation.
1562 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1564 * src/hildon-button.c: (hildon_button_set_property),
1565 (hildon_button_class_init): Make "arrangement-flags" a proper
1566 G_TYPE_FLAGS derived property.
1568 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1570 * examples/Makefile.am: Add below examples.
1571 * examples/hildon-date-button-example.c:
1572 * examples/hildon-picker-button-example.c:
1573 * examples/hildon-picker-button-multicolumn-example.c:
1574 * examples/hildon-time-button-example.c:
1575 * examples/hildon-touch-picker-example.c:
1577 Add examples for the recently added touch pickers,
1578 picker dialogs, and picker button widgets.
1580 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-button.c: Add some API documentation
1584 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-button.h
1587 * src/hildon-button.c
1589 (hildon_button_new_with_text): New constructor to create a button
1590 with no text at all.
1591 (hildon_button_init, hildon_button_set_arrangement)
1592 (hildon_button_set_title, hildon_button_set_value)
1593 (hildon_button_set_text)
1594 (hildon_button_construct_child): Hide the value when it's not used
1595 so the rest of the text is properly aligned.
1596 Allow creating buttons with arbitrary widgets inside (not just
1597 title/value labels).
1599 * examples/hildon-button-example.c (vertical_buttons_window)
1600 (horizontal_buttons_window): Update example to use new API.
1602 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1604 * src/Makefile.am: Added HildonTimeButton.
1605 * src/hildon-time-button.c: Added missing LGPL header.
1606 * src/hildon-time-button.h: Added missing LGPL header.
1607 * src/hildon.h: Add hildon-time-button.h
1609 Copied HildonTimeButton from sandbox to trunk. Future work on this
1610 widget must take place in trunk.
1612 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/Makefile.am: Added HildonDateButton.
1615 * src/hildon-date-button.c: Update includes.
1616 * src/hildon.h: Add hildon-date-button.h
1618 Copied HildonDateButton from sandbox to trunk. Future work on this
1619 widget must take place in trunk.
1621 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1623 * src/Makefile.am: Added HildonPickerButton.
1624 * src/hildon-picker-button.h: Update includes.
1625 * src/hildon.h: Add hildon-picker-button.h
1627 Copied HildonPickerButton from sandbox to trunk. Future work on
1628 this widget must take place in trunk.
1630 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1632 * src/Makefile.am: Added HildonPickerDialog.
1633 * src/hildon-picker-dialog.c: Update includes.
1634 * src/hildon.h: Add hildon-picker-dialog.h
1636 Copied HildonPickerDialog from sandbox to trunk. Future work
1637 on this widget must take place in trunk.
1639 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/Makefile.am: Added HildonTimeSelector.
1642 * src/hildon.h: Add hildon-time-selector.h
1644 Copied HildonTimeSelector widget from sandbox to trunk. Future
1645 work on this widget must happen in trunk.
1647 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1649 * src/Makefile.am: Added HildonDateSelector.
1650 * src/hildon.h: Add hildon-date-selector.h
1652 Copied HildonDateSelector widget from sandbox to trunk. Future
1653 work on this widget must happen in trunk.
1655 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1657 * src/Makefile.am: Added HildonTouchPicker.
1658 * src/hildon-touch-picker.c: Update includes.
1659 * src/hildon.h: Add hildon-touch-picker.h
1661 Copied HildonTouchPicker widget from sandbox to trunk. Future work
1662 on this widget must happen in trunk.
1664 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1666 * src/hildon-pannable-area.c:
1667 (hildon_pannable_area_motion_notify_cb): Fix a typo.
1669 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1671 * examples/hildon-app-menu-example.c (main): Let the window
1674 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1676 * src/hildon-pannable-area.c
1677 (hildon_pannable_area_class_init): Set the min value of the
1678 overshoot properties to zero, which points out that not
1679 overshooting allowed.
1681 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1683 Modified the procedure to get the widget at a point inside the
1684 pannable area when using the movement type signals. Now the user
1685 has to call a function to get the child, that way we just
1686 calculate the child in case the user really want to use it and not
1689 * src/hildon-marshalers.list: Modified the marshallers, now we do
1690 not have the widget as a parameter.
1692 * src/hildon-pannable-area.c
1693 (hildon_pannable_area_motion_notify_cb),
1694 (hildon_pannable_area_class_init),
1695 (hildon_pannable_get_child_widget_at): Removed the widget
1696 parameter from the signal callback. We have also refactored the
1697 emission of the signals.
1699 * src/hildon-pannable-area.h: Added a new method to the API to
1700 calculate a widget at a point inside the pannable area,
1701 hildon_pannable_get_child_widget_at.
1703 * examples/hildon-pannable-area-example-4.c
1704 (horizontal_movement): Modified the example to use the new API,
1705 added condition to control which widget is under the event. This
1706 way we can avoid scrolling laterally over other widgets.
1708 2008-07-29 Alejandro G. Castro <alex@igalia.com>
1710 * src/hildon-pannable-area.c
1711 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
1712 modes, we stop getting the pointer events due to returning the
1713 callback without properly calling the get pointer again. Fixed
1714 also an error using the hscroll and vscroll.
1716 2008-07-28 Alberto Garcia <agarcia@igalia.com>
1718 * src/hildon-app-menu-private.h
1719 * src/hildon-app-menu.c (hildon_app_menu_button_press)
1720 (hildon_app_menu_button_release, hildon_app_menu_init)
1721 (hildon_app_menu_class_init): Don't hide the menu on button
1722 release if the user didn't press outside first.
1724 * src/hildon-window.h
1725 * src/hildon-window.c (hildon_window_toggle_menu)
1726 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
1727 hildon_window_toggle_menu a virtual function for the stackable
1728 window to override it.
1730 * src/hildon-stackable-window.h
1731 * src/hildon-stackable-window-private.h
1732 * src/hildon-stackable-window.c
1733 (hildon_stackable_window_realize)
1734 (hildon_stackable_window_finalize)
1735 (hildon_stackable_window_class_init)
1736 (hildon_stackable_window_init)
1737 (hildon_stackable_window_set_main_menu): New function to set the
1738 app menu of a HildonStackableWindow.
1740 * examples/hildon-app-menu-example.c: Remove the button to show
1741 the app menu, now it'll be shown when clicking on the title bar
1744 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1746 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
1747 set the widget name if the arrangement flags do not specify
1750 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
1752 * src/hildon-button.c: (hildon_button_set_property),
1753 (hildon_button_class_init), (hildon_button_new_full),
1754 (hildon_button_set_arrangement): Added "arrangement-flags"
1757 Make the HildonButtonFlags a construction-only property, to allow
1758 subclasses to set them properly.
1760 2008-07-21 Tim Janik <timj@imendio.com>
1762 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
1763 insertion position after backspace, so additional digits are appended,
1766 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1768 * src/hildon-pannable-area.c,
1769 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
1770 TODO list, it was complete and removed the g_debug and g_print
1773 2008-07-17 Alejandro G. Castro <alex@igalia.com>
1775 Added the movement modes to the hildon-pannable-area, with this
1776 modes the developers can control in which directions the widget
1777 can scroll. They can also connect to signals in order to do
1778 something when that happens, allowing applications scroll. There
1779 is an example uploaded showing how to use it.
1781 * examples/Makefile.am:
1782 * examples/hildon-pannable-area-example-4.c: Added this example of
1783 an application using the modes.
1785 * src/hildon-marshalers.list: Added a new marshaller for the new
1788 * src/hildon-pannable-area.h: Added new enumerations and flags in
1789 order to control the movement modes and the new signals to warn
1790 about the movements in the area.
1792 * src/hildon-pannable-area.c:
1793 (hildon_pannable_axis_scroll),
1794 (hildon_pannable_area_scroll),
1795 (hildon_pannable_area_motion_notify_cb),
1796 (hildon_pannable_area_get_property),
1797 (hildon_pannable_area_set_property),
1798 (hildon_pannable_area_map),
1799 (hildon_pannable_area_class_init),
1800 (hildon_pannable_area_init),
1801 (hildon_pannable_area_jump_to): Added the modes to control the
1802 movement in the widget. We have added properties to control it,
1803 signals to warn about the movements and refactored some code.
1805 2008-07-15 Alejandro G. Castro <alex@igalia.com>
1807 Changes required in order to allow vfast_factor set to zero to
1810 * src/hildon-pannable-area.c:
1811 (hildon_pannable_area_button_press_cb): Changed the condition, it
1812 is required for not allowing click when vfast_factor is zero.
1813 (hildon_pannable_area_timeout): Initialized velocity variables
1814 when we stop moving, it was less than 1 but not zero and we need
1815 to check zero in some situations.
1816 (hildon_pannable_area_class_init): Changed the default value of
1817 the speed factor, now the button_press is just sent in case the
1818 speed is 2 per cent of the max speed.
1819 (hildon_pannable_area_init): Initialization with 0.
1821 2008-07-04 Alejandro G. Castro <alex@igalia.com>
1823 * src/hildon-pannable-area.c,
1824 (hildon_pannable_area_get_topmost): replaced
1825 gdk_window_get_children with gdk_window_peek_children, this way we
1826 do not have to free the list because it is not a copy.
1828 (hildon_pannable_axis_scroll),
1829 (hildon_pannable_area_scroll),
1830 (hildon_pannable_area_timeout),
1831 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
1832 two parameters that were only used inside the
1833 hildon_pannable_area_scroll function.
1835 * examples/hildon-pannable-area-example.c,
1836 (get_sawtooth_label): Fixed small memory leak.
1838 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1840 More checks for the case where the overshoot is bigger than the
1843 * src/hildon-pannable-area.c:
1844 (hildon_pannable_draw_vscroll),
1845 (hildon_pannable_draw_hscroll): with this new calculation we avoid
1846 to draw the slider of the scrollbar under the other scrollbar.
1847 (hildon_pannable_area_expose_event): added new checks to control
1848 the drawing of the overshooting area rectangle, in case it is too
1849 big for the area of the widget.
1850 (hildon_pannable_area_size_allocate): add more checks to avoid
1851 setting a position to the child widget outside the area.
1853 2008-07-03 Alejandro G. Castro <alex@igalia.com>
1855 * src/hildon-pannable-area.c
1856 (hildon_pannable_area_size_allocate): Added conditions to control
1857 when overshooting is bigger than the allocated space for the
1858 children, this avoids negative allocations.
1860 2008-07-02 Alberto Garcia <agarcia@igalia.com>
1862 * doc/hildon-docs.sgml
1864 * examples/Makefile.am
1865 * examples/hildon-button-example.c
1867 * src/hildon-button.c
1868 * src/hildon-button.h
1869 * src/hildon.h: Initial version of the new HildonButton widget,
1872 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
1874 * src/hildon-pannable-area.c:
1875 (hildon_pannable_area_button_press_cb),
1876 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
1877 (hildon_pannable_area_motion_notify_cb),
1878 (hildon_pannable_area_button_release_cb),
1879 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
1880 (hildon_pannable_area_jump_to_child):
1882 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
1884 2008-07-01 Alberto Garcia <agarcia@igalia.com>
1886 * examples/Makefile.am
1887 * examples/hildon-pannable-area-touch-grid-example.c
1888 * examples/hildon-pannable-area-touch-list-example.c: Examples of
1889 the Hildon Touch List and Hildon Touch Grid using the
1890 HildonPannableArea widget.
1892 2008-06-27 Alejandro G. Castro <alex@igalia.com>
1894 * src/hildon-pannable-area.c,
1895 (hildon_pannable_area_button_press_cb),
1896 (hildon_pannable_area_refresh),
1897 (hildon_pannable_area_scroll),
1898 (hildon_pannable_area_motion_notify_cb),
1899 (hildon_pannable_area_button_release_cb),
1900 (hildon_pannable_area_expose_event),
1901 (hildon_pannable_area_add),
1902 (hildon_pannable_area_remove),
1903 (hildon_pannable_area_realize),
1904 (hildon_pannable_area_size_allocate),
1905 (hildon_pannable_area_class_init),
1906 (hildon_pannable_area_init),
1907 (hildon_pannable_area_scroll_to_child),
1908 (hildon_pannable_area_jump_to_child): Fixed the problem of
1909 removing the child from the GtkBin, we have rearranged the widget
1910 hierarchy, now there is no GtkAlignment which was not doing
1911 anything interesting but breaking some of the assumptions of
1912 GtkContainer. Now developers if they want to add a GtkAlignment
1913 they could, but it is not inside the area.
1915 We had to review the whole allocation/expose process, now it is
1916 improved and we save at least three signals which would be saving
1917 some time when rendering the widget. The allocation of the
1918 scrollbars is now made in the allocate method as usual.
1920 We have also added some conditions in order to control when there
1921 is no child of the pannable area. Maybe we will need more work
1924 2008-06-27 Alejandro G. Castro <alex@igalia.com>
1926 * src/hildon-pannable-area.c,
1927 (hildon_pannable_area_dispose): Released the fade-out timeout when
1928 disposing the widget.
1930 2008-06-27 Alejandro G. Castro <alex@igalia.com>
1932 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
1933 zero, we are going to use that property in order to deactivate the
1935 (hildon_pannable_axis_scroll),
1936 (hildon_pannable_area_size_allocate): Added conditions to control
1937 when overshoot_max is zero. Moved the gtk_adjustment_set_value
1938 call, now it is called in all situations and we can remove calls
1939 in the allocate method.
1940 (hildon_pannable_area_map): Control the situation when
1941 overshoot_max is zero, we do not need the timeout.
1942 (hildon_pannable_area_class_init): Added documentation in order to
1943 point out that setting zero to overshoot_max means deactivate
1946 NOTE: removed trailing whitespaces from my previous comments of
1949 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/hildon-pannable-area.c
1952 (hildon_pannable_area_get_property),
1953 (hildon_pannable_area_set_property),
1954 (hildon_pannable_area_map),
1955 (hildon_pannable_area_class_init),
1956 (hildon_pannable_area_init): Add a boolean "initial-hint" property
1957 to cause the widget give a hint about its panning abilities upon
1960 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
1962 * src/hildon-pannable-area.c: Several documentation improvements.
1964 2008-06-26 Alberto Garcia <agarcia@igalia.com>
1966 * src/hildon-program.c
1967 * src/hildon-stackable-window.c: Update documentation.
1969 2008-06-26 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-stackable-window.c (get_previous_window_if_last):
1972 Renamed get_last_window()
1973 (hildon_stackable_window_map, hildon_stackable_window_unmap)
1974 (hildon_stackable_window_unset_program):
1976 (get_previous_window_if_last):
1977 Detect if the window hasn't been added to a HildonProgram.
1979 2008-06-26 Alejandro G. Castro <alex@igalia.com>
1981 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
1983 * src/hildon-pannable-area.c
1984 (hildon_pannable_area_button_press_cb),
1985 (hildon_pannable_axis_scroll),
1986 (hildon_pannable_area_scroll),
1987 (hildon_pannable_area_timeout),
1988 (hildon_pannable_calculate_vel_factor),
1989 (hildon_pannable_area_get_property),
1990 (hildon_pannable_area_set_property),
1991 (hildon_pannable_area_class_init),
1992 (hildon_pannable_area_init),
1993 (hildon_pannable_area_scroll_to),
1994 (hildon_pannable_area_jump_to),
1995 (hildon_pannable_area_scroll_to_child),
1996 (hildon_pannable_area_jump_to_child):
1997 * src/hildon-pannable-area.h: Added the new API functions:
1998 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
1999 hildon_pannable_area_scroll_to_child,
2000 hildon_pannable_area_jump_to_child
2003 * examples/Makefile.am
2004 * examples/hildon-pannable-area-example-2.c
2005 * examples/hildon-pannable-area-example-3.c: Added these two new
2006 examples in order to test and show how the new APIs work.
2008 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2010 * examples/hildon-stackable-window-example.c (new_window):
2011 * src/Makefile.am (noinst_HEADERS):
2012 * src/hildon-program.c (hildon_program_go_to_root_window):
2013 * src/hildon-program.h:
2014 * src/hildon-stackable-window-private.h:
2015 * src/hildon-stackable-window.c:
2016 * src/hildon-stackable-window.h:
2017 Create hildon-stackable-window-private.h
2018 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2020 * examples/hildon-app-menu-example.c (create_menu):
2021 * examples/hildon-hvolumebar-insensitive-example.c (main):
2022 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2023 * examples/hildon-toolbar-seekbar-example.c (main):
2024 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2025 * src/hildon-banner.c (hildon_banner_set_property):
2026 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2027 Fix compilation warnings
2029 * src/hildon-window.c:
2032 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2034 * src/hildon-stackable-window.c
2035 (hildon_stackable_window_unset_program):
2036 Calculate correctly whether to show the previous window if the
2037 last one is removed from the stack.
2038 (hildon_stackable_window_go_to_root_window):
2039 Send delete events starting from the topmost window.
2040 Stop if one of the windows is not destroyed.
2042 (hildon_stackable_window_delete_event)
2043 (hildon_stackable_window_class_init):
2044 Ignore the delete event if the window is not the topmost one.
2046 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2048 * src/hildon-pannable-area.c
2049 (hildon_pannable_area_expose_event): Fixed a problem when
2050 selecting the background color of the scrollbars.
2052 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2054 * examples/hildon-stackable-window-example.c
2055 * src/hildon-stackable-window.c
2056 * src/hildon-stackable-window.h
2057 hildon_stackable_window_go_home() renamed to
2058 hildon_stackable_window_go_to_root_window()
2059 Send delete events to windows rather than closing them with
2060 gtk_widget_destroy()
2062 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-pannable-area.c
2065 (hildon_pannable_area_button_release_cb): Fix overshooting in
2068 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2070 * src/hildon-pannable-area.c
2071 (hildon_pannable_area_init): Initially show the scroll indicators.
2072 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2074 Add initial effect showing the widget is pannable.
2076 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2078 * src/hildon-pannable-area.c
2079 (hildon_pannable_area_class_init)
2080 (hildon_pannable_area_set_property)
2081 (hildon_pannable_area_get_property)
2082 (hildon_pannable_area_button_press_cb):
2083 New 'velocity_fast_factor' property to decide which velocity is
2086 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2088 * src/hildon-pannable-area.c
2089 (hildon_pannable_draw_hscroll)
2090 (hildon_pannable_draw_vscroll):
2091 Use float variables to calculate the size of the scrollbars to
2092 avoid error propagation and resizing during scrolling.
2094 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-pannable-area.c
2097 (hildon_pannable_draw_vscroll)
2098 (hildon_pannable_draw_hscroll):
2099 Define a minimum size for the scroll bars
2101 * src/hildon-stackable-window.c
2102 (hildon_stackable_window_go_home): Fix compilation warning
2103 (get_last_window): Minor optimizations
2104 (hildon_stackable_window_class_init): Fix initialization of
2107 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-stackable-window.c: Fixed typos in doc
2111 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2113 * src/hildon-pannable-area.c
2114 (hildon_pannable_area_scroll):
2115 Calculate here whether we need to scroll instead of using the booleans
2116 that tell us whether to /draw/ the scrolling bars.
2118 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2120 * src/hildon-app-menu.h
2122 * src/hildon-app-menu.c
2123 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2124 multiple filter groups related code and API. Now we support only
2126 * examples/hildon-app-menu-example.c:
2128 Update to reflect API changes.
2130 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2132 * src/hildon-stackable-window.c
2133 (hildon_stackable_window_class_init):
2134 Add hildon_stackable_window_realize.
2135 (hildon_stackable_window_realize):
2136 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2137 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2138 to apply theming and behavior specific to HildonStackableWindow
2141 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2143 * src/hildon-note.c (hildon_note_button_release):
2144 Close information notes also when tapping on them
2146 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2148 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2149 ELASTICITY, refactor and review, fix some issues with drawing
2152 * src/hildon-pannable-area.c:
2153 (hildon_pannable_area_button_press_cb): removed the conditions to
2154 avoid clicks when overshooting. It is not required
2156 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2157 define. Refatored and reviewed the code, now we do not need to
2158 manage velocity in motion_notify.
2160 (hildon_pannable_area_motion_notify_cb): We have moved the code
2161 that controls the area_scroll to the axis_scroll function and get
2162 rid of duplicated code.
2164 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2166 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2168 (hildon_pannable_draw_vscroll),
2169 (hildon_pannable_draw_hscroll): Fixed the problems with the
2170 scrollbar drawing, now we do not use two surfaces, it is easier
2171 and saves resources.
2173 (hildon_pannable_area_get_property): Style modification.
2175 (hildon_pannable_area_class_init): Changed some default values.
2177 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2179 * src/hildon-stackable-window.c: Fix some typos in the
2182 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2184 * src/hildon-dialog.c:
2185 Change indentation style
2188 (hildon_note_button_release):
2189 Use root coordinates to check if the release event happened
2192 * src/hildon-app-menu.c
2193 (hildon_app_menu_button_release):
2194 Remove unnecessary check
2196 * examples/hildon-app-menu-example.c
2198 Add cast to fix warning
2200 * src/hildon-app-menu.c
2201 (hildon_app_menu_class_init):
2202 New inner-border style property.
2203 Set all default spacings to 16
2204 (hildon_app_menu_init):
2205 Use vertical-spacing to set the space between filter buttons and
2206 regular menu buttons.
2207 Set the default container border using the inner-border value.
2209 * examples/hildon-app-menu-example.c
2211 Don't set the menu border explicitly, now we have the inner-border
2212 style property for that.
2214 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2216 * src/hildon-app-menu.c (hildon_app_menu_init):
2217 Make the window modal
2219 * src/hildon-note.c (hildon_note_map)
2220 * src/hildon-app-menu.c (hildon_app_menu_map):
2221 Destroy the grab window if we're unable to grab the pointer
2223 * src/hildon-app-menu-private.h
2224 * src/hildon-app-menu.c
2225 (hildon_app_menu_init, hildon_app_menu_finalize)
2226 (hildon_app_menu_map, hildon_app_menu_unmap)
2227 (hildon_app_menu_button_release)
2228 (grab_transfer_window_get):
2229 Bring back the grab window
2230 (hildon_app_menu_realize):
2231 Decorate the window, set WM hint for Matchbox
2233 * src/hildon-note.c (hildon_note_realize):
2234 * src/hildon-banner.c (hildon_banner_realize):
2235 Add WM hints for Matchbox
2237 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-app-menu-private.h
2240 * src/hildon-app-menu.c
2241 (hildon_app_menu_init, hildon_app_menu_finalize)
2242 (hildon_app_menu_map, hildon_app_menu_unmap)
2243 (hildon_app_menu_button_release):
2244 Remove the grab window, it's not needed anymore
2246 * src/hildon-program.c
2247 Fixed typo in documentation
2249 * src/hildon-app-menu.h
2250 * src/hildon-app-menu.c
2251 * examples/hildon-app-menu-example.c
2252 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2254 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2257 Added new transfer_window and close_if_pressed_outside private
2259 (hildon_note_rebuild):
2260 Don't add a cancel button to the information note. It will be
2261 closed when tapping outside
2262 Remove the comment about the OK button in the documentation
2263 (hildon_note_realize):
2264 Set the notification type hint
2265 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2266 Grab/ungrab pointer and keyboard if the note has to be closed when
2268 (hildon_note_button_release):
2269 Close the note when tapping outside (if applicable)
2271 * src/hildon-app-menu.c
2272 Grab/ungrab pointer and keyboard on map/unmap
2273 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2274 Close the menu on button release, not button press
2276 * src/hildon-banner.c
2277 (hildon_banner_set_property)
2278 (hildon_banner_check_position):
2279 Make the banner use the full width of the screen
2280 (hildon_banner_show_information)
2281 (hildon_banner_show_information_with_markup):
2282 Don't display an icon by default
2284 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2286 Added fading scrollbars and adapted all the overshooting code to
2287 horizontal scrolling. We have also fixed bugs with overshooting
2288 and current fading implementation.
2290 * src/hildon-pannable-area.c
2291 (hildon_pannable_area_scroll_indicator_fade): Time out function
2292 used to change the transparency of the scrollbars.
2294 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2295 control and fixed a problem with fading, we now remove the fade
2296 timeout before adding a new one.
2298 (hildon_pannable_axis_scroll):
2299 (hildon_pannable_area_scroll):
2300 (hildon_pannable_area_timeout): Added this functions so we can use
2301 the scroll code both for vertical and horizontal.
2303 (hildon_pannable_area_motion_notify_cb):
2304 (hildon_pannable_area_button_release_cb): Added the horizontal
2305 scrolling control, fixed a problem with the overshooting timeout.
2307 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2308 painting of the scrolls.
2310 (hildon_pannable_draw_vscroll):
2311 (hildon_pannable_draw_hscroll):
2312 (hildon_pannable_area_expose_event):
2313 Draw both scrollbars and rectangles in the overshooting area.
2315 (hildon_pannable_area_get_property):
2316 (hildon_pannable_area_set_property):
2317 Modified the overshoot property to overshoot_max
2319 (hildon_pannable_area_map):
2320 Replaced the comments symbols.
2322 (hildon_pannable_area_size_allocate):
2323 (hildon_pannable_area_class_init):
2324 (hildon_pannable_area_init): Added horizontal scroll, fading
2325 effect properties, fixed a problem when overshooting in the bottom
2328 * examples/hildon-pannable-area-example.c:
2329 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2330 looks better in the example.
2332 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-window.c
2335 * src/hildon-window.h
2336 (hildon_window_class_init)
2337 (hildon_window_unset_program)
2338 (hildon_window_unset_program_real):
2339 Make unset_program a virtual function
2341 * src/hildon-stackable-window.c
2342 * src/hildon-stackable-window.h
2343 Added hildon_stackable_window_go_home()
2345 * examples/Makefile.am
2346 * examples/hildon-stackable-window-example.c
2347 HildonStackableWindow example
2349 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2351 * hildon-pannable-area.c: Added the overshoot property and removed
2352 the OVERSHOOT define. Fixed an indent style error.
2353 (hildon_pannable_area_motion_notify_cb):
2354 (hildon_pannable_area_get_property):
2355 (hildon_pannable_area_set_property): Add overshoot property.
2357 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2360 (hildon_pannable_area_class_init): Installed the new property.
2362 * hildon-pannable-area-example.c: Added a sawtooth function, this
2363 way it is easier to check the movement in the pannable.
2364 (get_sawtooth_label): Added this function.
2365 (main): Now we get the labels from the new get_sawtooth_label
2368 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2370 * src/hildon-app-menu.h
2371 * src/hildon-app-menu.c
2372 Renamed API variables for consistency
2374 (hildon_app_menu_popup): Use also the default window size to
2375 decide where to place the menu
2377 (hildon_app_menu_init, hildon_app_menu_class_init): New
2378 external-border style property
2380 2008-05-26 Michael Natterer <mitch@imendio.com>
2382 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2383 widget_class->tap_and_hold_setup signal slot doesn't exist any
2384 longer, stop overriding it.
2386 (hildon_time_editor_init): g_signal_connect() to the
2387 tap-and-hold-setup signal instead.
2389 (hildon_time_editor_entry_keypress): add cast to fix warning.
2391 2008-05-23 Alberto Garcia <agarcia@igalia.com>
2393 * doc/hildon-docs.sgml
2395 * examples/Makefile.am
2396 * examples/hildon-app-menu-example.c
2398 * src/hildon-app-menu-private.h
2399 * src/hildon-app-menu.c
2400 * src/hildon-app-menu.h
2402 New HildonAppMenu widget
2404 2008-05-21 Alejandro G. Castro <alex@igalia.com>
2406 Rearranged the inheritance of the pannable area, now it inherits
2407 from GtkBin. This will allow us to control the event_window and
2408 the allocation process of the widget, required for some effects.
2410 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
2411 GtkBin structures. * src/hildon-pannable-area.c: Added the
2412 event_window variable.
2413 (hildon_pannable_area_button_press_cb):
2414 (hildon_pannable_area_button_release_cb):
2415 (hildon_pannable_area_motion_notify_cb):
2416 Changed the signature of the method, now we override the event
2417 callback instead of connecting to the signal.
2419 (hildon_pannable_area_realize):
2420 (hildon_pannable_area_unrealize):
2421 (hildon_pannable_area_map):
2422 (hildon_pannable_area_unmap):
2423 (hildon_pannable_area_size_allocate):
2424 Added functions to control the widget construction. We add a
2425 INPUT_ONLY window and we put it over the widgets inside the
2426 container, this event_window handles the events.
2428 (hildon_pannable_area_class_init):
2429 Replaced the signal connections with overrides of the event
2432 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2434 Bouncing effect added when touching the borders, you can change
2435 the elasticity of the border changing the ELASTICITY define.
2437 * src/hildon-pannable-area.c: Added ELASTICITY define.
2438 (hildon_pannable_area_timeout): Added inverse velocity when
2439 touching the border of the child widget, that causes a bounce.
2441 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2443 Improved performance, we now do not go to the X server in order to
2444 get the list of window children. Apparently the effect is the
2445 same, we have to be careful and check if this breaks something in
2448 * src/hildon-pannable-area.c:
2449 (get_ordered_children): Removed this function.
2450 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
2451 the children windows function with gdk_window_get_children.
2453 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2455 * src/hildon-pannable-area.c:
2456 (hildon_pannable_area_dispose): Fixed a crash when closing the
2457 window and kinetics is activated.
2459 2008-05-19 Alberto Garcia <agarcia@igalia.com>
2461 * src/hildon-pannable-area.h
2462 * src/hildon-pannable-area.c
2463 Changed indentation style to meet the one used in Hildon
2465 2008-05-19 Alejandro G. Castro <alex@igalia.com>
2467 Reviewed the interaction of the AUTO mode, now we use the time
2468 attribute of the events and calculate the velocity in the motion,
2469 doing a gimp like calculation. The velocity is calculated in each
2470 motion event using the last velocity and the current one, the
2471 SMOOTH_FACTOR controls the percentage of the new velocity we use.
2473 * src/hildon-pannable-area.c: Replaced the time based algorithm
2475 (hildon_pannable_area_motion_notify_cb): now we do not launch the
2476 timeout for the AUTO mode when we are still moving the cursor. We
2477 added also the velocity calculation in this function.
2478 (hildon_pannable_area_button_release_cb): launch the timeout in
2479 case we are in AUTO mode. There are still some constants here that
2480 come from the old implementation that should be reviewed and
2483 2008-05-15 Alberto Garcia <agarcia@igalia.com>
2485 * doc/hildon-docs.sgml
2488 * src/hildon-stackable-window.c
2489 * src/hildon-stackable-window.h
2491 New HildonStackableWindow widget
2493 * examples/hildon-dialog-example.c
2494 * examples/hildon-pannable-area-example.c
2497 2008-05-14 Alberto Garcia <agarcia@igalia.com>
2499 * src/hildon-dialog.c
2500 (hildon_dialog_new_with_buttons): New constructor.
2502 * examples/hildon-dialog-example.c
2503 (main): Update the example to use the new
2504 hildon_dialog_new_with_buttons().
2506 * examples/hildon-pannable-area-example.c
2507 (main): Update example.
2509 2008-05-13 Alberto Garcia <agarcia@igalia.com>
2511 * doc/hildon-docs.sgml
2513 Added HildonPannableArea to the documentation.
2515 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
2517 * doc/visual_index.xml
2518 Fix reference to HildonLoginDialog in documentation
2520 * doc/hildon-docs.sgml
2522 * examples/Makefile.am
2523 * examples/hildon-dialog-example.c
2525 * src/hildon-dialog.c
2526 * src/hildon-dialog.h
2528 New HildonDialog widget.
2530 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2532 * src/hildon-pannable-area.c
2533 Merge latest changes (r4318, r4342) from libmokoui trunk
2535 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2537 * examples/Makefile.am
2538 * examples/hildon-pannable-area-example.c
2540 * src/hildon-pannable-area.c
2541 * src/hildon-pannable-area.h
2543 New HildonPannableArea widget.
2545 2008-04-15 18:05:19 <timj@imendio.com>
2547 * src/hildon-banner.c: revert the recent change, that introduced
2548 gtk_window_present() calls. this reopens:
2549 Bug 78481 - [freetest] information banners are hidden under browser menu
2550 But resolves another variant of:
2551 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2553 2008-04-15 13:21:13 <timj@imendio.com>
2555 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2556 recreated its layout, spotted by Kris. this fixes all remaining
2557 artefacts and stability issues with the banner code. in particular:
2558 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2560 2008-04-14 16:52:59 <timj@imendio.com>
2562 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2563 operating on unrealized widgets, fixes:
2564 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2566 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2568 2008-04-09 Kristian Rietveld <kris@imendio.com>
2570 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2571 makes banner disappear.
2572 Fixes: NB#79182: info banner flickering with certain message lengts.
2574 * src/hildon-banner.c (hildon_banner_constructor),
2575 (hildon_banner_init), (hildon_banner_set_text),
2576 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2577 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2578 FALSE, reset size requests of label and banner,
2579 (force_to_wrap_truncated): when the text is too wide, always enforce
2580 the maximum possible width instead of recalculating it from the
2581 layout; enforce the maximum banner height of 3 lines,
2582 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2583 nicer wrapping and no truncated chars if space gets tight.
2585 * src/hildon-banner-private.h: add has_been_wrapped and
2586 has_been_truncated fields.
2588 2008-04-07 Sven Herzberg <sven@imendio.com>
2590 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2591 local values in hildon_date_editor_size_allocate
2593 * src/hildon-date-editor.c: moved the real allocation code into the
2596 2008-04-07 Sven Herzberg <sven@imendio.com>
2598 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2599 local values in hildon_date_editor_size_allocate
2601 * src/hildon-date-editor.c: merged the two if() branches together
2603 2008-04-07 Sven Herzberg <sven@imendio.com>
2605 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2606 local values in hildon_date_editor_size_allocate
2608 * src/hildon-date-editor.c: changed the arguments of the if()
2611 2008-04-07 Sven Herzberg <sven@imendio.com>
2613 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2614 local values in hildon_date_editor_size_allocate
2616 * src/hildon-date-editor.c: split the calculation of the allocation
2617 from the real allocation
2619 2008-03-27 Michael Natterer <mitch@imendio.com>
2621 Fixes: NB#81696: The passcode is not overwritten even after
2624 * src/hildon-code-dialog.c
2625 (hildon_code_dialog_button_clicked)
2626 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2627 because that doesn't overwrite selected text. Instead, emit the
2628 "commit" signal on the entry's im_context so the entry's normal
2629 insert logic is triggered. Set the cursor to the end of the entry
2630 after each insert operation so that we *only* insert in the middle
2631 of the text if something was selected.
2633 2008-03-27 Michael Natterer <mitch@imendio.com>
2635 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2636 selector cannot be opened
2638 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
2639 when the popup color selector is created. Please connect to this
2640 signal in order to set the dialog's help ID.
2642 2008-03-25 Sven Herzberg <sven@imendio.com>
2644 Fixes: MB#1212: Hide info banners (infoprints) on click
2646 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
2647 extracted the close event simulation into an extra function
2648 (hildon_banner_button_press_event): simulate a close event and destroy
2649 the widget if the event wasn't handled
2650 (hildon_banner_class_init): added the button_press_event handler
2651 (hildon_banner_init): added button-press events to the widget
2653 2008-03-25 Sven Herzberg <sven@imendio.com>
2655 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
2656 Patch from: Mohammad Anwari <mdamt@maemo.org>
2658 * src/hildon-banner.c: let the HildonBanners pop up on the left side
2659 instead of the right in RTL mode
2660 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
2661 breadcrumb button list in RTL mode
2662 * src/hildon-caption.c: mirror the appearance of the caption widget in
2664 * src/hildon-date-editor.c: mirror appearance of the date editor in
2666 * src/hildon-time-editor.c: mirror appearance of the time editor in
2668 * src/hildon-window.c: fix the position of the popup in RTL mode
2670 2008-03-25 Sven Herzberg <sven@imendio.com>
2672 Amendment to the fix of NB#22072. Fix compilation.
2674 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
2676 2008-03-19 Sven Herzberg <sven@imendio.com>
2678 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
2681 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
2682 timeout id properly when the timeout will disappear this leaves no
2683 artifacts around in the destroy(); there will only be the timeout
2684 created by hildon_banner_ensure_timeout() and adding a new timeout
2685 will also work if the timeout gets removed because the timeout_handler
2688 2008-03-19 Michael Natterer <mitch@imendio.com>
2690 Fixes: NB#79791: Cannot set focus to Master volume using stylus
2692 * src/hildon-volumebar.c
2693 * src/hildon-vvolumebar.c
2694 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
2695 the widget becomes focussable at all.
2697 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
2698 set the focus to wither the mute button or the volumebar.
2700 Remove own "can-focus" property and instead listen to
2701 notify::can-focus in order to update the widget's state.
2703 Implement GtkWidget::focus() and make sure we can also *leave* the
2704 widget, not only enter it, depending on volumebar orientation and
2705 requested focus direction.
2707 Clean up set_mute() to cooperate nicely with all the above.
2709 2008-03-04 Michael Natterer <mitch@imendio.com>
2711 Fixes: NB#78481: information banners are hidden under browser menu
2713 * src/hildon-banner.c: call gtk_window_present() on the banners so
2714 they are risen if they are already visible.
2716 2008-03-03 Sven Herzberg <sven@imendio.com>
2718 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
2720 * examples/hildon-window-menu-example.c: (main): extended the window
2721 menu example to serve as a testcase for automatically added
2722 accelerator groups, too
2723 * src/hildon-window.c: (hildon_window_add_accel_group),
2724 (hildon_window_set_menu): added patch by Tommi Komulainen
2726 2008-03-03 Sven Herzberg <sven@imendio.com>
2728 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
2730 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
2731 knowledge about the border allocators used within GTK+
2733 2008-02-26 Sven Herzberg <sven@imendio.com>
2735 Fixes: MB#2981: Build with asserts broken
2737 * src/hildon-date-editor.c,
2738 * src/hildon-number-editor.c,
2739 * src/hildon-time-editor.c,
2740 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
2741 the proper GType instance check
2743 2008-02-25 Sven Herzberg <sven@imendio.com>
2745 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
2747 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
2748 * examples/hildon-window-menu-example.c: (main): explicitly show
2750 * src/hildon-window.c:
2751 (hildon_window_set_main_menu): moved most of the code from set_menu()
2752 to this place; skipped the call to gtk_widget_show_all(); also didn't
2753 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
2754 (hildon_window_set_menu): removed most of the code, just keep the
2755 questionable gtk_widget_show_all()
2756 * src/hildon-window.h: added the new function and deprecate the old
2759 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2765 * debian/changelog: Updating.
2767 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
2770 * pkgconfig/Makefile.am:
2771 * pkgconfig/hildon.pc.in:
2774 Do not use PACKAGE_VERSION_MAJOR as the API revision,
2775 use newly created API_MAJOR_VERSION.
2777 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2783 * debian/changelog: Updating.
2785 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
2787 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
2789 Add outer_border style property, we use it but don't define it (!).
2793 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
2795 * examples/hildon-bread-crumb-trail-example.c (main):
2799 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
2801 Fix logic for the bread crumb trail node removal.
2805 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2811 * debian/changelog: Updating.
2813 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2815 Patch by Alejandro to get/set passwords dialogs accesibility.
2817 * hildon-1/src/hildon-get-password-dialog.c:
2818 * hildon-1/src/hildon-set-password-dialog.c:
2819 Set atk_set_name to the passwd entries in order to allow
2820 accessibility by name on this entries.
2822 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2827 * debian/control: Updating gtk dep.
2829 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
2831 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
2832 USE_MAEMO_GTK is enabled.
2834 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
2836 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
2837 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
2839 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2845 * debian/changelog: Updating.
2847 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2849 * examples/Makefile.am:
2850 * examples/hildon-logical-color-example.c:
2851 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
2852 applied + adding a test case. Fixes: NB#71660.
2854 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
2856 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
2857 to be visible, fixes warning on map for windows without toolbars.
2859 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
2861 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
2862 2.11.0, add a check for that besides the MAEMO_GTK check.
2864 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2870 * debian/changelog: Updating.
2872 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2874 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
2875 visibility. Fixes: NB#70842 and MB#615.
2877 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2879 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
2880 set the separator as no-show-all so it doesn't unintentionally appear when
2881 someone does a show_all.
2883 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
2885 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
2886 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
2887 toplevel item. Fixes: NB#62031
2889 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
2891 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
2892 fix the name of the function in the docs.
2894 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2900 * debian/changelog: Updating.
2902 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2904 * examples/hildon-banner-long-example.c: Adding a test-case for long
2907 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
2909 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2911 * src/hildon-color-chooser-dialog.c:
2912 * src/hildon-color-chooser.c:
2913 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
2914 memory leaks in font selector and color selector. Fixes: NB#70499 and
2917 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
2919 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
2921 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2923 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
2924 little bit bigger. Fixes: #NB63694.
2926 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2932 * debian/changelog: Updating.
2934 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2937 * doc/hildon-docs.sgml:
2938 * doc/images/bread-crumb-trail.png:
2939 * doc/images/calendar-popup.png:
2940 * doc/images/caption.png:
2941 * doc/images/code-dialog.png:
2942 * doc/images/color-button.png:
2943 * doc/images/color-chooser-dialog.png:
2944 * doc/images/color-chooser.png:
2945 * doc/images/controlbar.png:
2946 * doc/images/date-editor.png:
2947 * doc/images/font-selection-dialog.png:
2948 * doc/images/get-password-dialog.png:
2949 * doc/images/hvolumebar.png:
2950 * doc/images/login-dialog.png:
2951 * doc/images/note.png:
2952 * doc/images/number-editor.png:
2953 * doc/images/range-editor.png:
2954 * doc/images/seekbar.png:
2955 * doc/images/set-password-dialog.png:
2956 * doc/images/sort-dialog.png:
2957 * doc/images/time-editor.png:
2958 * doc/images/time-picker.png:
2959 * doc/images/vvolumebar.png:
2960 * doc/images/weekday-picker.png: Adding the new generated widget shots.
2961 Adding the bread-crumb-trial and helpers to the documentation.
2963 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2965 * examples/hildon-find-toolbar-example.c:
2966 * src/hildon-find-toolbar.c:
2967 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
2968 actually continue firing the other handlers if connected. Adding a new
2970 hildon_find_toolbar_get_last_index that gets the index of the most
2971 recently added (last) item. Fixes: NB#52301.
2973 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2975 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
2976 behaviour. Fixes: NB#68610.
2978 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2980 * src/hildon-banner.c: Actually reverting the previous change. It somehow
2983 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2985 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
2986 when realizing the banner. Should make the infonbanner effect a bit more
2989 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2991 * src/hildon-volumebar.c:
2992 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
2993 hildon_volumebar_set_range_insensitive_message and
2994 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
2996 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
2998 * src/hildon-window.c: Fixing the border freeing on destroy.
3000 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3002 * src/hildon-code-dialog-private.h:
3003 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3004 kw keyboard support in HildonCodeDialog.
3006 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3012 * debian/changelog: Updating.
3014 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3016 * src/hildon-date-editor.c:
3017 * src/hildon-number-editor.c:
3018 * src/hildon-private.c:
3019 * src/hildon-private.h:
3020 * src/hildon-time-editor.c:
3021 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3022 handling in subclassed composite widgets. Fixes: NB#66628.
3024 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3026 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3027 from destroy_ callback as it introduces problems in async dbus signal
3028 handlers. Fixes NB#66673.
3030 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3032 * examples/hildon-hvolumebar-example.c:
3033 * src/hildon-volumebar.c: Improving the focus handling in the
3034 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3035 set_property accessor so that "mute" property can be actually set. I'm
3036 scared that nobody noticed it's totally broken.
3038 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3040 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3043 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3045 * src/hildon-calendar.c:
3046 * src/hildon-number-editor.c:
3047 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3048 matches the spec of 6 chars per second. Fixes: NB#60489.
3050 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3052 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3053 gtk_style_lookup_color sometime returns FALSE even though color was
3054 found and values were filled properly. Weird. Removing the warning for the
3057 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3059 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3060 expand vertically. Adding some extra space to the find toolbar buttons to
3061 make them thumbable. Fixes NB#66060.
3063 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3065 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3066 popup with "Ok" and "Cancel". Fixes NB#59299.
3068 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3070 * src/hildon-calendar.c: Process all window updates before executing next
3071 timeout. Fixes: NB#54146.
3073 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3079 * debian/changelog: Updating.
3081 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3083 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3084 the client event and ignore it, since we use the delete event to close
3087 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3089 * src/hildon-helper.c: Remove the bogus warning about color not being
3090 found. Fixes NB#58352.
3092 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3094 * examples/Makefile.am:
3095 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3096 HildonSeekbar widget inside a toolbar.
3098 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3100 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3101 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3102 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3103 don't want to be closed by non-temporary windows on map.
3105 Also use G_DEFINE_TYPE instead of manually typed code.
3107 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3114 * debian/rules: Updating.
3116 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3118 * examples/Makefile.am:
3119 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3120 bug NB#61128. Strangely it works.
3122 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3124 * src/hildon-date-editor.c: When the date editor entry has been changed
3125 but the numbers of characters < max, turn off the skip validation flag.
3126 Prevents a situation when we enter first a valid year and later re-write
3127 it with an invalid one. Fixes NB#60154.
3129 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3131 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3132 code dialog. Fixes NB#64355.
3134 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3136 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3137 switching the page. Fixes NB#49374.
3139 * examples/Makefile.am:
3140 * examples/hildon-wizard-dialog-example.c: Adding an example for
3141 HildonWizardDialog that shows how to handle manual sensitivity setting on
3144 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3148 * src/hildon-version.h.in:
3149 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3151 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3153 * src/hildon-volumebar.c: Updating the docs.
3155 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3161 * debian/changelog: Updating.
3163 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3165 * src/hildon-find-toolbar.c:
3166 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3167 selected item: hildon_find_toolbar_set_active,
3168 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3169 hildon_find_toolbar_get_active_iter . They correspond to respective
3170 GtkComboBox functions.
3172 * examples/Makefile.am:
3173 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3176 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3178 * examples/Makefile.am:
3179 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3182 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3183 when font size > 32 and we pack a focusable widget inside. Actually using
3184 the default response would work too, but since we don't show default
3185 response state in any way (no theming) it would not be visible to the
3186 user. Fixes NB#63430.
3188 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3190 * src/hildon-date-editor.c: Adding the missing variable setter in the
3191 set_property handler. Fixes NB#54182.
3193 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3195 * src/hildon-window.h: Changing the long key press time from 1500ms to
3196 800ms as requested in NB#63700. I have a bad feeling about this, let's
3197 see... Fixes NB#63700.
3199 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3201 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3202 hildon_time_picker_map, hildon_time_picker_realize,
3203 hildon_time_picker_style_set): Split the contents of map to more
3204 appropriate functions; set window decorations on realize and update
3205 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3207 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3212 * debian/changelog: Updating.
3214 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3216 * src/Makefile.am: fixed installation of the header files
3218 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3224 * debian/changelog: Updating.
3226 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3228 * configure.ac: Removing some remaining of --enable-xan.
3230 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3232 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3233 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3235 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3236 2.10.12-osso6 because the move-focus signal needs to be available in
3239 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3241 * examples/Makefile.am:
3242 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3243 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3244 fine. Prolly NB#61128 is fixed now.
3246 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3248 * src/hildon-volumebar.c:
3249 * src/hildon-volumebar.h: Adding the
3250 hildon_volumebar_set_range_insensitive_message and
3251 hildon_volumebar_set_range_insensitive_messagef functions to set
3252 insensitive message on the slider of the volumebar. Fixes NB#61129.
3254 * examples/Makefile.am:
3255 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3256 test the new insensitive messsage functionality on HildonVolumebar.
3258 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3260 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3263 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3265 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3266 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3267 button on after clearing the trail.
3269 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3271 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3273 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3275 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3276 by splitting the installed headers in generated and non-generated groups. Use
3277 only the non-generated headers to create the hildon-enum-types.h file.
3279 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3281 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3283 * src/hildon-window.c: Hide the window before performing the destroy.
3284 Should make the app closing a little tiny bit more snappy.
3286 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3288 * src/hildon-seekbar.c: add gtkrange.h header
3289 * src/hildon-caption.c: remove unused variable
3291 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3293 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3296 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3302 * debian/changelog: Updating.
3304 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3306 * src/hildon-window.c (hildon_window_window_state_event,
3307 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3308 escape timeout on focus-out-event rather than notify::is-topmost; the
3309 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3311 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3313 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3314 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3316 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3318 * src/hildon-window: actually, you need to use the macro always, there's
3319 no private pointer in the instance structure. We should have cleaned this up
3320 when we had the chance...
3322 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3324 * src/hildon-window.c: do not get the private date from HildonWindow before
3325 it passes the g_return_if_fail check. Once it's passed the test, there's no
3326 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3327 if you are only going to access the data once. Whitespace cleanups.
3329 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3331 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3332 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3334 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3340 * debian/changelog: Updating.
3342 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3344 * src/hildon-window.c: When destroying the window, remove (if exists) the
3345 escape timeout handler. Fixes #NB59276.
3347 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3349 * src/hildon-banner.c: When realizing the widget, set the window
3350 transiency. Setting the transiency in the gobject constructor is not
3351 good, as the widget is not realized at that point. Fixes: #NB56624.
3353 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3355 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3356 Add padding for future expansions.
3358 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3360 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3361 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3362 will fake an activation on the previous to the last item of the trail, so
3363 the effect can be overrided by the developer as usual.
3364 Also change the callback for the back button to do the same thing, so its
3365 effect can be overrided too. Fixes: NB#58982
3367 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3369 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3370 HildonCaption. Fixes NB#52379.
3372 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3374 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3375 the internal state of the trail after the user has had the chance of executing
3376 his handler for the signal. Specifically, it may happen that the activated button
3377 is removed and the user still lets the default handler run. This would segfault
3380 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3382 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3383 scrollbar to the preview dialog. Fixes NB#54147.
3385 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3387 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3388 max/min year properties can be altered, so the client can modify it
3389 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3391 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3393 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3394 hildonlike by default. Fixing a problem with disappearing arrows when
3395 scrolling through months and years. Fixes NB#54127.
3397 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3399 * examples/hildon-date-editor-example.c: Adding error callback to the date
3402 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3408 * configure.ac: Updating.
3410 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3412 * configure.ac: Adding a special '--enable-xan' configure option that
3413 turns off the -Werror compilation setting. Usefull for development.
3415 * src/hildon-calendar.c:
3416 * src/hildon-number-editor.c:
3417 * src/hildon-time-picker.c: Adding the 5* multiplier to
3420 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
3422 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
3423 instead of g_object_ref + gtk_object_sink.
3425 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3431 * debian/changelog: Updating.
3433 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3435 * src/hildon-color-chooser-dialog.c:
3436 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
3437 straight from Tommi labs.
3439 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3441 * examples/hildon-finger-example.c: Correcting the header file path.
3443 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
3444 the changed signal. Fixes a small memory leak.
3446 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3450 * src/hildon-banner.c: Importing several usefull fixes from the
3451 ubuntu-mobile branch.
3453 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3455 * examples/Makefile.am:
3456 * examples/hildon-finger-example.c: Adding a finger-checking code
3459 * src/hildon-font-selection-dialog.c: Do not allocate the color
3460 structure using the g_new. Fixes NB#54061.
3462 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3464 * src/hildon-helper.c: Correcting tabs in file.
3466 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
3468 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3469 control the visibility of the children.
3471 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3473 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3479 * debian/changelog: Updating.
3481 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3483 * src/hildon-bread-crumb-trail.c:
3484 (hildon_bread_crumb_trail_size_allocate):
3486 Make the back button always a square.
3488 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3490 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3491 from the .c file as it's a private file.
3493 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3495 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3496 uses slightly bigger height.
3498 * src/hildon-font-selection-dialog.c: Adding some checks before
3499 freeing memory in the font selection dialog.
3501 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3503 * src/hildon-font-selection-dialog.c: Adding a small check when
3506 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3507 buttons sensitivity on page switching.
3509 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3511 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3512 internal details of adding a bread crumb to the trail.
3514 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3520 * debian/changelog: Updating.
3522 * src/hildon-bread-crumb-trail.h:
3523 * src/hildon-bread-crumb.h: Changing the API guard to
3524 HILDON_ENABLE_UNSTABLE_API.
3526 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3534 * src/hildon-helper.h: Updating.
3536 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3544 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3548 * src/hildon-helper.h: Small fix to make the package actually compile.
3550 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3552 * src/hildon-bread-crumb-trail.h:
3553 * src/hildon-bread-crumb.h:
3555 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3556 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3558 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3560 * examples/hildon-bread-crumb-trail-example.c:
3562 * src/hildon-bread-crumb-trail.c:
3563 * src/hildon-bread-crumb-trail.h:
3564 * src/hildon-bread-crumb.c:
3565 * src/hildon-bread-crumb.h:
3566 * src/hildon-marshalers.list:
3567 * src/hildon-bread-crumb-widget.c:
3568 * src/hildon-bread-crumb-widget.h:
3570 Slight change in the widget design. The bread crumb trail API is
3571 unchanged, but HildonBreadCrumb is now an interface. A *private*
3572 implementation, hildon-bread-crumb-widget, is provided and used
3573 internally by the trail for the push_text/push_icon functions.
3575 The generic push API is still available, so anyone can implement
3576 and use its own bread crumb widget.
3578 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3580 * debian/rules: Fixing the shlibs.
3582 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3584 * src/hildon-banner.c: Fixing a problem with timed banners having
3585 their parrent destroyed before they are.
3587 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3589 * src/hildon-bread-crumb.c:
3590 * src/hildon-bread-crumb.h:
3592 Make the get_natural_size function a vfunc.
3594 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3596 * src/hildon-bread-crumb.c:
3597 * src/hildon-bread-crumb-trail.c:
3601 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3608 * debian/changelog: Updating for release.
3610 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3612 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3613 don't leak the pango layout.
3615 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3618 * examples/hildon-bread-crumb-trail-example.c:
3622 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3624 * debian/changelog: Removing the bug-fixed entries that were actually
3625 resolved as WONTFIX.
3627 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3630 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3632 * src/hildon-bread-crumb-trail.c:
3633 * src/hildon-bread-crumb-trail.h:
3634 * src/hildon-bread-crumb.c:
3635 * src/hildon-bread-crumb.h:
3639 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3641 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
3642 until it's passed the type check.
3644 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3646 * examples/hildon-bread-crumb-trail-example.c
3650 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
3652 * examples/Makefile.am
3653 * examples/hildon-bread-crumb-trail-example.c
3655 * src/hildon-bread-crumb-trail.c
3656 * src/hildon-bread-crumb-trail.h
3657 * src/hildon-bread-crumb.c
3658 * src/hildon-bread-crumb.h
3660 New HildonBreadCrumbTrail widget.
3662 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
3664 * src/hildon-range-editor.c (hildon_range_editor_init),
3665 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
3666 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
3667 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
3668 hildon_time_editor_class_init, hildon_time_editor_init),
3669 src/hildon-get-password-dialog.c (invalid_input,
3670 hildon_get_password_set_property, hildon_get_password_get_property,
3671 create_contents, hildon_get_password_dialog_set_max_characters),
3672 src/hildon-set-password-dialog.c (create_contents),
3673 src/hildon-date-editor.c (hildon_date_editor_init),
3674 src/hildon-login-dialog.c (hildon_login_dialog_init),
3675 src/hildon-number-editor.c (hildon_number_editor_init),
3676 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
3677 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
3678 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
3679 configure option and adding the respective checks in the code.
3680 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
3681 hildon_calendar_drag_data_received): fixed some build warnings.
3683 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3685 * debian/changelog: A 1.0.0 release notes.