1 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3 * debian/rules: Fixed a error in order to avoid unnecessary calls
4 to autogen.sh on package building
6 2008-10-22 Alberto Garcia <agarcia@igalia.com>
8 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
10 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
12 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
15 2008-10-21 Alberto Garcia <agarcia@igalia.com>
17 * src/hildon-picker-button.c
18 (hildon_picker_button_finalize):
19 Free priv->done_button_text
21 * src/hildon-time-button.c
22 (hildon_time_button_set_time)
23 * src/hildon-picker-button.c
24 (hildon_picker_button_clicked)
25 (hildon_picker_button_selector_selection_changed)
26 (hildon_picker_button_set_selector)
27 * src/hildon-date-button.c
28 (hildon_date_button_set_date):
29 Free strings returned by hildon_touch_selector_get_current_text()
31 * src/hildon-button.c (hildon_button_construct_child):
32 Fix leaks in priv->image and priv->label_box
34 Fixes: NB#90535 (Memory leak in picker button)
36 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
38 * src/hildon-button.c: (hildon_button_get_property): Do not access
39 private elements directly, use getters instead.
41 2008-10-20 Alberto Garcia <agarcia@igalia.com>
43 * src/hildon-app-menu-private.h
44 * src/hildon-app-menu.c
45 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
46 Store the menu's parent window.
48 * src/hildon-stackable-window.c
49 (hildon_stackable_window_toggle_menu)
50 (hildon_stackable_window_finalize):
51 Set the menu's parent window when the menu is shown, unset it when
54 * src/hildon-app-menu.c
55 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
56 (hildon_app_menu_class_init):
57 Send unhandled keyboard accelerators to the parent window.
59 2008-10-20 Alberto Garcia <agarcia@igalia.com>
61 * src/hildon-stackable-window.c
62 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
64 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
66 * configure.ac: post release version bump
68 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
71 * configure.ac: Bump version
72 * debian/changelog: Updates
73 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
76 2008-10-20 Alberto Garcia <agarcia@igalia.com>
78 Patch contributed by Daniel Borgmann (danielb@openismus.com)
81 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
82 GtkMenu with Hildon style.
84 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
86 * src/hildon-picker-button.c:
87 (hildon_picker_button_set_done_button_text): Set the dialog's
88 done button text here as well.
90 Fixes NB#90232 (Picker button does not set the label on done button
93 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
95 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
98 2008-10-16 Alberto Garcia <agarcia@igalia.com>
100 * src/hildon-app-menu.c (hildon_app_menu_insert)
101 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
102 the HildonAppMenu to be activatable using keyboard accelerators
103 when the menu is not being shown.
105 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
107 2008-10-16 Alberto Garcia <agarcia@igalia.com>
109 * src/hildon-stackable-window.c
110 (hildon_stackable_window_show):
111 Don't hide old windows automatically when new windows are shown:
112 this is now a task for the window manager.
113 (hildon_stackable_window_class_init)
114 (hildon_stackable_window_hide):
115 Remove windows from the stack everytime they're hidden.
116 (hildon_stackable_window_realize):
117 Don't change the _NET_WM_WINDOW_TYPE property. Use
118 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
119 it as a stackable window.
121 * src/hildon-program.c
122 (hildon_program_pop_window_stack):
123 Just hide the window to remove it from the stack.
124 (hildon_program_go_to_root_window):
125 Don't call gtk_widget_show(), this is now a task for the window
128 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
130 2008-10-15 Alberto Garcia <agarcia@igalia.com>
132 * src/hildon-button.c
133 (hildon_button_construct_child):
134 Don't pack anything in the button until text or image are
135 set. This allows adding a custom child after creating the button
136 with hildon_button_new().
137 (hildon_button_finalize, hildon_button_class_init)
138 (hildon_button_init, hildon_button_set_arrangement): Destroy the
139 alignment and the label box even when they're not packed in the
142 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
144 * src/hildon-touch-selector.h:
145 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
146 currently the type definition was using GTK_TYPE_VBOX
147 * src/hildon-touch-selector.c:
148 Added some implementation notes in order to clarify that any other widget
149 added without the column related API will not be included on the
150 selection logic, and how the widget is freed, as some people ask about
152 (hildon_touch_selector_remove): Reimplemented in order to free properly
153 the column related data when you remove the private hbox.
154 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
155 to get a proper HildonTouchSelectorColumn documentation
157 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
159 * src/hildon-touch-selector-entry.c:
160 (hildon_touch_selector_entry_print_func): Return NULL if there is no
161 text in the GtkEntry and there is no item selected. Fixes a
164 2008-10-13 Alberto Garcia <agarcia@igalia.com>
166 * src/hildon-app-menu-private.h
167 * src/hildon-app-menu.[ch]
168 * src/hildon-button.[ch]
169 * src/hildon-check-button.[ch]
170 * src/hildon-entry.[ch]
171 * src/hildon-pannable-area.[ch]
172 * src/hildon-text-view.[ch]:
173 Added private field to the object's structure.
175 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
177 * configure.ac: post-release version bump
179 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
183 * configure.ac: pre-release version bump
185 * debian/changelog: updates.
187 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
189 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
190 Disconnect the handler for HildonTouchSelector::changed.
192 (hildon_picker_button_selector_selection_changed): Update the button
193 value if the selection change was not triggered by the
196 (hildon_picker_button_set_selector): connect to
197 HildonTouchSelector::changed.
199 Fixes: NB#89650 (Picker button is not updated, when selection in
200 selector has changed)
202 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
204 * src/hildon-picker-dialog.c
205 (hildon_picker_dialog_realize): Removed as not required
206 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
207 * src/hildon-picker-button.c
208 (_current_selector_empty): New function, checks if the selector is empty
209 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
210 if the current selector is empty, in order to avoid to show the dialog
211 close the dialog in this case (and shows a g_warning).
213 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
215 2008-10-09 Alejandro G. Castro <alex@igalia.com>
217 * src/hildon-pannable-area.c,
218 (hildon_pannable_area_scroll): Added clause to stop movement when
219 the child of pannable is smaller than one page.
220 (hildon_pannable_area_scroll_to): Added conditions to avoid
221 starting the scrolling movement if the child is smaller than one
222 page, the complete child is in the screen, we do not have to move.
224 Fixes: NB#89632 (Picker button selection doesn't change on first click)
226 2008-10-09 Alberto Garcia <agarcia@igalia.com>
228 * src/hildon-app-menu.c: Removed the 'columns' property, as now
229 this is managed automatically by the widget when the size of the
232 2008-10-09 Alberto Garcia <agarcia@igalia.com>
234 * src/hildon-picker-button.c
235 (hildon_picker_button_set_done_button_text): Make a copy of the
236 text, and free the previous value.
238 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
240 * src/hildon-touch-selector-entry.c:
241 (hildon_touch_selector_entry_print_func): Return the selected row's
242 text if the entry is empty.
244 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
247 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
249 * src/hildon-touch-selector-entry.c: Minor docs fixes.
251 2008-10-09 Alberto Garcia <agarcia@igalia.com>
254 * src/hildon-check-button.h
255 * src/hildon-check-button.c
256 * examples/hildon-check-button-example.c:
257 HildonCheckButton is now a new widget. 'toggled' signal added.
259 2008-10-08 Alberto Garcia <agarcia@igalia.com>
261 * src/hildon-program-private.h
262 * src/hildon-program.c (hildon_program_init)
263 (hildon_program_finalize): Removed unused variables group_leader
264 and name from HildonProgramPrivate.
266 2008-10-08 Alberto Garcia <agarcia@igalia.com>
268 * src/hildon-check-button.c (hildon_check_button_set_active)
269 (hildon_check_button_get_active, hildon_check_button_new): Use
270 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
272 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
274 * src/hildon-touch-selector.h
275 (hildon_touch_selector_set_column_attributes): added deprecation
276 guard HILDON_DISABLE_DEPRECATED
277 * src/hildon-time-selector.c
278 (hildon_time_selector_set_time)
279 (hildon_time_selector_get_time): Fixed a typo on documentation
280 * src/hildon-touch-selector.c: update HildonTouchSelector and
281 HildonTouchSelectorColumn documentation
282 * src/hildon-touch-selector-entry.c: update "text-column" property
284 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
285 to be added to the general documentation.
287 2008-10-08 Alejandro G. Castro <alex@igalia.com>
289 * examples/hildon-pannable-area-example-4.c,
291 * examples/hildon-pannable-area-example.c,
292 (main): Modified the code in order to use the container add, with
293 viewport treeviews could have problems if they are really big.
295 2008-10-06 Alejandro G. Castro <alex@igalia.com>
297 * src/hildon-weekday-picker.c,
298 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
299 the agreement regarding deprecation in the library.
301 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
303 * examples/hildon-picker-button-multicolumn-example.c:
304 (main): Use custom "done" button text.
306 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
307 (hildon_picker_button_set_property),
308 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
309 (hildon_picker_button_init),
310 (+hildon_picker_button_get_done_button_text),
311 (+hildon_picker_button_set_done_button_text): New methods to customize
312 the "done" button label in the launched HildonPickerDialog. Also,
315 * src/hildon-picker-button.h: add the public API.
317 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
319 * src/hildon-date-selector.h:
320 * src/hildon-picker-dialog.h:
321 * src/hildon-time-selector.h:
322 * src/hildon-touch-selector-column.h:
323 * src/hildon-touch-selector.h:
325 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
326 declarations. Fixes gtk-doc warnings.
328 2008-10-06 Alberto Garcia <agarcia@igalia.com>
330 * src/hildon-picker-dialog.h
331 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
332 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
334 Fixes: NB#89329 (selectors in picker dialog are not visible when a
335 long text is set as label for done button)
337 2008-10-06 Alberto Garcia <agarcia@igalia.com>
339 * src/hildon-dialog.c (hildon_dialog_add_button):
340 Set fixed width to all buttons in the HildonDialog.
342 2008-10-06 Alberto Garcia <agarcia@igalia.com>
344 Patch contributed by Daniel Borgmann (danielb@openismus.com)
346 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
347 Set widget name using class name plus "-finger" or "-thumb".
349 2008-10-03 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
352 'clicked' when the state of the button is manually changed.
354 2008-10-02 Alberto Garcia <agarcia@igalia.com>
356 * src/hildon-app-menu.c (hildon_app_menu_realize)
357 (hildon_app_menu_unrealize, hildon_app_menu_init)
358 (hildon_app_menu_class_init, item_visibility_changed):
359 Change the menu layout when the size of the screen changes.
360 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
361 Show warning only when changing the number of colums using the
364 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
366 * debian/compat: Set to 5
367 * debian/control: Update dependencies.
368 * debian/libhildon1-dbg.install: Remove.
369 * debian/libhildon1-dev.install: Update according to cdbs paths.
370 * debian/libhildon1.install: Update according to cdbs paths.
371 * debian/rules: Switch to cdbs.
373 2008-10-01 Alberto Garcia <agarcia@igalia.com>
375 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
376 'item' variable renamed to 'filter'
378 2008-10-01 Alberto Garcia <agarcia@igalia.com>
380 * src/hildon-app-menu.c (hildon_app_menu_insert)
381 (hildon_app_menu_add_filter, remove_item_from_list)
382 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
383 Don't leak hidden items when the menu is destroyed.
385 2008-10-01 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-app-menu.c (hildon_app_menu_insert)
388 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
389 (hildon_app_menu_set_columns, item_visibility_changed)
390 (filter_visibility_changed, hildon_app_menu_repack_filters)
391 (hildon_app_menu_repack_items):
392 Repack items and filters separately.
394 Don't repack all items, change only the ones that are needed to
397 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
399 * src/Makefile.am: added hildon-touch-selector-column.h
401 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
403 * src/hildon-touch-selector.c: added the property "text-column" to the
404 class HildonTouchSelectorColumn, and related get/set functions
405 (_default_printf_func): updated to use "text-column" property
406 * src/hildon-touch-selector-entry.c: mark as deprecated the property
407 "text-column" in his documentation, as this is now included on
408 HildonTouchSelectorColumn. The get/set_property can still be used,
409 working as a wrapper to the concrete column "text-column" property
410 (_text_column_modified): callback added in order to handle the signal
411 "notify::text-column" of the concrete HildonTouchSelectorColumn
412 (hildon_touch_selector_entry_get_text_column)
413 (hildon_touch_selector_entry_set_text_column): Added documentation, and
414 modified in order to use the HildonTouchSelectorColumn "text-column"
416 * src/hildon-time-selector.c:
417 * src/hildon-date-selector.c:
418 * examples/hildon-touch-selector-example.c
419 * examples/hildon-touch-selector-multi-cells-example.c
420 * examples/hildon-picker-button-multicolumn-example.c
421 Set the right value to "text-column" property on the creation of a new
422 column using hildon_touch_selector_append_column()
424 Fixes: NB#88644 (Hardcoded first column of the model as text column)
426 2008-09-30 Alberto Garcia <agarcia@igalia.com>
428 * src/hildon-app-menu.c
429 (hildon_app_menu_construct_child, hildon_app_menu_init): When
430 updating the layout of the menu, don't create all widgets again,
431 just repack the items in their new places.
433 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
435 * src/hildon-time-selector.c
436 (hildon_time_selector_get_time)
437 (hildon_time_selector_set_time)
438 Added documentation of these public methods
440 * src/hildon-date-button.h
441 * src/hildon-touch-selector-column.h
442 * src/hildon-time-button.h
443 * src/hildon-picker-dialog.h
444 * src/hildon-time-selector.h
445 * src/hildon-picker-button.h
446 * src/hildon-touch-selector.h
447 * src/hildon-time-picker.h
448 * src/hildon-date-selector.h
449 * src/hildon-touch-selector-entry.h
450 Modified in order to use hildon-widgets code style
452 2008-09-30 Alejandro G. Castro <alex@igalia.com>
454 Added deprecated support to the compilation process using
455 HILDON_DISABLE_DEPRECATED
457 * configure.ac: Added the --disable-deprecated to the configure
460 * src/hildon-weekday-picker.c:
461 * src/hildon-weekday-picker.h: Deprecated widget, example of how
462 to use the deprecated support. We will update the other deprecated
463 widgets status in a new patch.
465 2008-09-30 Alejandro G. Castro <alex@igalia.com>
467 * configure.ac: Fixed typo with fatal warnings support, the
468 variable name was not correct
470 2008-09-29 Alberto Garcia <agarcia@igalia.com>
472 * src/hildon-app-menu.c
473 * src/hildon-program.c: Update documentation.
475 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
477 * configure.ac: Post-release version bump.
479 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
484 * configure.ac: Pre-release version bump.
485 * debian/changelog: Updates.
487 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
489 * NEWS: Update news for previous releases.
491 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
493 * examples/hildon-touch-selector-multi-cells-example.c:
494 (create_selector): Update the example to use
495 hildon_touch_selector_append_column() with a NULL renderer and set
497 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
498 passed a NULL renderer. This is documented behavior now.
500 Allow passing a NULL renderer to hildon_touch_selector_append_column().
501 This must be used if the developer wants full control on the layout of
502 the renderers to be added to the column.
504 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
506 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
508 * src/hildon-touch-selector.c: Documentation fixes.
510 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
512 * src/hildon-wizard-dialog-private.h: Remove image and box.
513 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
514 (hildon_wizard_dialog_set_property), (response): Completely remove
515 image/icon support, and the containers required for the layout.
517 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
519 2008-09-25 Alberto Garcia <agarcia@igalia.com>
521 * src/hildon-app-menu.c: Updated documentation.
523 * src/hildon-stackable-window.c
524 (hildon_stackable_window_set_main_menu): Unref the old menu after
527 2008-09-25 Alberto Garcia <agarcia@igalia.com>
529 * src/hildon-stackable-window.c
530 (hildon_stackable_window_set_main_menu): Unref the previous menu
531 instead of destroying it.
533 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
534 floating reference and set has_user_ref_count to FALSE to make
535 HildonAppMenu act like a normal ref-counted widget and not a
538 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
541 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
543 * src/hildon-touch-selector-column.h: new file
544 * src/hildon-touch-selector.h
545 * src/hildon-touch-selector.c
546 Implemented GtkCellLayout interface, in order to allow to configure
547 the cell layout on each individual selector column
548 (hildon_touch_selector_set_column_attributes): marked as deprecated
549 * examples/hildon-touch-selector-multi-cells-example.c
550 Example of how to use the GtkCellLayout interface on the selector
552 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
554 2008-09-24 Alberto Garcia <agarcia@igalia.com>
556 * src/hildon-app-menu.h
557 * src/hildon-app-menu.c
558 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
559 (hildon_app_menu_append, hildon_app_menu_prepend):
560 New methods to prepend, insert and move items in the menu.
562 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
564 * src/hildon-wizard-dialog.c:
566 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
568 (create_title): Update logical IDs and related code.
569 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
571 * src/hildon-wizard-dialog.h: Note that
572 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
573 point, as it is not used anymore.
575 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
577 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
580 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
581 shown. Do not display an icon in confirmation notes nor information
583 (hildon_note_set_button_text): Update logical ID for cancel button.
585 Fixes: NB#88850 (Update HildonNote button strings + signals)
587 2008-09-24 Alberto Garcia <agarcia@igalia.com>
589 * src/hildon-stackable-window.c
590 (hildon_stackable_window_set_main_menu): Fix compilation warning.
592 2008-09-24 Alberto Garcia <agarcia@igalia.com>
594 * src/hildon-app-menu-private.h
595 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
596 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
597 (hildon_app_menu_init, hildon_app_menu_class_init): Added
598 temporary property 'columns' to change the number of columns.
600 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
602 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
604 * examples/hildon-note-example.c: (on_information_clicked),
605 (on_confirmation_clicked), (on_progress_clicked), (main): Add
606 debugging information.
607 * src/hildon-note-private.h: Remove close_if_pressed_outside,
609 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
610 (hildon_note_rebuild): Remove special handling of tapping outside/inside
611 in order to close: this will be handled by the WM from now on.
613 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
615 2008-09-24 Alberto Garcia <agarcia@igalia.com>
617 * src/hildon-app-menu-private.h
618 * src/hildon-app-menu.c
619 (hildon_app_menu_append, hildon_app_menu_add_filter)
620 (button_visibility_changed, hildon_app_menu_apply_style)
621 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
622 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
623 layout everytime a button (item or filter) is shown or hidden.
625 * src/hildon-stackable-window.c
626 (hildon_stackable_window_set_main_menu): Destroy the old menu when
629 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
631 * src/hildon-touch-selector.c:
632 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
633 that the treeview inside the touch selector is in fremantle hildon mode
634 * examples/hildon-date-button-example.c
635 * examples/hildon-picker-button-multicolumn-example.c
636 * examples/hildon-touch-selector-entry-example.c
637 * examples/hildon-touch-selector-example.c
638 * examples/hildon-time-button-example.c
639 * examples/hildon-picker-button-example.c:
640 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
642 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
644 * examples/hildon-text-view-example.c: (main): Remove the
645 gtkrc bits, now handled by the theme.
647 2008-09-22 Alberto Garcia <agarcia@igalia.com>
649 * src/hildon-picker-button.c (hildon_picker_button_set_active):
652 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
654 * po/Makefile.am: Install properly the mo files.
655 * po/en_GB.po: Update translation, to ease testing purposes.
657 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
659 * examples/hildon-picker-button-example.c: (main): Select an item
660 in the selector before setting it to the button.
662 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
664 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
665 Update button's value if the selector has an item active.
667 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
668 'value' with the selector)
670 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
673 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
674 (hildon_picker_button_class_init): Plug the finalize method.
675 (hildon_picker_button_set_selector): If there's a previously set
676 selector, unref'it before setting a new one.
678 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
681 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
683 * src/hildon-touch-selector-entry.c:
684 (hildon_touch_selector_entry_changed): Check if there is no text
685 selected before setting the entry text.
688 2008-09-15 Alberto Garcia <agarcia@igalia.com>
690 * src/hildon-touch-selector.h
691 * src/hildon-touch-selector.c
692 (hildon_touch_selector_get_active)
693 (hildon_touch_selector_set_active): New methods to set/get the
694 index of the selected item.
696 * src/hildon-picker-button.h
697 * src/hildon-picker-button.c
698 (hildon_picker_button_get_active)
699 (hildon_picker_button_set_active): New methods to set/get the
700 index of the selected item.
702 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
704 * configure.ac: post-release version bump.
706 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
710 * configure.ac: Pre-release version bump.
711 * debian/changelog: Updates.
712 * debian/control: Add myself as maintainer and depend on l10n
715 2008-09-15 Alberto Garcia <agarcia@igalia.com>
717 * src/hildon-window.c
718 (hildon_window_set_main_menu)
719 * src/hildon-stackable-window.c
720 (hildon_stackable_window_set_main_menu):
721 Updated documentation.
723 2008-09-15 Alberto Garcia <agarcia@igalia.com>
725 * src/hildon-date-selector.c (hildon_date_selector_finalize):
726 Don't free selector->priv manually.
729 2008-09-12 Alejandro G. Castro <alex@igalia.com>
732 (hildon_gtk_window_set_progress_indicator):
733 * src/hildon-gtk.h: Added the new API
734 hildon_gtk_window_set_progress_indicator, it changes the state of
735 the window progress hint.
737 2008-09-12 Alberto Garcia <agarcia@igalia.com>
739 * src/hildon-button.c
740 * src/hildon-stackable-window.c: Minor documentation updates.
742 2008-09-12 Alberto Garcia <agarcia@igalia.com>
744 * src/hildon-stackable-window.c: Updated documentation.
746 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
748 * src/hildon-defines.h: Update margins definitions
749 to the Fremantle sizes.
752 2008-09-12 Alejandro G. Castro <alex@igalia.com>
754 * src/hildon-touch-selector.c,
755 (_hildon_touch_selector_set_model): Cleaning the code after
756 review, removed g_print and #if 0 from the code.
758 2008-09-11 Alberto Garcia <agarcia@igalia.com>
760 * src/hildon-edit-toolbar.c: Update documentation.
762 2008-09-11 Alberto Garcia <agarcia@igalia.com>
764 * src/hildon-check-button.h
765 * src/hildon-check-button.c
766 (hildon_check_button_set_label, hildon_check_button_get_label)
767 * examples/hildon-check-button-example.c
769 Removed deprecated methods.
771 2008-09-11 Alberto Garcia <agarcia@igalia.com>
773 * src/hildon-text-view.c:
774 Add sample code to the documentation.
777 * src/hildon-text-view.h:
778 Minor cosmetic changes.
780 * src/hildon-entry.c:
781 Add sample code to the documentation.
782 (hildon_entry_init, hildon_entry_refresh_contents):
783 Don't allow NULL values in the placeholder.
785 2008-09-10 Alberto Garcia <agarcia@igalia.com>
787 * doc/hildon-docs.sgml
789 * examples/Makefile.am
790 * examples/hildon-text-view-example.c
792 * src/hildon-text-view.c
793 * src/hildon-text-view.h
795 New HildonTextView widget, with example.
797 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
799 * po/POTFILES.in: Add missing files with translatable strings.
800 Partially fixes NB#88287.
802 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
804 * examples/hildon-pannable-area-example-2.c: (main): No need to
805 set the cellrenderer height inside hildon touch lists, the theme does
808 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
810 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
811 they are integrated in the theme.
813 2008-09-09 Alberto Garcia <agarcia@igalia.com>
815 * examples/hildon-entry-example.c: Update the example adding
816 widgets to modify the text and the placeholder of the HildonEntry.
818 * src/hildon-entry.c: Show the placeholder everytime the widget
819 is empty and loses the focus.
821 2008-09-09 Alejandro G. Castro <alex@igalia.com>
823 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
825 * src/hildon-pannable-area.c,
826 (hildon_pannable_area_size_request): Fixed bug in height
827 requisition, avoid increasing size and add border twice.
829 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
831 * configure.ac: postrelease version bump.
833 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
837 * configure.ac: Prerelease version bump.
838 * debian/changelog: update.
839 * debian/rules: make -dbg package contain useful debugging symbols.
841 2008-09-08 Alberto Garcia <agarcia@igalia.com>
843 * src/hildon-dialog.h
844 * src/hildon-dialog.c
845 (hildon_dialog_add_button, hildon_dialog_add_buttons):
846 New methods to add buttons with finger size.
847 (hildon_dialog_new_with_buttons):
848 Create buttons with finger size.
850 * examples/hildon-dialog-example.c (main): Use HildonDialog
851 methods to add buttons.
853 2008-09-08 Alberto Garcia <agarcia@igalia.com>
855 * src/hildon-entry.c: Updated HildonButton documentation.
857 2008-09-08 Alberto Garcia <agarcia@igalia.com>
859 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
860 button value label with (FALSE, FALSE) to prevent NB#88126 from
863 2008-09-08 Alejandro G. Castro <alex@igalia.com>
865 * examples/hildon-pannable-area-example.c,
866 (main): Removed examples panning a vbox inside a pannable
867 area. Check bug NB#87965
869 2008-09-08 Alejandro G. Castro <alex@igalia.com>
871 Patch contributed by Kris Rietveld (kris@imendio.com)
873 * src/hildon-pannable-area.c,
874 (hildon_pannable_area_get_topmost): replaced the get_geometry with
875 get_size and get_position, this saves an X server roundtrip.
877 2008-09-05 Alberto Garcia <agarcia@igalia.com>
879 * doc/hildon-docs.sgml
881 * examples/Makefile.am
882 * examples/hildon-entry-example.c
887 New HildonEntry widget, with example.
889 2008-09-05 Alberto Garcia <agarcia@igalia.com>
891 * src/hildon-button.c (hildon_button_construct_child): Pack the
892 image with expand == fill == FALSE. This is a workaround for a bug
895 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
897 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
898 labels for the text column, to make it more look more dynamic.
900 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
902 * src/hildon-time-selector.c
903 Define gettext auxiliar macro N_
904 (_create_minutes_model)
905 (_create_hours_model)
906 (_create_ampm_model): use of strftime in order to fill the model
907 * src/hildon-date-selector.c
908 (hildon_date_selector_finalize):
909 (_locales_init): remove the logic related to get the name of the months
910 using nl_langinfo, as it is not required anymore
913 (_create_month_model)
914 (_update_day_model): use of strftime in order to fill the model properly
917 2008-09-04 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-button.h
920 * src/hildon-button.c (hildon_button_get_image): New method to
923 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-touch-selector.c:
926 (hildon_touch_selector_remove_column): Remove from the correct parent
927 and also remove the list element and free it.
930 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
932 * src/hildon-time-selector.c
933 (_create_hours_model): change the range on 12h ampm format in order to use
934 a 12-11 range instead of previous 01-12 range
935 (hildon_time_selector_set_time): change the way to select the current time
936 on 12h ampm format, due the change on the range
937 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
940 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
942 * src/hildon-touch-selector.c
943 (hildon_date_touch_selector_get_selected): fix the selection mode check,
944 in order to allow use this function on multiple row selection mode if
945 the column is different that the first one
948 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
950 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
951 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
953 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
955 * src/hildon-date-selector.h: clean some comments, now on the .c
956 * src/hildon-date-selector.c
957 (hildon_date_selector_select_month): first implementation
958 (hildon_date_selector_select_day): added documentation, reimplemented
959 using hildon_date_selector_select_current_date to avoid repeat code
962 2008-09-02 Alejandro G. Castro <alex@igalia.com>
964 Reviewed interaction logic based on device experiences, refactored
967 * src/hildon-pannable-area.c,
968 (hildon_pannable_area_class_init): Updated default vmax speed.
969 (hildon_pannable_area_calculate_velocity): Added this function, it
970 avoids duplicate valocity calculation. Adjusted calculation to
971 avoid problems with zero dist events.
973 (hildon_pannable_area_motion_notify_cb): Now we use the
974 calculate_velocity function.
976 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
978 * src/hildon-date-selector.c
979 (hildon_date_selector_select_current_date): fix the day range check
980 as it failed using the last day of the current month
983 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
985 * src/hildon-touch-selector.c
986 (hildon_touch_selector_get_num_columns): added a parameter validation
989 2008-08-29 Alberto Garcia <agarcia@igalia.com>
991 * examples/Makefile.am
992 * examples/hildon-edit-toolbar-example.c: Example of the
993 HildonEditToolbar widget.
995 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
997 * configure.ac: postrelease version bump.
999 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1003 * configure.ac: prerelease version bump.
1004 * debian/changelog: update.
1006 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1008 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1009 renderer to display stock icons in the touch list. Also, set the sizes
1010 to the recommended in the style guide.
1012 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1013 * src/hildon-touch-selector.h
1014 (hildon_touch_selector_set_active_iter): renamed, now is
1015 hildon_touch_selector_select_iter
1016 (hildon_touch_selector_get_active_iter): renamed, now is
1017 hildon_touch_selector_get_selected
1018 (hildon_touch_selector_unselect_iter): added
1019 * src/hildon-touch-selector.c
1020 Update after API modification (methods renamed)
1021 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1022 order to avoid problems selecting multiple elements on the column
1023 (hildon_touch_selector_unselect_iter): added the implementation
1024 * src/hildon-time-selector.c
1025 * src/hildon-date-selector.c
1026 * src/hildon-touch-selector-entry.c
1027 Update methods calls after hildon-touch-selector.h API modification (methods
1030 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1032 * src/hildon-stackable-window.c
1033 (hildon_stackable_window_finalize): Call the parent class's finalize.
1035 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1037 * examples/hildon-touch-selector-example.c: (create_selector): Use
1038 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1041 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1043 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1044 set a cell background color, to respect theming.
1046 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1048 * doc/hildon-docs.sgml
1051 * src/hildon-edit-toolbar.c
1052 * src/hildon-edit-toolbar.h
1053 * src/hildon.h: New HildonEditToolbar widget.
1055 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1057 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1060 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1061 * src/hildon-touch-selector.c
1062 (_create_new_column): use g_object_set instead of two g_object_set_property
1064 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1065 * src/hildon-touch-selector.c
1066 (_create_new_column): use of hildon_gtk_tree_view_new to create
1067 the treeview, instead of use directly g_object_new
1068 (_create_new_column): update the property name "vindicator-mode" for the
1069 new one "vscrollbar-policy"
1070 * examples/hildon-date-button-example.c
1071 * examples/hildon-picker-button-multicolumn-example.c
1072 * examples/hildon-touch-selector-entry-example.c
1073 * examples/hildon-touch-selector-example.c
1074 * examples/hildon-time-button-example.c
1075 * examples/hildon-picker-button-example.c
1076 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1077 to all the treeviews inside a pannable area.
1079 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1081 * src/hildon-button.h
1082 * src/hildon-button.c (hildon_button_init)
1083 (hildon_button_set_arrangement, hildon_button_set_alignment)
1084 (hildon_button_set_title_alignment)
1085 (hildon_button_set_value_alignment)
1086 (hildon_button_set_image_alignment)
1087 (hildon_button_construct_child): New methods to set the alignment
1088 of the individual components of the button (title, value,
1089 image). Also, new method to alter the xscale and yscale properties
1090 of the GtkAlignment inside the button, so more complex layouts can
1093 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1095 * src/hildon-button.c (hildon_button_style_set)
1096 (hildon_button_class_init, hildon_button_set_arrangement)
1097 (hildon_button_construct_child): Apply style properties
1098 correctly. Use the 'image-spacing' style property too.
1100 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1102 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1103 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1106 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1108 * src/hildon-pannable-area.c,
1109 (hildon_pannable_area_size_request): Fixed problem with
1110 pannable-area size_request.
1112 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1114 Added management for the grab-focus to a child widget, like a
1115 range, we need to fade out the scrollbar when releasing.
1117 * src/hildon-pannable-area.c,
1118 (hildon_pannable_area_init): Connected the grab-focus signal to
1120 (hildon_pannable_area_grab_notify): Added this function in order
1121 to manage the situation when the grab-focus ends. We have to
1122 fade-out the scrollbar.
1124 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1126 * src/hildon-app-menu.c: Minor documentation update.
1128 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1130 * src/hildon-app-menu.c
1131 * examples/hildon-app-menu-example.c (create_menu): Update
1132 examples and documentation to explain how to connect callbacks.
1134 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1136 * examples/hildon-button-example.c
1137 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1138 hildon_stackable_window_new instead of gtk_window_new
1140 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1142 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1143 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1144 (hildon_pannable_area_set_property),
1145 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1146 (hildon_pannable_area_unrealize),
1147 (hildon_pannable_area_size_request),
1148 (hildon_pannable_area_size_allocate),
1149 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1150 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1151 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1152 (hildon_pannable_area_initial_effect),
1153 (hildon_pannable_area_redraw),
1154 (hildon_pannable_area_scroll_indicator_fade),
1155 (hildon_pannable_area_expose_event),
1156 (hildon_pannable_area_get_topmost), (synth_crossing),
1157 (hildon_pannable_area_button_press_cb),
1158 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1159 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1160 (hildon_pannable_area_motion_notify_cb),
1161 (hildon_pannable_area_button_release_cb),
1162 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1163 (hildon_pannable_area_remove),
1164 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1165 chage the code layout to a more GtkWidget like. Review the use of
1168 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1170 * examples/hildon-pannable-area-example-4.c,
1171 (main): Modified the name of the hindicator_mode to
1174 * src/hildon-pannable-area.c,
1175 (hildon_pannable_area_class_init),
1176 (hildon_pannable_area_motion_notify_cb),
1177 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1178 we have reduced the amount of signals and managed reviewed its
1179 rationale. Changed the default decelerate value.
1181 (hildon_pannable_area_add),
1182 (hildon_pannable_area_redraw): Refactored functions.
1184 (hildon_pannable_area_init),
1185 (hildon_pannable_area_get_property),
1186 (hildon_pannable_area_set_property):
1187 (hildon_pannable_draw_vscroll),
1188 (hildon_pannable_draw_hscroll),
1189 (hildon_pannable_area_initial_effect),
1190 (hildon_pannable_area_expose_event),
1191 (hildon_pannable_area_scroll),
1192 (hildon_pannable_area_button_press_cb),
1193 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1194 and vindicator_mode with hscrollbar_policy and
1195 vscrollbar_policy. Replaced hscroll and vscroll with
1196 hscroll_visible and vscroll_visible.
1198 (hildon_pannable_area_refresh): Refactor the function, remove
1199 variables and check the calls to this function, added resize
1200 conditions in case the children change their layout.
1202 (hildon_pannable_area_size_request): Added more detailed
1203 size_request calculation.
1206 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1208 * src/hildon-color-chooser.c
1209 (init_borders): use the correct gtk_border_free instead of g_free, to
1210 avoid a crash when this widget is used (ie: the three color selection
1213 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1215 * src/hildon-check-button.c,
1216 (hildon_check_button_set_active): Fixed problem when setting the
1217 active value, the widget was not redrawn.
1219 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1221 * src/hildon-pannable-area.c,
1222 (hildon_pannable_area_refresh),
1223 (hildon_pannable_area_scroll),
1224 (hildon_pannable_area_motion_notify_cb): Small code style change.
1226 (hildon_pannable_area_class_init): Default initial_hint set to
1227 FALSE, it is not in the specs.
1229 (hildon_pannable_area_initial_effect),
1230 (hildon_pannable_area_expose_event),
1231 (hildon_pannable_area_map),
1232 (hildon_pannable_area_init): Moved the launching point of the
1233 initial effect, it was in map but the sizes where not correct in
1234 that method so we do not know if we have the reproduce it. Now it
1235 is placed in the expose_event method and uses a variable to
1236 reproduce it just once.
1238 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1240 * src/hildon-pannable-area.c,
1241 (hildon_pannable_draw_vscroll),
1242 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1243 position allowed for the scrollbars.
1245 (hildon_pannable_area_size_allocate): Small style change.
1247 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1249 * src/hildon-pannable-area.c,
1250 (hildon_pannable_area_scroll_indicator_fade),
1251 (hildon_pannable_area_button_press_cb),
1252 (hildon_pannable_area_button_release_cb),
1253 (hildon_pannable_area_scroll_cb),
1254 (hildon_pannable_area_expose_event),
1255 (hildon_pannable_area_init): Added the define parameter
1256 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1257 and refactor the fade variable.
1259 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1261 * src/hildon-pannable-area.c,
1262 (hildon_pannable_area_redraw),
1263 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1264 lines, we were reimplemeting the redraw code.
1266 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1268 * src/hildon-pannable-area.c,
1269 (hildon_pannable_area_scroll_cb),
1270 (hildon_pannable_area_realize),
1271 (hildon_pannable_area_class_init): Added scroll_event management
1272 for pannable area, now we can scroll the usual desktop method.
1274 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1275 initialization of the parameters should depend on idle_id.
1277 (hildon_pannable_area_init),
1278 (hildon_pannable_area_map): Small code style modifications
1280 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1282 * src/hildon-pannable-area.c
1283 (hildon_pannable_area_button_press_cb),
1284 (hildon_pannable_area_motion_notify_cb),
1285 (hildon_pannable_area_button_release_cb),
1286 (hildon_pannable_area_size_allocate),
1287 (hildon_pannable_area_scroll_to): Improved the timeouts
1288 management, we avoid creating them each time.
1290 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1292 * src/hildon-pannable-area.c:
1293 (hildon_pannable_area_refresh),
1294 (hildon_pannable_area_motion_notify_cb),
1295 (hildon_pannable_area_class_init):
1296 * src/hildon-pannable-area.h:
1297 * src/hildon-touch-selector.c
1298 (_create_new_column):
1299 * examples/hildon-pannable-area-example-4.c:
1300 (horizontal_movement),
1301 (vertical_movement),
1303 Replaced the names of enums in the HildonPannableArea:
1304 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1305 HILDON_MOVEMENT_MODE_*
1306 - HILDON_PANNABLE_AREA_MOV_* ->
1308 - Removed HildonPannableAreaIndicatorMode, now we
1311 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1313 * examples/hildon-pannable-area-touch-grid-example.c
1314 * examples/hildon-pannable-area-touch-list-example.c: Fix
1315 compilation warnings.
1317 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1319 * src/hildon-gtk.c (hildon_gtk_button_new)
1320 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1321 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1322 images overriding the value of the "gtk-button-images" setting.
1324 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1326 * src/hildon-check-button.c (hildon_check_button_new):
1327 Instead of using a custom container, display the label and the
1328 checkbox using the standard GtkButton API.
1330 * examples/hildon-check-button-example.c (main): Don't use
1331 hildon_check_button_set_label() anymore
1333 * src/hildon-check-button.h
1334 * src/hildon-check-button.c
1335 (hildon_check_button_set_label, hildon_check_button_get_label):
1336 Set as deprecated, now we're using gtk_button_{get,set}_label()
1338 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1340 * src/hildon-pannable-area.c,
1341 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1342 GtkTreeview first line we detected it after the inclusion of the
1343 GtkWindowImpl in gtk+. We now check if the window is visible, not
1344 just if the pointer is over the window.
1345 (hildon_pannable_axis_scroll),
1346 (hildon_pannable_area_expose_event): Small style changes.
1348 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1350 * src/hildon-button.c: Update documentation.
1352 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1354 * examples/hildon-button-example.c: Add a switch to show images in
1357 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1359 * doc/hildon-docs.sgml: Some docs reorganization.
1361 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1363 * examples/hildon-pannable-area-touch-list-example.c
1365 * examples/hildon-pannable-area-touch-grid-example.c
1366 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1367 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1368 Fix memory leak when setting the tree model.
1370 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1374 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1376 * doc/hildon.types: Remove duplicated hildon_window_get_type
1377 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1378 documentation comment.
1380 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1382 * doc/Makefile.am: Complete list of private headers.
1384 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1386 * doc/hildon-docs.sgml
1387 * src/hildon-app-menu.c
1388 * src/hildon-bread-crumb.c
1389 * src/hildon-button.c
1391 * src/hildon-program.c
1392 * src/hildon-stackable-window.c
1393 * src/hildon-window.c: Lots of documentation updates.
1395 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1397 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1399 * configure.ac: Require Gtk+ 2.12.9 at least
1401 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1403 * src/hildon-pannable-area.c
1404 (hildon_pannable_area_scroll_indicator_fade),
1405 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1406 to protect the return of this timeout callbacks, avoiding deadlocks.
1408 2008-08-12 Christian Dywan <christian@imendio.com>
1411 * src/hildon-*.h: Ensure a consistent include order,
1412 include <gtk/gtk.h> instead of particular files and
1413 only include the topmost header in the gtk stack. See NB #39857
1415 2008-08-12 Christian Dywan <christian@imendio.com>
1417 * src/hildon-picker-dialog.c
1418 * src/hildon-touch-selector.c: Fix warnings about unused and
1419 uninitialized variables.
1421 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1423 * examples/Makefile.am
1424 * examples/hildon-check-button-example.c: Example of the hildon
1427 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1429 * src/hildon-window.h
1430 * src/hildon-window.c (hildon_window_class_init)
1431 (hildon_window_unset_program): Don't make
1432 hildon_window_unset_program a virtual function anymore.
1434 * src/hildon-stackable-window.c: Update documentation
1436 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1439 * doc/hildon-docs.sgml
1440 * doc/visual_index.xml
1441 * src/hildon-defines.c
1443 * src/hildon-helper.c
1444 * src/hildon-range-editor.c: Lots of documentation fixes.
1446 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1448 * examples/hildon-picker-button-multicolumn-example.c
1449 (create_touch_selector): Fix compilation warning.
1451 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1453 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1454 (hildon_pannable_area_button_release_cb)
1455 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1457 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1462 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1464 * src/hildon-bread-crumb-trail.h
1465 * src/hildon-date-editor.c
1466 * src/hildon-date-selector.c
1467 * src/hildon-pannable-area.c
1468 * src/hildon-picker-dialog.c
1469 * src/hildon-time-selector.c
1470 * src/hildon-touch-selector-entry.c
1471 * src/hildon-touch-selector.c
1472 * src/hildon-touch-selector.h: Misc documentation fixes
1474 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1476 * examples/hildon-date-editor-example.c (main): Updated date
1479 * examples/hildon-note-example.c (on_confirmation_clicked):
1480 Updated confirmation note example.
1482 * src/hildon-date-editor.c
1483 * src/hildon-note.c: Updated sample programs in documentation.
1486 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-date-button.h:
1489 * src/hildon-picker-button.h:
1490 * src/hildon-time-button.c:
1491 * src/hildon-time-button.h:
1493 Some declarations changes to allow gtk-doc to document the widgets
1496 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1498 * src/hildon-date-button.c: Document the widget.
1499 * src/hildon-time-button.c: Document the widget.
1501 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1503 * src/hildon-picker-button.c: Document the widget.
1504 * src/hildon-touch-selector-entry.c: Document the widget.
1506 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1508 * doc/hildon-docs.sgml
1511 * src/hildon-check-button.h
1512 * src/hildon-check-button.c: New functions to create the Hildon
1516 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1518 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1520 * src/hildon-button.h
1521 * src/hildon-button.c
1522 (hildon_button_add_title_size_group)
1523 (hildon_button_add_value_size_group)
1524 (hildon_button_add_image_size_group)
1525 (hildon_button_add_size_groups): New functions to set size groups
1526 for the button labels and image.
1527 (hildon_button_new_full): Removed
1529 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1531 * src/hildon-time-selector.c
1532 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1533 in order to avoid a crash if gconf is not available
1535 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-button.c (hildon_button_set_arrangement)
1538 (hildon_button_construct_child): Don't construct the button child
1539 before setting the arrangement.
1541 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1543 * src/hildon-program-private.h
1544 * src/hildon-program.c
1545 * src/hildon-program.h
1546 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1547 (hildon_program_peek_window_stack)
1548 (hildon_program_pop_window_stack)
1549 (hildon_program_go_to_root_window): HildonProgram now has a
1550 separate list for stackable windows. Functions are provided to
1551 manage that list with a stack-like API.
1553 * src/hildon-stackable-window.c: Stackable window management is
1554 now much simpler with the new HildonProgram API. Windows no
1555 longer need to be manually added to the program, they're
1556 automatically pushed to the top of the stack when shown.
1558 * examples/hildon-stackable-window-example.c: Updated example to
1559 reflect the API changes.
1561 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/hildon-touch-selector.c: Comment out unimplemented
1564 hildon_touch_selector_insert_column() to avoid a compile warning.
1566 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1569 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1570 (hildon_touch_selector_set_column_selection_mode),
1571 (_hildon_touch_selector_set_model),
1572 (hildon_touch_selector_set_model):
1574 Complete review of HildonTouchSelector documentation.
1576 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1578 * doc/hildon-docs.sgml
1582 * src/hildon-gtk.c: Convenience functions for standard Gtk
1583 widgets, used to easily perform frequent operations.
1585 * src/hildon-button-helpers.h
1586 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1588 * src/hildon-helper.h
1589 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1590 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1592 * src/hildon-button.h
1593 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1595 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1597 * src/hildon-button.c (hildon_button_init)
1598 (hildon_button_set_arrangement, hildon_button_construct_child):
1599 Pack the image and the labels inside the same GtkAlignment so
1600 gtk_button_set_alignment() can be used
1602 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-button.h
1605 * src/hildon-button.c
1606 (hildon_button_init, hildon_button_set_image)
1607 (hildon_button_set_image_position)
1608 (hildon_button_construct_child): New functions to add an image to
1611 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-date-button.c
1614 * src/hildon-picker-button.c
1615 * src/hildon-time-button.c
1616 * src/hildon-button.c:
1617 (hildon_button_class_init): "size-flags" renamed to "size"
1618 (hildon_button_set_title): Hide the title label if set to NULL.
1620 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1622 HildonButtonFlags split into HildonButtonArrangement (to set the
1623 button layout) and HildonSizeType (which can be used for any
1626 * src/hildon-button.h
1627 * src/hildon-button.c
1628 (hildon_button_class_init)
1629 (hildon_button_set_arrangement)
1630 (hildon_button_set_property): New "size-flags"
1631 property. "arrangement-flags" renamed to "arrangement".
1632 (hildon_button_new, hildon_button_new_with_text)
1633 (hildon_button_new_full): Constructors updated to reflect type changes.
1635 * src/hildon-helper.h
1636 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1637 to set the size of a widget.
1641 * src/hildon-button-helpers.c
1642 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1644 * src/hildon-date-button.c
1645 * src/hildon-date-button.h
1646 * src/hildon-picker-button.c
1647 * src/hildon-picker-button.h
1648 * src/hildon-time-button.c
1649 * src/hildon-time-button.h: Updated widgets to reflect
1650 HildonButton API changes.
1652 * examples/hildon-button-example.c
1653 * examples/hildon-date-button-example.c
1654 * examples/hildon-picker-button-example.c
1655 * examples/hildon-picker-button-multicolumn-example.c
1656 * examples/hildon-time-button-example.c
1657 * examples/hildon-touch-selector-entry-example.c
1658 * examples/hildon-touch-selector-example.c: Updated examples to
1659 reflect HildonButton API changes.
1661 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1663 * doc/hildon-docs.sgml:
1665 * examples/Makefile.am:
1666 * examples/hildon-touch-selector-entry-example.c:
1668 * src/hildon-touch-selector-entry.c:
1669 * src/hildon-touch-selector-entry.h:
1672 Moved HildonTouchSelectorEntry from sandbox. Added its
1673 documentation and examples.
1675 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1677 * src/hildon-touch-selector.h:
1678 * examples/hildon-picker-button-multicolumn-example.c:
1679 (hildon_touch_selector_append_text_column): Add a gboolean
1680 parameter to determine if text must be centered in the column.
1682 * src/hildon-date-selector.c: (hildon_date_selector_init):
1683 * src/hildon-time-selector.c: (hildon_time_selector_init):
1684 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1685 (create_touch_selector): Update widgets and example to reflect
1688 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1690 * src/hildon-touch-selector.c:
1691 (hildon_touch_selector_set_active_iter): Set also the cursor in
1694 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1696 * doc/hildon-docs.sgml
1699 * src/hildon-toggle-button.c
1700 * src/hildon-toggle-button.h
1701 * src/hildon.h: Removed HildonToggleButton widget, a derived
1702 class is not necessary for this.
1704 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1706 * src/hildon-pannable-area.c,
1707 (hildon_pannable_area_realize),
1708 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1711 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1713 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1714 "done" button the default widget for the dialog.
1716 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1718 * src/hildon-touch-selector.c:
1719 (hildon_touch_selector_class_init),
1720 (hildon_touch_selector_get_property),
1721 (_hildon_touch_selector_set_model),
1722 (_hildon_touch_selector_has_multiple_selection),
1723 (hildon_touch_selector_has_multiple_selection):
1724 Add a "has-multiple-selection" property with a virtual
1725 has_multiple_selection() method to allow derived classes to
1726 override the default value for it. See the method and property
1727 documentation for details.
1729 * src/hildon-touch-selector.h: Add the new API.
1731 * src/hildon-picker-dialog.c: (requires_done_button): Call
1732 hildon_touch_selector_has_multiple_selection() instead of
1733 determining the need for a button itself.
1735 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1737 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1738 (_hildon_touch_selector_set_model),
1739 (hildon_touch_selector_set_model): Move working code to
1740 _hildon_touch_selector_set_mode(). Call the class method instead.
1742 * src/hildon-touch-selector.h: Add (*set_model) to
1743 HildonTouchSelectorClass.
1745 Make hildon_touch_selector_set_model() a virtual method, so that
1746 derived classes can extend it and do fancy stuff with the model.
1748 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1750 * configure.ac: Set back the tarname in AC_INIT to hildon.
1752 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1756 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1757 instead of libesd (NB#86876). Volume handling is still an open issue.
1759 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1762 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1764 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1765 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1766 derived class to ease placement of an entry widget in
1767 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1768 end, where the selector columns are packed now.
1770 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-picker-button.c: Removed the simple _text() API.
1773 * src/hildon-picker-button.h: Likewise.
1775 * src/hildon-touch-selector.h:
1776 * src/hildon-touch-selector.c:
1777 (hildon_touch_selector_new_text),
1778 (hildon_touch_selector_append_text),
1779 (hildon_touch_selector_prepend_text),
1780 (hildon_touch_selector_insert_text):
1782 Moved the simple _text() API from HildonPickerButton to
1783 HildonTouchPicker, to provide better escalability and not to tie
1784 that API to HildonPickerButton.
1786 * examples/hildon-picker-button-example.c: (main): Example updated.
1788 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1790 * src/hildon-button.c: Updated documentation.
1792 * examples/hildon-button-example.c: Add the posibility to create
1793 the buttons using horizontal layout for title and value.
1795 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1797 * src/hildon-app-menu-private.h
1798 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
1799 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
1800 GtkSizeGroup for the filters, use the 'homogeneous' property of
1803 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1805 * examples/hildon-button-example.c: Updated example.
1807 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
1809 * doc/hildon-docs.sgml:
1812 Update documentation.
1814 * examples/Makefile.am: Update renamed examples.
1816 * examples/hildon-picker-button-multicolumn-example.c:
1817 (create_touch_selector), (main): Update after the rename.
1819 * examples/hildon-touch-picker-example.c: Removed.
1820 * examples/hildon-touch-selector-example.c: (value_changed),
1821 (create_selector), (get_visible_content), (main): Renamed from
1822 hildon-touch-picker-example.c
1824 * src/Makefile.am: Updated renamed files.
1826 * src/hildon-date-button.c: (hildon_date_button_init),
1827 (hildon_date_button_get_date), (hildon_date_button_set_date):
1828 * src/hildon-date-selector.c: (hildon_date_selector_init),
1829 (_custom_print_func), (_update_day_model),
1830 (_manage_selector_change_cb),
1831 (hildon_date_selector_select_current_date),
1832 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1833 * src/hildon-date-selector.h:
1834 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1835 (hildon_picker_button_set_property),
1836 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1837 (hildon_picker_button_init), (hildon_picker_button_new_text),
1838 (hildon_picker_button_append_text),
1839 (hildon_picker_button_prepend_text),
1840 (hildon_picker_button_insert_text),
1841 (hildon_picker_button_set_selector),
1842 (hildon_picker_button_get_selector):
1843 * src/hildon-picker-button.h:
1844 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1845 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1846 (_update_title_on_selector_changed_cb), (requires_done_button),
1847 (_hildon_picker_dialog_set_selector),
1848 (hildon_picker_dialog_set_selector),
1849 (hildon_picker_dialog_get_selector):
1850 * src/hildon-picker-dialog.h:
1851 * src/hildon-time-button.c: (hildon_time_button_init),
1852 (hildon_time_button_get_time), (hildon_time_button_set_time):
1853 * src/hildon-time-selector.c: (hildon_time_selector_init),
1854 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1855 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1856 * src/hildon-time-selector.h:
1859 Massive code updates after the rename.
1861 * src/hildon-touch-picker.c: Removed.
1862 * src/hildon-touch-picker.h: Removed.
1864 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1865 (hildon_touch_selector_init), (hildon_touch_selector_map),
1866 (hildon_touch_selector_remove), (_default_print_func),
1867 (_selection_changed_cb), (_create_new_column),
1868 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1869 (hildon_touch_selector_append_text_column),
1870 (hildon_touch_selector_remove_column),
1871 (hildon_touch_selector_set_column_attributes),
1872 (hildon_touch_selector_insert_column),
1873 (hildon_touch_selector_get_num_columns),
1874 (hildon_touch_selector_get_column_selection_mode),
1875 (hildon_touch_selector_set_column_selection_mode),
1876 (hildon_touch_selector_set_print_func),
1877 (hildon_touch_selector_get_print_func),
1878 (hildon_touch_selector_get_active_iter),
1879 (hildon_touch_selector_set_active_iter),
1880 (hildon_touch_selector_get_selected_rows),
1881 (hildon_touch_selector_get_model),
1882 (hildon_touch_selector_set_model),
1883 (hildon_touch_selector_get_current_text),
1884 (_hildon_touch_selector_center_on_selected_items):
1885 * src/hildon-touch-selector.h: Renamed from
1886 hildon-touch-picker.[ch]
1888 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
1889 references, code examples, and related documentation.
1891 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1893 * doc/hildon-docs.sgml
1896 * src/hildon-toggle-button.c
1897 * src/hildon-toggle-button.h
1898 * src/hildon.h: New HildonToggleButton widget.
1900 2008-07-30 Alberto Garcia <agarcia@igalia.com>
1902 * src/hildon-button.c: Add API documentation.
1903 (hildon_button_set_size_groups): Check input parameters
1905 2008-07-30 Alejandro G. Castro <alex@igalia.com>
1907 * src/hildon-pannable-area.c
1908 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
1909 effect after reaching the movement thredshold. This way we start
1910 using the distance after passing the thredshold.
1912 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1914 * src/hildon-button.c: (hildon_button_set_property): Use the
1915 appropriate g_value_get_flags() method.
1917 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1919 * doc/hildon-docs.sgml:
1922 Add the touch pickers, picker dialogs, and picker button widgets
1923 to the documentation.
1925 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1927 * src/hildon-button.c: (hildon_button_set_property),
1928 (hildon_button_class_init): Make "arrangement-flags" a proper
1929 G_TYPE_FLAGS derived property.
1931 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1933 * examples/Makefile.am: Add below examples.
1934 * examples/hildon-date-button-example.c:
1935 * examples/hildon-picker-button-example.c:
1936 * examples/hildon-picker-button-multicolumn-example.c:
1937 * examples/hildon-time-button-example.c:
1938 * examples/hildon-touch-picker-example.c:
1940 Add examples for the recently added touch pickers,
1941 picker dialogs, and picker button widgets.
1943 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1945 * src/hildon-button.c: Add some API documentation
1947 2008-07-29 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-button.h
1950 * src/hildon-button.c
1952 (hildon_button_new_with_text): New constructor to create a button
1953 with no text at all.
1954 (hildon_button_init, hildon_button_set_arrangement)
1955 (hildon_button_set_title, hildon_button_set_value)
1956 (hildon_button_set_text)
1957 (hildon_button_construct_child): Hide the value when it's not used
1958 so the rest of the text is properly aligned.
1959 Allow creating buttons with arbitrary widgets inside (not just
1960 title/value labels).
1962 * examples/hildon-button-example.c (vertical_buttons_window)
1963 (horizontal_buttons_window): Update example to use new API.
1965 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/Makefile.am: Added HildonTimeButton.
1968 * src/hildon-time-button.c: Added missing LGPL header.
1969 * src/hildon-time-button.h: Added missing LGPL header.
1970 * src/hildon.h: Add hildon-time-button.h
1972 Copied HildonTimeButton from sandbox to trunk. Future work on this
1973 widget must take place in trunk.
1975 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1977 * src/Makefile.am: Added HildonDateButton.
1978 * src/hildon-date-button.c: Update includes.
1979 * src/hildon.h: Add hildon-date-button.h
1981 Copied HildonDateButton from sandbox to trunk. Future work on this
1982 widget must take place in trunk.
1984 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/Makefile.am: Added HildonPickerButton.
1987 * src/hildon-picker-button.h: Update includes.
1988 * src/hildon.h: Add hildon-picker-button.h
1990 Copied HildonPickerButton from sandbox to trunk. Future work on
1991 this widget must take place in trunk.
1993 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
1995 * src/Makefile.am: Added HildonPickerDialog.
1996 * src/hildon-picker-dialog.c: Update includes.
1997 * src/hildon.h: Add hildon-picker-dialog.h
1999 Copied HildonPickerDialog from sandbox to trunk. Future work
2000 on this widget must take place in trunk.
2002 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2004 * src/Makefile.am: Added HildonTimeSelector.
2005 * src/hildon.h: Add hildon-time-selector.h
2007 Copied HildonTimeSelector widget from sandbox to trunk. Future
2008 work on this widget must happen in trunk.
2010 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2012 * src/Makefile.am: Added HildonDateSelector.
2013 * src/hildon.h: Add hildon-date-selector.h
2015 Copied HildonDateSelector widget from sandbox to trunk. Future
2016 work on this widget must happen in trunk.
2018 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/Makefile.am: Added HildonTouchPicker.
2021 * src/hildon-touch-picker.c: Update includes.
2022 * src/hildon.h: Add hildon-touch-picker.h
2024 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2025 on this widget must happen in trunk.
2027 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2029 * src/hildon-pannable-area.c:
2030 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2032 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2034 * examples/hildon-app-menu-example.c (main): Let the window
2037 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2039 * src/hildon-pannable-area.c
2040 (hildon_pannable_area_class_init): Set the min value of the
2041 overshoot properties to zero, which points out that not
2042 overshooting allowed.
2044 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2046 Modified the procedure to get the widget at a point inside the
2047 pannable area when using the movement type signals. Now the user
2048 has to call a function to get the child, that way we just
2049 calculate the child in case the user really want to use it and not
2052 * src/hildon-marshalers.list: Modified the marshallers, now we do
2053 not have the widget as a parameter.
2055 * src/hildon-pannable-area.c
2056 (hildon_pannable_area_motion_notify_cb),
2057 (hildon_pannable_area_class_init),
2058 (hildon_pannable_get_child_widget_at): Removed the widget
2059 parameter from the signal callback. We have also refactored the
2060 emission of the signals.
2062 * src/hildon-pannable-area.h: Added a new method to the API to
2063 calculate a widget at a point inside the pannable area,
2064 hildon_pannable_get_child_widget_at.
2066 * examples/hildon-pannable-area-example-4.c
2067 (horizontal_movement): Modified the example to use the new API,
2068 added condition to control which widget is under the event. This
2069 way we can avoid scrolling laterally over other widgets.
2071 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2073 * src/hildon-pannable-area.c
2074 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2075 modes, we stop getting the pointer events due to returning the
2076 callback without properly calling the get pointer again. Fixed
2077 also an error using the hscroll and vscroll.
2079 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-app-menu-private.h
2082 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2083 (hildon_app_menu_button_release, hildon_app_menu_init)
2084 (hildon_app_menu_class_init): Don't hide the menu on button
2085 release if the user didn't press outside first.
2087 * src/hildon-window.h
2088 * src/hildon-window.c (hildon_window_toggle_menu)
2089 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2090 hildon_window_toggle_menu a virtual function for the stackable
2091 window to override it.
2093 * src/hildon-stackable-window.h
2094 * src/hildon-stackable-window-private.h
2095 * src/hildon-stackable-window.c
2096 (hildon_stackable_window_realize)
2097 (hildon_stackable_window_finalize)
2098 (hildon_stackable_window_class_init)
2099 (hildon_stackable_window_init)
2100 (hildon_stackable_window_set_main_menu): New function to set the
2101 app menu of a HildonStackableWindow.
2103 * examples/hildon-app-menu-example.c: Remove the button to show
2104 the app menu, now it'll be shown when clicking on the title bar
2107 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2109 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2110 set the widget name if the arrangement flags do not specify
2113 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-button.c: (hildon_button_set_property),
2116 (hildon_button_class_init), (hildon_button_new_full),
2117 (hildon_button_set_arrangement): Added "arrangement-flags"
2120 Make the HildonButtonFlags a construction-only property, to allow
2121 subclasses to set them properly.
2123 2008-07-21 Tim Janik <timj@imendio.com>
2125 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2126 insertion position after backspace, so additional digits are appended,
2129 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2131 * src/hildon-pannable-area.c,
2132 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2133 TODO list, it was complete and removed the g_debug and g_print
2136 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2138 Added the movement modes to the hildon-pannable-area, with this
2139 modes the developers can control in which directions the widget
2140 can scroll. They can also connect to signals in order to do
2141 something when that happens, allowing applications scroll. There
2142 is an example uploaded showing how to use it.
2144 * examples/Makefile.am:
2145 * examples/hildon-pannable-area-example-4.c: Added this example of
2146 an application using the modes.
2148 * src/hildon-marshalers.list: Added a new marshaller for the new
2151 * src/hildon-pannable-area.h: Added new enumerations and flags in
2152 order to control the movement modes and the new signals to warn
2153 about the movements in the area.
2155 * src/hildon-pannable-area.c:
2156 (hildon_pannable_axis_scroll),
2157 (hildon_pannable_area_scroll),
2158 (hildon_pannable_area_motion_notify_cb),
2159 (hildon_pannable_area_get_property),
2160 (hildon_pannable_area_set_property),
2161 (hildon_pannable_area_map),
2162 (hildon_pannable_area_class_init),
2163 (hildon_pannable_area_init),
2164 (hildon_pannable_area_jump_to): Added the modes to control the
2165 movement in the widget. We have added properties to control it,
2166 signals to warn about the movements and refactored some code.
2168 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2170 Changes required in order to allow vfast_factor set to zero to
2173 * src/hildon-pannable-area.c:
2174 (hildon_pannable_area_button_press_cb): Changed the condition, it
2175 is required for not allowing click when vfast_factor is zero.
2176 (hildon_pannable_area_timeout): Initialized velocity variables
2177 when we stop moving, it was less than 1 but not zero and we need
2178 to check zero in some situations.
2179 (hildon_pannable_area_class_init): Changed the default value of
2180 the speed factor, now the button_press is just sent in case the
2181 speed is 2 per cent of the max speed.
2182 (hildon_pannable_area_init): Initialization with 0.
2184 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2186 * src/hildon-pannable-area.c,
2187 (hildon_pannable_area_get_topmost): replaced
2188 gdk_window_get_children with gdk_window_peek_children, this way we
2189 do not have to free the list because it is not a copy.
2191 (hildon_pannable_axis_scroll),
2192 (hildon_pannable_area_scroll),
2193 (hildon_pannable_area_timeout),
2194 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2195 two parameters that were only used inside the
2196 hildon_pannable_area_scroll function.
2198 * examples/hildon-pannable-area-example.c,
2199 (get_sawtooth_label): Fixed small memory leak.
2201 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2203 More checks for the case where the overshoot is bigger than the
2206 * src/hildon-pannable-area.c:
2207 (hildon_pannable_draw_vscroll),
2208 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2209 to draw the slider of the scrollbar under the other scrollbar.
2210 (hildon_pannable_area_expose_event): added new checks to control
2211 the drawing of the overshooting area rectangle, in case it is too
2212 big for the area of the widget.
2213 (hildon_pannable_area_size_allocate): add more checks to avoid
2214 setting a position to the child widget outside the area.
2216 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2218 * src/hildon-pannable-area.c
2219 (hildon_pannable_area_size_allocate): Added conditions to control
2220 when overshooting is bigger than the allocated space for the
2221 children, this avoids negative allocations.
2223 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2225 * doc/hildon-docs.sgml
2227 * examples/Makefile.am
2228 * examples/hildon-button-example.c
2230 * src/hildon-button.c
2231 * src/hildon-button.h
2232 * src/hildon.h: Initial version of the new HildonButton widget,
2235 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2237 * src/hildon-pannable-area.c:
2238 (hildon_pannable_area_button_press_cb),
2239 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2240 (hildon_pannable_area_motion_notify_cb),
2241 (hildon_pannable_area_button_release_cb),
2242 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2243 (hildon_pannable_area_jump_to_child):
2245 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2247 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2249 * examples/Makefile.am
2250 * examples/hildon-pannable-area-touch-grid-example.c
2251 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2252 the Hildon Touch List and Hildon Touch Grid using the
2253 HildonPannableArea widget.
2255 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2257 * src/hildon-pannable-area.c,
2258 (hildon_pannable_area_button_press_cb),
2259 (hildon_pannable_area_refresh),
2260 (hildon_pannable_area_scroll),
2261 (hildon_pannable_area_motion_notify_cb),
2262 (hildon_pannable_area_button_release_cb),
2263 (hildon_pannable_area_expose_event),
2264 (hildon_pannable_area_add),
2265 (hildon_pannable_area_remove),
2266 (hildon_pannable_area_realize),
2267 (hildon_pannable_area_size_allocate),
2268 (hildon_pannable_area_class_init),
2269 (hildon_pannable_area_init),
2270 (hildon_pannable_area_scroll_to_child),
2271 (hildon_pannable_area_jump_to_child): Fixed the problem of
2272 removing the child from the GtkBin, we have rearranged the widget
2273 hierarchy, now there is no GtkAlignment which was not doing
2274 anything interesting but breaking some of the assumptions of
2275 GtkContainer. Now developers if they want to add a GtkAlignment
2276 they could, but it is not inside the area.
2278 We had to review the whole allocation/expose process, now it is
2279 improved and we save at least three signals which would be saving
2280 some time when rendering the widget. The allocation of the
2281 scrollbars is now made in the allocate method as usual.
2283 We have also added some conditions in order to control when there
2284 is no child of the pannable area. Maybe we will need more work
2287 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2289 * src/hildon-pannable-area.c,
2290 (hildon_pannable_area_dispose): Released the fade-out timeout when
2291 disposing the widget.
2293 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2295 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2296 zero, we are going to use that property in order to deactivate the
2298 (hildon_pannable_axis_scroll),
2299 (hildon_pannable_area_size_allocate): Added conditions to control
2300 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2301 call, now it is called in all situations and we can remove calls
2302 in the allocate method.
2303 (hildon_pannable_area_map): Control the situation when
2304 overshoot_max is zero, we do not need the timeout.
2305 (hildon_pannable_area_class_init): Added documentation in order to
2306 point out that setting zero to overshoot_max means deactivate
2309 NOTE: removed trailing whitespaces from my previous comments of
2312 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2314 * src/hildon-pannable-area.c
2315 (hildon_pannable_area_get_property),
2316 (hildon_pannable_area_set_property),
2317 (hildon_pannable_area_map),
2318 (hildon_pannable_area_class_init),
2319 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2320 to cause the widget give a hint about its panning abilities upon
2323 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-pannable-area.c: Several documentation improvements.
2327 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2329 * src/hildon-program.c
2330 * src/hildon-stackable-window.c: Update documentation.
2332 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2334 * src/hildon-stackable-window.c (get_previous_window_if_last):
2335 Renamed get_last_window()
2336 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2337 (hildon_stackable_window_unset_program):
2339 (get_previous_window_if_last):
2340 Detect if the window hasn't been added to a HildonProgram.
2342 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2344 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2346 * src/hildon-pannable-area.c
2347 (hildon_pannable_area_button_press_cb),
2348 (hildon_pannable_axis_scroll),
2349 (hildon_pannable_area_scroll),
2350 (hildon_pannable_area_timeout),
2351 (hildon_pannable_calculate_vel_factor),
2352 (hildon_pannable_area_get_property),
2353 (hildon_pannable_area_set_property),
2354 (hildon_pannable_area_class_init),
2355 (hildon_pannable_area_init),
2356 (hildon_pannable_area_scroll_to),
2357 (hildon_pannable_area_jump_to),
2358 (hildon_pannable_area_scroll_to_child),
2359 (hildon_pannable_area_jump_to_child):
2360 * src/hildon-pannable-area.h: Added the new API functions:
2361 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2362 hildon_pannable_area_scroll_to_child,
2363 hildon_pannable_area_jump_to_child
2366 * examples/Makefile.am
2367 * examples/hildon-pannable-area-example-2.c
2368 * examples/hildon-pannable-area-example-3.c: Added these two new
2369 examples in order to test and show how the new APIs work.
2371 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2373 * examples/hildon-stackable-window-example.c (new_window):
2374 * src/Makefile.am (noinst_HEADERS):
2375 * src/hildon-program.c (hildon_program_go_to_root_window):
2376 * src/hildon-program.h:
2377 * src/hildon-stackable-window-private.h:
2378 * src/hildon-stackable-window.c:
2379 * src/hildon-stackable-window.h:
2380 Create hildon-stackable-window-private.h
2381 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2383 * examples/hildon-app-menu-example.c (create_menu):
2384 * examples/hildon-hvolumebar-insensitive-example.c (main):
2385 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2386 * examples/hildon-toolbar-seekbar-example.c (main):
2387 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2388 * src/hildon-banner.c (hildon_banner_set_property):
2389 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2390 Fix compilation warnings
2392 * src/hildon-window.c:
2395 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2397 * src/hildon-stackable-window.c
2398 (hildon_stackable_window_unset_program):
2399 Calculate correctly whether to show the previous window if the
2400 last one is removed from the stack.
2401 (hildon_stackable_window_go_to_root_window):
2402 Send delete events starting from the topmost window.
2403 Stop if one of the windows is not destroyed.
2405 (hildon_stackable_window_delete_event)
2406 (hildon_stackable_window_class_init):
2407 Ignore the delete event if the window is not the topmost one.
2409 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2411 * src/hildon-pannable-area.c
2412 (hildon_pannable_area_expose_event): Fixed a problem when
2413 selecting the background color of the scrollbars.
2415 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2417 * examples/hildon-stackable-window-example.c
2418 * src/hildon-stackable-window.c
2419 * src/hildon-stackable-window.h
2420 hildon_stackable_window_go_home() renamed to
2421 hildon_stackable_window_go_to_root_window()
2422 Send delete events to windows rather than closing them with
2423 gtk_widget_destroy()
2425 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2427 * src/hildon-pannable-area.c
2428 (hildon_pannable_area_button_release_cb): Fix overshooting in
2431 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-pannable-area.c
2434 (hildon_pannable_area_init): Initially show the scroll indicators.
2435 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2437 Add initial effect showing the widget is pannable.
2439 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-pannable-area.c
2442 (hildon_pannable_area_class_init)
2443 (hildon_pannable_area_set_property)
2444 (hildon_pannable_area_get_property)
2445 (hildon_pannable_area_button_press_cb):
2446 New 'velocity_fast_factor' property to decide which velocity is
2449 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2451 * src/hildon-pannable-area.c
2452 (hildon_pannable_draw_hscroll)
2453 (hildon_pannable_draw_vscroll):
2454 Use float variables to calculate the size of the scrollbars to
2455 avoid error propagation and resizing during scrolling.
2457 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2459 * src/hildon-pannable-area.c
2460 (hildon_pannable_draw_vscroll)
2461 (hildon_pannable_draw_hscroll):
2462 Define a minimum size for the scroll bars
2464 * src/hildon-stackable-window.c
2465 (hildon_stackable_window_go_home): Fix compilation warning
2466 (get_last_window): Minor optimizations
2467 (hildon_stackable_window_class_init): Fix initialization of
2470 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2472 * src/hildon-stackable-window.c: Fixed typos in doc
2474 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2476 * src/hildon-pannable-area.c
2477 (hildon_pannable_area_scroll):
2478 Calculate here whether we need to scroll instead of using the booleans
2479 that tell us whether to /draw/ the scrolling bars.
2481 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2483 * src/hildon-app-menu.h
2485 * src/hildon-app-menu.c
2486 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2487 multiple filter groups related code and API. Now we support only
2489 * examples/hildon-app-menu-example.c:
2491 Update to reflect API changes.
2493 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2495 * src/hildon-stackable-window.c
2496 (hildon_stackable_window_class_init):
2497 Add hildon_stackable_window_realize.
2498 (hildon_stackable_window_realize):
2499 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2500 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2501 to apply theming and behavior specific to HildonStackableWindow
2504 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2506 * src/hildon-note.c (hildon_note_button_release):
2507 Close information notes also when tapping on them
2509 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2511 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2512 ELASTICITY, refactor and review, fix some issues with drawing
2515 * src/hildon-pannable-area.c:
2516 (hildon_pannable_area_button_press_cb): removed the conditions to
2517 avoid clicks when overshooting. It is not required
2519 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2520 define. Refatored and reviewed the code, now we do not need to
2521 manage velocity in motion_notify.
2523 (hildon_pannable_area_motion_notify_cb): We have moved the code
2524 that controls the area_scroll to the axis_scroll function and get
2525 rid of duplicated code.
2527 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2529 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2531 (hildon_pannable_draw_vscroll),
2532 (hildon_pannable_draw_hscroll): Fixed the problems with the
2533 scrollbar drawing, now we do not use two surfaces, it is easier
2534 and saves resources.
2536 (hildon_pannable_area_get_property): Style modification.
2538 (hildon_pannable_area_class_init): Changed some default values.
2540 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2542 * src/hildon-stackable-window.c: Fix some typos in the
2545 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2547 * src/hildon-dialog.c:
2548 Change indentation style
2551 (hildon_note_button_release):
2552 Use root coordinates to check if the release event happened
2555 * src/hildon-app-menu.c
2556 (hildon_app_menu_button_release):
2557 Remove unnecessary check
2559 * examples/hildon-app-menu-example.c
2561 Add cast to fix warning
2563 * src/hildon-app-menu.c
2564 (hildon_app_menu_class_init):
2565 New inner-border style property.
2566 Set all default spacings to 16
2567 (hildon_app_menu_init):
2568 Use vertical-spacing to set the space between filter buttons and
2569 regular menu buttons.
2570 Set the default container border using the inner-border value.
2572 * examples/hildon-app-menu-example.c
2574 Don't set the menu border explicitly, now we have the inner-border
2575 style property for that.
2577 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2579 * src/hildon-app-menu.c (hildon_app_menu_init):
2580 Make the window modal
2582 * src/hildon-note.c (hildon_note_map)
2583 * src/hildon-app-menu.c (hildon_app_menu_map):
2584 Destroy the grab window if we're unable to grab the pointer
2586 * src/hildon-app-menu-private.h
2587 * src/hildon-app-menu.c
2588 (hildon_app_menu_init, hildon_app_menu_finalize)
2589 (hildon_app_menu_map, hildon_app_menu_unmap)
2590 (hildon_app_menu_button_release)
2591 (grab_transfer_window_get):
2592 Bring back the grab window
2593 (hildon_app_menu_realize):
2594 Decorate the window, set WM hint for Matchbox
2596 * src/hildon-note.c (hildon_note_realize):
2597 * src/hildon-banner.c (hildon_banner_realize):
2598 Add WM hints for Matchbox
2600 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2602 * src/hildon-app-menu-private.h
2603 * src/hildon-app-menu.c
2604 (hildon_app_menu_init, hildon_app_menu_finalize)
2605 (hildon_app_menu_map, hildon_app_menu_unmap)
2606 (hildon_app_menu_button_release):
2607 Remove the grab window, it's not needed anymore
2609 * src/hildon-program.c
2610 Fixed typo in documentation
2612 * src/hildon-app-menu.h
2613 * src/hildon-app-menu.c
2614 * examples/hildon-app-menu-example.c
2615 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2617 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2620 Added new transfer_window and close_if_pressed_outside private
2622 (hildon_note_rebuild):
2623 Don't add a cancel button to the information note. It will be
2624 closed when tapping outside
2625 Remove the comment about the OK button in the documentation
2626 (hildon_note_realize):
2627 Set the notification type hint
2628 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2629 Grab/ungrab pointer and keyboard if the note has to be closed when
2631 (hildon_note_button_release):
2632 Close the note when tapping outside (if applicable)
2634 * src/hildon-app-menu.c
2635 Grab/ungrab pointer and keyboard on map/unmap
2636 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2637 Close the menu on button release, not button press
2639 * src/hildon-banner.c
2640 (hildon_banner_set_property)
2641 (hildon_banner_check_position):
2642 Make the banner use the full width of the screen
2643 (hildon_banner_show_information)
2644 (hildon_banner_show_information_with_markup):
2645 Don't display an icon by default
2647 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2649 Added fading scrollbars and adapted all the overshooting code to
2650 horizontal scrolling. We have also fixed bugs with overshooting
2651 and current fading implementation.
2653 * src/hildon-pannable-area.c
2654 (hildon_pannable_area_scroll_indicator_fade): Time out function
2655 used to change the transparency of the scrollbars.
2657 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2658 control and fixed a problem with fading, we now remove the fade
2659 timeout before adding a new one.
2661 (hildon_pannable_axis_scroll):
2662 (hildon_pannable_area_scroll):
2663 (hildon_pannable_area_timeout): Added this functions so we can use
2664 the scroll code both for vertical and horizontal.
2666 (hildon_pannable_area_motion_notify_cb):
2667 (hildon_pannable_area_button_release_cb): Added the horizontal
2668 scrolling control, fixed a problem with the overshooting timeout.
2670 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2671 painting of the scrolls.
2673 (hildon_pannable_draw_vscroll):
2674 (hildon_pannable_draw_hscroll):
2675 (hildon_pannable_area_expose_event):
2676 Draw both scrollbars and rectangles in the overshooting area.
2678 (hildon_pannable_area_get_property):
2679 (hildon_pannable_area_set_property):
2680 Modified the overshoot property to overshoot_max
2682 (hildon_pannable_area_map):
2683 Replaced the comments symbols.
2685 (hildon_pannable_area_size_allocate):
2686 (hildon_pannable_area_class_init):
2687 (hildon_pannable_area_init): Added horizontal scroll, fading
2688 effect properties, fixed a problem when overshooting in the bottom
2691 * examples/hildon-pannable-area-example.c:
2692 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2693 looks better in the example.
2695 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-window.c
2698 * src/hildon-window.h
2699 (hildon_window_class_init)
2700 (hildon_window_unset_program)
2701 (hildon_window_unset_program_real):
2702 Make unset_program a virtual function
2704 * src/hildon-stackable-window.c
2705 * src/hildon-stackable-window.h
2706 Added hildon_stackable_window_go_home()
2708 * examples/Makefile.am
2709 * examples/hildon-stackable-window-example.c
2710 HildonStackableWindow example
2712 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2714 * hildon-pannable-area.c: Added the overshoot property and removed
2715 the OVERSHOOT define. Fixed an indent style error.
2716 (hildon_pannable_area_motion_notify_cb):
2717 (hildon_pannable_area_get_property):
2718 (hildon_pannable_area_set_property): Add overshoot property.
2720 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2723 (hildon_pannable_area_class_init): Installed the new property.
2725 * hildon-pannable-area-example.c: Added a sawtooth function, this
2726 way it is easier to check the movement in the pannable.
2727 (get_sawtooth_label): Added this function.
2728 (main): Now we get the labels from the new get_sawtooth_label
2731 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2733 * src/hildon-app-menu.h
2734 * src/hildon-app-menu.c
2735 Renamed API variables for consistency
2737 (hildon_app_menu_popup): Use also the default window size to
2738 decide where to place the menu
2740 (hildon_app_menu_init, hildon_app_menu_class_init): New
2741 external-border style property
2743 2008-05-26 Michael Natterer <mitch@imendio.com>
2745 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2746 widget_class->tap_and_hold_setup signal slot doesn't exist any
2747 longer, stop overriding it.
2749 (hildon_time_editor_init): g_signal_connect() to the
2750 tap-and-hold-setup signal instead.
2752 (hildon_time_editor_entry_keypress): add cast to fix warning.
2754 2008-05-23 Alberto Garcia <agarcia@igalia.com>
2756 * doc/hildon-docs.sgml
2758 * examples/Makefile.am
2759 * examples/hildon-app-menu-example.c
2761 * src/hildon-app-menu-private.h
2762 * src/hildon-app-menu.c
2763 * src/hildon-app-menu.h
2765 New HildonAppMenu widget
2767 2008-05-21 Alejandro G. Castro <alex@igalia.com>
2769 Rearranged the inheritance of the pannable area, now it inherits
2770 from GtkBin. This will allow us to control the event_window and
2771 the allocation process of the widget, required for some effects.
2773 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
2774 GtkBin structures. * src/hildon-pannable-area.c: Added the
2775 event_window variable.
2776 (hildon_pannable_area_button_press_cb):
2777 (hildon_pannable_area_button_release_cb):
2778 (hildon_pannable_area_motion_notify_cb):
2779 Changed the signature of the method, now we override the event
2780 callback instead of connecting to the signal.
2782 (hildon_pannable_area_realize):
2783 (hildon_pannable_area_unrealize):
2784 (hildon_pannable_area_map):
2785 (hildon_pannable_area_unmap):
2786 (hildon_pannable_area_size_allocate):
2787 Added functions to control the widget construction. We add a
2788 INPUT_ONLY window and we put it over the widgets inside the
2789 container, this event_window handles the events.
2791 (hildon_pannable_area_class_init):
2792 Replaced the signal connections with overrides of the event
2795 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2797 Bouncing effect added when touching the borders, you can change
2798 the elasticity of the border changing the ELASTICITY define.
2800 * src/hildon-pannable-area.c: Added ELASTICITY define.
2801 (hildon_pannable_area_timeout): Added inverse velocity when
2802 touching the border of the child widget, that causes a bounce.
2804 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2806 Improved performance, we now do not go to the X server in order to
2807 get the list of window children. Apparently the effect is the
2808 same, we have to be careful and check if this breaks something in
2811 * src/hildon-pannable-area.c:
2812 (get_ordered_children): Removed this function.
2813 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
2814 the children windows function with gdk_window_get_children.
2816 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2818 * src/hildon-pannable-area.c:
2819 (hildon_pannable_area_dispose): Fixed a crash when closing the
2820 window and kinetics is activated.
2822 2008-05-19 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-pannable-area.h
2825 * src/hildon-pannable-area.c
2826 Changed indentation style to meet the one used in Hildon
2828 2008-05-19 Alejandro G. Castro <alex@igalia.com>
2830 Reviewed the interaction of the AUTO mode, now we use the time
2831 attribute of the events and calculate the velocity in the motion,
2832 doing a gimp like calculation. The velocity is calculated in each
2833 motion event using the last velocity and the current one, the
2834 SMOOTH_FACTOR controls the percentage of the new velocity we use.
2836 * src/hildon-pannable-area.c: Replaced the time based algorithm
2838 (hildon_pannable_area_motion_notify_cb): now we do not launch the
2839 timeout for the AUTO mode when we are still moving the cursor. We
2840 added also the velocity calculation in this function.
2841 (hildon_pannable_area_button_release_cb): launch the timeout in
2842 case we are in AUTO mode. There are still some constants here that
2843 come from the old implementation that should be reviewed and
2846 2008-05-15 Alberto Garcia <agarcia@igalia.com>
2848 * doc/hildon-docs.sgml
2851 * src/hildon-stackable-window.c
2852 * src/hildon-stackable-window.h
2854 New HildonStackableWindow widget
2856 * examples/hildon-dialog-example.c
2857 * examples/hildon-pannable-area-example.c
2860 2008-05-14 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-dialog.c
2863 (hildon_dialog_new_with_buttons): New constructor.
2865 * examples/hildon-dialog-example.c
2866 (main): Update the example to use the new
2867 hildon_dialog_new_with_buttons().
2869 * examples/hildon-pannable-area-example.c
2870 (main): Update example.
2872 2008-05-13 Alberto Garcia <agarcia@igalia.com>
2874 * doc/hildon-docs.sgml
2876 Added HildonPannableArea to the documentation.
2878 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
2880 * doc/visual_index.xml
2881 Fix reference to HildonLoginDialog in documentation
2883 * doc/hildon-docs.sgml
2885 * examples/Makefile.am
2886 * examples/hildon-dialog-example.c
2888 * src/hildon-dialog.c
2889 * src/hildon-dialog.h
2891 New HildonDialog widget.
2893 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2895 * src/hildon-pannable-area.c
2896 Merge latest changes (r4318, r4342) from libmokoui trunk
2898 2008-05-09 Alberto Garcia <agarcia@igalia.com>
2900 * examples/Makefile.am
2901 * examples/hildon-pannable-area-example.c
2903 * src/hildon-pannable-area.c
2904 * src/hildon-pannable-area.h
2906 New HildonPannableArea widget.
2908 2008-04-15 18:05:19 <timj@imendio.com>
2910 * src/hildon-banner.c: revert the recent change, that introduced
2911 gtk_window_present() calls. this reopens:
2912 Bug 78481 - [freetest] information banners are hidden under browser menu
2913 But resolves another variant of:
2914 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2916 2008-04-15 13:21:13 <timj@imendio.com>
2918 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
2919 recreated its layout, spotted by Kris. this fixes all remaining
2920 artefacts and stability issues with the banner code. in particular:
2921 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2923 2008-04-14 16:52:59 <timj@imendio.com>
2925 * src/hildon-banner.c: guard force_to_wrap_truncated() against
2926 operating on unrealized widgets, fixes:
2927 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
2929 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
2931 2008-04-09 Kristian Rietveld <kris@imendio.com>
2933 Fixes: NB#77775: Media Player, Save Now playing list, too long name
2934 makes banner disappear.
2935 Fixes: NB#79182: info banner flickering with certain message lengts.
2937 * src/hildon-banner.c (hildon_banner_constructor),
2938 (hildon_banner_init), (hildon_banner_set_text),
2939 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
2940 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
2941 FALSE, reset size requests of label and banner,
2942 (force_to_wrap_truncated): when the text is too wide, always enforce
2943 the maximum possible width instead of recalculating it from the
2944 layout; enforce the maximum banner height of 3 lines,
2945 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
2946 nicer wrapping and no truncated chars if space gets tight.
2948 * src/hildon-banner-private.h: add has_been_wrapped and
2949 has_been_truncated fields.
2951 2008-04-07 Sven Herzberg <sven@imendio.com>
2953 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
2954 local values in hildon_date_editor_size_allocate
2956 * src/hildon-date-editor.c: moved the real allocation code into the
2959 2008-04-07 Sven Herzberg <sven@imendio.com>
2961 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2962 local values in hildon_date_editor_size_allocate
2964 * src/hildon-date-editor.c: merged the two if() branches together
2966 2008-04-07 Sven Herzberg <sven@imendio.com>
2968 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2969 local values in hildon_date_editor_size_allocate
2971 * src/hildon-date-editor.c: changed the arguments of the if()
2974 2008-04-07 Sven Herzberg <sven@imendio.com>
2976 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
2977 local values in hildon_date_editor_size_allocate
2979 * src/hildon-date-editor.c: split the calculation of the allocation
2980 from the real allocation
2982 2008-03-27 Michael Natterer <mitch@imendio.com>
2984 Fixes: NB#81696: The passcode is not overwritten even after
2987 * src/hildon-code-dialog.c
2988 (hildon_code_dialog_button_clicked)
2989 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
2990 because that doesn't overwrite selected text. Instead, emit the
2991 "commit" signal on the entry's im_context so the entry's normal
2992 insert logic is triggered. Set the cursor to the end of the entry
2993 after each insert operation so that we *only* insert in the middle
2994 of the text if something was selected.
2996 2008-03-27 Michael Natterer <mitch@imendio.com>
2998 Enable fixing: NB#79916 and NB#79918: The help topic for Color
2999 selector cannot be opened
3001 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3002 when the popup color selector is created. Please connect to this
3003 signal in order to set the dialog's help ID.
3005 2008-03-25 Sven Herzberg <sven@imendio.com>
3007 Fixes: MB#1212: Hide info banners (infoprints) on click
3009 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3010 extracted the close event simulation into an extra function
3011 (hildon_banner_button_press_event): simulate a close event and destroy
3012 the widget if the event wasn't handled
3013 (hildon_banner_class_init): added the button_press_event handler
3014 (hildon_banner_init): added button-press events to the widget
3016 2008-03-25 Sven Herzberg <sven@imendio.com>
3018 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3019 Patch from: Mohammad Anwari <mdamt@maemo.org>
3021 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3022 instead of the right in RTL mode
3023 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3024 breadcrumb button list in RTL mode
3025 * src/hildon-caption.c: mirror the appearance of the caption widget in
3027 * src/hildon-date-editor.c: mirror appearance of the date editor in
3029 * src/hildon-time-editor.c: mirror appearance of the time editor in
3031 * src/hildon-window.c: fix the position of the popup in RTL mode
3033 2008-03-25 Sven Herzberg <sven@imendio.com>
3035 Amendment to the fix of NB#22072. Fix compilation.
3037 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3039 2008-03-19 Sven Herzberg <sven@imendio.com>
3041 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3044 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3045 timeout id properly when the timeout will disappear this leaves no
3046 artifacts around in the destroy(); there will only be the timeout
3047 created by hildon_banner_ensure_timeout() and adding a new timeout
3048 will also work if the timeout gets removed because the timeout_handler
3051 2008-03-19 Michael Natterer <mitch@imendio.com>
3053 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3055 * src/hildon-volumebar.c
3056 * src/hildon-vvolumebar.c
3057 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3058 the widget becomes focussable at all.
3060 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3061 set the focus to wither the mute button or the volumebar.
3063 Remove own "can-focus" property and instead listen to
3064 notify::can-focus in order to update the widget's state.
3066 Implement GtkWidget::focus() and make sure we can also *leave* the
3067 widget, not only enter it, depending on volumebar orientation and
3068 requested focus direction.
3070 Clean up set_mute() to cooperate nicely with all the above.
3072 2008-03-04 Michael Natterer <mitch@imendio.com>
3074 Fixes: NB#78481: information banners are hidden under browser menu
3076 * src/hildon-banner.c: call gtk_window_present() on the banners so
3077 they are risen if they are already visible.
3079 2008-03-03 Sven Herzberg <sven@imendio.com>
3081 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3083 * examples/hildon-window-menu-example.c: (main): extended the window
3084 menu example to serve as a testcase for automatically added
3085 accelerator groups, too
3086 * src/hildon-window.c: (hildon_window_add_accel_group),
3087 (hildon_window_set_menu): added patch by Tommi Komulainen
3089 2008-03-03 Sven Herzberg <sven@imendio.com>
3091 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3093 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3094 knowledge about the border allocators used within GTK+
3096 2008-02-26 Sven Herzberg <sven@imendio.com>
3098 Fixes: MB#2981: Build with asserts broken
3100 * src/hildon-date-editor.c,
3101 * src/hildon-number-editor.c,
3102 * src/hildon-time-editor.c,
3103 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3104 the proper GType instance check
3106 2008-02-25 Sven Herzberg <sven@imendio.com>
3108 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3110 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3111 * examples/hildon-window-menu-example.c: (main): explicitly show
3113 * src/hildon-window.c:
3114 (hildon_window_set_main_menu): moved most of the code from set_menu()
3115 to this place; skipped the call to gtk_widget_show_all(); also didn't
3116 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3117 (hildon_window_set_menu): removed most of the code, just keep the
3118 questionable gtk_widget_show_all()
3119 * src/hildon-window.h: added the new function and deprecate the old
3122 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3128 * debian/changelog: Updating.
3130 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3133 * pkgconfig/Makefile.am:
3134 * pkgconfig/hildon.pc.in:
3137 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3138 use newly created API_MAJOR_VERSION.
3140 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3146 * debian/changelog: Updating.
3148 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3150 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3152 Add outer_border style property, we use it but don't define it (!).
3156 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3158 * examples/hildon-bread-crumb-trail-example.c (main):
3162 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3164 Fix logic for the bread crumb trail node removal.
3168 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3174 * debian/changelog: Updating.
3176 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3178 Patch by Alejandro to get/set passwords dialogs accesibility.
3180 * hildon-1/src/hildon-get-password-dialog.c:
3181 * hildon-1/src/hildon-set-password-dialog.c:
3182 Set atk_set_name to the passwd entries in order to allow
3183 accessibility by name on this entries.
3185 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3190 * debian/control: Updating gtk dep.
3192 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3194 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3195 USE_MAEMO_GTK is enabled.
3197 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3199 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3200 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3202 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3208 * debian/changelog: Updating.
3210 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3212 * examples/Makefile.am:
3213 * examples/hildon-logical-color-example.c:
3214 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3215 applied + adding a test case. Fixes: NB#71660.
3217 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3219 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3220 to be visible, fixes warning on map for windows without toolbars.
3222 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3224 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3225 2.11.0, add a check for that besides the MAEMO_GTK check.
3227 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3233 * debian/changelog: Updating.
3235 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3237 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3238 visibility. Fixes: NB#70842 and MB#615.
3240 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3242 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3243 set the separator as no-show-all so it doesn't unintentionally appear when
3244 someone does a show_all.
3246 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3248 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3249 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3250 toplevel item. Fixes: NB#62031
3252 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3254 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3255 fix the name of the function in the docs.
3257 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3263 * debian/changelog: Updating.
3265 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3267 * examples/hildon-banner-long-example.c: Adding a test-case for long
3270 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3272 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3274 * src/hildon-color-chooser-dialog.c:
3275 * src/hildon-color-chooser.c:
3276 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3277 memory leaks in font selector and color selector. Fixes: NB#70499 and
3280 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3282 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3284 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3286 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3287 little bit bigger. Fixes: #NB63694.
3289 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3295 * debian/changelog: Updating.
3297 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3300 * doc/hildon-docs.sgml:
3301 * doc/images/bread-crumb-trail.png:
3302 * doc/images/calendar-popup.png:
3303 * doc/images/caption.png:
3304 * doc/images/code-dialog.png:
3305 * doc/images/color-button.png:
3306 * doc/images/color-chooser-dialog.png:
3307 * doc/images/color-chooser.png:
3308 * doc/images/controlbar.png:
3309 * doc/images/date-editor.png:
3310 * doc/images/font-selection-dialog.png:
3311 * doc/images/get-password-dialog.png:
3312 * doc/images/hvolumebar.png:
3313 * doc/images/login-dialog.png:
3314 * doc/images/note.png:
3315 * doc/images/number-editor.png:
3316 * doc/images/range-editor.png:
3317 * doc/images/seekbar.png:
3318 * doc/images/set-password-dialog.png:
3319 * doc/images/sort-dialog.png:
3320 * doc/images/time-editor.png:
3321 * doc/images/time-picker.png:
3322 * doc/images/vvolumebar.png:
3323 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3324 Adding the bread-crumb-trial and helpers to the documentation.
3326 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3328 * examples/hildon-find-toolbar-example.c:
3329 * src/hildon-find-toolbar.c:
3330 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3331 actually continue firing the other handlers if connected. Adding a new
3333 hildon_find_toolbar_get_last_index that gets the index of the most
3334 recently added (last) item. Fixes: NB#52301.
3336 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3338 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3339 behaviour. Fixes: NB#68610.
3341 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3343 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3346 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3348 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3349 when realizing the banner. Should make the infonbanner effect a bit more
3352 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3354 * src/hildon-volumebar.c:
3355 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3356 hildon_volumebar_set_range_insensitive_message and
3357 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3359 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3361 * src/hildon-window.c: Fixing the border freeing on destroy.
3363 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3365 * src/hildon-code-dialog-private.h:
3366 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3367 kw keyboard support in HildonCodeDialog.
3369 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3375 * debian/changelog: Updating.
3377 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3379 * src/hildon-date-editor.c:
3380 * src/hildon-number-editor.c:
3381 * src/hildon-private.c:
3382 * src/hildon-private.h:
3383 * src/hildon-time-editor.c:
3384 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3385 handling in subclassed composite widgets. Fixes: NB#66628.
3387 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3389 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3390 from destroy_ callback as it introduces problems in async dbus signal
3391 handlers. Fixes NB#66673.
3393 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3395 * examples/hildon-hvolumebar-example.c:
3396 * src/hildon-volumebar.c: Improving the focus handling in the
3397 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3398 set_property accessor so that "mute" property can be actually set. I'm
3399 scared that nobody noticed it's totally broken.
3401 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3403 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3406 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3408 * src/hildon-calendar.c:
3409 * src/hildon-number-editor.c:
3410 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3411 matches the spec of 6 chars per second. Fixes: NB#60489.
3413 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3415 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3416 gtk_style_lookup_color sometime returns FALSE even though color was
3417 found and values were filled properly. Weird. Removing the warning for the
3420 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3422 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3423 expand vertically. Adding some extra space to the find toolbar buttons to
3424 make them thumbable. Fixes NB#66060.
3426 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3428 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3429 popup with "Ok" and "Cancel". Fixes NB#59299.
3431 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3433 * src/hildon-calendar.c: Process all window updates before executing next
3434 timeout. Fixes: NB#54146.
3436 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3442 * debian/changelog: Updating.
3444 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3446 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3447 the client event and ignore it, since we use the delete event to close
3450 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3452 * src/hildon-helper.c: Remove the bogus warning about color not being
3453 found. Fixes NB#58352.
3455 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3457 * examples/Makefile.am:
3458 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3459 HildonSeekbar widget inside a toolbar.
3461 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3463 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3464 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3465 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3466 don't want to be closed by non-temporary windows on map.
3468 Also use G_DEFINE_TYPE instead of manually typed code.
3470 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3477 * debian/rules: Updating.
3479 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3481 * examples/Makefile.am:
3482 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3483 bug NB#61128. Strangely it works.
3485 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3487 * src/hildon-date-editor.c: When the date editor entry has been changed
3488 but the numbers of characters < max, turn off the skip validation flag.
3489 Prevents a situation when we enter first a valid year and later re-write
3490 it with an invalid one. Fixes NB#60154.
3492 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3494 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3495 code dialog. Fixes NB#64355.
3497 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3499 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3500 switching the page. Fixes NB#49374.
3502 * examples/Makefile.am:
3503 * examples/hildon-wizard-dialog-example.c: Adding an example for
3504 HildonWizardDialog that shows how to handle manual sensitivity setting on
3507 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3511 * src/hildon-version.h.in:
3512 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3514 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3516 * src/hildon-volumebar.c: Updating the docs.
3518 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3524 * debian/changelog: Updating.
3526 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3528 * src/hildon-find-toolbar.c:
3529 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3530 selected item: hildon_find_toolbar_set_active,
3531 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3532 hildon_find_toolbar_get_active_iter . They correspond to respective
3533 GtkComboBox functions.
3535 * examples/Makefile.am:
3536 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3539 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3541 * examples/Makefile.am:
3542 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3545 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3546 when font size > 32 and we pack a focusable widget inside. Actually using
3547 the default response would work too, but since we don't show default
3548 response state in any way (no theming) it would not be visible to the
3549 user. Fixes NB#63430.
3551 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3553 * src/hildon-date-editor.c: Adding the missing variable setter in the
3554 set_property handler. Fixes NB#54182.
3556 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3558 * src/hildon-window.h: Changing the long key press time from 1500ms to
3559 800ms as requested in NB#63700. I have a bad feeling about this, let's
3560 see... Fixes NB#63700.
3562 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3564 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3565 hildon_time_picker_map, hildon_time_picker_realize,
3566 hildon_time_picker_style_set): Split the contents of map to more
3567 appropriate functions; set window decorations on realize and update
3568 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3570 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3575 * debian/changelog: Updating.
3577 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3579 * src/Makefile.am: fixed installation of the header files
3581 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3587 * debian/changelog: Updating.
3589 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3591 * configure.ac: Removing some remaining of --enable-xan.
3593 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3595 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3596 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3598 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3599 2.10.12-osso6 because the move-focus signal needs to be available in
3602 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3604 * examples/Makefile.am:
3605 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3606 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3607 fine. Prolly NB#61128 is fixed now.
3609 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3611 * src/hildon-volumebar.c:
3612 * src/hildon-volumebar.h: Adding the
3613 hildon_volumebar_set_range_insensitive_message and
3614 hildon_volumebar_set_range_insensitive_messagef functions to set
3615 insensitive message on the slider of the volumebar. Fixes NB#61129.
3617 * examples/Makefile.am:
3618 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3619 test the new insensitive messsage functionality on HildonVolumebar.
3621 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3623 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3626 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3628 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3629 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3630 button on after clearing the trail.
3632 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3634 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3636 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3638 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3639 by splitting the installed headers in generated and non-generated groups. Use
3640 only the non-generated headers to create the hildon-enum-types.h file.
3642 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3644 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3646 * src/hildon-window.c: Hide the window before performing the destroy.
3647 Should make the app closing a little tiny bit more snappy.
3649 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3651 * src/hildon-seekbar.c: add gtkrange.h header
3652 * src/hildon-caption.c: remove unused variable
3654 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3656 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3659 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3665 * debian/changelog: Updating.
3667 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3669 * src/hildon-window.c (hildon_window_window_state_event,
3670 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3671 escape timeout on focus-out-event rather than notify::is-topmost; the
3672 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3674 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3676 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3677 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3679 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3681 * src/hildon-window: actually, you need to use the macro always, there's
3682 no private pointer in the instance structure. We should have cleaned this up
3683 when we had the chance...
3685 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3687 * src/hildon-window.c: do not get the private date from HildonWindow before
3688 it passes the g_return_if_fail check. Once it's passed the test, there's no
3689 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3690 if you are only going to access the data once. Whitespace cleanups.
3692 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3694 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3695 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3697 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3703 * debian/changelog: Updating.
3705 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3707 * src/hildon-window.c: When destroying the window, remove (if exists) the
3708 escape timeout handler. Fixes #NB59276.
3710 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3712 * src/hildon-banner.c: When realizing the widget, set the window
3713 transiency. Setting the transiency in the gobject constructor is not
3714 good, as the widget is not realized at that point. Fixes: #NB56624.
3716 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3718 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3719 Add padding for future expansions.
3721 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3723 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3724 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3725 will fake an activation on the previous to the last item of the trail, so
3726 the effect can be overrided by the developer as usual.
3727 Also change the callback for the back button to do the same thing, so its
3728 effect can be overrided too. Fixes: NB#58982
3730 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3732 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3733 HildonCaption. Fixes NB#52379.
3735 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3737 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3738 the internal state of the trail after the user has had the chance of executing
3739 his handler for the signal. Specifically, it may happen that the activated button
3740 is removed and the user still lets the default handler run. This would segfault
3743 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3745 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3746 scrollbar to the preview dialog. Fixes NB#54147.
3748 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3750 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3751 max/min year properties can be altered, so the client can modify it
3752 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3754 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3756 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3757 hildonlike by default. Fixing a problem with disappearing arrows when
3758 scrolling through months and years. Fixes NB#54127.
3760 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3762 * examples/hildon-date-editor-example.c: Adding error callback to the date
3765 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3771 * configure.ac: Updating.
3773 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3775 * configure.ac: Adding a special '--enable-xan' configure option that
3776 turns off the -Werror compilation setting. Usefull for development.
3778 * src/hildon-calendar.c:
3779 * src/hildon-number-editor.c:
3780 * src/hildon-time-picker.c: Adding the 5* multiplier to
3783 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
3785 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
3786 instead of g_object_ref + gtk_object_sink.
3788 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3794 * debian/changelog: Updating.
3796 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3798 * src/hildon-color-chooser-dialog.c:
3799 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
3800 straight from Tommi labs.
3802 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3804 * examples/hildon-finger-example.c: Correcting the header file path.
3806 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
3807 the changed signal. Fixes a small memory leak.
3809 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3813 * src/hildon-banner.c: Importing several usefull fixes from the
3814 ubuntu-mobile branch.
3816 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3818 * examples/Makefile.am:
3819 * examples/hildon-finger-example.c: Adding a finger-checking code
3822 * src/hildon-font-selection-dialog.c: Do not allocate the color
3823 structure using the g_new. Fixes NB#54061.
3825 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3827 * src/hildon-helper.c: Correcting tabs in file.
3829 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
3831 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3832 control the visibility of the children.
3834 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3836 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3842 * debian/changelog: Updating.
3844 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3846 * src/hildon-bread-crumb-trail.c:
3847 (hildon_bread_crumb_trail_size_allocate):
3849 Make the back button always a square.
3851 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3853 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3854 from the .c file as it's a private file.
3856 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3858 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3859 uses slightly bigger height.
3861 * src/hildon-font-selection-dialog.c: Adding some checks before
3862 freeing memory in the font selection dialog.
3864 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3866 * src/hildon-font-selection-dialog.c: Adding a small check when
3869 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3870 buttons sensitivity on page switching.
3872 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
3874 * src/hildon-bread-crumb-trail.c: make the add method handle all the
3875 internal details of adding a bread crumb to the trail.
3877 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3883 * debian/changelog: Updating.
3885 * src/hildon-bread-crumb-trail.h:
3886 * src/hildon-bread-crumb.h: Changing the API guard to
3887 HILDON_ENABLE_UNSTABLE_API.
3889 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3897 * src/hildon-helper.h: Updating.
3899 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3907 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3911 * src/hildon-helper.h: Small fix to make the package actually compile.
3913 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3915 * src/hildon-bread-crumb-trail.h:
3916 * src/hildon-bread-crumb.h:
3918 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
3919 to define ENABLE_UNSTABLE_API in the code that includes these headers.
3921 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
3923 * examples/hildon-bread-crumb-trail-example.c:
3925 * src/hildon-bread-crumb-trail.c:
3926 * src/hildon-bread-crumb-trail.h:
3927 * src/hildon-bread-crumb.c:
3928 * src/hildon-bread-crumb.h:
3929 * src/hildon-marshalers.list:
3930 * src/hildon-bread-crumb-widget.c:
3931 * src/hildon-bread-crumb-widget.h:
3933 Slight change in the widget design. The bread crumb trail API is
3934 unchanged, but HildonBreadCrumb is now an interface. A *private*
3935 implementation, hildon-bread-crumb-widget, is provided and used
3936 internally by the trail for the push_text/push_icon functions.
3938 The generic push API is still available, so anyone can implement
3939 and use its own bread crumb widget.
3941 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3943 * debian/rules: Fixing the shlibs.
3945 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3947 * src/hildon-banner.c: Fixing a problem with timed banners having
3948 their parrent destroyed before they are.
3950 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
3952 * src/hildon-bread-crumb.c:
3953 * src/hildon-bread-crumb.h:
3955 Make the get_natural_size function a vfunc.
3957 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3959 * src/hildon-bread-crumb.c:
3960 * src/hildon-bread-crumb-trail.c:
3964 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3971 * debian/changelog: Updating for release.
3973 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3975 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
3976 don't leak the pango layout.
3978 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
3981 * examples/hildon-bread-crumb-trail-example.c:
3985 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3987 * debian/changelog: Removing the bug-fixed entries that were actually
3988 resolved as WONTFIX.
3990 * src/hildon-date-editor.c: Removing a redundant check. Fixes
3993 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
3995 * src/hildon-bread-crumb-trail.c:
3996 * src/hildon-bread-crumb-trail.h:
3997 * src/hildon-bread-crumb.c:
3998 * src/hildon-bread-crumb.h:
4002 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4004 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4005 until it's passed the type check.
4007 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4009 * examples/hildon-bread-crumb-trail-example.c
4013 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4015 * examples/Makefile.am
4016 * examples/hildon-bread-crumb-trail-example.c
4018 * src/hildon-bread-crumb-trail.c
4019 * src/hildon-bread-crumb-trail.h
4020 * src/hildon-bread-crumb.c
4021 * src/hildon-bread-crumb.h
4023 New HildonBreadCrumbTrail widget.
4025 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4027 * src/hildon-range-editor.c (hildon_range_editor_init),
4028 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4029 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4030 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4031 hildon_time_editor_class_init, hildon_time_editor_init),
4032 src/hildon-get-password-dialog.c (invalid_input,
4033 hildon_get_password_set_property, hildon_get_password_get_property,
4034 create_contents, hildon_get_password_dialog_set_max_characters),
4035 src/hildon-set-password-dialog.c (create_contents),
4036 src/hildon-date-editor.c (hildon_date_editor_init),
4037 src/hildon-login-dialog.c (hildon_login_dialog_init),
4038 src/hildon-number-editor.c (hildon_number_editor_init),
4039 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4040 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4041 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4042 configure option and adding the respective checks in the code.
4043 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4044 hildon_calendar_drag_data_received): fixed some build warnings.
4046 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4048 * debian/changelog: A 1.0.0 release notes.