1 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c
4 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5 method, it had problems when adding a widget with viewport the
6 second time. Now checks if it already has a viewport and uses it.
8 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
11 2008-10-28 Alejandro G. Castro <alex@igalia.com>
13 * src/hildon-pannable-area.c,
14 (hildon_pannable_area_scroll_to),
15 (hildon_pannable_area_jump_to),
16 (hildon_pannable_area_scroll_to_child),
17 (hildon_pannable_area_jump_to_child): Added a precondition to the
18 scroll and jump to functions: the widget must be mapped before we
19 can safely call these functions. We have also added documentation
20 to the functions to explain how to use them in this situation.
23 2008-10-28 Alejandro G. Castro <alex@igalia.com>
25 Reviewed the threading handling of the pannable widget, we have
26 used the gdk_threads_add_timeout function instead of the usual
27 glib handlers. This avoids some problems with the threads.
29 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
30 (hildon_pannable_area_initial_effect),
31 (hildon_pannable_area_scroll_indicator_fade),
32 (hildon_pannable_area_button_press_cb),
33 (hildon_pannable_area_timeout),
34 (hildon_pannable_area_motion_notify_cb),
35 (hildon_pannable_area_button_release_cb),
36 (hildon_pannable_area_scroll_cb),
37 (hildon_pannable_area_scroll_to): Removed the
38 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
39 gdk_threads_add_timeout.
41 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
43 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
48 * configure.ac: bump version
49 * debian/changelog: updates
51 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
53 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
54 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
55 * src/hildon-color-chooser-dialog.c:
56 (hildon_color_chooser_dialog_init):
57 * src/hildon-font-selection-dialog.c:
58 (hildon_font_selection_dialog_init):
59 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
61 Remove all cancel/close-like dialogs, as these are not going to be
64 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
66 * src/hildon-note.c: (hildon_note_rebuild),
67 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
70 Fixes: NB#90661 (Delete dialog is displayed without NO button)
72 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
74 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
75 sure all buttons are shown, even the Cancel/Close-like ones.
77 Fixes: NB#90861 (Custom Confirmation dialogs should be
78 protected from cancel button removal)
80 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
82 * debian/control: Change libhildon1-examples dependency from libhildon1
84 * debian/libhildon1-examples.install
86 * Makefile.am: Modified the final install directory for the examples on
87 package libhildon1-examples
88 * Makefile.static: Update clean target in order to remove all the binary
91 Changes suggested by Claudio after review new libhildon1-examples package
93 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
95 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
96 * src/hildon-touch-selector.c: Ditto.
98 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
100 * debian/control: Added new package libhildon1-examples, in order to pack
101 the current hildon examples as documentation
102 * debian/rules: Not to compress .c files, modify some includes on the
103 examples (as normally are compiled locally, but when installed it will
104 require to include the installed libhildon1 library), and rename
106 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
107 install all the example files on the new example package
108 * examples/Makefile.static: Added static makefile that can be used to
109 compile the examples, once installed the new example package
110 * examples: Most of the examples were modified in order to grant that
111 all use only '#include "hildon.h"', in order to be easy to prepare
112 it on the example package
114 2008-10-23 Alberto Garcia <agarcia@igalia.com>
117 * debian/libhildon1-dev.install
118 * debian/libhildon1-doc.install:
119 Move all gtk-doc files to a separate libhildon1-doc package.
121 2008-10-23 Daniel Borgmann <danielb@openismus.com>
123 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
125 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
127 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
129 * debian/rules: Fixed a error in order to avoid unnecessary calls
130 to autogen.sh on package building
132 2008-10-22 Alberto Garcia <agarcia@igalia.com>
134 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
136 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
138 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
141 2008-10-21 Alberto Garcia <agarcia@igalia.com>
143 * src/hildon-picker-button.c
144 (hildon_picker_button_finalize):
145 Free priv->done_button_text
147 * src/hildon-time-button.c
148 (hildon_time_button_set_time)
149 * src/hildon-picker-button.c
150 (hildon_picker_button_clicked)
151 (hildon_picker_button_selector_selection_changed)
152 (hildon_picker_button_set_selector)
153 * src/hildon-date-button.c
154 (hildon_date_button_set_date):
155 Free strings returned by hildon_touch_selector_get_current_text()
157 * src/hildon-button.c (hildon_button_construct_child):
158 Fix leaks in priv->image and priv->label_box
160 Fixes: NB#90535 (Memory leak in picker button)
162 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
164 * src/hildon-button.c: (hildon_button_get_property): Do not access
165 private elements directly, use getters instead.
167 2008-10-20 Alberto Garcia <agarcia@igalia.com>
169 * src/hildon-app-menu-private.h
170 * src/hildon-app-menu.c
171 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
172 Store the menu's parent window.
174 * src/hildon-stackable-window.c
175 (hildon_stackable_window_toggle_menu)
176 (hildon_stackable_window_finalize):
177 Set the menu's parent window when the menu is shown, unset it when
180 * src/hildon-app-menu.c
181 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
182 (hildon_app_menu_class_init):
183 Send unhandled keyboard accelerators to the parent window.
185 2008-10-20 Alberto Garcia <agarcia@igalia.com>
187 * src/hildon-stackable-window.c
188 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
190 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
192 * configure.ac: post release version bump
194 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
197 * configure.ac: Bump version
198 * debian/changelog: Updates
199 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
202 2008-10-20 Alberto Garcia <agarcia@igalia.com>
204 Patch contributed by Daniel Borgmann (danielb@openismus.com)
207 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
208 GtkMenu with Hildon style.
210 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
212 * src/hildon-picker-button.c:
213 (hildon_picker_button_set_done_button_text): Set the dialog's
214 done button text here as well.
216 Fixes: NB#90232 (Picker button does not set the label on done button
219 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
221 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
224 2008-10-16 Alberto Garcia <agarcia@igalia.com>
226 * src/hildon-app-menu.c (hildon_app_menu_insert)
227 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
228 the HildonAppMenu to be activatable using keyboard accelerators
229 when the menu is not being shown.
231 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
233 2008-10-16 Alberto Garcia <agarcia@igalia.com>
235 * src/hildon-stackable-window.c
236 (hildon_stackable_window_show):
237 Don't hide old windows automatically when new windows are shown:
238 this is now a task for the window manager.
239 (hildon_stackable_window_class_init)
240 (hildon_stackable_window_hide):
241 Remove windows from the stack everytime they're hidden.
242 (hildon_stackable_window_realize):
243 Don't change the _NET_WM_WINDOW_TYPE property. Use
244 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
245 it as a stackable window.
247 * src/hildon-program.c
248 (hildon_program_pop_window_stack):
249 Just hide the window to remove it from the stack.
250 (hildon_program_go_to_root_window):
251 Don't call gtk_widget_show(), this is now a task for the window
254 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
256 2008-10-15 Alberto Garcia <agarcia@igalia.com>
258 * src/hildon-button.c
259 (hildon_button_construct_child):
260 Don't pack anything in the button until text or image are
261 set. This allows adding a custom child after creating the button
262 with hildon_button_new().
263 (hildon_button_finalize, hildon_button_class_init)
264 (hildon_button_init, hildon_button_set_arrangement): Destroy the
265 alignment and the label box even when they're not packed in the
268 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
270 * src/hildon-touch-selector.h:
271 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
272 currently the type definition was using GTK_TYPE_VBOX
273 * src/hildon-touch-selector.c:
274 Added some implementation notes in order to clarify that any other widget
275 added without the column related API will not be included on the
276 selection logic, and how the widget is freed, as some people ask about
278 (hildon_touch_selector_remove): Reimplemented in order to free properly
279 the column related data when you remove the private hbox.
280 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
281 to get a proper HildonTouchSelectorColumn documentation
283 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
285 * src/hildon-touch-selector-entry.c:
286 (hildon_touch_selector_entry_print_func): Return NULL if there is no
287 text in the GtkEntry and there is no item selected. Fixes a
290 2008-10-13 Alberto Garcia <agarcia@igalia.com>
292 * src/hildon-app-menu-private.h
293 * src/hildon-app-menu.[ch]
294 * src/hildon-button.[ch]
295 * src/hildon-check-button.[ch]
296 * src/hildon-entry.[ch]
297 * src/hildon-pannable-area.[ch]
298 * src/hildon-text-view.[ch]:
299 Added private field to the object's structure.
301 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
303 * configure.ac: post-release version bump
305 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
309 * configure.ac: pre-release version bump
311 * debian/changelog: updates.
313 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
315 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
316 Disconnect the handler for HildonTouchSelector::changed.
318 (hildon_picker_button_selector_selection_changed): Update the button
319 value if the selection change was not triggered by the
322 (hildon_picker_button_set_selector): connect to
323 HildonTouchSelector::changed.
325 Fixes: NB#89650 (Picker button is not updated, when selection in
326 selector has changed)
328 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
330 * src/hildon-picker-dialog.c
331 (hildon_picker_dialog_realize): Removed as not required
332 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
333 * src/hildon-picker-button.c
334 (_current_selector_empty): New function, checks if the selector is empty
335 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
336 if the current selector is empty, in order to avoid to show the dialog
337 close the dialog in this case (and shows a g_warning).
339 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
341 2008-10-09 Alejandro G. Castro <alex@igalia.com>
343 * src/hildon-pannable-area.c,
344 (hildon_pannable_area_scroll): Added clause to stop movement when
345 the child of pannable is smaller than one page.
346 (hildon_pannable_area_scroll_to): Added conditions to avoid
347 starting the scrolling movement if the child is smaller than one
348 page, the complete child is in the screen, we do not have to move.
350 Fixes: NB#89632 (Picker button selection doesn't change on first click)
352 2008-10-09 Alberto Garcia <agarcia@igalia.com>
354 * src/hildon-app-menu.c: Removed the 'columns' property, as now
355 this is managed automatically by the widget when the size of the
358 2008-10-09 Alberto Garcia <agarcia@igalia.com>
360 * src/hildon-picker-button.c
361 (hildon_picker_button_set_done_button_text): Make a copy of the
362 text, and free the previous value.
364 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
366 * src/hildon-touch-selector-entry.c:
367 (hildon_touch_selector_entry_print_func): Return the selected row's
368 text if the entry is empty.
370 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
373 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
375 * src/hildon-touch-selector-entry.c: Minor docs fixes.
377 2008-10-09 Alberto Garcia <agarcia@igalia.com>
380 * src/hildon-check-button.h
381 * src/hildon-check-button.c
382 * examples/hildon-check-button-example.c:
383 HildonCheckButton is now a new widget. 'toggled' signal added.
385 2008-10-08 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-program-private.h
388 * src/hildon-program.c (hildon_program_init)
389 (hildon_program_finalize): Removed unused variables group_leader
390 and name from HildonProgramPrivate.
392 2008-10-08 Alberto Garcia <agarcia@igalia.com>
394 * src/hildon-check-button.c (hildon_check_button_set_active)
395 (hildon_check_button_get_active, hildon_check_button_new): Use
396 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
398 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
400 * src/hildon-touch-selector.h
401 (hildon_touch_selector_set_column_attributes): added deprecation
402 guard HILDON_DISABLE_DEPRECATED
403 * src/hildon-time-selector.c
404 (hildon_time_selector_set_time)
405 (hildon_time_selector_get_time): Fixed a typo on documentation
406 * src/hildon-touch-selector.c: update HildonTouchSelector and
407 HildonTouchSelectorColumn documentation
408 * src/hildon-touch-selector-entry.c: update "text-column" property
410 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
411 to be added to the general documentation.
413 2008-10-08 Alejandro G. Castro <alex@igalia.com>
415 * examples/hildon-pannable-area-example-4.c,
417 * examples/hildon-pannable-area-example.c,
418 (main): Modified the code in order to use the container add, with
419 viewport treeviews could have problems if they are really big.
421 2008-10-06 Alejandro G. Castro <alex@igalia.com>
423 * src/hildon-weekday-picker.c,
424 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
425 the agreement regarding deprecation in the library.
427 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
429 * examples/hildon-picker-button-multicolumn-example.c:
430 (main): Use custom "done" button text.
432 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
433 (hildon_picker_button_set_property),
434 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
435 (hildon_picker_button_init),
436 (+hildon_picker_button_get_done_button_text),
437 (+hildon_picker_button_set_done_button_text): New methods to customize
438 the "done" button label in the launched HildonPickerDialog. Also,
441 * src/hildon-picker-button.h: add the public API.
443 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
445 * src/hildon-date-selector.h:
446 * src/hildon-picker-dialog.h:
447 * src/hildon-time-selector.h:
448 * src/hildon-touch-selector-column.h:
449 * src/hildon-touch-selector.h:
451 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
452 declarations. Fixes gtk-doc warnings.
454 2008-10-06 Alberto Garcia <agarcia@igalia.com>
456 * src/hildon-picker-dialog.h
457 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
458 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
460 Fixes: NB#89329 (selectors in picker dialog are not visible when a
461 long text is set as label for done button)
463 2008-10-06 Alberto Garcia <agarcia@igalia.com>
465 * src/hildon-dialog.c (hildon_dialog_add_button):
466 Set fixed width to all buttons in the HildonDialog.
468 2008-10-06 Alberto Garcia <agarcia@igalia.com>
470 Patch contributed by Daniel Borgmann (danielb@openismus.com)
472 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
473 Set widget name using class name plus "-finger" or "-thumb".
475 2008-10-03 Alberto Garcia <agarcia@igalia.com>
477 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
478 'clicked' when the state of the button is manually changed.
480 2008-10-02 Alberto Garcia <agarcia@igalia.com>
482 * src/hildon-app-menu.c (hildon_app_menu_realize)
483 (hildon_app_menu_unrealize, hildon_app_menu_init)
484 (hildon_app_menu_class_init, item_visibility_changed):
485 Change the menu layout when the size of the screen changes.
486 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
487 Show warning only when changing the number of colums using the
490 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
492 * debian/compat: Set to 5
493 * debian/control: Update dependencies.
494 * debian/libhildon1-dbg.install: Remove.
495 * debian/libhildon1-dev.install: Update according to cdbs paths.
496 * debian/libhildon1.install: Update according to cdbs paths.
497 * debian/rules: Switch to cdbs.
499 2008-10-01 Alberto Garcia <agarcia@igalia.com>
501 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
502 'item' variable renamed to 'filter'
504 2008-10-01 Alberto Garcia <agarcia@igalia.com>
506 * src/hildon-app-menu.c (hildon_app_menu_insert)
507 (hildon_app_menu_add_filter, remove_item_from_list)
508 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
509 Don't leak hidden items when the menu is destroyed.
511 2008-10-01 Alberto Garcia <agarcia@igalia.com>
513 * src/hildon-app-menu.c (hildon_app_menu_insert)
514 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
515 (hildon_app_menu_set_columns, item_visibility_changed)
516 (filter_visibility_changed, hildon_app_menu_repack_filters)
517 (hildon_app_menu_repack_items):
518 Repack items and filters separately.
520 Don't repack all items, change only the ones that are needed to
523 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
525 * src/Makefile.am: added hildon-touch-selector-column.h
527 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
529 * src/hildon-touch-selector.c: added the property "text-column" to the
530 class HildonTouchSelectorColumn, and related get/set functions
531 (_default_printf_func): updated to use "text-column" property
532 * src/hildon-touch-selector-entry.c: mark as deprecated the property
533 "text-column" in his documentation, as this is now included on
534 HildonTouchSelectorColumn. The get/set_property can still be used,
535 working as a wrapper to the concrete column "text-column" property
536 (_text_column_modified): callback added in order to handle the signal
537 "notify::text-column" of the concrete HildonTouchSelectorColumn
538 (hildon_touch_selector_entry_get_text_column)
539 (hildon_touch_selector_entry_set_text_column): Added documentation, and
540 modified in order to use the HildonTouchSelectorColumn "text-column"
542 * src/hildon-time-selector.c:
543 * src/hildon-date-selector.c:
544 * examples/hildon-touch-selector-example.c
545 * examples/hildon-touch-selector-multi-cells-example.c
546 * examples/hildon-picker-button-multicolumn-example.c
547 Set the right value to "text-column" property on the creation of a new
548 column using hildon_touch_selector_append_column()
550 Fixes: NB#88644 (Hardcoded first column of the model as text column)
552 2008-09-30 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-app-menu.c
555 (hildon_app_menu_construct_child, hildon_app_menu_init): When
556 updating the layout of the menu, don't create all widgets again,
557 just repack the items in their new places.
559 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
561 * src/hildon-time-selector.c
562 (hildon_time_selector_get_time)
563 (hildon_time_selector_set_time)
564 Added documentation of these public methods
566 * src/hildon-date-button.h
567 * src/hildon-touch-selector-column.h
568 * src/hildon-time-button.h
569 * src/hildon-picker-dialog.h
570 * src/hildon-time-selector.h
571 * src/hildon-picker-button.h
572 * src/hildon-touch-selector.h
573 * src/hildon-time-picker.h
574 * src/hildon-date-selector.h
575 * src/hildon-touch-selector-entry.h
576 Modified in order to use hildon-widgets code style
578 2008-09-30 Alejandro G. Castro <alex@igalia.com>
580 Added deprecated support to the compilation process using
581 HILDON_DISABLE_DEPRECATED
583 * configure.ac: Added the --disable-deprecated to the configure
586 * src/hildon-weekday-picker.c:
587 * src/hildon-weekday-picker.h: Deprecated widget, example of how
588 to use the deprecated support. We will update the other deprecated
589 widgets status in a new patch.
591 2008-09-30 Alejandro G. Castro <alex@igalia.com>
593 * configure.ac: Fixed typo with fatal warnings support, the
594 variable name was not correct
596 2008-09-29 Alberto Garcia <agarcia@igalia.com>
598 * src/hildon-app-menu.c
599 * src/hildon-program.c: Update documentation.
601 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
603 * configure.ac: Post-release version bump.
605 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
610 * configure.ac: Pre-release version bump.
611 * debian/changelog: Updates.
613 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
615 * NEWS: Update news for previous releases.
617 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
619 * examples/hildon-touch-selector-multi-cells-example.c:
620 (create_selector): Update the example to use
621 hildon_touch_selector_append_column() with a NULL renderer and set
623 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
624 passed a NULL renderer. This is documented behavior now.
626 Allow passing a NULL renderer to hildon_touch_selector_append_column().
627 This must be used if the developer wants full control on the layout of
628 the renderers to be added to the column.
630 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
632 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
634 * src/hildon-touch-selector.c: Documentation fixes.
636 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
638 * src/hildon-wizard-dialog-private.h: Remove image and box.
639 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
640 (hildon_wizard_dialog_set_property), (response): Completely remove
641 image/icon support, and the containers required for the layout.
643 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
645 2008-09-25 Alberto Garcia <agarcia@igalia.com>
647 * src/hildon-app-menu.c: Updated documentation.
649 * src/hildon-stackable-window.c
650 (hildon_stackable_window_set_main_menu): Unref the old menu after
653 2008-09-25 Alberto Garcia <agarcia@igalia.com>
655 * src/hildon-stackable-window.c
656 (hildon_stackable_window_set_main_menu): Unref the previous menu
657 instead of destroying it.
659 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
660 floating reference and set has_user_ref_count to FALSE to make
661 HildonAppMenu act like a normal ref-counted widget and not a
664 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
667 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
669 * src/hildon-touch-selector-column.h: new file
670 * src/hildon-touch-selector.h
671 * src/hildon-touch-selector.c
672 Implemented GtkCellLayout interface, in order to allow to configure
673 the cell layout on each individual selector column
674 (hildon_touch_selector_set_column_attributes): marked as deprecated
675 * examples/hildon-touch-selector-multi-cells-example.c
676 Example of how to use the GtkCellLayout interface on the selector
678 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
680 2008-09-24 Alberto Garcia <agarcia@igalia.com>
682 * src/hildon-app-menu.h
683 * src/hildon-app-menu.c
684 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
685 (hildon_app_menu_append, hildon_app_menu_prepend):
686 New methods to prepend, insert and move items in the menu.
688 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-wizard-dialog.c:
692 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
694 (create_title): Update logical IDs and related code.
695 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
697 * src/hildon-wizard-dialog.h: Note that
698 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
699 point, as it is not used anymore.
701 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
703 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
706 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
707 shown. Do not display an icon in confirmation notes nor information
709 (hildon_note_set_button_text): Update logical ID for cancel button.
711 Fixes: NB#88850 (Update HildonNote button strings + signals)
713 2008-09-24 Alberto Garcia <agarcia@igalia.com>
715 * src/hildon-stackable-window.c
716 (hildon_stackable_window_set_main_menu): Fix compilation warning.
718 2008-09-24 Alberto Garcia <agarcia@igalia.com>
720 * src/hildon-app-menu-private.h
721 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
722 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
723 (hildon_app_menu_init, hildon_app_menu_class_init): Added
724 temporary property 'columns' to change the number of columns.
726 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
728 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
730 * examples/hildon-note-example.c: (on_information_clicked),
731 (on_confirmation_clicked), (on_progress_clicked), (main): Add
732 debugging information.
733 * src/hildon-note-private.h: Remove close_if_pressed_outside,
735 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
736 (hildon_note_rebuild): Remove special handling of tapping outside/inside
737 in order to close: this will be handled by the WM from now on.
739 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
741 2008-09-24 Alberto Garcia <agarcia@igalia.com>
743 * src/hildon-app-menu-private.h
744 * src/hildon-app-menu.c
745 (hildon_app_menu_append, hildon_app_menu_add_filter)
746 (button_visibility_changed, hildon_app_menu_apply_style)
747 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
748 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
749 layout everytime a button (item or filter) is shown or hidden.
751 * src/hildon-stackable-window.c
752 (hildon_stackable_window_set_main_menu): Destroy the old menu when
755 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
757 * src/hildon-touch-selector.c:
758 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
759 that the treeview inside the touch selector is in fremantle hildon mode
760 * examples/hildon-date-button-example.c
761 * examples/hildon-picker-button-multicolumn-example.c
762 * examples/hildon-touch-selector-entry-example.c
763 * examples/hildon-touch-selector-example.c
764 * examples/hildon-time-button-example.c
765 * examples/hildon-picker-button-example.c:
766 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
768 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
770 * examples/hildon-text-view-example.c: (main): Remove the
771 gtkrc bits, now handled by the theme.
773 2008-09-22 Alberto Garcia <agarcia@igalia.com>
775 * src/hildon-picker-button.c (hildon_picker_button_set_active):
778 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
780 * po/Makefile.am: Install properly the mo files.
781 * po/en_GB.po: Update translation, to ease testing purposes.
783 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
785 * examples/hildon-picker-button-example.c: (main): Select an item
786 in the selector before setting it to the button.
788 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
790 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
791 Update button's value if the selector has an item active.
793 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
794 'value' with the selector)
796 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
798 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
799 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
800 (hildon_picker_button_class_init): Plug the finalize method.
801 (hildon_picker_button_set_selector): If there's a previously set
802 selector, unref'it before setting a new one.
804 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
807 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
809 * src/hildon-touch-selector-entry.c:
810 (hildon_touch_selector_entry_changed): Check if there is no text
811 selected before setting the entry text.
814 2008-09-15 Alberto Garcia <agarcia@igalia.com>
816 * src/hildon-touch-selector.h
817 * src/hildon-touch-selector.c
818 (hildon_touch_selector_get_active)
819 (hildon_touch_selector_set_active): New methods to set/get the
820 index of the selected item.
822 * src/hildon-picker-button.h
823 * src/hildon-picker-button.c
824 (hildon_picker_button_get_active)
825 (hildon_picker_button_set_active): New methods to set/get the
826 index of the selected item.
828 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
830 * configure.ac: post-release version bump.
832 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
836 * configure.ac: Pre-release version bump.
837 * debian/changelog: Updates.
838 * debian/control: Add myself as maintainer and depend on l10n
841 2008-09-15 Alberto Garcia <agarcia@igalia.com>
843 * src/hildon-window.c
844 (hildon_window_set_main_menu)
845 * src/hildon-stackable-window.c
846 (hildon_stackable_window_set_main_menu):
847 Updated documentation.
849 2008-09-15 Alberto Garcia <agarcia@igalia.com>
851 * src/hildon-date-selector.c (hildon_date_selector_finalize):
852 Don't free selector->priv manually.
855 2008-09-12 Alejandro G. Castro <alex@igalia.com>
858 (hildon_gtk_window_set_progress_indicator):
859 * src/hildon-gtk.h: Added the new API
860 hildon_gtk_window_set_progress_indicator, it changes the state of
861 the window progress hint.
863 2008-09-12 Alberto Garcia <agarcia@igalia.com>
865 * src/hildon-button.c
866 * src/hildon-stackable-window.c: Minor documentation updates.
868 2008-09-12 Alberto Garcia <agarcia@igalia.com>
870 * src/hildon-stackable-window.c: Updated documentation.
872 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
874 * src/hildon-defines.h: Update margins definitions
875 to the Fremantle sizes.
878 2008-09-12 Alejandro G. Castro <alex@igalia.com>
880 * src/hildon-touch-selector.c,
881 (_hildon_touch_selector_set_model): Cleaning the code after
882 review, removed g_print and #if 0 from the code.
884 2008-09-11 Alberto Garcia <agarcia@igalia.com>
886 * src/hildon-edit-toolbar.c: Update documentation.
888 2008-09-11 Alberto Garcia <agarcia@igalia.com>
890 * src/hildon-check-button.h
891 * src/hildon-check-button.c
892 (hildon_check_button_set_label, hildon_check_button_get_label)
893 * examples/hildon-check-button-example.c
895 Removed deprecated methods.
897 2008-09-11 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-text-view.c:
900 Add sample code to the documentation.
903 * src/hildon-text-view.h:
904 Minor cosmetic changes.
906 * src/hildon-entry.c:
907 Add sample code to the documentation.
908 (hildon_entry_init, hildon_entry_refresh_contents):
909 Don't allow NULL values in the placeholder.
911 2008-09-10 Alberto Garcia <agarcia@igalia.com>
913 * doc/hildon-docs.sgml
915 * examples/Makefile.am
916 * examples/hildon-text-view-example.c
918 * src/hildon-text-view.c
919 * src/hildon-text-view.h
921 New HildonTextView widget, with example.
923 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
925 * po/POTFILES.in: Add missing files with translatable strings.
926 Partially fixes NB#88287.
928 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
930 * examples/hildon-pannable-area-example-2.c: (main): No need to
931 set the cellrenderer height inside hildon touch lists, the theme does
934 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
936 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
937 they are integrated in the theme.
939 2008-09-09 Alberto Garcia <agarcia@igalia.com>
941 * examples/hildon-entry-example.c: Update the example adding
942 widgets to modify the text and the placeholder of the HildonEntry.
944 * src/hildon-entry.c: Show the placeholder everytime the widget
945 is empty and loses the focus.
947 2008-09-09 Alejandro G. Castro <alex@igalia.com>
949 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
951 * src/hildon-pannable-area.c,
952 (hildon_pannable_area_size_request): Fixed bug in height
953 requisition, avoid increasing size and add border twice.
955 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
957 * configure.ac: postrelease version bump.
959 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
963 * configure.ac: Prerelease version bump.
964 * debian/changelog: update.
965 * debian/rules: make -dbg package contain useful debugging symbols.
967 2008-09-08 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-dialog.h
970 * src/hildon-dialog.c
971 (hildon_dialog_add_button, hildon_dialog_add_buttons):
972 New methods to add buttons with finger size.
973 (hildon_dialog_new_with_buttons):
974 Create buttons with finger size.
976 * examples/hildon-dialog-example.c (main): Use HildonDialog
977 methods to add buttons.
979 2008-09-08 Alberto Garcia <agarcia@igalia.com>
981 * src/hildon-entry.c: Updated HildonButton documentation.
983 2008-09-08 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
986 button value label with (FALSE, FALSE) to prevent NB#88126 from
989 2008-09-08 Alejandro G. Castro <alex@igalia.com>
991 * examples/hildon-pannable-area-example.c,
992 (main): Removed examples panning a vbox inside a pannable
993 area. Check bug NB#87965
995 2008-09-08 Alejandro G. Castro <alex@igalia.com>
997 Patch contributed by Kris Rietveld (kris@imendio.com)
999 * src/hildon-pannable-area.c,
1000 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1001 get_size and get_position, this saves an X server roundtrip.
1003 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1005 * doc/hildon-docs.sgml
1007 * examples/Makefile.am
1008 * examples/hildon-entry-example.c
1010 * src/hildon-entry.c
1011 * src/hildon-entry.h
1013 New HildonEntry widget, with example.
1015 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1017 * src/hildon-button.c (hildon_button_construct_child): Pack the
1018 image with expand == fill == FALSE. This is a workaround for a bug
1021 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1023 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1024 labels for the text column, to make it more look more dynamic.
1026 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1028 * src/hildon-time-selector.c
1029 Define gettext auxiliar macro N_
1030 (_create_minutes_model)
1031 (_create_hours_model)
1032 (_create_ampm_model): use of strftime in order to fill the model
1033 * src/hildon-date-selector.c
1034 (hildon_date_selector_finalize):
1035 (_locales_init): remove the logic related to get the name of the months
1036 using nl_langinfo, as it is not required anymore
1038 (_create_year_model)
1039 (_create_month_model)
1040 (_update_day_model): use of strftime in order to fill the model properly
1043 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1045 * src/hildon-button.h
1046 * src/hildon-button.c (hildon_button_get_image): New method to
1049 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-touch-selector.c:
1052 (hildon_touch_selector_remove_column): Remove from the correct parent
1053 and also remove the list element and free it.
1056 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1058 * src/hildon-time-selector.c
1059 (_create_hours_model): change the range on 12h ampm format in order to use
1060 a 12-11 range instead of previous 01-12 range
1061 (hildon_time_selector_set_time): change the way to select the current time
1062 on 12h ampm format, due the change on the range
1063 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1066 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1068 * src/hildon-touch-selector.c
1069 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1070 in order to allow use this function on multiple row selection mode if
1071 the column is different that the first one
1074 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1076 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1077 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1079 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1081 * src/hildon-date-selector.h: clean some comments, now on the .c
1082 * src/hildon-date-selector.c
1083 (hildon_date_selector_select_month): first implementation
1084 (hildon_date_selector_select_day): added documentation, reimplemented
1085 using hildon_date_selector_select_current_date to avoid repeat code
1088 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1090 Reviewed interaction logic based on device experiences, refactored
1093 * src/hildon-pannable-area.c,
1094 (hildon_pannable_area_class_init): Updated default vmax speed.
1095 (hildon_pannable_area_calculate_velocity): Added this function, it
1096 avoids duplicate valocity calculation. Adjusted calculation to
1097 avoid problems with zero dist events.
1099 (hildon_pannable_area_motion_notify_cb): Now we use the
1100 calculate_velocity function.
1102 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1104 * src/hildon-date-selector.c
1105 (hildon_date_selector_select_current_date): fix the day range check
1106 as it failed using the last day of the current month
1109 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1111 * src/hildon-touch-selector.c
1112 (hildon_touch_selector_get_num_columns): added a parameter validation
1115 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1117 * examples/Makefile.am
1118 * examples/hildon-edit-toolbar-example.c: Example of the
1119 HildonEditToolbar widget.
1121 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1123 * configure.ac: postrelease version bump.
1125 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1129 * configure.ac: prerelease version bump.
1130 * debian/changelog: update.
1132 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1134 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1135 renderer to display stock icons in the touch list. Also, set the sizes
1136 to the recommended in the style guide.
1138 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1139 * src/hildon-touch-selector.h
1140 (hildon_touch_selector_set_active_iter): renamed, now is
1141 hildon_touch_selector_select_iter
1142 (hildon_touch_selector_get_active_iter): renamed, now is
1143 hildon_touch_selector_get_selected
1144 (hildon_touch_selector_unselect_iter): added
1145 * src/hildon-touch-selector.c
1146 Update after API modification (methods renamed)
1147 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1148 order to avoid problems selecting multiple elements on the column
1149 (hildon_touch_selector_unselect_iter): added the implementation
1150 * src/hildon-time-selector.c
1151 * src/hildon-date-selector.c
1152 * src/hildon-touch-selector-entry.c
1153 Update methods calls after hildon-touch-selector.h API modification (methods
1156 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1158 * src/hildon-stackable-window.c
1159 (hildon_stackable_window_finalize): Call the parent class's finalize.
1161 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1163 * examples/hildon-touch-selector-example.c: (create_selector): Use
1164 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1167 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1169 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1170 set a cell background color, to respect theming.
1172 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1174 * doc/hildon-docs.sgml
1177 * src/hildon-edit-toolbar.c
1178 * src/hildon-edit-toolbar.h
1179 * src/hildon.h: New HildonEditToolbar widget.
1181 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1183 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1186 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1187 * src/hildon-touch-selector.c
1188 (_create_new_column): use g_object_set instead of two g_object_set_property
1190 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1191 * src/hildon-touch-selector.c
1192 (_create_new_column): use of hildon_gtk_tree_view_new to create
1193 the treeview, instead of use directly g_object_new
1194 (_create_new_column): update the property name "vindicator-mode" for the
1195 new one "vscrollbar-policy"
1196 * examples/hildon-date-button-example.c
1197 * examples/hildon-picker-button-multicolumn-example.c
1198 * examples/hildon-touch-selector-entry-example.c
1199 * examples/hildon-touch-selector-example.c
1200 * examples/hildon-time-button-example.c
1201 * examples/hildon-picker-button-example.c
1202 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1203 to all the treeviews inside a pannable area.
1205 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1207 * src/hildon-button.h
1208 * src/hildon-button.c (hildon_button_init)
1209 (hildon_button_set_arrangement, hildon_button_set_alignment)
1210 (hildon_button_set_title_alignment)
1211 (hildon_button_set_value_alignment)
1212 (hildon_button_set_image_alignment)
1213 (hildon_button_construct_child): New methods to set the alignment
1214 of the individual components of the button (title, value,
1215 image). Also, new method to alter the xscale and yscale properties
1216 of the GtkAlignment inside the button, so more complex layouts can
1219 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1221 * src/hildon-button.c (hildon_button_style_set)
1222 (hildon_button_class_init, hildon_button_set_arrangement)
1223 (hildon_button_construct_child): Apply style properties
1224 correctly. Use the 'image-spacing' style property too.
1226 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1228 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1229 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1232 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1234 * src/hildon-pannable-area.c,
1235 (hildon_pannable_area_size_request): Fixed problem with
1236 pannable-area size_request.
1238 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1240 Added management for the grab-focus to a child widget, like a
1241 range, we need to fade out the scrollbar when releasing.
1243 * src/hildon-pannable-area.c,
1244 (hildon_pannable_area_init): Connected the grab-focus signal to
1246 (hildon_pannable_area_grab_notify): Added this function in order
1247 to manage the situation when the grab-focus ends. We have to
1248 fade-out the scrollbar.
1250 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1252 * src/hildon-app-menu.c: Minor documentation update.
1254 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-app-menu.c
1257 * examples/hildon-app-menu-example.c (create_menu): Update
1258 examples and documentation to explain how to connect callbacks.
1260 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1262 * examples/hildon-button-example.c
1263 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1264 hildon_stackable_window_new instead of gtk_window_new
1266 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1268 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1269 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1270 (hildon_pannable_area_set_property),
1271 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1272 (hildon_pannable_area_unrealize),
1273 (hildon_pannable_area_size_request),
1274 (hildon_pannable_area_size_allocate),
1275 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1276 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1277 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1278 (hildon_pannable_area_initial_effect),
1279 (hildon_pannable_area_redraw),
1280 (hildon_pannable_area_scroll_indicator_fade),
1281 (hildon_pannable_area_expose_event),
1282 (hildon_pannable_area_get_topmost), (synth_crossing),
1283 (hildon_pannable_area_button_press_cb),
1284 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1285 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1286 (hildon_pannable_area_motion_notify_cb),
1287 (hildon_pannable_area_button_release_cb),
1288 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1289 (hildon_pannable_area_remove),
1290 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1291 chage the code layout to a more GtkWidget like. Review the use of
1294 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1296 * examples/hildon-pannable-area-example-4.c,
1297 (main): Modified the name of the hindicator_mode to
1300 * src/hildon-pannable-area.c,
1301 (hildon_pannable_area_class_init),
1302 (hildon_pannable_area_motion_notify_cb),
1303 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1304 we have reduced the amount of signals and managed reviewed its
1305 rationale. Changed the default decelerate value.
1307 (hildon_pannable_area_add),
1308 (hildon_pannable_area_redraw): Refactored functions.
1310 (hildon_pannable_area_init),
1311 (hildon_pannable_area_get_property),
1312 (hildon_pannable_area_set_property):
1313 (hildon_pannable_draw_vscroll),
1314 (hildon_pannable_draw_hscroll),
1315 (hildon_pannable_area_initial_effect),
1316 (hildon_pannable_area_expose_event),
1317 (hildon_pannable_area_scroll),
1318 (hildon_pannable_area_button_press_cb),
1319 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1320 and vindicator_mode with hscrollbar_policy and
1321 vscrollbar_policy. Replaced hscroll and vscroll with
1322 hscroll_visible and vscroll_visible.
1324 (hildon_pannable_area_refresh): Refactor the function, remove
1325 variables and check the calls to this function, added resize
1326 conditions in case the children change their layout.
1328 (hildon_pannable_area_size_request): Added more detailed
1329 size_request calculation.
1332 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1334 * src/hildon-color-chooser.c
1335 (init_borders): use the correct gtk_border_free instead of g_free, to
1336 avoid a crash when this widget is used (ie: the three color selection
1339 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1341 * src/hildon-check-button.c,
1342 (hildon_check_button_set_active): Fixed problem when setting the
1343 active value, the widget was not redrawn.
1345 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1347 * src/hildon-pannable-area.c,
1348 (hildon_pannable_area_refresh),
1349 (hildon_pannable_area_scroll),
1350 (hildon_pannable_area_motion_notify_cb): Small code style change.
1352 (hildon_pannable_area_class_init): Default initial_hint set to
1353 FALSE, it is not in the specs.
1355 (hildon_pannable_area_initial_effect),
1356 (hildon_pannable_area_expose_event),
1357 (hildon_pannable_area_map),
1358 (hildon_pannable_area_init): Moved the launching point of the
1359 initial effect, it was in map but the sizes where not correct in
1360 that method so we do not know if we have the reproduce it. Now it
1361 is placed in the expose_event method and uses a variable to
1362 reproduce it just once.
1364 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1366 * src/hildon-pannable-area.c,
1367 (hildon_pannable_draw_vscroll),
1368 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1369 position allowed for the scrollbars.
1371 (hildon_pannable_area_size_allocate): Small style change.
1373 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1375 * src/hildon-pannable-area.c,
1376 (hildon_pannable_area_scroll_indicator_fade),
1377 (hildon_pannable_area_button_press_cb),
1378 (hildon_pannable_area_button_release_cb),
1379 (hildon_pannable_area_scroll_cb),
1380 (hildon_pannable_area_expose_event),
1381 (hildon_pannable_area_init): Added the define parameter
1382 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1383 and refactor the fade variable.
1385 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1387 * src/hildon-pannable-area.c,
1388 (hildon_pannable_area_redraw),
1389 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1390 lines, we were reimplemeting the redraw code.
1392 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1394 * src/hildon-pannable-area.c,
1395 (hildon_pannable_area_scroll_cb),
1396 (hildon_pannable_area_realize),
1397 (hildon_pannable_area_class_init): Added scroll_event management
1398 for pannable area, now we can scroll the usual desktop method.
1400 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1401 initialization of the parameters should depend on idle_id.
1403 (hildon_pannable_area_init),
1404 (hildon_pannable_area_map): Small code style modifications
1406 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1408 * src/hildon-pannable-area.c
1409 (hildon_pannable_area_button_press_cb),
1410 (hildon_pannable_area_motion_notify_cb),
1411 (hildon_pannable_area_button_release_cb),
1412 (hildon_pannable_area_size_allocate),
1413 (hildon_pannable_area_scroll_to): Improved the timeouts
1414 management, we avoid creating them each time.
1416 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1418 * src/hildon-pannable-area.c:
1419 (hildon_pannable_area_refresh),
1420 (hildon_pannable_area_motion_notify_cb),
1421 (hildon_pannable_area_class_init):
1422 * src/hildon-pannable-area.h:
1423 * src/hildon-touch-selector.c
1424 (_create_new_column):
1425 * examples/hildon-pannable-area-example-4.c:
1426 (horizontal_movement),
1427 (vertical_movement),
1429 Replaced the names of enums in the HildonPannableArea:
1430 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
1431 HILDON_MOVEMENT_MODE_*
1432 - HILDON_PANNABLE_AREA_MOV_* ->
1434 - Removed HildonPannableAreaIndicatorMode, now we
1437 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1439 * examples/hildon-pannable-area-touch-grid-example.c
1440 * examples/hildon-pannable-area-touch-list-example.c: Fix
1441 compilation warnings.
1443 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-gtk.c (hildon_gtk_button_new)
1446 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
1447 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
1448 images overriding the value of the "gtk-button-images" setting.
1450 2008-08-14 Alberto Garcia <agarcia@igalia.com>
1452 * src/hildon-check-button.c (hildon_check_button_new):
1453 Instead of using a custom container, display the label and the
1454 checkbox using the standard GtkButton API.
1456 * examples/hildon-check-button-example.c (main): Don't use
1457 hildon_check_button_set_label() anymore
1459 * src/hildon-check-button.h
1460 * src/hildon-check-button.c
1461 (hildon_check_button_set_label, hildon_check_button_get_label):
1462 Set as deprecated, now we're using gtk_button_{get,set}_label()
1464 2008-08-14 Alejandro G. Castro <alex@igalia.com>
1466 * src/hildon-pannable-area.c,
1467 (hildon_pannable_area_get_topmost): Fixed bug with click in the
1468 GtkTreeview first line we detected it after the inclusion of the
1469 GtkWindowImpl in gtk+. We now check if the window is visible, not
1470 just if the pointer is over the window.
1471 (hildon_pannable_axis_scroll),
1472 (hildon_pannable_area_expose_event): Small style changes.
1474 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-button.c: Update documentation.
1478 2008-08-13 Alberto Garcia <agarcia@igalia.com>
1480 * examples/hildon-button-example.c: Add a switch to show images in
1483 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1485 * doc/hildon-docs.sgml: Some docs reorganization.
1487 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1489 * examples/hildon-pannable-area-touch-list-example.c
1491 * examples/hildon-pannable-area-touch-grid-example.c
1492 (create_icon_view): Use gtk_{tree,icon}_view_new() and
1493 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
1494 Fix memory leak when setting the tree model.
1496 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1500 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
1502 * doc/hildon.types: Remove duplicated hildon_window_get_type
1503 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
1504 documentation comment.
1506 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1508 * doc/Makefile.am: Complete list of private headers.
1510 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1512 * doc/hildon-docs.sgml
1513 * src/hildon-app-menu.c
1514 * src/hildon-bread-crumb.c
1515 * src/hildon-button.c
1517 * src/hildon-program.c
1518 * src/hildon-stackable-window.c
1519 * src/hildon-window.c: Lots of documentation updates.
1521 2008-08-12 Alberto Garcia <agarcia@igalia.com>
1523 * debian/control: Depend on Gtk 2:2.12.9-0osso3
1525 * configure.ac: Require Gtk+ 2.12.9 at least
1527 2008-08-12 Alejandro G. Castro <alex@igalia.com>
1529 * src/hildon-pannable-area.c
1530 (hildon_pannable_area_scroll_indicator_fade),
1531 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
1532 to protect the return of this timeout callbacks, avoiding deadlocks.
1534 2008-08-12 Christian Dywan <christian@imendio.com>
1537 * src/hildon-*.h: Ensure a consistent include order,
1538 include <gtk/gtk.h> instead of particular files and
1539 only include the topmost header in the gtk stack. See NB #39857
1541 2008-08-12 Christian Dywan <christian@imendio.com>
1543 * src/hildon-picker-dialog.c
1544 * src/hildon-touch-selector.c: Fix warnings about unused and
1545 uninitialized variables.
1547 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1549 * examples/Makefile.am
1550 * examples/hildon-check-button-example.c: Example of the hildon
1553 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1555 * src/hildon-window.h
1556 * src/hildon-window.c (hildon_window_class_init)
1557 (hildon_window_unset_program): Don't make
1558 hildon_window_unset_program a virtual function anymore.
1560 * src/hildon-stackable-window.c: Update documentation
1562 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1565 * doc/hildon-docs.sgml
1566 * doc/visual_index.xml
1567 * src/hildon-defines.c
1569 * src/hildon-helper.c
1570 * src/hildon-range-editor.c: Lots of documentation fixes.
1572 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1574 * examples/hildon-picker-button-multicolumn-example.c
1575 (create_touch_selector): Fix compilation warning.
1577 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1579 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
1580 (hildon_pannable_area_button_release_cb)
1581 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
1583 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1585 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
1588 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1590 * src/hildon-bread-crumb-trail.h
1591 * src/hildon-date-editor.c
1592 * src/hildon-date-selector.c
1593 * src/hildon-pannable-area.c
1594 * src/hildon-picker-dialog.c
1595 * src/hildon-time-selector.c
1596 * src/hildon-touch-selector-entry.c
1597 * src/hildon-touch-selector.c
1598 * src/hildon-touch-selector.h: Misc documentation fixes
1600 2008-08-11 Alberto Garcia <agarcia@igalia.com>
1602 * examples/hildon-date-editor-example.c (main): Updated date
1605 * examples/hildon-note-example.c (on_confirmation_clicked):
1606 Updated confirmation note example.
1608 * src/hildon-date-editor.c
1609 * src/hildon-note.c: Updated sample programs in documentation.
1612 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1614 * src/hildon-date-button.h:
1615 * src/hildon-picker-button.h:
1616 * src/hildon-time-button.c:
1617 * src/hildon-time-button.h:
1619 Some declarations changes to allow gtk-doc to document the widgets
1622 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1624 * src/hildon-date-button.c: Document the widget.
1625 * src/hildon-time-button.c: Document the widget.
1627 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
1629 * src/hildon-picker-button.c: Document the widget.
1630 * src/hildon-touch-selector-entry.c: Document the widget.
1632 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1634 * doc/hildon-docs.sgml
1637 * src/hildon-check-button.h
1638 * src/hildon-check-button.c: New functions to create the Hildon
1642 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
1644 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1646 * src/hildon-button.h
1647 * src/hildon-button.c
1648 (hildon_button_add_title_size_group)
1649 (hildon_button_add_value_size_group)
1650 (hildon_button_add_image_size_group)
1651 (hildon_button_add_size_groups): New functions to set size groups
1652 for the button labels and image.
1653 (hildon_button_new_full): Removed
1655 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
1657 * src/hildon-time-selector.c
1658 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
1659 in order to avoid a crash if gconf is not available
1661 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1663 * src/hildon-button.c (hildon_button_set_arrangement)
1664 (hildon_button_construct_child): Don't construct the button child
1665 before setting the arrangement.
1667 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1669 * src/hildon-program-private.h
1670 * src/hildon-program.c
1671 * src/hildon-program.h
1672 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
1673 (hildon_program_peek_window_stack)
1674 (hildon_program_pop_window_stack)
1675 (hildon_program_go_to_root_window): HildonProgram now has a
1676 separate list for stackable windows. Functions are provided to
1677 manage that list with a stack-like API.
1679 * src/hildon-stackable-window.c: Stackable window management is
1680 now much simpler with the new HildonProgram API. Windows no
1681 longer need to be manually added to the program, they're
1682 automatically pushed to the top of the stack when shown.
1684 * examples/hildon-stackable-window-example.c: Updated example to
1685 reflect the API changes.
1687 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1689 * src/hildon-touch-selector.c: Comment out unimplemented
1690 hildon_touch_selector_insert_column() to avoid a compile warning.
1692 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
1694 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1695 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
1696 (hildon_touch_selector_set_column_selection_mode),
1697 (_hildon_touch_selector_set_model),
1698 (hildon_touch_selector_set_model):
1700 Complete review of HildonTouchSelector documentation.
1702 2008-08-08 Alberto Garcia <agarcia@igalia.com>
1704 * doc/hildon-docs.sgml
1708 * src/hildon-gtk.c: Convenience functions for standard Gtk
1709 widgets, used to easily perform frequent operations.
1711 * src/hildon-button-helpers.h
1712 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
1714 * src/hildon-helper.h
1715 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
1716 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
1718 * src/hildon-button.h
1719 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
1721 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1723 * src/hildon-button.c (hildon_button_init)
1724 (hildon_button_set_arrangement, hildon_button_construct_child):
1725 Pack the image and the labels inside the same GtkAlignment so
1726 gtk_button_set_alignment() can be used
1728 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1730 * src/hildon-button.h
1731 * src/hildon-button.c
1732 (hildon_button_init, hildon_button_set_image)
1733 (hildon_button_set_image_position)
1734 (hildon_button_construct_child): New functions to add an image to
1737 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1739 * src/hildon-date-button.c
1740 * src/hildon-picker-button.c
1741 * src/hildon-time-button.c
1742 * src/hildon-button.c:
1743 (hildon_button_class_init): "size-flags" renamed to "size"
1744 (hildon_button_set_title): Hide the title label if set to NULL.
1746 2008-08-07 Alberto Garcia <agarcia@igalia.com>
1748 HildonButtonFlags split into HildonButtonArrangement (to set the
1749 button layout) and HildonSizeType (which can be used for any
1752 * src/hildon-button.h
1753 * src/hildon-button.c
1754 (hildon_button_class_init)
1755 (hildon_button_set_arrangement)
1756 (hildon_button_set_property): New "size-flags"
1757 property. "arrangement-flags" renamed to "arrangement".
1758 (hildon_button_new, hildon_button_new_with_text)
1759 (hildon_button_new_full): Constructors updated to reflect type changes.
1761 * src/hildon-helper.h
1762 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
1763 to set the size of a widget.
1767 * src/hildon-button-helpers.c
1768 * src/hildon-button-helpers.h: New hildon-button-helpers module.
1770 * src/hildon-date-button.c
1771 * src/hildon-date-button.h
1772 * src/hildon-picker-button.c
1773 * src/hildon-picker-button.h
1774 * src/hildon-time-button.c
1775 * src/hildon-time-button.h: Updated widgets to reflect
1776 HildonButton API changes.
1778 * examples/hildon-button-example.c
1779 * examples/hildon-date-button-example.c
1780 * examples/hildon-picker-button-example.c
1781 * examples/hildon-picker-button-multicolumn-example.c
1782 * examples/hildon-time-button-example.c
1783 * examples/hildon-touch-selector-entry-example.c
1784 * examples/hildon-touch-selector-example.c: Updated examples to
1785 reflect HildonButton API changes.
1787 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1789 * doc/hildon-docs.sgml:
1791 * examples/Makefile.am:
1792 * examples/hildon-touch-selector-entry-example.c:
1794 * src/hildon-touch-selector-entry.c:
1795 * src/hildon-touch-selector-entry.h:
1798 Moved HildonTouchSelectorEntry from sandbox. Added its
1799 documentation and examples.
1801 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1803 * src/hildon-touch-selector.h:
1804 * examples/hildon-picker-button-multicolumn-example.c:
1805 (hildon_touch_selector_append_text_column): Add a gboolean
1806 parameter to determine if text must be centered in the column.
1808 * src/hildon-date-selector.c: (hildon_date_selector_init):
1809 * src/hildon-time-selector.c: (hildon_time_selector_init):
1810 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
1811 (create_touch_selector): Update widgets and example to reflect
1814 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
1816 * src/hildon-touch-selector.c:
1817 (hildon_touch_selector_set_active_iter): Set also the cursor in
1820 2008-08-06 Alberto Garcia <agarcia@igalia.com>
1822 * doc/hildon-docs.sgml
1825 * src/hildon-toggle-button.c
1826 * src/hildon-toggle-button.h
1827 * src/hildon.h: Removed HildonToggleButton widget, a derived
1828 class is not necessary for this.
1830 2008-08-06 Alejandro G. Castro <alex@igalia.com>
1832 * src/hildon-pannable-area.c,
1833 (hildon_pannable_area_realize),
1834 (hildon_pannable_area_size_allocate): Code refactoring, add tests
1837 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
1840 "done" button the default widget for the dialog.
1842 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1844 * src/hildon-touch-selector.c:
1845 (hildon_touch_selector_class_init),
1846 (hildon_touch_selector_get_property),
1847 (_hildon_touch_selector_set_model),
1848 (_hildon_touch_selector_has_multiple_selection),
1849 (hildon_touch_selector_has_multiple_selection):
1850 Add a "has-multiple-selection" property with a virtual
1851 has_multiple_selection() method to allow derived classes to
1852 override the default value for it. See the method and property
1853 documentation for details.
1855 * src/hildon-touch-selector.h: Add the new API.
1857 * src/hildon-picker-dialog.c: (requires_done_button): Call
1858 hildon_touch_selector_has_multiple_selection() instead of
1859 determining the need for a button itself.
1861 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1863 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1864 (_hildon_touch_selector_set_model),
1865 (hildon_touch_selector_set_model): Move working code to
1866 _hildon_touch_selector_set_mode(). Call the class method instead.
1868 * src/hildon-touch-selector.h: Add (*set_model) to
1869 HildonTouchSelectorClass.
1871 Make hildon_touch_selector_set_model() a virtual method, so that
1872 derived classes can extend it and do fancy stuff with the model.
1874 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
1876 * configure.ac: Set back the tarname in AC_INIT to hildon.
1878 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
1882 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
1883 instead of libesd (NB#86876). Volume handling is still an open issue.
1885 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
1888 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1890 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
1891 (hildon_touch_selector_append_column): Make the widget a GtkVBox
1892 derived class to ease placement of an entry widget in
1893 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
1894 end, where the selector columns are packed now.
1896 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-picker-button.c: Removed the simple _text() API.
1899 * src/hildon-picker-button.h: Likewise.
1901 * src/hildon-touch-selector.h:
1902 * src/hildon-touch-selector.c:
1903 (hildon_touch_selector_new_text),
1904 (hildon_touch_selector_append_text),
1905 (hildon_touch_selector_prepend_text),
1906 (hildon_touch_selector_insert_text):
1908 Moved the simple _text() API from HildonPickerButton to
1909 HildonTouchPicker, to provide better escalability and not to tie
1910 that API to HildonPickerButton.
1912 * examples/hildon-picker-button-example.c: (main): Example updated.
1914 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1916 * src/hildon-button.c: Updated documentation.
1918 * examples/hildon-button-example.c: Add the posibility to create
1919 the buttons using horizontal layout for title and value.
1921 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-app-menu-private.h
1924 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
1925 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
1926 GtkSizeGroup for the filters, use the 'homogeneous' property of
1929 2008-07-31 Alberto Garcia <agarcia@igalia.com>
1931 * examples/hildon-button-example.c: Updated example.
1933 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
1935 * doc/hildon-docs.sgml:
1938 Update documentation.
1940 * examples/Makefile.am: Update renamed examples.
1942 * examples/hildon-picker-button-multicolumn-example.c:
1943 (create_touch_selector), (main): Update after the rename.
1945 * examples/hildon-touch-picker-example.c: Removed.
1946 * examples/hildon-touch-selector-example.c: (value_changed),
1947 (create_selector), (get_visible_content), (main): Renamed from
1948 hildon-touch-picker-example.c
1950 * src/Makefile.am: Updated renamed files.
1952 * src/hildon-date-button.c: (hildon_date_button_init),
1953 (hildon_date_button_get_date), (hildon_date_button_set_date):
1954 * src/hildon-date-selector.c: (hildon_date_selector_init),
1955 (_custom_print_func), (_update_day_model),
1956 (_manage_selector_change_cb),
1957 (hildon_date_selector_select_current_date),
1958 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
1959 * src/hildon-date-selector.h:
1960 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1961 (hildon_picker_button_set_property),
1962 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1963 (hildon_picker_button_init), (hildon_picker_button_new_text),
1964 (hildon_picker_button_append_text),
1965 (hildon_picker_button_prepend_text),
1966 (hildon_picker_button_insert_text),
1967 (hildon_picker_button_set_selector),
1968 (hildon_picker_button_get_selector):
1969 * src/hildon-picker-button.h:
1970 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
1971 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
1972 (_update_title_on_selector_changed_cb), (requires_done_button),
1973 (_hildon_picker_dialog_set_selector),
1974 (hildon_picker_dialog_set_selector),
1975 (hildon_picker_dialog_get_selector):
1976 * src/hildon-picker-dialog.h:
1977 * src/hildon-time-button.c: (hildon_time_button_init),
1978 (hildon_time_button_get_time), (hildon_time_button_set_time):
1979 * src/hildon-time-selector.c: (hildon_time_selector_init),
1980 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
1981 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
1982 * src/hildon-time-selector.h:
1985 Massive code updates after the rename.
1987 * src/hildon-touch-picker.c: Removed.
1988 * src/hildon-touch-picker.h: Removed.
1990 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
1991 (hildon_touch_selector_init), (hildon_touch_selector_map),
1992 (hildon_touch_selector_remove), (_default_print_func),
1993 (_selection_changed_cb), (_create_new_column),
1994 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
1995 (hildon_touch_selector_append_text_column),
1996 (hildon_touch_selector_remove_column),
1997 (hildon_touch_selector_set_column_attributes),
1998 (hildon_touch_selector_insert_column),
1999 (hildon_touch_selector_get_num_columns),
2000 (hildon_touch_selector_get_column_selection_mode),
2001 (hildon_touch_selector_set_column_selection_mode),
2002 (hildon_touch_selector_set_print_func),
2003 (hildon_touch_selector_get_print_func),
2004 (hildon_touch_selector_get_active_iter),
2005 (hildon_touch_selector_set_active_iter),
2006 (hildon_touch_selector_get_selected_rows),
2007 (hildon_touch_selector_get_model),
2008 (hildon_touch_selector_set_model),
2009 (hildon_touch_selector_get_current_text),
2010 (_hildon_touch_selector_center_on_selected_items):
2011 * src/hildon-touch-selector.h: Renamed from
2012 hildon-touch-picker.[ch]
2014 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2015 references, code examples, and related documentation.
2017 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2019 * doc/hildon-docs.sgml
2022 * src/hildon-toggle-button.c
2023 * src/hildon-toggle-button.h
2024 * src/hildon.h: New HildonToggleButton widget.
2026 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2028 * src/hildon-button.c: Add API documentation.
2029 (hildon_button_set_size_groups): Check input parameters
2031 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2033 * src/hildon-pannable-area.c
2034 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2035 effect after reaching the movement thredshold. This way we start
2036 using the distance after passing the thredshold.
2038 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-button.c: (hildon_button_set_property): Use the
2041 appropriate g_value_get_flags() method.
2043 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2045 * doc/hildon-docs.sgml:
2048 Add the touch pickers, picker dialogs, and picker button widgets
2049 to the documentation.
2051 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-button.c: (hildon_button_set_property),
2054 (hildon_button_class_init): Make "arrangement-flags" a proper
2055 G_TYPE_FLAGS derived property.
2057 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2059 * examples/Makefile.am: Add below examples.
2060 * examples/hildon-date-button-example.c:
2061 * examples/hildon-picker-button-example.c:
2062 * examples/hildon-picker-button-multicolumn-example.c:
2063 * examples/hildon-time-button-example.c:
2064 * examples/hildon-touch-picker-example.c:
2066 Add examples for the recently added touch pickers,
2067 picker dialogs, and picker button widgets.
2069 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2071 * src/hildon-button.c: Add some API documentation
2073 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-button.h
2076 * src/hildon-button.c
2078 (hildon_button_new_with_text): New constructor to create a button
2079 with no text at all.
2080 (hildon_button_init, hildon_button_set_arrangement)
2081 (hildon_button_set_title, hildon_button_set_value)
2082 (hildon_button_set_text)
2083 (hildon_button_construct_child): Hide the value when it's not used
2084 so the rest of the text is properly aligned.
2085 Allow creating buttons with arbitrary widgets inside (not just
2086 title/value labels).
2088 * examples/hildon-button-example.c (vertical_buttons_window)
2089 (horizontal_buttons_window): Update example to use new API.
2091 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2093 * src/Makefile.am: Added HildonTimeButton.
2094 * src/hildon-time-button.c: Added missing LGPL header.
2095 * src/hildon-time-button.h: Added missing LGPL header.
2096 * src/hildon.h: Add hildon-time-button.h
2098 Copied HildonTimeButton from sandbox to trunk. Future work on this
2099 widget must take place in trunk.
2101 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/Makefile.am: Added HildonDateButton.
2104 * src/hildon-date-button.c: Update includes.
2105 * src/hildon.h: Add hildon-date-button.h
2107 Copied HildonDateButton from sandbox to trunk. Future work on this
2108 widget must take place in trunk.
2110 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2112 * src/Makefile.am: Added HildonPickerButton.
2113 * src/hildon-picker-button.h: Update includes.
2114 * src/hildon.h: Add hildon-picker-button.h
2116 Copied HildonPickerButton from sandbox to trunk. Future work on
2117 this widget must take place in trunk.
2119 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2121 * src/Makefile.am: Added HildonPickerDialog.
2122 * src/hildon-picker-dialog.c: Update includes.
2123 * src/hildon.h: Add hildon-picker-dialog.h
2125 Copied HildonPickerDialog from sandbox to trunk. Future work
2126 on this widget must take place in trunk.
2128 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2130 * src/Makefile.am: Added HildonTimeSelector.
2131 * src/hildon.h: Add hildon-time-selector.h
2133 Copied HildonTimeSelector widget from sandbox to trunk. Future
2134 work on this widget must happen in trunk.
2136 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/Makefile.am: Added HildonDateSelector.
2139 * src/hildon.h: Add hildon-date-selector.h
2141 Copied HildonDateSelector widget from sandbox to trunk. Future
2142 work on this widget must happen in trunk.
2144 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2146 * src/Makefile.am: Added HildonTouchPicker.
2147 * src/hildon-touch-picker.c: Update includes.
2148 * src/hildon.h: Add hildon-touch-picker.h
2150 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2151 on this widget must happen in trunk.
2153 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2155 * src/hildon-pannable-area.c:
2156 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2158 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2160 * examples/hildon-app-menu-example.c (main): Let the window
2163 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2165 * src/hildon-pannable-area.c
2166 (hildon_pannable_area_class_init): Set the min value of the
2167 overshoot properties to zero, which points out that not
2168 overshooting allowed.
2170 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2172 Modified the procedure to get the widget at a point inside the
2173 pannable area when using the movement type signals. Now the user
2174 has to call a function to get the child, that way we just
2175 calculate the child in case the user really want to use it and not
2178 * src/hildon-marshalers.list: Modified the marshallers, now we do
2179 not have the widget as a parameter.
2181 * src/hildon-pannable-area.c
2182 (hildon_pannable_area_motion_notify_cb),
2183 (hildon_pannable_area_class_init),
2184 (hildon_pannable_get_child_widget_at): Removed the widget
2185 parameter from the signal callback. We have also refactored the
2186 emission of the signals.
2188 * src/hildon-pannable-area.h: Added a new method to the API to
2189 calculate a widget at a point inside the pannable area,
2190 hildon_pannable_get_child_widget_at.
2192 * examples/hildon-pannable-area-example-4.c
2193 (horizontal_movement): Modified the example to use the new API,
2194 added condition to control which widget is under the event. This
2195 way we can avoid scrolling laterally over other widgets.
2197 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2199 * src/hildon-pannable-area.c
2200 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2201 modes, we stop getting the pointer events due to returning the
2202 callback without properly calling the get pointer again. Fixed
2203 also an error using the hscroll and vscroll.
2205 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-app-menu-private.h
2208 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2209 (hildon_app_menu_button_release, hildon_app_menu_init)
2210 (hildon_app_menu_class_init): Don't hide the menu on button
2211 release if the user didn't press outside first.
2213 * src/hildon-window.h
2214 * src/hildon-window.c (hildon_window_toggle_menu)
2215 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2216 hildon_window_toggle_menu a virtual function for the stackable
2217 window to override it.
2219 * src/hildon-stackable-window.h
2220 * src/hildon-stackable-window-private.h
2221 * src/hildon-stackable-window.c
2222 (hildon_stackable_window_realize)
2223 (hildon_stackable_window_finalize)
2224 (hildon_stackable_window_class_init)
2225 (hildon_stackable_window_init)
2226 (hildon_stackable_window_set_main_menu): New function to set the
2227 app menu of a HildonStackableWindow.
2229 * examples/hildon-app-menu-example.c: Remove the button to show
2230 the app menu, now it'll be shown when clicking on the title bar
2233 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2235 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2236 set the widget name if the arrangement flags do not specify
2239 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/hildon-button.c: (hildon_button_set_property),
2242 (hildon_button_class_init), (hildon_button_new_full),
2243 (hildon_button_set_arrangement): Added "arrangement-flags"
2246 Make the HildonButtonFlags a construction-only property, to allow
2247 subclasses to set them properly.
2249 2008-07-21 Tim Janik <timj@imendio.com>
2251 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2252 insertion position after backspace, so additional digits are appended,
2255 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2257 * src/hildon-pannable-area.c,
2258 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2259 TODO list, it was complete and removed the g_debug and g_print
2262 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2264 Added the movement modes to the hildon-pannable-area, with this
2265 modes the developers can control in which directions the widget
2266 can scroll. They can also connect to signals in order to do
2267 something when that happens, allowing applications scroll. There
2268 is an example uploaded showing how to use it.
2270 * examples/Makefile.am:
2271 * examples/hildon-pannable-area-example-4.c: Added this example of
2272 an application using the modes.
2274 * src/hildon-marshalers.list: Added a new marshaller for the new
2277 * src/hildon-pannable-area.h: Added new enumerations and flags in
2278 order to control the movement modes and the new signals to warn
2279 about the movements in the area.
2281 * src/hildon-pannable-area.c:
2282 (hildon_pannable_axis_scroll),
2283 (hildon_pannable_area_scroll),
2284 (hildon_pannable_area_motion_notify_cb),
2285 (hildon_pannable_area_get_property),
2286 (hildon_pannable_area_set_property),
2287 (hildon_pannable_area_map),
2288 (hildon_pannable_area_class_init),
2289 (hildon_pannable_area_init),
2290 (hildon_pannable_area_jump_to): Added the modes to control the
2291 movement in the widget. We have added properties to control it,
2292 signals to warn about the movements and refactored some code.
2294 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2296 Changes required in order to allow vfast_factor set to zero to
2299 * src/hildon-pannable-area.c:
2300 (hildon_pannable_area_button_press_cb): Changed the condition, it
2301 is required for not allowing click when vfast_factor is zero.
2302 (hildon_pannable_area_timeout): Initialized velocity variables
2303 when we stop moving, it was less than 1 but not zero and we need
2304 to check zero in some situations.
2305 (hildon_pannable_area_class_init): Changed the default value of
2306 the speed factor, now the button_press is just sent in case the
2307 speed is 2 per cent of the max speed.
2308 (hildon_pannable_area_init): Initialization with 0.
2310 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2312 * src/hildon-pannable-area.c,
2313 (hildon_pannable_area_get_topmost): replaced
2314 gdk_window_get_children with gdk_window_peek_children, this way we
2315 do not have to free the list because it is not a copy.
2317 (hildon_pannable_axis_scroll),
2318 (hildon_pannable_area_scroll),
2319 (hildon_pannable_area_timeout),
2320 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2321 two parameters that were only used inside the
2322 hildon_pannable_area_scroll function.
2324 * examples/hildon-pannable-area-example.c,
2325 (get_sawtooth_label): Fixed small memory leak.
2327 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2329 More checks for the case where the overshoot is bigger than the
2332 * src/hildon-pannable-area.c:
2333 (hildon_pannable_draw_vscroll),
2334 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2335 to draw the slider of the scrollbar under the other scrollbar.
2336 (hildon_pannable_area_expose_event): added new checks to control
2337 the drawing of the overshooting area rectangle, in case it is too
2338 big for the area of the widget.
2339 (hildon_pannable_area_size_allocate): add more checks to avoid
2340 setting a position to the child widget outside the area.
2342 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2344 * src/hildon-pannable-area.c
2345 (hildon_pannable_area_size_allocate): Added conditions to control
2346 when overshooting is bigger than the allocated space for the
2347 children, this avoids negative allocations.
2349 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2351 * doc/hildon-docs.sgml
2353 * examples/Makefile.am
2354 * examples/hildon-button-example.c
2356 * src/hildon-button.c
2357 * src/hildon-button.h
2358 * src/hildon.h: Initial version of the new HildonButton widget,
2361 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2363 * src/hildon-pannable-area.c:
2364 (hildon_pannable_area_button_press_cb),
2365 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2366 (hildon_pannable_area_motion_notify_cb),
2367 (hildon_pannable_area_button_release_cb),
2368 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2369 (hildon_pannable_area_jump_to_child):
2371 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2373 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2375 * examples/Makefile.am
2376 * examples/hildon-pannable-area-touch-grid-example.c
2377 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2378 the Hildon Touch List and Hildon Touch Grid using the
2379 HildonPannableArea widget.
2381 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2383 * src/hildon-pannable-area.c,
2384 (hildon_pannable_area_button_press_cb),
2385 (hildon_pannable_area_refresh),
2386 (hildon_pannable_area_scroll),
2387 (hildon_pannable_area_motion_notify_cb),
2388 (hildon_pannable_area_button_release_cb),
2389 (hildon_pannable_area_expose_event),
2390 (hildon_pannable_area_add),
2391 (hildon_pannable_area_remove),
2392 (hildon_pannable_area_realize),
2393 (hildon_pannable_area_size_allocate),
2394 (hildon_pannable_area_class_init),
2395 (hildon_pannable_area_init),
2396 (hildon_pannable_area_scroll_to_child),
2397 (hildon_pannable_area_jump_to_child): Fixed the problem of
2398 removing the child from the GtkBin, we have rearranged the widget
2399 hierarchy, now there is no GtkAlignment which was not doing
2400 anything interesting but breaking some of the assumptions of
2401 GtkContainer. Now developers if they want to add a GtkAlignment
2402 they could, but it is not inside the area.
2404 We had to review the whole allocation/expose process, now it is
2405 improved and we save at least three signals which would be saving
2406 some time when rendering the widget. The allocation of the
2407 scrollbars is now made in the allocate method as usual.
2409 We have also added some conditions in order to control when there
2410 is no child of the pannable area. Maybe we will need more work
2413 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2415 * src/hildon-pannable-area.c,
2416 (hildon_pannable_area_dispose): Released the fade-out timeout when
2417 disposing the widget.
2419 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2421 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
2422 zero, we are going to use that property in order to deactivate the
2424 (hildon_pannable_axis_scroll),
2425 (hildon_pannable_area_size_allocate): Added conditions to control
2426 when overshoot_max is zero. Moved the gtk_adjustment_set_value
2427 call, now it is called in all situations and we can remove calls
2428 in the allocate method.
2429 (hildon_pannable_area_map): Control the situation when
2430 overshoot_max is zero, we do not need the timeout.
2431 (hildon_pannable_area_class_init): Added documentation in order to
2432 point out that setting zero to overshoot_max means deactivate
2435 NOTE: removed trailing whitespaces from my previous comments of
2438 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2440 * src/hildon-pannable-area.c
2441 (hildon_pannable_area_get_property),
2442 (hildon_pannable_area_set_property),
2443 (hildon_pannable_area_map),
2444 (hildon_pannable_area_class_init),
2445 (hildon_pannable_area_init): Add a boolean "initial-hint" property
2446 to cause the widget give a hint about its panning abilities upon
2449 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
2451 * src/hildon-pannable-area.c: Several documentation improvements.
2453 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2455 * src/hildon-program.c
2456 * src/hildon-stackable-window.c: Update documentation.
2458 2008-06-26 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-stackable-window.c (get_previous_window_if_last):
2461 Renamed get_last_window()
2462 (hildon_stackable_window_map, hildon_stackable_window_unmap)
2463 (hildon_stackable_window_unset_program):
2465 (get_previous_window_if_last):
2466 Detect if the window hasn't been added to a HildonProgram.
2468 2008-06-26 Alejandro G. Castro <alex@igalia.com>
2470 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2472 * src/hildon-pannable-area.c
2473 (hildon_pannable_area_button_press_cb),
2474 (hildon_pannable_axis_scroll),
2475 (hildon_pannable_area_scroll),
2476 (hildon_pannable_area_timeout),
2477 (hildon_pannable_calculate_vel_factor),
2478 (hildon_pannable_area_get_property),
2479 (hildon_pannable_area_set_property),
2480 (hildon_pannable_area_class_init),
2481 (hildon_pannable_area_init),
2482 (hildon_pannable_area_scroll_to),
2483 (hildon_pannable_area_jump_to),
2484 (hildon_pannable_area_scroll_to_child),
2485 (hildon_pannable_area_jump_to_child):
2486 * src/hildon-pannable-area.h: Added the new API functions:
2487 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
2488 hildon_pannable_area_scroll_to_child,
2489 hildon_pannable_area_jump_to_child
2492 * examples/Makefile.am
2493 * examples/hildon-pannable-area-example-2.c
2494 * examples/hildon-pannable-area-example-3.c: Added these two new
2495 examples in order to test and show how the new APIs work.
2497 2008-06-25 Alberto Garcia <agarcia@igalia.com>
2499 * examples/hildon-stackable-window-example.c (new_window):
2500 * src/Makefile.am (noinst_HEADERS):
2501 * src/hildon-program.c (hildon_program_go_to_root_window):
2502 * src/hildon-program.h:
2503 * src/hildon-stackable-window-private.h:
2504 * src/hildon-stackable-window.c:
2505 * src/hildon-stackable-window.h:
2506 Create hildon-stackable-window-private.h
2507 Move hildon_stackable_window_go_to_root_window() to HildonProgram
2509 * examples/hildon-app-menu-example.c (create_menu):
2510 * examples/hildon-hvolumebar-insensitive-example.c (main):
2511 * examples/hildon-hvolumebar-timer-example.c (on_idle):
2512 * examples/hildon-toolbar-seekbar-example.c (main):
2513 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
2514 * src/hildon-banner.c (hildon_banner_set_property):
2515 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
2516 Fix compilation warnings
2518 * src/hildon-window.c:
2521 2008-06-24 Alberto Garcia <agarcia@igalia.com>
2523 * src/hildon-stackable-window.c
2524 (hildon_stackable_window_unset_program):
2525 Calculate correctly whether to show the previous window if the
2526 last one is removed from the stack.
2527 (hildon_stackable_window_go_to_root_window):
2528 Send delete events starting from the topmost window.
2529 Stop if one of the windows is not destroyed.
2531 (hildon_stackable_window_delete_event)
2532 (hildon_stackable_window_class_init):
2533 Ignore the delete event if the window is not the topmost one.
2535 2008-06-24 Alejandro G. Castro <alex@igalia.com>
2537 * src/hildon-pannable-area.c
2538 (hildon_pannable_area_expose_event): Fixed a problem when
2539 selecting the background color of the scrollbars.
2541 2008-06-23 Alberto Garcia <agarcia@igalia.com>
2543 * examples/hildon-stackable-window-example.c
2544 * src/hildon-stackable-window.c
2545 * src/hildon-stackable-window.h
2546 hildon_stackable_window_go_home() renamed to
2547 hildon_stackable_window_go_to_root_window()
2548 Send delete events to windows rather than closing them with
2549 gtk_widget_destroy()
2551 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2553 * src/hildon-pannable-area.c
2554 (hildon_pannable_area_button_release_cb): Fix overshooting in
2557 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2559 * src/hildon-pannable-area.c
2560 (hildon_pannable_area_init): Initially show the scroll indicators.
2561 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
2563 Add initial effect showing the widget is pannable.
2565 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2567 * src/hildon-pannable-area.c
2568 (hildon_pannable_area_class_init)
2569 (hildon_pannable_area_set_property)
2570 (hildon_pannable_area_get_property)
2571 (hildon_pannable_area_button_press_cb):
2572 New 'velocity_fast_factor' property to decide which velocity is
2575 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
2577 * src/hildon-pannable-area.c
2578 (hildon_pannable_draw_hscroll)
2579 (hildon_pannable_draw_vscroll):
2580 Use float variables to calculate the size of the scrollbars to
2581 avoid error propagation and resizing during scrolling.
2583 2008-06-19 Alberto Garcia <agarcia@igalia.com>
2585 * src/hildon-pannable-area.c
2586 (hildon_pannable_draw_vscroll)
2587 (hildon_pannable_draw_hscroll):
2588 Define a minimum size for the scroll bars
2590 * src/hildon-stackable-window.c
2591 (hildon_stackable_window_go_home): Fix compilation warning
2592 (get_last_window): Minor optimizations
2593 (hildon_stackable_window_class_init): Fix initialization of
2596 2008-06-18 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-stackable-window.c: Fixed typos in doc
2600 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
2602 * src/hildon-pannable-area.c
2603 (hildon_pannable_area_scroll):
2604 Calculate here whether we need to scroll instead of using the booleans
2605 that tell us whether to /draw/ the scrolling bars.
2607 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/hildon-app-menu.h
2611 * src/hildon-app-menu.c
2612 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
2613 multiple filter groups related code and API. Now we support only
2615 * examples/hildon-app-menu-example.c:
2617 Update to reflect API changes.
2619 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
2621 * src/hildon-stackable-window.c
2622 (hildon_stackable_window_class_init):
2623 Add hildon_stackable_window_realize.
2624 (hildon_stackable_window_realize):
2625 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
2626 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
2627 to apply theming and behavior specific to HildonStackableWindow
2630 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2632 * src/hildon-note.c (hildon_note_button_release):
2633 Close information notes also when tapping on them
2635 2008-06-12 Alejandro G. Castro <alex@igalia.com>
2637 Added BOUNCE_STEPS define to control the overshoot effect. Removed
2638 ELASTICITY, refactor and review, fix some issues with drawing
2641 * src/hildon-pannable-area.c:
2642 (hildon_pannable_area_button_press_cb): removed the conditions to
2643 avoid clicks when overshooting. It is not required
2645 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
2646 define. Refatored and reviewed the code, now we do not need to
2647 manage velocity in motion_notify.
2649 (hildon_pannable_area_motion_notify_cb): We have moved the code
2650 that controls the area_scroll to the axis_scroll function and get
2651 rid of duplicated code.
2653 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
2655 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
2657 (hildon_pannable_draw_vscroll),
2658 (hildon_pannable_draw_hscroll): Fixed the problems with the
2659 scrollbar drawing, now we do not use two surfaces, it is easier
2660 and saves resources.
2662 (hildon_pannable_area_get_property): Style modification.
2664 (hildon_pannable_area_class_init): Changed some default values.
2666 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
2668 * src/hildon-stackable-window.c: Fix some typos in the
2671 2008-06-12 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-dialog.c:
2674 Change indentation style
2677 (hildon_note_button_release):
2678 Use root coordinates to check if the release event happened
2681 * src/hildon-app-menu.c
2682 (hildon_app_menu_button_release):
2683 Remove unnecessary check
2685 * examples/hildon-app-menu-example.c
2687 Add cast to fix warning
2689 * src/hildon-app-menu.c
2690 (hildon_app_menu_class_init):
2691 New inner-border style property.
2692 Set all default spacings to 16
2693 (hildon_app_menu_init):
2694 Use vertical-spacing to set the space between filter buttons and
2695 regular menu buttons.
2696 Set the default container border using the inner-border value.
2698 * examples/hildon-app-menu-example.c
2700 Don't set the menu border explicitly, now we have the inner-border
2701 style property for that.
2703 2008-06-11 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-app-menu.c (hildon_app_menu_init):
2706 Make the window modal
2708 * src/hildon-note.c (hildon_note_map)
2709 * src/hildon-app-menu.c (hildon_app_menu_map):
2710 Destroy the grab window if we're unable to grab the pointer
2712 * src/hildon-app-menu-private.h
2713 * src/hildon-app-menu.c
2714 (hildon_app_menu_init, hildon_app_menu_finalize)
2715 (hildon_app_menu_map, hildon_app_menu_unmap)
2716 (hildon_app_menu_button_release)
2717 (grab_transfer_window_get):
2718 Bring back the grab window
2719 (hildon_app_menu_realize):
2720 Decorate the window, set WM hint for Matchbox
2722 * src/hildon-note.c (hildon_note_realize):
2723 * src/hildon-banner.c (hildon_banner_realize):
2724 Add WM hints for Matchbox
2726 2008-06-10 Alberto Garcia <agarcia@igalia.com>
2728 * src/hildon-app-menu-private.h
2729 * src/hildon-app-menu.c
2730 (hildon_app_menu_init, hildon_app_menu_finalize)
2731 (hildon_app_menu_map, hildon_app_menu_unmap)
2732 (hildon_app_menu_button_release):
2733 Remove the grab window, it's not needed anymore
2735 * src/hildon-program.c
2736 Fixed typo in documentation
2738 * src/hildon-app-menu.h
2739 * src/hildon-app-menu.c
2740 * examples/hildon-app-menu-example.c
2741 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
2743 2008-06-09 Alberto Garcia <agarcia@igalia.com>
2746 Added new transfer_window and close_if_pressed_outside private
2748 (hildon_note_rebuild):
2749 Don't add a cancel button to the information note. It will be
2750 closed when tapping outside
2751 Remove the comment about the OK button in the documentation
2752 (hildon_note_realize):
2753 Set the notification type hint
2754 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
2755 Grab/ungrab pointer and keyboard if the note has to be closed when
2757 (hildon_note_button_release):
2758 Close the note when tapping outside (if applicable)
2760 * src/hildon-app-menu.c
2761 Grab/ungrab pointer and keyboard on map/unmap
2762 (hildon_app_menu_button_release, hildon_app_menu_class_init):
2763 Close the menu on button release, not button press
2765 * src/hildon-banner.c
2766 (hildon_banner_set_property)
2767 (hildon_banner_check_position):
2768 Make the banner use the full width of the screen
2769 (hildon_banner_show_information)
2770 (hildon_banner_show_information_with_markup):
2771 Don't display an icon by default
2773 2008-06-09 Alejandro G. Castro <alex@igalia.com>
2775 Added fading scrollbars and adapted all the overshooting code to
2776 horizontal scrolling. We have also fixed bugs with overshooting
2777 and current fading implementation.
2779 * src/hildon-pannable-area.c
2780 (hildon_pannable_area_scroll_indicator_fade): Time out function
2781 used to change the transparency of the scrollbars.
2783 (hildon_pannable_area_button_press_cb): Added horizontal overshot
2784 control and fixed a problem with fading, we now remove the fade
2785 timeout before adding a new one.
2787 (hildon_pannable_axis_scroll):
2788 (hildon_pannable_area_scroll):
2789 (hildon_pannable_area_timeout): Added this functions so we can use
2790 the scroll code both for vertical and horizontal.
2792 (hildon_pannable_area_motion_notify_cb):
2793 (hildon_pannable_area_button_release_cb): Added the horizontal
2794 scrolling control, fixed a problem with the overshooting timeout.
2796 (rgb_from_gdkcolor): Added this function, it is used in the cairo
2797 painting of the scrolls.
2799 (hildon_pannable_draw_vscroll):
2800 (hildon_pannable_draw_hscroll):
2801 (hildon_pannable_area_expose_event):
2802 Draw both scrollbars and rectangles in the overshooting area.
2804 (hildon_pannable_area_get_property):
2805 (hildon_pannable_area_set_property):
2806 Modified the overshoot property to overshoot_max
2808 (hildon_pannable_area_map):
2809 Replaced the comments symbols.
2811 (hildon_pannable_area_size_allocate):
2812 (hildon_pannable_area_class_init):
2813 (hildon_pannable_area_init): Added horizontal scroll, fading
2814 effect properties, fixed a problem when overshooting in the bottom
2817 * examples/hildon-pannable-area-example.c:
2818 (get_sawtooth_label): Now we use smaller sawtooths, the effect
2819 looks better in the example.
2821 2008-06-03 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-window.c
2824 * src/hildon-window.h
2825 (hildon_window_class_init)
2826 (hildon_window_unset_program)
2827 (hildon_window_unset_program_real):
2828 Make unset_program a virtual function
2830 * src/hildon-stackable-window.c
2831 * src/hildon-stackable-window.h
2832 Added hildon_stackable_window_go_home()
2834 * examples/Makefile.am
2835 * examples/hildon-stackable-window-example.c
2836 HildonStackableWindow example
2838 2008-06-03 Alejandro G. Castro <alex@igalia.com>
2840 * hildon-pannable-area.c: Added the overshoot property and removed
2841 the OVERSHOOT define. Fixed an indent style error.
2842 (hildon_pannable_area_motion_notify_cb):
2843 (hildon_pannable_area_get_property):
2844 (hildon_pannable_area_set_property): Add overshoot property.
2846 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
2849 (hildon_pannable_area_class_init): Installed the new property.
2851 * hildon-pannable-area-example.c: Added a sawtooth function, this
2852 way it is easier to check the movement in the pannable.
2853 (get_sawtooth_label): Added this function.
2854 (main): Now we get the labels from the new get_sawtooth_label
2857 2008-05-26 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-app-menu.h
2860 * src/hildon-app-menu.c
2861 Renamed API variables for consistency
2863 (hildon_app_menu_popup): Use also the default window size to
2864 decide where to place the menu
2866 (hildon_app_menu_init, hildon_app_menu_class_init): New
2867 external-border style property
2869 2008-05-26 Michael Natterer <mitch@imendio.com>
2871 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
2872 widget_class->tap_and_hold_setup signal slot doesn't exist any
2873 longer, stop overriding it.
2875 (hildon_time_editor_init): g_signal_connect() to the
2876 tap-and-hold-setup signal instead.
2878 (hildon_time_editor_entry_keypress): add cast to fix warning.
2880 2008-05-23 Alberto Garcia <agarcia@igalia.com>
2882 * doc/hildon-docs.sgml
2884 * examples/Makefile.am
2885 * examples/hildon-app-menu-example.c
2887 * src/hildon-app-menu-private.h
2888 * src/hildon-app-menu.c
2889 * src/hildon-app-menu.h
2891 New HildonAppMenu widget
2893 2008-05-21 Alejandro G. Castro <alex@igalia.com>
2895 Rearranged the inheritance of the pannable area, now it inherits
2896 from GtkBin. This will allow us to control the event_window and
2897 the allocation process of the widget, required for some effects.
2899 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
2900 GtkBin structures. * src/hildon-pannable-area.c: Added the
2901 event_window variable.
2902 (hildon_pannable_area_button_press_cb):
2903 (hildon_pannable_area_button_release_cb):
2904 (hildon_pannable_area_motion_notify_cb):
2905 Changed the signature of the method, now we override the event
2906 callback instead of connecting to the signal.
2908 (hildon_pannable_area_realize):
2909 (hildon_pannable_area_unrealize):
2910 (hildon_pannable_area_map):
2911 (hildon_pannable_area_unmap):
2912 (hildon_pannable_area_size_allocate):
2913 Added functions to control the widget construction. We add a
2914 INPUT_ONLY window and we put it over the widgets inside the
2915 container, this event_window handles the events.
2917 (hildon_pannable_area_class_init):
2918 Replaced the signal connections with overrides of the event
2921 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2923 Bouncing effect added when touching the borders, you can change
2924 the elasticity of the border changing the ELASTICITY define.
2926 * src/hildon-pannable-area.c: Added ELASTICITY define.
2927 (hildon_pannable_area_timeout): Added inverse velocity when
2928 touching the border of the child widget, that causes a bounce.
2930 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2932 Improved performance, we now do not go to the X server in order to
2933 get the list of window children. Apparently the effect is the
2934 same, we have to be careful and check if this breaks something in
2937 * src/hildon-pannable-area.c:
2938 (get_ordered_children): Removed this function.
2939 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
2940 the children windows function with gdk_window_get_children.
2942 2008-05-20 Alejandro G. Castro <alex@igalia.com>
2944 * src/hildon-pannable-area.c:
2945 (hildon_pannable_area_dispose): Fixed a crash when closing the
2946 window and kinetics is activated.
2948 2008-05-19 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-pannable-area.h
2951 * src/hildon-pannable-area.c
2952 Changed indentation style to meet the one used in Hildon
2954 2008-05-19 Alejandro G. Castro <alex@igalia.com>
2956 Reviewed the interaction of the AUTO mode, now we use the time
2957 attribute of the events and calculate the velocity in the motion,
2958 doing a gimp like calculation. The velocity is calculated in each
2959 motion event using the last velocity and the current one, the
2960 SMOOTH_FACTOR controls the percentage of the new velocity we use.
2962 * src/hildon-pannable-area.c: Replaced the time based algorithm
2964 (hildon_pannable_area_motion_notify_cb): now we do not launch the
2965 timeout for the AUTO mode when we are still moving the cursor. We
2966 added also the velocity calculation in this function.
2967 (hildon_pannable_area_button_release_cb): launch the timeout in
2968 case we are in AUTO mode. There are still some constants here that
2969 come from the old implementation that should be reviewed and
2972 2008-05-15 Alberto Garcia <agarcia@igalia.com>
2974 * doc/hildon-docs.sgml
2977 * src/hildon-stackable-window.c
2978 * src/hildon-stackable-window.h
2980 New HildonStackableWindow widget
2982 * examples/hildon-dialog-example.c
2983 * examples/hildon-pannable-area-example.c
2986 2008-05-14 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-dialog.c
2989 (hildon_dialog_new_with_buttons): New constructor.
2991 * examples/hildon-dialog-example.c
2992 (main): Update the example to use the new
2993 hildon_dialog_new_with_buttons().
2995 * examples/hildon-pannable-area-example.c
2996 (main): Update example.
2998 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3000 * doc/hildon-docs.sgml
3002 Added HildonPannableArea to the documentation.
3004 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3006 * doc/visual_index.xml
3007 Fix reference to HildonLoginDialog in documentation
3009 * doc/hildon-docs.sgml
3011 * examples/Makefile.am
3012 * examples/hildon-dialog-example.c
3014 * src/hildon-dialog.c
3015 * src/hildon-dialog.h
3017 New HildonDialog widget.
3019 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3021 * src/hildon-pannable-area.c
3022 Merge latest changes (r4318, r4342) from libmokoui trunk
3024 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3026 * examples/Makefile.am
3027 * examples/hildon-pannable-area-example.c
3029 * src/hildon-pannable-area.c
3030 * src/hildon-pannable-area.h
3032 New HildonPannableArea widget.
3034 2008-04-15 18:05:19 <timj@imendio.com>
3036 * src/hildon-banner.c: revert the recent change, that introduced
3037 gtk_window_present() calls. this reopens:
3038 Bug 78481 - [freetest] information banners are hidden under browser menu
3039 But resolves another variant of:
3040 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3042 2008-04-15 13:21:13 <timj@imendio.com>
3044 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3045 recreated its layout, spotted by Kris. this fixes all remaining
3046 artefacts and stability issues with the banner code. in particular:
3047 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3049 2008-04-14 16:52:59 <timj@imendio.com>
3051 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3052 operating on unrealized widgets, fixes:
3053 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3055 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3057 2008-04-09 Kristian Rietveld <kris@imendio.com>
3059 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3060 makes banner disappear.
3061 Fixes: NB#79182: info banner flickering with certain message lengts.
3063 * src/hildon-banner.c (hildon_banner_constructor),
3064 (hildon_banner_init), (hildon_banner_set_text),
3065 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3066 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3067 FALSE, reset size requests of label and banner,
3068 (force_to_wrap_truncated): when the text is too wide, always enforce
3069 the maximum possible width instead of recalculating it from the
3070 layout; enforce the maximum banner height of 3 lines,
3071 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3072 nicer wrapping and no truncated chars if space gets tight.
3074 * src/hildon-banner-private.h: add has_been_wrapped and
3075 has_been_truncated fields.
3077 2008-04-07 Sven Herzberg <sven@imendio.com>
3079 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3080 local values in hildon_date_editor_size_allocate
3082 * src/hildon-date-editor.c: moved the real allocation code into the
3085 2008-04-07 Sven Herzberg <sven@imendio.com>
3087 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3088 local values in hildon_date_editor_size_allocate
3090 * src/hildon-date-editor.c: merged the two if() branches together
3092 2008-04-07 Sven Herzberg <sven@imendio.com>
3094 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3095 local values in hildon_date_editor_size_allocate
3097 * src/hildon-date-editor.c: changed the arguments of the if()
3100 2008-04-07 Sven Herzberg <sven@imendio.com>
3102 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3103 local values in hildon_date_editor_size_allocate
3105 * src/hildon-date-editor.c: split the calculation of the allocation
3106 from the real allocation
3108 2008-03-27 Michael Natterer <mitch@imendio.com>
3110 Fixes: NB#81696: The passcode is not overwritten even after
3113 * src/hildon-code-dialog.c
3114 (hildon_code_dialog_button_clicked)
3115 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3116 because that doesn't overwrite selected text. Instead, emit the
3117 "commit" signal on the entry's im_context so the entry's normal
3118 insert logic is triggered. Set the cursor to the end of the entry
3119 after each insert operation so that we *only* insert in the middle
3120 of the text if something was selected.
3122 2008-03-27 Michael Natterer <mitch@imendio.com>
3124 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3125 selector cannot be opened
3127 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3128 when the popup color selector is created. Please connect to this
3129 signal in order to set the dialog's help ID.
3131 2008-03-25 Sven Herzberg <sven@imendio.com>
3133 Fixes: MB#1212: Hide info banners (infoprints) on click
3135 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3136 extracted the close event simulation into an extra function
3137 (hildon_banner_button_press_event): simulate a close event and destroy
3138 the widget if the event wasn't handled
3139 (hildon_banner_class_init): added the button_press_event handler
3140 (hildon_banner_init): added button-press events to the widget
3142 2008-03-25 Sven Herzberg <sven@imendio.com>
3144 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3145 Patch from: Mohammad Anwari <mdamt@maemo.org>
3147 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3148 instead of the right in RTL mode
3149 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3150 breadcrumb button list in RTL mode
3151 * src/hildon-caption.c: mirror the appearance of the caption widget in
3153 * src/hildon-date-editor.c: mirror appearance of the date editor in
3155 * src/hildon-time-editor.c: mirror appearance of the time editor in
3157 * src/hildon-window.c: fix the position of the popup in RTL mode
3159 2008-03-25 Sven Herzberg <sven@imendio.com>
3161 Amendment to the fix of NB#22072. Fix compilation.
3163 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3165 2008-03-19 Sven Herzberg <sven@imendio.com>
3167 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3170 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3171 timeout id properly when the timeout will disappear this leaves no
3172 artifacts around in the destroy(); there will only be the timeout
3173 created by hildon_banner_ensure_timeout() and adding a new timeout
3174 will also work if the timeout gets removed because the timeout_handler
3177 2008-03-19 Michael Natterer <mitch@imendio.com>
3179 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3181 * src/hildon-volumebar.c
3182 * src/hildon-vvolumebar.c
3183 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3184 the widget becomes focussable at all.
3186 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3187 set the focus to wither the mute button or the volumebar.
3189 Remove own "can-focus" property and instead listen to
3190 notify::can-focus in order to update the widget's state.
3192 Implement GtkWidget::focus() and make sure we can also *leave* the
3193 widget, not only enter it, depending on volumebar orientation and
3194 requested focus direction.
3196 Clean up set_mute() to cooperate nicely with all the above.
3198 2008-03-04 Michael Natterer <mitch@imendio.com>
3200 Fixes: NB#78481: information banners are hidden under browser menu
3202 * src/hildon-banner.c: call gtk_window_present() on the banners so
3203 they are risen if they are already visible.
3205 2008-03-03 Sven Herzberg <sven@imendio.com>
3207 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3209 * examples/hildon-window-menu-example.c: (main): extended the window
3210 menu example to serve as a testcase for automatically added
3211 accelerator groups, too
3212 * src/hildon-window.c: (hildon_window_add_accel_group),
3213 (hildon_window_set_menu): added patch by Tommi Komulainen
3215 2008-03-03 Sven Herzberg <sven@imendio.com>
3217 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3219 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3220 knowledge about the border allocators used within GTK+
3222 2008-02-26 Sven Herzberg <sven@imendio.com>
3224 Fixes: MB#2981: Build with asserts broken
3226 * src/hildon-date-editor.c,
3227 * src/hildon-number-editor.c,
3228 * src/hildon-time-editor.c,
3229 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3230 the proper GType instance check
3232 2008-02-25 Sven Herzberg <sven@imendio.com>
3234 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3236 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3237 * examples/hildon-window-menu-example.c: (main): explicitly show
3239 * src/hildon-window.c:
3240 (hildon_window_set_main_menu): moved most of the code from set_menu()
3241 to this place; skipped the call to gtk_widget_show_all(); also didn't
3242 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3243 (hildon_window_set_menu): removed most of the code, just keep the
3244 questionable gtk_widget_show_all()
3245 * src/hildon-window.h: added the new function and deprecate the old
3248 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3254 * debian/changelog: Updating.
3256 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3259 * pkgconfig/Makefile.am:
3260 * pkgconfig/hildon.pc.in:
3263 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3264 use newly created API_MAJOR_VERSION.
3266 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3272 * debian/changelog: Updating.
3274 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3276 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3278 Add outer_border style property, we use it but don't define it (!).
3282 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3284 * examples/hildon-bread-crumb-trail-example.c (main):
3288 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3290 Fix logic for the bread crumb trail node removal.
3294 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3300 * debian/changelog: Updating.
3302 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3304 Patch by Alejandro to get/set passwords dialogs accesibility.
3306 * hildon-1/src/hildon-get-password-dialog.c:
3307 * hildon-1/src/hildon-set-password-dialog.c:
3308 Set atk_set_name to the passwd entries in order to allow
3309 accessibility by name on this entries.
3311 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3316 * debian/control: Updating gtk dep.
3318 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3320 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3321 USE_MAEMO_GTK is enabled.
3323 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3325 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3326 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3328 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3334 * debian/changelog: Updating.
3336 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3338 * examples/Makefile.am:
3339 * examples/hildon-logical-color-example.c:
3340 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3341 applied + adding a test case. Fixes: NB#71660.
3343 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3345 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3346 to be visible, fixes warning on map for windows without toolbars.
3348 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3350 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3351 2.11.0, add a check for that besides the MAEMO_GTK check.
3353 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3359 * debian/changelog: Updating.
3361 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3363 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3364 visibility. Fixes: NB#70842 and MB#615.
3366 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3368 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3369 set the separator as no-show-all so it doesn't unintentionally appear when
3370 someone does a show_all.
3372 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3374 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3375 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3376 toplevel item. Fixes: NB#62031
3378 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3380 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3381 fix the name of the function in the docs.
3383 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3389 * debian/changelog: Updating.
3391 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3393 * examples/hildon-banner-long-example.c: Adding a test-case for long
3396 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3398 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3400 * src/hildon-color-chooser-dialog.c:
3401 * src/hildon-color-chooser.c:
3402 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3403 memory leaks in font selector and color selector. Fixes: NB#70499 and
3406 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3408 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
3410 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3412 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
3413 little bit bigger. Fixes: #NB63694.
3415 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3421 * debian/changelog: Updating.
3423 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3426 * doc/hildon-docs.sgml:
3427 * doc/images/bread-crumb-trail.png:
3428 * doc/images/calendar-popup.png:
3429 * doc/images/caption.png:
3430 * doc/images/code-dialog.png:
3431 * doc/images/color-button.png:
3432 * doc/images/color-chooser-dialog.png:
3433 * doc/images/color-chooser.png:
3434 * doc/images/controlbar.png:
3435 * doc/images/date-editor.png:
3436 * doc/images/font-selection-dialog.png:
3437 * doc/images/get-password-dialog.png:
3438 * doc/images/hvolumebar.png:
3439 * doc/images/login-dialog.png:
3440 * doc/images/note.png:
3441 * doc/images/number-editor.png:
3442 * doc/images/range-editor.png:
3443 * doc/images/seekbar.png:
3444 * doc/images/set-password-dialog.png:
3445 * doc/images/sort-dialog.png:
3446 * doc/images/time-editor.png:
3447 * doc/images/time-picker.png:
3448 * doc/images/vvolumebar.png:
3449 * doc/images/weekday-picker.png: Adding the new generated widget shots.
3450 Adding the bread-crumb-trial and helpers to the documentation.
3452 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3454 * examples/hildon-find-toolbar-example.c:
3455 * src/hildon-find-toolbar.c:
3456 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
3457 actually continue firing the other handlers if connected. Adding a new
3459 hildon_find_toolbar_get_last_index that gets the index of the most
3460 recently added (last) item. Fixes: NB#52301.
3462 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3464 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
3465 behaviour. Fixes: NB#68610.
3467 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3469 * src/hildon-banner.c: Actually reverting the previous change. It somehow
3472 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3474 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
3475 when realizing the banner. Should make the infonbanner effect a bit more
3478 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3480 * src/hildon-volumebar.c:
3481 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
3482 hildon_volumebar_set_range_insensitive_message and
3483 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
3485 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3487 * src/hildon-window.c: Fixing the border freeing on destroy.
3489 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3491 * src/hildon-code-dialog-private.h:
3492 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
3493 kw keyboard support in HildonCodeDialog.
3495 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3501 * debian/changelog: Updating.
3503 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3505 * src/hildon-date-editor.c:
3506 * src/hildon-number-editor.c:
3507 * src/hildon-private.c:
3508 * src/hildon-private.h:
3509 * src/hildon-time-editor.c:
3510 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
3511 handling in subclassed composite widgets. Fixes: NB#66628.
3513 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3515 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
3516 from destroy_ callback as it introduces problems in async dbus signal
3517 handlers. Fixes NB#66673.
3519 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3521 * examples/hildon-hvolumebar-example.c:
3522 * src/hildon-volumebar.c: Improving the focus handling in the
3523 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
3524 set_property accessor so that "mute" property can be actually set. I'm
3525 scared that nobody noticed it's totally broken.
3527 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3529 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
3532 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3534 * src/hildon-calendar.c:
3535 * src/hildon-number-editor.c:
3536 * src/hildon-time-picker.c: Changing the timeout repeat so that it
3537 matches the spec of 6 chars per second. Fixes: NB#60489.
3539 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3541 * src/hildon-helper.c: Really fixing NB#58352. Looks like
3542 gtk_style_lookup_color sometime returns FALSE even though color was
3543 found and values were filled properly. Weird. Removing the warning for the
3546 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3548 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
3549 expand vertically. Adding some extra space to the find toolbar buttons to
3550 make them thumbable. Fixes NB#66060.
3552 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3554 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
3555 popup with "Ok" and "Cancel". Fixes NB#59299.
3557 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3559 * src/hildon-calendar.c: Process all window updates before executing next
3560 timeout. Fixes: NB#54146.
3562 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3568 * debian/changelog: Updating.
3570 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3572 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
3573 the client event and ignore it, since we use the delete event to close
3576 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3578 * src/hildon-helper.c: Remove the bogus warning about color not being
3579 found. Fixes NB#58352.
3581 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3583 * examples/Makefile.am:
3584 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
3585 HildonSeekbar widget inside a toolbar.
3587 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
3589 * src/hildon-banner.c (hildon_banner_init): mark the banners as
3590 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
3591 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
3592 don't want to be closed by non-temporary windows on map.
3594 Also use G_DEFINE_TYPE instead of manually typed code.
3596 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3603 * debian/rules: Updating.
3605 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3607 * examples/Makefile.am:
3608 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
3609 bug NB#61128. Strangely it works.
3611 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3613 * src/hildon-date-editor.c: When the date editor entry has been changed
3614 but the numbers of characters < max, turn off the skip validation flag.
3615 Prevents a situation when we enter first a valid year and later re-write
3616 it with an invalid one. Fixes NB#60154.
3618 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3620 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
3621 code dialog. Fixes NB#64355.
3623 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3625 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
3626 switching the page. Fixes NB#49374.
3628 * examples/Makefile.am:
3629 * examples/hildon-wizard-dialog-example.c: Adding an example for
3630 HildonWizardDialog that shows how to handle manual sensitivity setting on
3633 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3637 * src/hildon-version.h.in:
3638 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
3640 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3642 * src/hildon-volumebar.c: Updating the docs.
3644 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3650 * debian/changelog: Updating.
3652 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3654 * src/hildon-find-toolbar.c:
3655 * src/hildon-find-toolbar.h: Adding a few new functions to control the
3656 selected item: hildon_find_toolbar_set_active,
3657 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
3658 hildon_find_toolbar_get_active_iter . They correspond to respective
3659 GtkComboBox functions.
3661 * examples/Makefile.am:
3662 * examples/hildon-find-toolbar-example.c: Adding the example to test the
3665 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3667 * examples/Makefile.am:
3668 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
3671 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
3672 when font size > 32 and we pack a focusable widget inside. Actually using
3673 the default response would work too, but since we don't show default
3674 response state in any way (no theming) it would not be visible to the
3675 user. Fixes NB#63430.
3677 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3679 * src/hildon-date-editor.c: Adding the missing variable setter in the
3680 set_property handler. Fixes NB#54182.
3682 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3684 * src/hildon-window.h: Changing the long key press time from 1500ms to
3685 800ms as requested in NB#63700. I have a bad feeling about this, let's
3686 see... Fixes NB#63700.
3688 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
3690 * src/hildon-time-picker.c (hildon_time_picker_class_init,
3691 hildon_time_picker_map, hildon_time_picker_realize,
3692 hildon_time_picker_style_set): Split the contents of map to more
3693 appropriate functions; set window decorations on realize and update
3694 arrows' size requisitions on style-set. Avoids unnecessary resizing.
3696 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
3701 * debian/changelog: Updating.
3703 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
3705 * src/Makefile.am: fixed installation of the header files
3707 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3713 * debian/changelog: Updating.
3715 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3717 * configure.ac: Removing some remaining of --enable-xan.
3719 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
3721 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
3722 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
3724 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
3725 2.10.12-osso6 because the move-focus signal needs to be available in
3728 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3730 * examples/Makefile.am:
3731 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
3732 that makes a HildonVolumebar insensitive before mapping it. Seems to work
3733 fine. Prolly NB#61128 is fixed now.
3735 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3737 * src/hildon-volumebar.c:
3738 * src/hildon-volumebar.h: Adding the
3739 hildon_volumebar_set_range_insensitive_message and
3740 hildon_volumebar_set_range_insensitive_messagef functions to set
3741 insensitive message on the slider of the volumebar. Fixes NB#61129.
3743 * examples/Makefile.am:
3744 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
3745 test the new insensitive messsage functionality on HildonVolumebar.
3747 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
3749 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
3752 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
3754 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
3755 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
3756 button on after clearing the trail.
3758 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3760 * src/hildon-code-dialog.c: Removing the separator from the dialog.
3762 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3764 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
3765 by splitting the installed headers in generated and non-generated groups. Use
3766 only the non-generated headers to create the hildon-enum-types.h file.
3768 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
3770 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3772 * src/hildon-window.c: Hide the window before performing the destroy.
3773 Should make the app closing a little tiny bit more snappy.
3775 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
3777 * src/hildon-seekbar.c: add gtkrange.h header
3778 * src/hildon-caption.c: remove unused variable
3780 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
3782 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
3785 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3791 * debian/changelog: Updating.
3793 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
3795 * src/hildon-window.c (hildon_window_window_state_event,
3796 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
3797 escape timeout on focus-out-event rather than notify::is-topmost; the
3798 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
3800 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3802 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
3803 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
3805 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3807 * src/hildon-window: actually, you need to use the macro always, there's
3808 no private pointer in the instance structure. We should have cleaned this up
3809 when we had the chance...
3811 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
3813 * src/hildon-window.c: do not get the private date from HildonWindow before
3814 it passes the g_return_if_fail check. Once it's passed the test, there's no
3815 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
3816 if you are only going to access the data once. Whitespace cleanups.
3818 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
3820 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
3821 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
3823 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3829 * debian/changelog: Updating.
3831 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3833 * src/hildon-window.c: When destroying the window, remove (if exists) the
3834 escape timeout handler. Fixes #NB59276.
3836 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3838 * src/hildon-banner.c: When realizing the widget, set the window
3839 transiency. Setting the transiency in the gobject constructor is not
3840 good, as the widget is not realized at that point. Fixes: #NB56624.
3842 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3844 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
3845 Add padding for future expansions.
3847 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3849 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
3850 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
3851 will fake an activation on the previous to the last item of the trail, so
3852 the effect can be overrided by the developer as usual.
3853 Also change the callback for the back button to do the same thing, so its
3854 effect can be overrided too. Fixes: NB#58982
3856 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3858 * src/hildon-caption.c: Implementing the proper focus grabbing in the
3859 HildonCaption. Fixes NB#52379.
3861 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
3863 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
3864 the internal state of the trail after the user has had the chance of executing
3865 his handler for the signal. Specifically, it may happen that the activated button
3866 is removed and the user still lets the default handler run. This would segfault
3869 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3871 * src/hildon-font-selection-dialog.c: When the font is really big, add the
3872 scrollbar to the preview dialog. Fixes NB#54147.
3874 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3876 * src/hildon-date-editor.c: Changing the default max year to 2037. The
3877 max/min year properties can be altered, so the client can modify it
3878 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
3880 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3882 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
3883 hildonlike by default. Fixing a problem with disappearing arrows when
3884 scrolling through months and years. Fixes NB#54127.
3886 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3888 * examples/hildon-date-editor-example.c: Adding error callback to the date
3891 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3897 * configure.ac: Updating.
3899 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3901 * configure.ac: Adding a special '--enable-xan' configure option that
3902 turns off the -Werror compilation setting. Usefull for development.
3904 * src/hildon-calendar.c:
3905 * src/hildon-number-editor.c:
3906 * src/hildon-time-picker.c: Adding the 5* multiplier to
3909 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
3911 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
3912 instead of g_object_ref + gtk_object_sink.
3914 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3920 * debian/changelog: Updating.
3922 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3924 * src/hildon-color-chooser-dialog.c:
3925 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
3926 straight from Tommi labs.
3928 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3930 * examples/hildon-finger-example.c: Correcting the header file path.
3932 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
3933 the changed signal. Fixes a small memory leak.
3935 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3939 * src/hildon-banner.c: Importing several usefull fixes from the
3940 ubuntu-mobile branch.
3942 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3944 * examples/Makefile.am:
3945 * examples/hildon-finger-example.c: Adding a finger-checking code
3948 * src/hildon-font-selection-dialog.c: Do not allocate the color
3949 structure using the g_new. Fixes NB#54061.
3951 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3953 * src/hildon-helper.c: Correcting tabs in file.
3955 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
3957 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
3958 control the visibility of the children.
3960 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
3962 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3968 * debian/changelog: Updating.
3970 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3972 * src/hildon-bread-crumb-trail.c:
3973 (hildon_bread_crumb_trail_size_allocate):
3975 Make the back button always a square.
3977 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
3979 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
3980 from the .c file as it's a private file.
3982 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3984 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
3985 uses slightly bigger height.
3987 * src/hildon-font-selection-dialog.c: Adding some checks before
3988 freeing memory in the font selection dialog.
3990 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3992 * src/hildon-font-selection-dialog.c: Adding a small check when
3995 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
3996 buttons sensitivity on page switching.
3998 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4000 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4001 internal details of adding a bread crumb to the trail.
4003 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4009 * debian/changelog: Updating.
4011 * src/hildon-bread-crumb-trail.h:
4012 * src/hildon-bread-crumb.h: Changing the API guard to
4013 HILDON_ENABLE_UNSTABLE_API.
4015 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4023 * src/hildon-helper.h: Updating.
4025 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4033 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4037 * src/hildon-helper.h: Small fix to make the package actually compile.
4039 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4041 * src/hildon-bread-crumb-trail.h:
4042 * src/hildon-bread-crumb.h:
4044 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4045 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4047 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4049 * examples/hildon-bread-crumb-trail-example.c:
4051 * src/hildon-bread-crumb-trail.c:
4052 * src/hildon-bread-crumb-trail.h:
4053 * src/hildon-bread-crumb.c:
4054 * src/hildon-bread-crumb.h:
4055 * src/hildon-marshalers.list:
4056 * src/hildon-bread-crumb-widget.c:
4057 * src/hildon-bread-crumb-widget.h:
4059 Slight change in the widget design. The bread crumb trail API is
4060 unchanged, but HildonBreadCrumb is now an interface. A *private*
4061 implementation, hildon-bread-crumb-widget, is provided and used
4062 internally by the trail for the push_text/push_icon functions.
4064 The generic push API is still available, so anyone can implement
4065 and use its own bread crumb widget.
4067 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4069 * debian/rules: Fixing the shlibs.
4071 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4073 * src/hildon-banner.c: Fixing a problem with timed banners having
4074 their parrent destroyed before they are.
4076 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4078 * src/hildon-bread-crumb.c:
4079 * src/hildon-bread-crumb.h:
4081 Make the get_natural_size function a vfunc.
4083 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4085 * src/hildon-bread-crumb.c:
4086 * src/hildon-bread-crumb-trail.c:
4090 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4097 * debian/changelog: Updating for release.
4099 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4101 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4102 don't leak the pango layout.
4104 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4107 * examples/hildon-bread-crumb-trail-example.c:
4111 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4113 * debian/changelog: Removing the bug-fixed entries that were actually
4114 resolved as WONTFIX.
4116 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4119 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4121 * src/hildon-bread-crumb-trail.c:
4122 * src/hildon-bread-crumb-trail.h:
4123 * src/hildon-bread-crumb.c:
4124 * src/hildon-bread-crumb.h:
4128 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4130 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4131 until it's passed the type check.
4133 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4135 * examples/hildon-bread-crumb-trail-example.c
4139 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4141 * examples/Makefile.am
4142 * examples/hildon-bread-crumb-trail-example.c
4144 * src/hildon-bread-crumb-trail.c
4145 * src/hildon-bread-crumb-trail.h
4146 * src/hildon-bread-crumb.c
4147 * src/hildon-bread-crumb.h
4149 New HildonBreadCrumbTrail widget.
4151 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4153 * src/hildon-range-editor.c (hildon_range_editor_init),
4154 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4155 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4156 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4157 hildon_time_editor_class_init, hildon_time_editor_init),
4158 src/hildon-get-password-dialog.c (invalid_input,
4159 hildon_get_password_set_property, hildon_get_password_get_property,
4160 create_contents, hildon_get_password_dialog_set_max_characters),
4161 src/hildon-set-password-dialog.c (create_contents),
4162 src/hildon-date-editor.c (hildon_date_editor_init),
4163 src/hildon-login-dialog.c (hildon_login_dialog_init),
4164 src/hildon-number-editor.c (hildon_number_editor_init),
4165 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4166 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4167 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4168 configure option and adding the respective checks in the code.
4169 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4170 hildon_calendar_drag_data_received): fixed some build warnings.
4172 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4174 * debian/changelog: A 1.0.0 release notes.