1 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3 * src/hildon-picker-dialog.c:
4 (_on_dialog_response), (_save_current_selection),
5 (_restore_current_selection), (_clean_current_selection),
6 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
7 Defined new functions in order to save the current internal selector
8 selection previous open the dialog, in case that the use cancel the
9 interaction, so the widget restores the previous selection.
13 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
15 2008-11-28 Alberto Garcia <agarcia@igalia.com>
17 * src/hildon-button.c: Add a reference to the button examples in
18 hildon-button-example.c
20 * examples/hildon-button-example.c: Added examples of the most
21 common button layouts.
23 2008-11-28 Alberto Garcia <agarcia@igalia.com>
25 * src/hildon-app-menu.c (hildon_app_menu_show)
26 (hildon_app_menu_class_init): Don't show the menu if it's empty.
28 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
30 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
32 * src/hildon-picker-dialog.c:
33 (hildon_picker_dialog_init): Initialize the signal id for
34 HildonTouchSelector::columns-changed.
35 (+on_selector_columns_changed): Set up the interaction mode everytime a
36 column is added or removed from the HildonTouchSelector.
37 (_hildon_picker_dialog_set_selector): Connect to
38 HildonTouchSelector::columns-changed and keep track of it.
40 Make sure to update the interaction mode of the dialog everytime a
41 column is added or removed in the HildonTouchSelector.
43 Fixes: NB#93228 (Done button is not shown always in listpicker)
45 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
47 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
48 a new ::columns-changed signal.
49 (hildon_touch_selector_append_column): Emit ::columns-changed.
50 (hildon_touch_selector_remove_column): Emit ::columns-changed.
52 Add a ::columns-changed signal, emitted when the number of columns in a
53 HildonTouchSelector changes.
55 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
57 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
58 (_hildon_picker_dialog_set_selector): Factor out the code
59 to set up the dialog interaction mode.
61 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
63 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
64 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
67 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
69 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
72 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
74 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
75 Updated the logical ids related to ampm format, as now it is required to
76 show it correctly localized even on languages with no default
77 abbreviations for am or pm
78 (_check_am_pm_format): check correctly the 24h format gconf property
80 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
82 2008-11-27 Alberto Garcia <agarcia@igalia.com>
84 * src/hildon-button.c: Documentation updates.
86 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
88 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
89 * src/hildon-caption.c: (hildon_caption_class_init):
90 * src/hildon-color-button.c: (hildon_color_button_class_init):
91 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
92 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
93 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
94 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
96 Remove deprecated GTK+ marshalers and replace them with the ones
97 provided by GLib, for those available, add a marshaler for
98 BOOLEAN:VOID, which is not available in GLib, and use it.
100 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
102 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
103 the text from the previous column if there is no
104 HildonTouchSelectorColumn::text-property set.
106 2008-11-27 Alberto Garcia <agarcia@igalia.com>
108 * src/hildon-button.h
109 * src/hildon-button.c (hildon_button_set_property)
110 (hildon_button_get_property, hildon_button_class_init)
111 (hildon_button_set_style, hildon_button_get_style):
112 New "style" property to change the visual appearance of the
115 * src/hildon-picker-button.c (hildon_picker_button_new):
116 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
118 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
119 HildonButton look like PickerButton)
121 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
123 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
124 column while building the default string.
126 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
128 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
129 scroll indicator by default.
131 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
133 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
135 * src/hildon-main.c: Fix the documentation for hildon_init()
137 2008-11-25 Alberto Garcia <agarcia@igalia.com>
139 * doc/hildon-docs.sgml
143 * src/hildon-window-stack-private.h
144 * src/hildon-window-stack.h
145 * src/hildon-window-stack.c:
146 New HildonWindowStack object, that adds support for multiple
147 stacks of windows per process.
149 * src/hildon-stackable-window-private.h
150 * src/hildon-stackable-window.h
151 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
152 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
153 (hildon_stackable_window_show, hildon_stackable_window_hide)
154 (hildon_stackable_window_class_init)
155 (hildon_stackable_window_init):
156 Use HildonWindowStack for stack management.
158 * src/hildon-program.c (hildon_program_pop_window_stack)
159 (hildon_program_peek_window_stack)
160 (hildon_program_go_to_root_window):
161 Add a fallback implementation to the deprecated functions using
164 * examples/hildon-stackable-window-example.c:
165 Use the new HildonWindowStack API.
167 2008-11-25 Alberto Garcia <agarcia@igalia.com>
169 * src/hildon-stackable-window-private.h
170 * src/hildon-stackable-window.c (hildon_stackable_window_show)
171 (hildon_stackable_window_hide, hildon_stackable_window_init):
172 Remove all window stack management.
174 * src/hildon-program-private.h
175 * src/hildon-program.h
176 * src/hildon-program.c (hildon_program_init)
177 (hildon_program_pop_window_stack)
178 (hildon_program_peek_window_stack)
179 (hildon_program_go_to_root_window):
180 Remove all window stack management and mark functions as
183 2008-11-25 Alberto Garcia <agarcia@igalia.com>
185 * src/hildon-app-menu.c (hildon_app_menu_realize):
186 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
188 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
190 * configure.ac: post release version bump
191 * debian/changelog: version bump
193 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
198 * configure.ac: bump version
199 * debian/changelog: updates
201 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
203 Based on initial code by Christian Dywan (christian@imendio.com)
205 * doc/hildon-docs.sgml: Add section for hildon-main.
206 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
207 * src/Makefile.am: Add new hildon-main.[ch]
208 * src/hildon-defines.h: Update the icon sizes.
209 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
210 new library initialization files and register icon sizes.
211 * src/hildon-main.h: New declarations.
212 * src/hildon.h: Include hildon-main.h
214 Add new initialization functions to the library. These methods
215 will register the hildon specific icon sizes and can be used in the
216 future for other hildon specific bits.
218 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
220 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
222 * src/hildon-window.c: (hildon_window_realize),
223 (hildon_window_notify), (-hildon_window_update_title): Do not set
224 the application name in the window title.
226 Fixes: NB#89754 (Applications shouldn't display their names in the
229 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
231 * src/hildon-note-private.h:
232 * src/hildon-note.c: (hildon_note_set_property),
233 (hildon_note_get_property), (hildon_note_class_init),
234 (hildon_note_init), (hildon_note_finalize),
235 (hildon_note_new_confirmation_with_icon_name),
236 (hildon_note_new_information_with_icon_name):
238 No need to mark as deprecated the actual code. Revert
239 to avoid missing symbols in widgets using deprecated API.
241 2008-11-20 Alberto Garcia <agarcia@igalia.com>
243 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
245 * src/hildon-volumebar.h
246 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
247 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
249 * src/hildon-helper.h
250 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
251 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
253 * examples/Makefile.am:
254 Deprecate hildon-insensitive-example
256 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
258 2008-11-20 Alberto Garcia <agarcia@igalia.com>
260 * examples/hildon-pannable-area-buttons-scroll-example.c:
261 Make all buttons finger height
263 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
265 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
267 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
268 update the day model only if it is really required, and to avoid the
269 full-reconstruction aproach. Now it only add or remove the required days.
271 The purpose of this is avoid superfluous HildonTouchSelector::changed
274 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
275 with strange parameters)
277 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
279 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
281 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
282 the WINDOW_TYPE property.
284 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
286 2008-11-19 Alberto Garcia <agarcia@igalia.com>
289 Fix dependency to allow parallel compilation with make -jX
291 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
293 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
294 color frame and some minor tweaks to make it more consistent with
297 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
298 highlighted but not visible)
300 2008-11-14 Alejandro G. Castro <alex@igalia.com>
302 * examples/Makefile.am: Fixed typo in the Makefile.am.
304 2008-11-14 Alejandro G. Castro <alex@igalia.com>
306 Reviewed the use of MAEMO_GTK define, now we add the define in the
307 compilation line, and we also add it to the pc file.
309 * configure.ac: Added MAEMO_GTK define to the compilation command
310 and removed it from the config.h.
312 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
313 do not have to take care about this define if the library was
317 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
319 2008-11-14 Alejandro G. Castro <alex@igalia.com>
321 * examples/Makefile.am,
322 * examples/hildon-pannable-area-buttons-scroll-example.c,
323 * examples/hildon-pannable-area-gesture-signals-example.c,
324 * examples/hildon-pannable-area-scroll-jump-example.c,
325 * examples/hildon-pannable-area-tree-view-example.c:
326 Renamed the pannable area examples, now they have more meaningful
329 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
331 * src/hildon-touch-selector.c:
332 (hildon_touch_selector_set_column_selection_mode): Used of
333 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
334 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
335 to avoid re-seting the same selection mode.
337 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
338 breaks HildonPickerDialog)
340 2008-11-13 Alejandro G. Castro <alex@igalia.com>
342 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
343 conditional in the Makefile.am
345 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
347 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
348 Remove unused methods.
350 2008-11-12 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-button.c (hildon_button_init):
353 Make button images center-aligned by default
355 2008-11-12 Alejandro G. Castro <alex@igalia.com>
358 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
359 activated, we have to think about how to deal with both defines
360 MAEMO_GTK and MAEMO_CHANGES.
362 2008-11-12 Alberto Garcia <agarcia@igalia.com>
364 * examples/hildon-app-menu-example.c (create_menu): Make all
367 2008-11-11 Alejandro G. Castro <alex@igalia.com>
369 Fixed the compilation without maemo gtk adding ifdefs with
370 MAEMO_GTK define to the code, we have to check this version more
373 * examples/Makefile.am: Added control to avoid some examples that
374 just make sense with maemo gtk.
377 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
378 hildon modes with the define.
380 * examples/hildon-edit-toolbar-example.c,
381 (create_icon_view): Create the icon view without hildon-gtk
382 helpers if we are not using maemo gtk.
384 * src/hildon-touch-selector.c,
385 (_create_new_column): Create the treeview without hildon-gtk
386 helpers if we are not using maemo gtk.
388 2008-11-11 Alejandro G. Castro <alex@igalia.com>
390 * src/hildon-pnnable-area.c,
391 (hildon_pannable_area_dispose),
392 (hildon_pannable_area_button_press_cb),
393 (hildon_pannable_area_child_mapped),
394 (hildon_pannable_area_add),
395 (hildon_pannable_area_remove): Added code to control the position
396 of the event_window when adding and removing children from the
397 pannable. We have to raise the event window when the child is
400 Fixes: NB#89811 (Not able to select first image thumbnail in multi
401 selection mode using custom widget inside pannable)
403 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
405 * configure.ac: post release version bump
406 * debian/changelog: version bump
408 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
413 * configure.ac: bump version
414 * debian/changelog: updates
416 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
418 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
419 search mode, in order to avoid lose the focus on the treeview when
420 a hw key (like enter) is pressed.
422 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
423 in HildonDateSelector dialog)
425 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
427 * debian/rules: Added --enable-maintainer-mode
428 * Makefile.am: Added ACLOCAL_AMFLAGS
430 This allows to properly regenerate the Makefiles if you modify the
431 configure.ac or any Makefile.am.
433 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
435 * examples/hildon-app-menu-example.c: (main): Do not set RC style
436 properties, not needed at all.
438 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
440 * src/hildon-note-private.h: Add strings for the icon and stock_icon
442 * src/hildon-note.c: (hildon_note_set_property),
443 (hildon_note_get_property), (hildon_note_class_init),
444 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
445 (hildon_note_new_confirmation_add_buttons): Remove icons.
446 (hildon_note_new_confirmation_with_icon_name): Deprecate.
447 (hildon_note_new_information_with_icon_name): Deprecate.
448 (hildon_note_new_confirmation): Act directly, without calling
449 the deprecated constructor.
450 (hildon_note_new_information): Act directly, without calling
451 the deprecated constructor.
452 * src/hildon-note.h: Mark deprecate methods as such.
453 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
454 not run tests on the deprecated methods if built with deprecation
457 Fixes: NB#91688 (Never show icons in information notes/confirmation
460 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
462 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
463 (hildon_app_menu_key_press): Remove leftover usage of the
464 private structure in HildonAppMenu struct.
465 * src/hildon-app-menu.h: Remove leftover private structure
466 from the HildonAppMenu struct.
468 Fixes a crasher when using the HildonAppMenu.
470 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
472 * src/hildon-picker-dialog.c: Use appropriate logical id
473 for the default "Done" text.
475 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
477 * configure.ac: post release version bump
478 * debian/changelog: version bump
480 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
482 Modified the way to scroll to the current selection just when the touch
483 selector is shown on the screen, avoiding a g_idle. Added too a property
484 to configure this behaviour. See hildon_pannable_area_jump_to_child
485 documentation for more information.
487 * src/hildon-touch-selector.c
488 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
489 Added 'initial-scroll' property
490 (hildon_touch_selector_set_property): Added
491 (hildon_touch_selector_map): Removed as not required anymore
492 (_hildon_touch_selector_on_selected_items): Modified in order to manage
493 only a concrete column, instead of iterate along all the columns
495 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
500 * configure.ac: bump version
501 * debian/changelog: updates
503 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
505 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
506 compilation time warnings.
508 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
510 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
511 the default value for HildonPannableArea::mov-mode to
512 HILDON_PANNABLE_AREA_MODE_VERT.
514 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
516 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
518 Reverting following commit:
520 2008-10-13 Alberto Garcia <agarcia@igalia.com>
522 * src/hildon-app-menu-private.h
523 * src/hildon-app-menu.[ch]
524 * src/hildon-button.[ch]
525 * src/hildon-check-button.[ch]
526 * src/hildon-entry.[ch]
527 * src/hildon-pannable-area.[ch]
528 * src/hildon-text-view.[ch]:
529 Added private field to the object's structure.
531 because it causes an ABI breakage. We will need to introduce these
532 changes later at some point. See NB#91636 for an extensive
533 explanation and status.
535 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
537 Patch contributed by Daniel Borgmann (danielb@openismus.com)
539 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
540 remove special cases that are no longer necessary.
542 Fixes: NB#91016 (Change toolbar sizes, simplification)
544 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
546 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
547 is shown in the cancel note.
549 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
551 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
552 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
553 (hildon_seekbar_init): Remove steppers, remove expose event.
554 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
556 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
558 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
560 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
561 label font to "SmallSystemFont" for vertically arranged buttons.
563 Fixes: NB#90662 (HildonButton "value" and "detail" text is
566 2008-10-31 Alberto Garcia <agarcia@igalia.com>
568 * src/hildon-check-button.c
569 (hildon_check_button_set_active, hildon_check_button_clicked):
570 Don't access private parts directly, use getters instead.
572 2008-10-31 Alberto Garcia <agarcia@igalia.com>
574 * src/hildon-check-button.c (hildon_check_button_new):
575 Align the contents of the check button to the left.
577 2008-10-30 Alejandro G. Castro <alex@igalia.com>
579 * src/hildon-pannable-area.c,
580 (hildon_pannable_area_scroll_to),
581 (hildon_pannable_area_jump_to),
582 (hildon_pannable_area_scroll_to_child),
583 (hildon_pannable_area_jump_to_child): Replace the mapped
584 precondition of these functions with the realized, it is the
585 correct state of the widget in this case. Changed the
586 documentation according to this modification.
588 2008-10-30 Alejandro G. Castro <alex@igalia.com>
590 Added a new EXTRA_CFLAGS option to add the deprecated define to
591 the compilation command. This way we can avoid using the define in
592 the documentation compilation.
594 * configure.ac: Defined EXTRA_CFLAGS.
596 * examples/Makefile.am:
598 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
600 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
602 * src/hildon-picker-dialog.c:
603 Defined a utility macro with the desired touch selector height
604 Removed currently unused separator, and title_label variables from
606 (hildon_picker_dialog_init): Removed code related to the creation
607 of unused private variables title_label and separator.
608 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
609 to ensure correct visualization of the touch selector inside the dialog.
610 * src/hildon-touch-selector.c
611 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
612 ensure a concrete height of the widget.
614 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
619 Remove spurious whitespaces.
621 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
624 compilation warning after the cancel button removal.
626 2008-10-30 Alejandro G. Castro <alex@igalia.com>
628 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
630 * configure.ac: Added an AM_CONDITIONAL in order to use in the
631 Makefile.am, that way we can choose not to compile some examples
632 and tests of the deprecated widgets.
634 * examples/Makefile.am: Divided the sources in deprecated and
637 * src/Makefile.am: Added undef statement of the deprecated
638 symbol to the enums file generation process.
640 * src/hildon-color-chooser-dialog.c
641 * src/hildon-color-chooser-dialog.h
642 * src/hildon-color-button.c
643 * src/hildon-color-button.h
644 * src/hildon-color-chooser.c
645 * src/hildon-color-chooser.h
646 * src/hildon-controlbar.c
647 * src/hildon-controlbar.h
648 * src/hildon-date-editor.c
649 * src/hildon-date-editor.h
650 * src/hildon-hvolumebar.c
651 * src/hildon-hvolumebar.h
652 * src/hildon-private.c
653 * src/hildon-private.h
654 * src/hildon-range-editor.c
655 * src/hildon-range-editor.h
656 * src/hildon-seekbar.c
657 * src/hildon-seekbar.h
658 * src/hildon-time-editor.c
659 * src/hildon-time-editor.h
660 * src/hildon-time-picker.c
661 * src/hildon-time-picker.h
662 * src/hildon-volumebar.c
663 * src/hildon-volumebar.h
664 * src/hildon-vvolumebar.c
665 * src/hildon-vvolumebar.h
666 * src/hildon-bread-crumb-trail.h
667 * src/hildon-bread-crumb-trail.c
668 * src/hildon-calendar-popup.c
669 * src/hildon-calendar-popup.h
670 * src/hildon-weekday-picker.c:
671 * src/hildon-weekday-picker.h:
672 * src/hildon-bread-crumb-widget.c:
673 * src/hildon-bread-crumb-widget.h:
674 * src/hildon-bread-crumb.c:
675 * src/hildon-bread-crumb.h:
676 * src/hildon-calendar.c:
677 * src/hildon-calendar.h:
678 * src/hildon-caption.c:
679 * src/hildon-code-dialog.c:
680 * src/hildon-code-dialog.h:
681 * src/hildon-font-selection-dialog.c:
682 * src/hildon-font-selection-dialog.h:
683 * src/hildon-get-password-dialog.c:
684 * src/hildon-get-password-dialog.h:
685 * src/hildon-login-dialog.c:
686 * src/hildon-login-dialog.h:
687 * src/hildon-number-editor.c:
688 * src/hildon-number-editor.h:
689 * src/hildon-set-password-dialog.c:
690 * src/hildon-set-password-dialog.h:
691 * src/hildon-sort-dialog.c:
692 * src/hildon-sort-dialog.h: This is the list of deprecated
695 * src/hildon-touch-selector.c:
696 * src/hildon-window.c: Added undef statement to avoid compilation
699 * tests/Makefile.am: Divided the sources in deprecated and
702 * tests/check_test.c,
703 (configure_tests): Marked the deprecated code that was adding
704 suites with deprecated tests.
706 Fixes: NB#91135 (Deprecate legacy hildon widgets)
708 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
710 * src/hildon-touch-selector.c: (_default_print_func): Do not
711 duplicate a string returned by gtk_tree_model_get(), it is already
714 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
717 2008-10-28 Alejandro G. Castro <alex@igalia.com>
719 * src/hildon-pannable-area.c
720 (hildon_pannable_area_add_with_viewport): Reviewed the complete
721 method, it had problems when adding a widget with viewport the
722 second time. Now checks if it already has a viewport and uses it.
724 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
727 2008-10-28 Alejandro G. Castro <alex@igalia.com>
729 * src/hildon-pannable-area.c,
730 (hildon_pannable_area_scroll_to),
731 (hildon_pannable_area_jump_to),
732 (hildon_pannable_area_scroll_to_child),
733 (hildon_pannable_area_jump_to_child): Added a precondition to the
734 scroll and jump to functions: the widget must be mapped before we
735 can safely call these functions. We have also added documentation
736 to the functions to explain how to use them in this situation.
739 2008-10-28 Alejandro G. Castro <alex@igalia.com>
741 Reviewed the threading handling of the pannable widget, we have
742 used the gdk_threads_add_timeout function instead of the usual
743 glib handlers. This avoids some problems with the threads.
745 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
746 (hildon_pannable_area_initial_effect),
747 (hildon_pannable_area_scroll_indicator_fade),
748 (hildon_pannable_area_button_press_cb),
749 (hildon_pannable_area_timeout),
750 (hildon_pannable_area_motion_notify_cb),
751 (hildon_pannable_area_button_release_cb),
752 (hildon_pannable_area_scroll_cb),
753 (hildon_pannable_area_scroll_to): Removed the
754 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
755 gdk_threads_add_timeout.
757 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
759 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
764 * configure.ac: bump version
765 * debian/changelog: updates
767 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
769 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
770 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
771 * src/hildon-color-chooser-dialog.c:
772 (hildon_color_chooser_dialog_init):
773 * src/hildon-font-selection-dialog.c:
774 (hildon_font_selection_dialog_init):
775 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
777 Remove all cancel/close-like dialogs, as these are not going to be
780 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
782 * src/hildon-note.c: (hildon_note_rebuild),
783 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
786 Fixes: NB#90661 (Delete dialog is displayed without NO button)
788 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
790 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
791 sure all buttons are shown, even the Cancel/Close-like ones.
793 Fixes: NB#90861 (Custom Confirmation dialogs should be
794 protected from cancel button removal)
796 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
798 * debian/control: Change libhildon1-examples dependency from libhildon1
800 * debian/libhildon1-examples.install
802 * Makefile.am: Modified the final install directory for the examples on
803 package libhildon1-examples
804 * Makefile.static: Update clean target in order to remove all the binary
807 Changes suggested by Claudio after review new libhildon1-examples package
809 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
811 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
812 * src/hildon-touch-selector.c: Ditto.
814 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
816 * debian/control: Added new package libhildon1-examples, in order to pack
817 the current hildon examples as documentation
818 * debian/rules: Not to compress .c files, modify some includes on the
819 examples (as normally are compiled locally, but when installed it will
820 require to include the installed libhildon1 library), and rename
822 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
823 install all the example files on the new example package
824 * examples/Makefile.static: Added static makefile that can be used to
825 compile the examples, once installed the new example package
826 * examples: Most of the examples were modified in order to grant that
827 all use only '#include "hildon.h"', in order to be easy to prepare
828 it on the example package
830 2008-10-23 Alberto Garcia <agarcia@igalia.com>
833 * debian/libhildon1-dev.install
834 * debian/libhildon1-doc.install:
835 Move all gtk-doc files to a separate libhildon1-doc package.
837 2008-10-23 Daniel Borgmann <danielb@openismus.com>
839 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
843 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
845 * debian/rules: Fixed a error in order to avoid unnecessary calls
846 to autogen.sh on package building
848 2008-10-22 Alberto Garcia <agarcia@igalia.com>
850 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
852 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
854 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
857 2008-10-21 Alberto Garcia <agarcia@igalia.com>
859 * src/hildon-picker-button.c
860 (hildon_picker_button_finalize):
861 Free priv->done_button_text
863 * src/hildon-time-button.c
864 (hildon_time_button_set_time)
865 * src/hildon-picker-button.c
866 (hildon_picker_button_clicked)
867 (hildon_picker_button_selector_selection_changed)
868 (hildon_picker_button_set_selector)
869 * src/hildon-date-button.c
870 (hildon_date_button_set_date):
871 Free strings returned by hildon_touch_selector_get_current_text()
873 * src/hildon-button.c (hildon_button_construct_child):
874 Fix leaks in priv->image and priv->label_box
876 Fixes: NB#90535 (Memory leak in picker button)
878 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
880 * src/hildon-button.c: (hildon_button_get_property): Do not access
881 private elements directly, use getters instead.
883 2008-10-20 Alberto Garcia <agarcia@igalia.com>
885 * src/hildon-app-menu-private.h
886 * src/hildon-app-menu.c
887 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
888 Store the menu's parent window.
890 * src/hildon-stackable-window.c
891 (hildon_stackable_window_toggle_menu)
892 (hildon_stackable_window_finalize):
893 Set the menu's parent window when the menu is shown, unset it when
896 * src/hildon-app-menu.c
897 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
898 (hildon_app_menu_class_init):
899 Send unhandled keyboard accelerators to the parent window.
901 2008-10-20 Alberto Garcia <agarcia@igalia.com>
903 * src/hildon-stackable-window.c
904 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
906 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
908 * configure.ac: post release version bump
910 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
913 * configure.ac: Bump version
914 * debian/changelog: Updates
915 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
918 2008-10-20 Alberto Garcia <agarcia@igalia.com>
920 Patch contributed by Daniel Borgmann (danielb@openismus.com)
923 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
924 GtkMenu with Hildon style.
926 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
928 * src/hildon-picker-button.c:
929 (hildon_picker_button_set_done_button_text): Set the dialog's
930 done button text here as well.
932 Fixes: NB#90232 (Picker button does not set the label on done button
935 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
937 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
940 2008-10-16 Alberto Garcia <agarcia@igalia.com>
942 * src/hildon-app-menu.c (hildon_app_menu_insert)
943 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
944 the HildonAppMenu to be activatable using keyboard accelerators
945 when the menu is not being shown.
947 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
949 2008-10-16 Alberto Garcia <agarcia@igalia.com>
951 * src/hildon-stackable-window.c
952 (hildon_stackable_window_show):
953 Don't hide old windows automatically when new windows are shown:
954 this is now a task for the window manager.
955 (hildon_stackable_window_class_init)
956 (hildon_stackable_window_hide):
957 Remove windows from the stack everytime they're hidden.
958 (hildon_stackable_window_realize):
959 Don't change the _NET_WM_WINDOW_TYPE property. Use
960 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
961 it as a stackable window.
963 * src/hildon-program.c
964 (hildon_program_pop_window_stack):
965 Just hide the window to remove it from the stack.
966 (hildon_program_go_to_root_window):
967 Don't call gtk_widget_show(), this is now a task for the window
970 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
972 2008-10-15 Alberto Garcia <agarcia@igalia.com>
974 * src/hildon-button.c
975 (hildon_button_construct_child):
976 Don't pack anything in the button until text or image are
977 set. This allows adding a custom child after creating the button
978 with hildon_button_new().
979 (hildon_button_finalize, hildon_button_class_init)
980 (hildon_button_init, hildon_button_set_arrangement): Destroy the
981 alignment and the label box even when they're not packed in the
984 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
986 * src/hildon-touch-selector.h:
987 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
988 currently the type definition was using GTK_TYPE_VBOX
989 * src/hildon-touch-selector.c:
990 Added some implementation notes in order to clarify that any other widget
991 added without the column related API will not be included on the
992 selection logic, and how the widget is freed, as some people ask about
994 (hildon_touch_selector_remove): Reimplemented in order to free properly
995 the column related data when you remove the private hbox.
996 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
997 to get a proper HildonTouchSelectorColumn documentation
999 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1001 * src/hildon-touch-selector-entry.c:
1002 (hildon_touch_selector_entry_print_func): Return NULL if there is no
1003 text in the GtkEntry and there is no item selected. Fixes a
1006 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1008 * src/hildon-app-menu-private.h
1009 * src/hildon-app-menu.[ch]
1010 * src/hildon-button.[ch]
1011 * src/hildon-check-button.[ch]
1012 * src/hildon-entry.[ch]
1013 * src/hildon-pannable-area.[ch]
1014 * src/hildon-text-view.[ch]:
1015 Added private field to the object's structure.
1017 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
1019 * configure.ac: post-release version bump
1021 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1025 * configure.ac: pre-release version bump
1027 * debian/changelog: updates.
1029 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
1031 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
1032 Disconnect the handler for HildonTouchSelector::changed.
1034 (hildon_picker_button_selector_selection_changed): Update the button
1035 value if the selection change was not triggered by the
1038 (hildon_picker_button_set_selector): connect to
1039 HildonTouchSelector::changed.
1041 Fixes: NB#89650 (Picker button is not updated, when selection in
1042 selector has changed)
1044 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
1046 * src/hildon-picker-dialog.c
1047 (hildon_picker_dialog_realize): Removed as not required
1048 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
1049 * src/hildon-picker-button.c
1050 (_current_selector_empty): New function, checks if the selector is empty
1051 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
1052 if the current selector is empty, in order to avoid to show the dialog
1053 close the dialog in this case (and shows a g_warning).
1055 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
1057 2008-10-09 Alejandro G. Castro <alex@igalia.com>
1059 * src/hildon-pannable-area.c,
1060 (hildon_pannable_area_scroll): Added clause to stop movement when
1061 the child of pannable is smaller than one page.
1062 (hildon_pannable_area_scroll_to): Added conditions to avoid
1063 starting the scrolling movement if the child is smaller than one
1064 page, the complete child is in the screen, we do not have to move.
1066 Fixes: NB#89632 (Picker button selection doesn't change on first click)
1068 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1070 * src/hildon-app-menu.c: Removed the 'columns' property, as now
1071 this is managed automatically by the widget when the size of the
1074 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1076 * src/hildon-picker-button.c
1077 (hildon_picker_button_set_done_button_text): Make a copy of the
1078 text, and free the previous value.
1080 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1082 * src/hildon-touch-selector-entry.c:
1083 (hildon_touch_selector_entry_print_func): Return the selected row's
1084 text if the entry is empty.
1086 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
1089 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
1091 * src/hildon-touch-selector-entry.c: Minor docs fixes.
1093 2008-10-09 Alberto Garcia <agarcia@igalia.com>
1096 * src/hildon-check-button.h
1097 * src/hildon-check-button.c
1098 * examples/hildon-check-button-example.c:
1099 HildonCheckButton is now a new widget. 'toggled' signal added.
1101 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-program-private.h
1104 * src/hildon-program.c (hildon_program_init)
1105 (hildon_program_finalize): Removed unused variables group_leader
1106 and name from HildonProgramPrivate.
1108 2008-10-08 Alberto Garcia <agarcia@igalia.com>
1110 * src/hildon-check-button.c (hildon_check_button_set_active)
1111 (hildon_check_button_get_active, hildon_check_button_new): Use
1112 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
1114 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
1116 * src/hildon-touch-selector.h
1117 (hildon_touch_selector_set_column_attributes): added deprecation
1118 guard HILDON_DISABLE_DEPRECATED
1119 * src/hildon-time-selector.c
1120 (hildon_time_selector_set_time)
1121 (hildon_time_selector_get_time): Fixed a typo on documentation
1122 * src/hildon-touch-selector.c: update HildonTouchSelector and
1123 HildonTouchSelectorColumn documentation
1124 * src/hildon-touch-selector-entry.c: update "text-column" property
1126 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1127 to be added to the general documentation.
1129 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1131 * examples/hildon-pannable-area-example-4.c,
1133 * examples/hildon-pannable-area-example.c,
1134 (main): Modified the code in order to use the container add, with
1135 viewport treeviews could have problems if they are really big.
1137 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1139 * src/hildon-weekday-picker.c,
1140 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1141 the agreement regarding deprecation in the library.
1143 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1145 * examples/hildon-picker-button-multicolumn-example.c:
1146 (main): Use custom "done" button text.
1148 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1149 (hildon_picker_button_set_property),
1150 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1151 (hildon_picker_button_init),
1152 (+hildon_picker_button_get_done_button_text),
1153 (+hildon_picker_button_set_done_button_text): New methods to customize
1154 the "done" button label in the launched HildonPickerDialog. Also,
1157 * src/hildon-picker-button.h: add the public API.
1159 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1161 * src/hildon-date-selector.h:
1162 * src/hildon-picker-dialog.h:
1163 * src/hildon-time-selector.h:
1164 * src/hildon-touch-selector-column.h:
1165 * src/hildon-touch-selector.h:
1167 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1168 declarations. Fixes gtk-doc warnings.
1170 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-picker-dialog.h
1173 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1174 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1176 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1177 long text is set as label for done button)
1179 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1181 * src/hildon-dialog.c (hildon_dialog_add_button):
1182 Set fixed width to all buttons in the HildonDialog.
1184 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1186 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1188 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1189 Set widget name using class name plus "-finger" or "-thumb".
1191 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1193 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1194 'clicked' when the state of the button is manually changed.
1196 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1198 * src/hildon-app-menu.c (hildon_app_menu_realize)
1199 (hildon_app_menu_unrealize, hildon_app_menu_init)
1200 (hildon_app_menu_class_init, item_visibility_changed):
1201 Change the menu layout when the size of the screen changes.
1202 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1203 Show warning only when changing the number of colums using the
1206 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1208 * debian/compat: Set to 5
1209 * debian/control: Update dependencies.
1210 * debian/libhildon1-dbg.install: Remove.
1211 * debian/libhildon1-dev.install: Update according to cdbs paths.
1212 * debian/libhildon1.install: Update according to cdbs paths.
1213 * debian/rules: Switch to cdbs.
1215 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1217 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1218 'item' variable renamed to 'filter'
1220 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1222 * src/hildon-app-menu.c (hildon_app_menu_insert)
1223 (hildon_app_menu_add_filter, remove_item_from_list)
1224 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1225 Don't leak hidden items when the menu is destroyed.
1227 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-app-menu.c (hildon_app_menu_insert)
1230 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1231 (hildon_app_menu_set_columns, item_visibility_changed)
1232 (filter_visibility_changed, hildon_app_menu_repack_filters)
1233 (hildon_app_menu_repack_items):
1234 Repack items and filters separately.
1236 Don't repack all items, change only the ones that are needed to
1239 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1241 * src/Makefile.am: added hildon-touch-selector-column.h
1243 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1245 * src/hildon-touch-selector.c: added the property "text-column" to the
1246 class HildonTouchSelectorColumn, and related get/set functions
1247 (_default_printf_func): updated to use "text-column" property
1248 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1249 "text-column" in his documentation, as this is now included on
1250 HildonTouchSelectorColumn. The get/set_property can still be used,
1251 working as a wrapper to the concrete column "text-column" property
1252 (_text_column_modified): callback added in order to handle the signal
1253 "notify::text-column" of the concrete HildonTouchSelectorColumn
1254 (hildon_touch_selector_entry_get_text_column)
1255 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1256 modified in order to use the HildonTouchSelectorColumn "text-column"
1258 * src/hildon-time-selector.c:
1259 * src/hildon-date-selector.c:
1260 * examples/hildon-touch-selector-example.c
1261 * examples/hildon-touch-selector-multi-cells-example.c
1262 * examples/hildon-picker-button-multicolumn-example.c
1263 Set the right value to "text-column" property on the creation of a new
1264 column using hildon_touch_selector_append_column()
1266 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1268 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-app-menu.c
1271 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1272 updating the layout of the menu, don't create all widgets again,
1273 just repack the items in their new places.
1275 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1277 * src/hildon-time-selector.c
1278 (hildon_time_selector_get_time)
1279 (hildon_time_selector_set_time)
1280 Added documentation of these public methods
1282 * src/hildon-date-button.h
1283 * src/hildon-touch-selector-column.h
1284 * src/hildon-time-button.h
1285 * src/hildon-picker-dialog.h
1286 * src/hildon-time-selector.h
1287 * src/hildon-picker-button.h
1288 * src/hildon-touch-selector.h
1289 * src/hildon-time-picker.h
1290 * src/hildon-date-selector.h
1291 * src/hildon-touch-selector-entry.h
1292 Modified in order to use hildon-widgets code style
1294 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1296 Added deprecated support to the compilation process using
1297 HILDON_DISABLE_DEPRECATED
1299 * configure.ac: Added the --disable-deprecated to the configure
1302 * src/hildon-weekday-picker.c:
1303 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1304 to use the deprecated support. We will update the other deprecated
1305 widgets status in a new patch.
1307 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1309 * configure.ac: Fixed typo with fatal warnings support, the
1310 variable name was not correct
1312 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1314 * src/hildon-app-menu.c
1315 * src/hildon-program.c: Update documentation.
1317 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1319 * configure.ac: Post-release version bump.
1321 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1326 * configure.ac: Pre-release version bump.
1327 * debian/changelog: Updates.
1329 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1331 * NEWS: Update news for previous releases.
1333 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1335 * examples/hildon-touch-selector-multi-cells-example.c:
1336 (create_selector): Update the example to use
1337 hildon_touch_selector_append_column() with a NULL renderer and set
1338 the renderers later.
1339 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1340 passed a NULL renderer. This is documented behavior now.
1342 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1343 This must be used if the developer wants full control on the layout of
1344 the renderers to be added to the column.
1346 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1348 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1350 * src/hildon-touch-selector.c: Documentation fixes.
1352 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1354 * src/hildon-wizard-dialog-private.h: Remove image and box.
1355 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1356 (hildon_wizard_dialog_set_property), (response): Completely remove
1357 image/icon support, and the containers required for the layout.
1359 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1361 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1363 * src/hildon-app-menu.c: Updated documentation.
1365 * src/hildon-stackable-window.c
1366 (hildon_stackable_window_set_main_menu): Unref the old menu after
1367 ref'ing the new one.
1369 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1371 * src/hildon-stackable-window.c
1372 (hildon_stackable_window_set_main_menu): Unref the previous menu
1373 instead of destroying it.
1375 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1376 floating reference and set has_user_ref_count to FALSE to make
1377 HildonAppMenu act like a normal ref-counted widget and not a
1380 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1383 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1385 * src/hildon-touch-selector-column.h: new file
1386 * src/hildon-touch-selector.h
1387 * src/hildon-touch-selector.c
1388 Implemented GtkCellLayout interface, in order to allow to configure
1389 the cell layout on each individual selector column
1390 (hildon_touch_selector_set_column_attributes): marked as deprecated
1391 * examples/hildon-touch-selector-multi-cells-example.c
1392 Example of how to use the GtkCellLayout interface on the selector
1394 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1396 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1398 * src/hildon-app-menu.h
1399 * src/hildon-app-menu.c
1400 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1401 (hildon_app_menu_append, hildon_app_menu_prepend):
1402 New methods to prepend, insert and move items in the menu.
1404 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1406 * src/hildon-wizard-dialog.c:
1408 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1410 (create_title): Update logical IDs and related code.
1411 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1413 * src/hildon-wizard-dialog.h: Note that
1414 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1415 point, as it is not used anymore.
1417 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1419 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1421 * src/hildon-note.c:
1422 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1423 shown. Do not display an icon in confirmation notes nor information
1425 (hildon_note_set_button_text): Update logical ID for cancel button.
1427 Fixes: NB#88850 (Update HildonNote button strings + signals)
1429 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1431 * src/hildon-stackable-window.c
1432 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1434 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1436 * src/hildon-app-menu-private.h
1437 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1438 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1439 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1440 temporary property 'columns' to change the number of columns.
1442 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1444 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1446 * examples/hildon-note-example.c: (on_information_clicked),
1447 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1448 debugging information.
1449 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1451 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1452 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1453 in order to close: this will be handled by the WM from now on.
1455 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1457 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-app-menu-private.h
1460 * src/hildon-app-menu.c
1461 (hildon_app_menu_append, hildon_app_menu_add_filter)
1462 (button_visibility_changed, hildon_app_menu_apply_style)
1463 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1464 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1465 layout everytime a button (item or filter) is shown or hidden.
1467 * src/hildon-stackable-window.c
1468 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1471 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1473 * src/hildon-touch-selector.c:
1474 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1475 that the treeview inside the touch selector is in fremantle hildon mode
1476 * examples/hildon-date-button-example.c
1477 * examples/hildon-picker-button-multicolumn-example.c
1478 * examples/hildon-touch-selector-entry-example.c
1479 * examples/hildon-touch-selector-example.c
1480 * examples/hildon-time-button-example.c
1481 * examples/hildon-picker-button-example.c:
1482 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1484 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1486 * examples/hildon-text-view-example.c: (main): Remove the
1487 gtkrc bits, now handled by the theme.
1489 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1491 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1494 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1496 * po/Makefile.am: Install properly the mo files.
1497 * po/en_GB.po: Update translation, to ease testing purposes.
1499 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1501 * examples/hildon-picker-button-example.c: (main): Select an item
1502 in the selector before setting it to the button.
1504 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1506 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1507 Update button's value if the selector has an item active.
1509 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1510 'value' with the selector)
1512 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1514 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1515 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1516 (hildon_picker_button_class_init): Plug the finalize method.
1517 (hildon_picker_button_set_selector): If there's a previously set
1518 selector, unref'it before setting a new one.
1520 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1521 HildonTouchSelector)
1523 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1525 * src/hildon-touch-selector-entry.c:
1526 (hildon_touch_selector_entry_changed): Check if there is no text
1527 selected before setting the entry text.
1530 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1532 * src/hildon-touch-selector.h
1533 * src/hildon-touch-selector.c
1534 (hildon_touch_selector_get_active)
1535 (hildon_touch_selector_set_active): New methods to set/get the
1536 index of the selected item.
1538 * src/hildon-picker-button.h
1539 * src/hildon-picker-button.c
1540 (hildon_picker_button_get_active)
1541 (hildon_picker_button_set_active): New methods to set/get the
1542 index of the selected item.
1544 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1546 * configure.ac: post-release version bump.
1548 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1552 * configure.ac: Pre-release version bump.
1553 * debian/changelog: Updates.
1554 * debian/control: Add myself as maintainer and depend on l10n
1557 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1559 * src/hildon-window.c
1560 (hildon_window_set_main_menu)
1561 * src/hildon-stackable-window.c
1562 (hildon_stackable_window_set_main_menu):
1563 Updated documentation.
1565 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1567 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1568 Don't free selector->priv manually.
1571 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1574 (hildon_gtk_window_set_progress_indicator):
1575 * src/hildon-gtk.h: Added the new API
1576 hildon_gtk_window_set_progress_indicator, it changes the state of
1577 the window progress hint.
1579 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1581 * src/hildon-button.c
1582 * src/hildon-stackable-window.c: Minor documentation updates.
1584 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-stackable-window.c: Updated documentation.
1588 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1590 * src/hildon-defines.h: Update margins definitions
1591 to the Fremantle sizes.
1594 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1596 * src/hildon-touch-selector.c,
1597 (_hildon_touch_selector_set_model): Cleaning the code after
1598 review, removed g_print and #if 0 from the code.
1600 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1602 * src/hildon-edit-toolbar.c: Update documentation.
1604 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1606 * src/hildon-check-button.h
1607 * src/hildon-check-button.c
1608 (hildon_check_button_set_label, hildon_check_button_get_label)
1609 * examples/hildon-check-button-example.c
1610 (button_clicked_cb):
1611 Removed deprecated methods.
1613 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1615 * src/hildon-text-view.c:
1616 Add sample code to the documentation.
1618 * src/hildon-entry.h
1619 * src/hildon-text-view.h:
1620 Minor cosmetic changes.
1622 * src/hildon-entry.c:
1623 Add sample code to the documentation.
1624 (hildon_entry_init, hildon_entry_refresh_contents):
1625 Don't allow NULL values in the placeholder.
1627 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1629 * doc/hildon-docs.sgml
1631 * examples/Makefile.am
1632 * examples/hildon-text-view-example.c
1634 * src/hildon-text-view.c
1635 * src/hildon-text-view.h
1637 New HildonTextView widget, with example.
1639 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1641 * po/POTFILES.in: Add missing files with translatable strings.
1642 Partially fixes NB#88287.
1644 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1646 * examples/hildon-pannable-area-example-2.c: (main): No need to
1647 set the cellrenderer height inside hildon touch lists, the theme does
1650 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1652 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1653 they are integrated in the theme.
1655 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1657 * examples/hildon-entry-example.c: Update the example adding
1658 widgets to modify the text and the placeholder of the HildonEntry.
1660 * src/hildon-entry.c: Show the placeholder everytime the widget
1661 is empty and loses the focus.
1663 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1665 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1667 * src/hildon-pannable-area.c,
1668 (hildon_pannable_area_size_request): Fixed bug in height
1669 requisition, avoid increasing size and add border twice.
1671 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1673 * configure.ac: postrelease version bump.
1675 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1679 * configure.ac: Prerelease version bump.
1680 * debian/changelog: update.
1681 * debian/rules: make -dbg package contain useful debugging symbols.
1683 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1685 * src/hildon-dialog.h
1686 * src/hildon-dialog.c
1687 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1688 New methods to add buttons with finger size.
1689 (hildon_dialog_new_with_buttons):
1690 Create buttons with finger size.
1692 * examples/hildon-dialog-example.c (main): Use HildonDialog
1693 methods to add buttons.
1695 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1697 * src/hildon-entry.c: Updated HildonButton documentation.
1699 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1701 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1702 button value label with (FALSE, FALSE) to prevent NB#88126 from
1705 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1707 * examples/hildon-pannable-area-example.c,
1708 (main): Removed examples panning a vbox inside a pannable
1709 area. Check bug NB#87965
1711 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1713 Patch contributed by Kris Rietveld (kris@imendio.com)
1715 * src/hildon-pannable-area.c,
1716 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1717 get_size and get_position, this saves an X server roundtrip.
1719 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1721 * doc/hildon-docs.sgml
1723 * examples/Makefile.am
1724 * examples/hildon-entry-example.c
1726 * src/hildon-entry.c
1727 * src/hildon-entry.h
1729 New HildonEntry widget, with example.
1731 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1733 * src/hildon-button.c (hildon_button_construct_child): Pack the
1734 image with expand == fill == FALSE. This is a workaround for a bug
1737 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1739 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1740 labels for the text column, to make it more look more dynamic.
1742 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1744 * src/hildon-time-selector.c
1745 Define gettext auxiliar macro N_
1746 (_create_minutes_model)
1747 (_create_hours_model)
1748 (_create_ampm_model): use of strftime in order to fill the model
1749 * src/hildon-date-selector.c
1750 (hildon_date_selector_finalize):
1751 (_locales_init): remove the logic related to get the name of the months
1752 using nl_langinfo, as it is not required anymore
1754 (_create_year_model)
1755 (_create_month_model)
1756 (_update_day_model): use of strftime in order to fill the model properly
1759 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-button.h
1762 * src/hildon-button.c (hildon_button_get_image): New method to
1765 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1767 * src/hildon-touch-selector.c:
1768 (hildon_touch_selector_remove_column): Remove from the correct parent
1769 and also remove the list element and free it.
1772 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1774 * src/hildon-time-selector.c
1775 (_create_hours_model): change the range on 12h ampm format in order to use
1776 a 12-11 range instead of previous 01-12 range
1777 (hildon_time_selector_set_time): change the way to select the current time
1778 on 12h ampm format, due the change on the range
1779 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1782 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1784 * src/hildon-touch-selector.c
1785 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1786 in order to allow use this function on multiple row selection mode if
1787 the column is different that the first one
1790 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1793 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1795 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1797 * src/hildon-date-selector.h: clean some comments, now on the .c
1798 * src/hildon-date-selector.c
1799 (hildon_date_selector_select_month): first implementation
1800 (hildon_date_selector_select_day): added documentation, reimplemented
1801 using hildon_date_selector_select_current_date to avoid repeat code
1804 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1806 Reviewed interaction logic based on device experiences, refactored
1809 * src/hildon-pannable-area.c,
1810 (hildon_pannable_area_class_init): Updated default vmax speed.
1811 (hildon_pannable_area_calculate_velocity): Added this function, it
1812 avoids duplicate valocity calculation. Adjusted calculation to
1813 avoid problems with zero dist events.
1815 (hildon_pannable_area_motion_notify_cb): Now we use the
1816 calculate_velocity function.
1818 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1820 * src/hildon-date-selector.c
1821 (hildon_date_selector_select_current_date): fix the day range check
1822 as it failed using the last day of the current month
1825 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1827 * src/hildon-touch-selector.c
1828 (hildon_touch_selector_get_num_columns): added a parameter validation
1831 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1833 * examples/Makefile.am
1834 * examples/hildon-edit-toolbar-example.c: Example of the
1835 HildonEditToolbar widget.
1837 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1839 * configure.ac: postrelease version bump.
1841 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1845 * configure.ac: prerelease version bump.
1846 * debian/changelog: update.
1848 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1850 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1851 renderer to display stock icons in the touch list. Also, set the sizes
1852 to the recommended in the style guide.
1854 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1855 * src/hildon-touch-selector.h
1856 (hildon_touch_selector_set_active_iter): renamed, now is
1857 hildon_touch_selector_select_iter
1858 (hildon_touch_selector_get_active_iter): renamed, now is
1859 hildon_touch_selector_get_selected
1860 (hildon_touch_selector_unselect_iter): added
1861 * src/hildon-touch-selector.c
1862 Update after API modification (methods renamed)
1863 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1864 order to avoid problems selecting multiple elements on the column
1865 (hildon_touch_selector_unselect_iter): added the implementation
1866 * src/hildon-time-selector.c
1867 * src/hildon-date-selector.c
1868 * src/hildon-touch-selector-entry.c
1869 Update methods calls after hildon-touch-selector.h API modification (methods
1872 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1874 * src/hildon-stackable-window.c
1875 (hildon_stackable_window_finalize): Call the parent class's finalize.
1877 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1879 * examples/hildon-touch-selector-example.c: (create_selector): Use
1880 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1883 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1885 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1886 set a cell background color, to respect theming.
1888 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1890 * doc/hildon-docs.sgml
1893 * src/hildon-edit-toolbar.c
1894 * src/hildon-edit-toolbar.h
1895 * src/hildon.h: New HildonEditToolbar widget.
1897 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1899 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1902 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1903 * src/hildon-touch-selector.c
1904 (_create_new_column): use g_object_set instead of two g_object_set_property
1906 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1907 * src/hildon-touch-selector.c
1908 (_create_new_column): use of hildon_gtk_tree_view_new to create
1909 the treeview, instead of use directly g_object_new
1910 (_create_new_column): update the property name "vindicator-mode" for the
1911 new one "vscrollbar-policy"
1912 * examples/hildon-date-button-example.c
1913 * examples/hildon-picker-button-multicolumn-example.c
1914 * examples/hildon-touch-selector-entry-example.c
1915 * examples/hildon-touch-selector-example.c
1916 * examples/hildon-time-button-example.c
1917 * examples/hildon-picker-button-example.c
1918 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1919 to all the treeviews inside a pannable area.
1921 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1923 * src/hildon-button.h
1924 * src/hildon-button.c (hildon_button_init)
1925 (hildon_button_set_arrangement, hildon_button_set_alignment)
1926 (hildon_button_set_title_alignment)
1927 (hildon_button_set_value_alignment)
1928 (hildon_button_set_image_alignment)
1929 (hildon_button_construct_child): New methods to set the alignment
1930 of the individual components of the button (title, value,
1931 image). Also, new method to alter the xscale and yscale properties
1932 of the GtkAlignment inside the button, so more complex layouts can
1935 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1937 * src/hildon-button.c (hildon_button_style_set)
1938 (hildon_button_class_init, hildon_button_set_arrangement)
1939 (hildon_button_construct_child): Apply style properties
1940 correctly. Use the 'image-spacing' style property too.
1942 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1944 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1945 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1948 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1950 * src/hildon-pannable-area.c,
1951 (hildon_pannable_area_size_request): Fixed problem with
1952 pannable-area size_request.
1954 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1956 Added management for the grab-focus to a child widget, like a
1957 range, we need to fade out the scrollbar when releasing.
1959 * src/hildon-pannable-area.c,
1960 (hildon_pannable_area_init): Connected the grab-focus signal to
1962 (hildon_pannable_area_grab_notify): Added this function in order
1963 to manage the situation when the grab-focus ends. We have to
1964 fade-out the scrollbar.
1966 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1968 * src/hildon-app-menu.c: Minor documentation update.
1970 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1972 * src/hildon-app-menu.c
1973 * examples/hildon-app-menu-example.c (create_menu): Update
1974 examples and documentation to explain how to connect callbacks.
1976 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1978 * examples/hildon-button-example.c
1979 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1980 hildon_stackable_window_new instead of gtk_window_new
1982 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1984 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1985 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1986 (hildon_pannable_area_set_property),
1987 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1988 (hildon_pannable_area_unrealize),
1989 (hildon_pannable_area_size_request),
1990 (hildon_pannable_area_size_allocate),
1991 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1992 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1993 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1994 (hildon_pannable_area_initial_effect),
1995 (hildon_pannable_area_redraw),
1996 (hildon_pannable_area_scroll_indicator_fade),
1997 (hildon_pannable_area_expose_event),
1998 (hildon_pannable_area_get_topmost), (synth_crossing),
1999 (hildon_pannable_area_button_press_cb),
2000 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
2001 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
2002 (hildon_pannable_area_motion_notify_cb),
2003 (hildon_pannable_area_button_release_cb),
2004 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
2005 (hildon_pannable_area_remove),
2006 (hildon_pannable_calculate_vel_factor): Widget refactorization,
2007 chage the code layout to a more GtkWidget like. Review the use of
2010 2008-08-21 Alejandro G. Castro <alex@igalia.com>
2012 * examples/hildon-pannable-area-example-4.c,
2013 (main): Modified the name of the hindicator_mode to
2016 * src/hildon-pannable-area.c,
2017 (hildon_pannable_area_class_init),
2018 (hildon_pannable_area_motion_notify_cb),
2019 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
2020 we have reduced the amount of signals and managed reviewed its
2021 rationale. Changed the default decelerate value.
2023 (hildon_pannable_area_add),
2024 (hildon_pannable_area_redraw): Refactored functions.
2026 (hildon_pannable_area_init),
2027 (hildon_pannable_area_get_property),
2028 (hildon_pannable_area_set_property):
2029 (hildon_pannable_draw_vscroll),
2030 (hildon_pannable_draw_hscroll),
2031 (hildon_pannable_area_initial_effect),
2032 (hildon_pannable_area_expose_event),
2033 (hildon_pannable_area_scroll),
2034 (hildon_pannable_area_button_press_cb),
2035 (hildon_pannable_area_realize): Replaced the names hindicator_mode
2036 and vindicator_mode with hscrollbar_policy and
2037 vscrollbar_policy. Replaced hscroll and vscroll with
2038 hscroll_visible and vscroll_visible.
2040 (hildon_pannable_area_refresh): Refactor the function, remove
2041 variables and check the calls to this function, added resize
2042 conditions in case the children change their layout.
2044 (hildon_pannable_area_size_request): Added more detailed
2045 size_request calculation.
2048 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
2050 * src/hildon-color-chooser.c
2051 (init_borders): use the correct gtk_border_free instead of g_free, to
2052 avoid a crash when this widget is used (ie: the three color selection
2055 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2057 * src/hildon-check-button.c,
2058 (hildon_check_button_set_active): Fixed problem when setting the
2059 active value, the widget was not redrawn.
2061 2008-08-20 Alejandro G. Castro <alex@igalia.com>
2063 * src/hildon-pannable-area.c,
2064 (hildon_pannable_area_refresh),
2065 (hildon_pannable_area_scroll),
2066 (hildon_pannable_area_motion_notify_cb): Small code style change.
2068 (hildon_pannable_area_class_init): Default initial_hint set to
2069 FALSE, it is not in the specs.
2071 (hildon_pannable_area_initial_effect),
2072 (hildon_pannable_area_expose_event),
2073 (hildon_pannable_area_map),
2074 (hildon_pannable_area_init): Moved the launching point of the
2075 initial effect, it was in map but the sizes where not correct in
2076 that method so we do not know if we have the reproduce it. Now it
2077 is placed in the expose_event method and uses a variable to
2078 reproduce it just once.
2080 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2082 * src/hildon-pannable-area.c,
2083 (hildon_pannable_draw_vscroll),
2084 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
2085 position allowed for the scrollbars.
2087 (hildon_pannable_area_size_allocate): Small style change.
2089 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2091 * src/hildon-pannable-area.c,
2092 (hildon_pannable_area_scroll_indicator_fade),
2093 (hildon_pannable_area_button_press_cb),
2094 (hildon_pannable_area_button_release_cb),
2095 (hildon_pannable_area_scroll_cb),
2096 (hildon_pannable_area_expose_event),
2097 (hildon_pannable_area_init): Added the define parameter
2098 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
2099 and refactor the fade variable.
2101 2008-08-19 Alejandro G. Castro <alex@igalia.com>
2103 * src/hildon-pannable-area.c,
2104 (hildon_pannable_area_redraw),
2105 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
2106 lines, we were reimplemeting the redraw code.
2108 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2110 * src/hildon-pannable-area.c,
2111 (hildon_pannable_area_scroll_cb),
2112 (hildon_pannable_area_realize),
2113 (hildon_pannable_area_class_init): Added scroll_event management
2114 for pannable area, now we can scroll the usual desktop method.
2116 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
2117 initialization of the parameters should depend on idle_id.
2119 (hildon_pannable_area_init),
2120 (hildon_pannable_area_map): Small code style modifications
2122 2008-08-18 Alejandro G. Castro <alex@igalia.com>
2124 * src/hildon-pannable-area.c
2125 (hildon_pannable_area_button_press_cb),
2126 (hildon_pannable_area_motion_notify_cb),
2127 (hildon_pannable_area_button_release_cb),
2128 (hildon_pannable_area_size_allocate),
2129 (hildon_pannable_area_scroll_to): Improved the timeouts
2130 management, we avoid creating them each time.
2132 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2134 * src/hildon-pannable-area.c:
2135 (hildon_pannable_area_refresh),
2136 (hildon_pannable_area_motion_notify_cb),
2137 (hildon_pannable_area_class_init):
2138 * src/hildon-pannable-area.h:
2139 * src/hildon-touch-selector.c
2140 (_create_new_column):
2141 * examples/hildon-pannable-area-example-4.c:
2142 (horizontal_movement),
2143 (vertical_movement),
2145 Replaced the names of enums in the HildonPannableArea:
2146 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2147 HILDON_MOVEMENT_MODE_*
2148 - HILDON_PANNABLE_AREA_MOV_* ->
2150 - Removed HildonPannableAreaIndicatorMode, now we
2153 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2155 * examples/hildon-pannable-area-touch-grid-example.c
2156 * examples/hildon-pannable-area-touch-list-example.c: Fix
2157 compilation warnings.
2159 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-gtk.c (hildon_gtk_button_new)
2162 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2163 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2164 images overriding the value of the "gtk-button-images" setting.
2166 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2168 * src/hildon-check-button.c (hildon_check_button_new):
2169 Instead of using a custom container, display the label and the
2170 checkbox using the standard GtkButton API.
2172 * examples/hildon-check-button-example.c (main): Don't use
2173 hildon_check_button_set_label() anymore
2175 * src/hildon-check-button.h
2176 * src/hildon-check-button.c
2177 (hildon_check_button_set_label, hildon_check_button_get_label):
2178 Set as deprecated, now we're using gtk_button_{get,set}_label()
2180 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2182 * src/hildon-pannable-area.c,
2183 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2184 GtkTreeview first line we detected it after the inclusion of the
2185 GtkWindowImpl in gtk+. We now check if the window is visible, not
2186 just if the pointer is over the window.
2187 (hildon_pannable_axis_scroll),
2188 (hildon_pannable_area_expose_event): Small style changes.
2190 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2192 * src/hildon-button.c: Update documentation.
2194 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2196 * examples/hildon-button-example.c: Add a switch to show images in
2199 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2201 * doc/hildon-docs.sgml: Some docs reorganization.
2203 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2205 * examples/hildon-pannable-area-touch-list-example.c
2207 * examples/hildon-pannable-area-touch-grid-example.c
2208 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2209 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2210 Fix memory leak when setting the tree model.
2212 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2216 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2218 * doc/hildon.types: Remove duplicated hildon_window_get_type
2219 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2220 documentation comment.
2222 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2224 * doc/Makefile.am: Complete list of private headers.
2226 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2228 * doc/hildon-docs.sgml
2229 * src/hildon-app-menu.c
2230 * src/hildon-bread-crumb.c
2231 * src/hildon-button.c
2233 * src/hildon-program.c
2234 * src/hildon-stackable-window.c
2235 * src/hildon-window.c: Lots of documentation updates.
2237 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2239 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2241 * configure.ac: Require Gtk+ 2.12.9 at least
2243 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2245 * src/hildon-pannable-area.c
2246 (hildon_pannable_area_scroll_indicator_fade),
2247 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2248 to protect the return of this timeout callbacks, avoiding deadlocks.
2250 2008-08-12 Christian Dywan <christian@imendio.com>
2253 * src/hildon-*.h: Ensure a consistent include order,
2254 include <gtk/gtk.h> instead of particular files and
2255 only include the topmost header in the gtk stack. See NB #39857
2257 2008-08-12 Christian Dywan <christian@imendio.com>
2259 * src/hildon-picker-dialog.c
2260 * src/hildon-touch-selector.c: Fix warnings about unused and
2261 uninitialized variables.
2263 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2265 * examples/Makefile.am
2266 * examples/hildon-check-button-example.c: Example of the hildon
2269 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-window.h
2272 * src/hildon-window.c (hildon_window_class_init)
2273 (hildon_window_unset_program): Don't make
2274 hildon_window_unset_program a virtual function anymore.
2276 * src/hildon-stackable-window.c: Update documentation
2278 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2281 * doc/hildon-docs.sgml
2282 * doc/visual_index.xml
2283 * src/hildon-defines.c
2285 * src/hildon-helper.c
2286 * src/hildon-range-editor.c: Lots of documentation fixes.
2288 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2290 * examples/hildon-picker-button-multicolumn-example.c
2291 (create_touch_selector): Fix compilation warning.
2293 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2295 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2296 (hildon_pannable_area_button_release_cb)
2297 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2299 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2304 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2306 * src/hildon-bread-crumb-trail.h
2307 * src/hildon-date-editor.c
2308 * src/hildon-date-selector.c
2309 * src/hildon-pannable-area.c
2310 * src/hildon-picker-dialog.c
2311 * src/hildon-time-selector.c
2312 * src/hildon-touch-selector-entry.c
2313 * src/hildon-touch-selector.c
2314 * src/hildon-touch-selector.h: Misc documentation fixes
2316 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2318 * examples/hildon-date-editor-example.c (main): Updated date
2321 * examples/hildon-note-example.c (on_confirmation_clicked):
2322 Updated confirmation note example.
2324 * src/hildon-date-editor.c
2325 * src/hildon-note.c: Updated sample programs in documentation.
2328 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-date-button.h:
2331 * src/hildon-picker-button.h:
2332 * src/hildon-time-button.c:
2333 * src/hildon-time-button.h:
2335 Some declarations changes to allow gtk-doc to document the widgets
2338 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-date-button.c: Document the widget.
2341 * src/hildon-time-button.c: Document the widget.
2343 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2345 * src/hildon-picker-button.c: Document the widget.
2346 * src/hildon-touch-selector-entry.c: Document the widget.
2348 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2350 * doc/hildon-docs.sgml
2353 * src/hildon-check-button.h
2354 * src/hildon-check-button.c: New functions to create the Hildon
2358 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2360 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2362 * src/hildon-button.h
2363 * src/hildon-button.c
2364 (hildon_button_add_title_size_group)
2365 (hildon_button_add_value_size_group)
2366 (hildon_button_add_image_size_group)
2367 (hildon_button_add_size_groups): New functions to set size groups
2368 for the button labels and image.
2369 (hildon_button_new_full): Removed
2371 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2373 * src/hildon-time-selector.c
2374 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2375 in order to avoid a crash if gconf is not available
2377 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2379 * src/hildon-button.c (hildon_button_set_arrangement)
2380 (hildon_button_construct_child): Don't construct the button child
2381 before setting the arrangement.
2383 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2385 * src/hildon-program-private.h
2386 * src/hildon-program.c
2387 * src/hildon-program.h
2388 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2389 (hildon_program_peek_window_stack)
2390 (hildon_program_pop_window_stack)
2391 (hildon_program_go_to_root_window): HildonProgram now has a
2392 separate list for stackable windows. Functions are provided to
2393 manage that list with a stack-like API.
2395 * src/hildon-stackable-window.c: Stackable window management is
2396 now much simpler with the new HildonProgram API. Windows no
2397 longer need to be manually added to the program, they're
2398 automatically pushed to the top of the stack when shown.
2400 * examples/hildon-stackable-window-example.c: Updated example to
2401 reflect the API changes.
2403 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2405 * src/hildon-touch-selector.c: Comment out unimplemented
2406 hildon_touch_selector_insert_column() to avoid a compile warning.
2408 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2411 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2412 (hildon_touch_selector_set_column_selection_mode),
2413 (_hildon_touch_selector_set_model),
2414 (hildon_touch_selector_set_model):
2416 Complete review of HildonTouchSelector documentation.
2418 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2420 * doc/hildon-docs.sgml
2424 * src/hildon-gtk.c: Convenience functions for standard Gtk
2425 widgets, used to easily perform frequent operations.
2427 * src/hildon-button-helpers.h
2428 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2430 * src/hildon-helper.h
2431 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2432 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2434 * src/hildon-button.h
2435 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2437 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2439 * src/hildon-button.c (hildon_button_init)
2440 (hildon_button_set_arrangement, hildon_button_construct_child):
2441 Pack the image and the labels inside the same GtkAlignment so
2442 gtk_button_set_alignment() can be used
2444 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-button.h
2447 * src/hildon-button.c
2448 (hildon_button_init, hildon_button_set_image)
2449 (hildon_button_set_image_position)
2450 (hildon_button_construct_child): New functions to add an image to
2453 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2455 * src/hildon-date-button.c
2456 * src/hildon-picker-button.c
2457 * src/hildon-time-button.c
2458 * src/hildon-button.c:
2459 (hildon_button_class_init): "size-flags" renamed to "size"
2460 (hildon_button_set_title): Hide the title label if set to NULL.
2462 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2464 HildonButtonFlags split into HildonButtonArrangement (to set the
2465 button layout) and HildonSizeType (which can be used for any
2468 * src/hildon-button.h
2469 * src/hildon-button.c
2470 (hildon_button_class_init)
2471 (hildon_button_set_arrangement)
2472 (hildon_button_set_property): New "size-flags"
2473 property. "arrangement-flags" renamed to "arrangement".
2474 (hildon_button_new, hildon_button_new_with_text)
2475 (hildon_button_new_full): Constructors updated to reflect type changes.
2477 * src/hildon-helper.h
2478 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2479 to set the size of a widget.
2483 * src/hildon-button-helpers.c
2484 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2486 * src/hildon-date-button.c
2487 * src/hildon-date-button.h
2488 * src/hildon-picker-button.c
2489 * src/hildon-picker-button.h
2490 * src/hildon-time-button.c
2491 * src/hildon-time-button.h: Updated widgets to reflect
2492 HildonButton API changes.
2494 * examples/hildon-button-example.c
2495 * examples/hildon-date-button-example.c
2496 * examples/hildon-picker-button-example.c
2497 * examples/hildon-picker-button-multicolumn-example.c
2498 * examples/hildon-time-button-example.c
2499 * examples/hildon-touch-selector-entry-example.c
2500 * examples/hildon-touch-selector-example.c: Updated examples to
2501 reflect HildonButton API changes.
2503 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2505 * doc/hildon-docs.sgml:
2507 * examples/Makefile.am:
2508 * examples/hildon-touch-selector-entry-example.c:
2510 * src/hildon-touch-selector-entry.c:
2511 * src/hildon-touch-selector-entry.h:
2514 Moved HildonTouchSelectorEntry from sandbox. Added its
2515 documentation and examples.
2517 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-touch-selector.h:
2520 * examples/hildon-picker-button-multicolumn-example.c:
2521 (hildon_touch_selector_append_text_column): Add a gboolean
2522 parameter to determine if text must be centered in the column.
2524 * src/hildon-date-selector.c: (hildon_date_selector_init):
2525 * src/hildon-time-selector.c: (hildon_time_selector_init):
2526 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2527 (create_touch_selector): Update widgets and example to reflect
2530 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2532 * src/hildon-touch-selector.c:
2533 (hildon_touch_selector_set_active_iter): Set also the cursor in
2536 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2538 * doc/hildon-docs.sgml
2541 * src/hildon-toggle-button.c
2542 * src/hildon-toggle-button.h
2543 * src/hildon.h: Removed HildonToggleButton widget, a derived
2544 class is not necessary for this.
2546 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2548 * src/hildon-pannable-area.c,
2549 (hildon_pannable_area_realize),
2550 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2553 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2555 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2556 "done" button the default widget for the dialog.
2558 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2560 * src/hildon-touch-selector.c:
2561 (hildon_touch_selector_class_init),
2562 (hildon_touch_selector_get_property),
2563 (_hildon_touch_selector_set_model),
2564 (_hildon_touch_selector_has_multiple_selection),
2565 (hildon_touch_selector_has_multiple_selection):
2566 Add a "has-multiple-selection" property with a virtual
2567 has_multiple_selection() method to allow derived classes to
2568 override the default value for it. See the method and property
2569 documentation for details.
2571 * src/hildon-touch-selector.h: Add the new API.
2573 * src/hildon-picker-dialog.c: (requires_done_button): Call
2574 hildon_touch_selector_has_multiple_selection() instead of
2575 determining the need for a button itself.
2577 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2580 (_hildon_touch_selector_set_model),
2581 (hildon_touch_selector_set_model): Move working code to
2582 _hildon_touch_selector_set_mode(). Call the class method instead.
2584 * src/hildon-touch-selector.h: Add (*set_model) to
2585 HildonTouchSelectorClass.
2587 Make hildon_touch_selector_set_model() a virtual method, so that
2588 derived classes can extend it and do fancy stuff with the model.
2590 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2592 * configure.ac: Set back the tarname in AC_INIT to hildon.
2594 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2598 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2599 instead of libesd (NB#86876). Volume handling is still an open issue.
2601 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2604 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2606 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2607 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2608 derived class to ease placement of an entry widget in
2609 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2610 end, where the selector columns are packed now.
2612 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2614 * src/hildon-picker-button.c: Removed the simple _text() API.
2615 * src/hildon-picker-button.h: Likewise.
2617 * src/hildon-touch-selector.h:
2618 * src/hildon-touch-selector.c:
2619 (hildon_touch_selector_new_text),
2620 (hildon_touch_selector_append_text),
2621 (hildon_touch_selector_prepend_text),
2622 (hildon_touch_selector_insert_text):
2624 Moved the simple _text() API from HildonPickerButton to
2625 HildonTouchPicker, to provide better escalability and not to tie
2626 that API to HildonPickerButton.
2628 * examples/hildon-picker-button-example.c: (main): Example updated.
2630 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2632 * src/hildon-button.c: Updated documentation.
2634 * examples/hildon-button-example.c: Add the posibility to create
2635 the buttons using horizontal layout for title and value.
2637 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2639 * src/hildon-app-menu-private.h
2640 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2641 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2642 GtkSizeGroup for the filters, use the 'homogeneous' property of
2645 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2647 * examples/hildon-button-example.c: Updated example.
2649 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2651 * doc/hildon-docs.sgml:
2654 Update documentation.
2656 * examples/Makefile.am: Update renamed examples.
2658 * examples/hildon-picker-button-multicolumn-example.c:
2659 (create_touch_selector), (main): Update after the rename.
2661 * examples/hildon-touch-picker-example.c: Removed.
2662 * examples/hildon-touch-selector-example.c: (value_changed),
2663 (create_selector), (get_visible_content), (main): Renamed from
2664 hildon-touch-picker-example.c
2666 * src/Makefile.am: Updated renamed files.
2668 * src/hildon-date-button.c: (hildon_date_button_init),
2669 (hildon_date_button_get_date), (hildon_date_button_set_date):
2670 * src/hildon-date-selector.c: (hildon_date_selector_init),
2671 (_custom_print_func), (_update_day_model),
2672 (_manage_selector_change_cb),
2673 (hildon_date_selector_select_current_date),
2674 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2675 * src/hildon-date-selector.h:
2676 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2677 (hildon_picker_button_set_property),
2678 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2679 (hildon_picker_button_init), (hildon_picker_button_new_text),
2680 (hildon_picker_button_append_text),
2681 (hildon_picker_button_prepend_text),
2682 (hildon_picker_button_insert_text),
2683 (hildon_picker_button_set_selector),
2684 (hildon_picker_button_get_selector):
2685 * src/hildon-picker-button.h:
2686 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2687 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2688 (_update_title_on_selector_changed_cb), (requires_done_button),
2689 (_hildon_picker_dialog_set_selector),
2690 (hildon_picker_dialog_set_selector),
2691 (hildon_picker_dialog_get_selector):
2692 * src/hildon-picker-dialog.h:
2693 * src/hildon-time-button.c: (hildon_time_button_init),
2694 (hildon_time_button_get_time), (hildon_time_button_set_time):
2695 * src/hildon-time-selector.c: (hildon_time_selector_init),
2696 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2697 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2698 * src/hildon-time-selector.h:
2701 Massive code updates after the rename.
2703 * src/hildon-touch-picker.c: Removed.
2704 * src/hildon-touch-picker.h: Removed.
2706 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2707 (hildon_touch_selector_init), (hildon_touch_selector_map),
2708 (hildon_touch_selector_remove), (_default_print_func),
2709 (_selection_changed_cb), (_create_new_column),
2710 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2711 (hildon_touch_selector_append_text_column),
2712 (hildon_touch_selector_remove_column),
2713 (hildon_touch_selector_set_column_attributes),
2714 (hildon_touch_selector_insert_column),
2715 (hildon_touch_selector_get_num_columns),
2716 (hildon_touch_selector_get_column_selection_mode),
2717 (hildon_touch_selector_set_column_selection_mode),
2718 (hildon_touch_selector_set_print_func),
2719 (hildon_touch_selector_get_print_func),
2720 (hildon_touch_selector_get_active_iter),
2721 (hildon_touch_selector_set_active_iter),
2722 (hildon_touch_selector_get_selected_rows),
2723 (hildon_touch_selector_get_model),
2724 (hildon_touch_selector_set_model),
2725 (hildon_touch_selector_get_current_text),
2726 (_hildon_touch_selector_center_on_selected_items):
2727 * src/hildon-touch-selector.h: Renamed from
2728 hildon-touch-picker.[ch]
2730 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2731 references, code examples, and related documentation.
2733 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2735 * doc/hildon-docs.sgml
2738 * src/hildon-toggle-button.c
2739 * src/hildon-toggle-button.h
2740 * src/hildon.h: New HildonToggleButton widget.
2742 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2744 * src/hildon-button.c: Add API documentation.
2745 (hildon_button_set_size_groups): Check input parameters
2747 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2749 * src/hildon-pannable-area.c
2750 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2751 effect after reaching the movement thredshold. This way we start
2752 using the distance after passing the thredshold.
2754 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2756 * src/hildon-button.c: (hildon_button_set_property): Use the
2757 appropriate g_value_get_flags() method.
2759 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2761 * doc/hildon-docs.sgml:
2764 Add the touch pickers, picker dialogs, and picker button widgets
2765 to the documentation.
2767 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-button.c: (hildon_button_set_property),
2770 (hildon_button_class_init): Make "arrangement-flags" a proper
2771 G_TYPE_FLAGS derived property.
2773 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2775 * examples/Makefile.am: Add below examples.
2776 * examples/hildon-date-button-example.c:
2777 * examples/hildon-picker-button-example.c:
2778 * examples/hildon-picker-button-multicolumn-example.c:
2779 * examples/hildon-time-button-example.c:
2780 * examples/hildon-touch-picker-example.c:
2782 Add examples for the recently added touch pickers,
2783 picker dialogs, and picker button widgets.
2785 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-button.c: Add some API documentation
2789 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-button.h
2792 * src/hildon-button.c
2794 (hildon_button_new_with_text): New constructor to create a button
2795 with no text at all.
2796 (hildon_button_init, hildon_button_set_arrangement)
2797 (hildon_button_set_title, hildon_button_set_value)
2798 (hildon_button_set_text)
2799 (hildon_button_construct_child): Hide the value when it's not used
2800 so the rest of the text is properly aligned.
2801 Allow creating buttons with arbitrary widgets inside (not just
2802 title/value labels).
2804 * examples/hildon-button-example.c (vertical_buttons_window)
2805 (horizontal_buttons_window): Update example to use new API.
2807 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2809 * src/Makefile.am: Added HildonTimeButton.
2810 * src/hildon-time-button.c: Added missing LGPL header.
2811 * src/hildon-time-button.h: Added missing LGPL header.
2812 * src/hildon.h: Add hildon-time-button.h
2814 Copied HildonTimeButton from sandbox to trunk. Future work on this
2815 widget must take place in trunk.
2817 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2819 * src/Makefile.am: Added HildonDateButton.
2820 * src/hildon-date-button.c: Update includes.
2821 * src/hildon.h: Add hildon-date-button.h
2823 Copied HildonDateButton from sandbox to trunk. Future work on this
2824 widget must take place in trunk.
2826 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2828 * src/Makefile.am: Added HildonPickerButton.
2829 * src/hildon-picker-button.h: Update includes.
2830 * src/hildon.h: Add hildon-picker-button.h
2832 Copied HildonPickerButton from sandbox to trunk. Future work on
2833 this widget must take place in trunk.
2835 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2837 * src/Makefile.am: Added HildonPickerDialog.
2838 * src/hildon-picker-dialog.c: Update includes.
2839 * src/hildon.h: Add hildon-picker-dialog.h
2841 Copied HildonPickerDialog from sandbox to trunk. Future work
2842 on this widget must take place in trunk.
2844 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2846 * src/Makefile.am: Added HildonTimeSelector.
2847 * src/hildon.h: Add hildon-time-selector.h
2849 Copied HildonTimeSelector widget from sandbox to trunk. Future
2850 work on this widget must happen in trunk.
2852 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/Makefile.am: Added HildonDateSelector.
2855 * src/hildon.h: Add hildon-date-selector.h
2857 Copied HildonDateSelector widget from sandbox to trunk. Future
2858 work on this widget must happen in trunk.
2860 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2862 * src/Makefile.am: Added HildonTouchPicker.
2863 * src/hildon-touch-picker.c: Update includes.
2864 * src/hildon.h: Add hildon-touch-picker.h
2866 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2867 on this widget must happen in trunk.
2869 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-pannable-area.c:
2872 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2874 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2876 * examples/hildon-app-menu-example.c (main): Let the window
2879 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2881 * src/hildon-pannable-area.c
2882 (hildon_pannable_area_class_init): Set the min value of the
2883 overshoot properties to zero, which points out that not
2884 overshooting allowed.
2886 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2888 Modified the procedure to get the widget at a point inside the
2889 pannable area when using the movement type signals. Now the user
2890 has to call a function to get the child, that way we just
2891 calculate the child in case the user really want to use it and not
2894 * src/hildon-marshalers.list: Modified the marshallers, now we do
2895 not have the widget as a parameter.
2897 * src/hildon-pannable-area.c
2898 (hildon_pannable_area_motion_notify_cb),
2899 (hildon_pannable_area_class_init),
2900 (hildon_pannable_get_child_widget_at): Removed the widget
2901 parameter from the signal callback. We have also refactored the
2902 emission of the signals.
2904 * src/hildon-pannable-area.h: Added a new method to the API to
2905 calculate a widget at a point inside the pannable area,
2906 hildon_pannable_get_child_widget_at.
2908 * examples/hildon-pannable-area-example-4.c
2909 (horizontal_movement): Modified the example to use the new API,
2910 added condition to control which widget is under the event. This
2911 way we can avoid scrolling laterally over other widgets.
2913 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2915 * src/hildon-pannable-area.c
2916 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2917 modes, we stop getting the pointer events due to returning the
2918 callback without properly calling the get pointer again. Fixed
2919 also an error using the hscroll and vscroll.
2921 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2923 * src/hildon-app-menu-private.h
2924 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2925 (hildon_app_menu_button_release, hildon_app_menu_init)
2926 (hildon_app_menu_class_init): Don't hide the menu on button
2927 release if the user didn't press outside first.
2929 * src/hildon-window.h
2930 * src/hildon-window.c (hildon_window_toggle_menu)
2931 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2932 hildon_window_toggle_menu a virtual function for the stackable
2933 window to override it.
2935 * src/hildon-stackable-window.h
2936 * src/hildon-stackable-window-private.h
2937 * src/hildon-stackable-window.c
2938 (hildon_stackable_window_realize)
2939 (hildon_stackable_window_finalize)
2940 (hildon_stackable_window_class_init)
2941 (hildon_stackable_window_init)
2942 (hildon_stackable_window_set_main_menu): New function to set the
2943 app menu of a HildonStackableWindow.
2945 * examples/hildon-app-menu-example.c: Remove the button to show
2946 the app menu, now it'll be shown when clicking on the title bar
2949 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2951 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2952 set the widget name if the arrangement flags do not specify
2955 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2957 * src/hildon-button.c: (hildon_button_set_property),
2958 (hildon_button_class_init), (hildon_button_new_full),
2959 (hildon_button_set_arrangement): Added "arrangement-flags"
2962 Make the HildonButtonFlags a construction-only property, to allow
2963 subclasses to set them properly.
2965 2008-07-21 Tim Janik <timj@imendio.com>
2967 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2968 insertion position after backspace, so additional digits are appended,
2971 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2973 * src/hildon-pannable-area.c,
2974 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2975 TODO list, it was complete and removed the g_debug and g_print
2978 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2980 Added the movement modes to the hildon-pannable-area, with this
2981 modes the developers can control in which directions the widget
2982 can scroll. They can also connect to signals in order to do
2983 something when that happens, allowing applications scroll. There
2984 is an example uploaded showing how to use it.
2986 * examples/Makefile.am:
2987 * examples/hildon-pannable-area-example-4.c: Added this example of
2988 an application using the modes.
2990 * src/hildon-marshalers.list: Added a new marshaller for the new
2993 * src/hildon-pannable-area.h: Added new enumerations and flags in
2994 order to control the movement modes and the new signals to warn
2995 about the movements in the area.
2997 * src/hildon-pannable-area.c:
2998 (hildon_pannable_axis_scroll),
2999 (hildon_pannable_area_scroll),
3000 (hildon_pannable_area_motion_notify_cb),
3001 (hildon_pannable_area_get_property),
3002 (hildon_pannable_area_set_property),
3003 (hildon_pannable_area_map),
3004 (hildon_pannable_area_class_init),
3005 (hildon_pannable_area_init),
3006 (hildon_pannable_area_jump_to): Added the modes to control the
3007 movement in the widget. We have added properties to control it,
3008 signals to warn about the movements and refactored some code.
3010 2008-07-15 Alejandro G. Castro <alex@igalia.com>
3012 Changes required in order to allow vfast_factor set to zero to
3015 * src/hildon-pannable-area.c:
3016 (hildon_pannable_area_button_press_cb): Changed the condition, it
3017 is required for not allowing click when vfast_factor is zero.
3018 (hildon_pannable_area_timeout): Initialized velocity variables
3019 when we stop moving, it was less than 1 but not zero and we need
3020 to check zero in some situations.
3021 (hildon_pannable_area_class_init): Changed the default value of
3022 the speed factor, now the button_press is just sent in case the
3023 speed is 2 per cent of the max speed.
3024 (hildon_pannable_area_init): Initialization with 0.
3026 2008-07-04 Alejandro G. Castro <alex@igalia.com>
3028 * src/hildon-pannable-area.c,
3029 (hildon_pannable_area_get_topmost): replaced
3030 gdk_window_get_children with gdk_window_peek_children, this way we
3031 do not have to free the list because it is not a copy.
3033 (hildon_pannable_axis_scroll),
3034 (hildon_pannable_area_scroll),
3035 (hildon_pannable_area_timeout),
3036 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
3037 two parameters that were only used inside the
3038 hildon_pannable_area_scroll function.
3040 * examples/hildon-pannable-area-example.c,
3041 (get_sawtooth_label): Fixed small memory leak.
3043 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3045 More checks for the case where the overshoot is bigger than the
3048 * src/hildon-pannable-area.c:
3049 (hildon_pannable_draw_vscroll),
3050 (hildon_pannable_draw_hscroll): with this new calculation we avoid
3051 to draw the slider of the scrollbar under the other scrollbar.
3052 (hildon_pannable_area_expose_event): added new checks to control
3053 the drawing of the overshooting area rectangle, in case it is too
3054 big for the area of the widget.
3055 (hildon_pannable_area_size_allocate): add more checks to avoid
3056 setting a position to the child widget outside the area.
3058 2008-07-03 Alejandro G. Castro <alex@igalia.com>
3060 * src/hildon-pannable-area.c
3061 (hildon_pannable_area_size_allocate): Added conditions to control
3062 when overshooting is bigger than the allocated space for the
3063 children, this avoids negative allocations.
3065 2008-07-02 Alberto Garcia <agarcia@igalia.com>
3067 * doc/hildon-docs.sgml
3069 * examples/Makefile.am
3070 * examples/hildon-button-example.c
3072 * src/hildon-button.c
3073 * src/hildon-button.h
3074 * src/hildon.h: Initial version of the new HildonButton widget,
3077 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-pannable-area.c:
3080 (hildon_pannable_area_button_press_cb),
3081 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
3082 (hildon_pannable_area_motion_notify_cb),
3083 (hildon_pannable_area_button_release_cb),
3084 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
3085 (hildon_pannable_area_jump_to_child):
3087 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
3089 2008-07-01 Alberto Garcia <agarcia@igalia.com>
3091 * examples/Makefile.am
3092 * examples/hildon-pannable-area-touch-grid-example.c
3093 * examples/hildon-pannable-area-touch-list-example.c: Examples of
3094 the Hildon Touch List and Hildon Touch Grid using the
3095 HildonPannableArea widget.
3097 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3099 * src/hildon-pannable-area.c,
3100 (hildon_pannable_area_button_press_cb),
3101 (hildon_pannable_area_refresh),
3102 (hildon_pannable_area_scroll),
3103 (hildon_pannable_area_motion_notify_cb),
3104 (hildon_pannable_area_button_release_cb),
3105 (hildon_pannable_area_expose_event),
3106 (hildon_pannable_area_add),
3107 (hildon_pannable_area_remove),
3108 (hildon_pannable_area_realize),
3109 (hildon_pannable_area_size_allocate),
3110 (hildon_pannable_area_class_init),
3111 (hildon_pannable_area_init),
3112 (hildon_pannable_area_scroll_to_child),
3113 (hildon_pannable_area_jump_to_child): Fixed the problem of
3114 removing the child from the GtkBin, we have rearranged the widget
3115 hierarchy, now there is no GtkAlignment which was not doing
3116 anything interesting but breaking some of the assumptions of
3117 GtkContainer. Now developers if they want to add a GtkAlignment
3118 they could, but it is not inside the area.
3120 We had to review the whole allocation/expose process, now it is
3121 improved and we save at least three signals which would be saving
3122 some time when rendering the widget. The allocation of the
3123 scrollbars is now made in the allocate method as usual.
3125 We have also added some conditions in order to control when there
3126 is no child of the pannable area. Maybe we will need more work
3129 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3131 * src/hildon-pannable-area.c,
3132 (hildon_pannable_area_dispose): Released the fade-out timeout when
3133 disposing the widget.
3135 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3137 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3138 zero, we are going to use that property in order to deactivate the
3140 (hildon_pannable_axis_scroll),
3141 (hildon_pannable_area_size_allocate): Added conditions to control
3142 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3143 call, now it is called in all situations and we can remove calls
3144 in the allocate method.
3145 (hildon_pannable_area_map): Control the situation when
3146 overshoot_max is zero, we do not need the timeout.
3147 (hildon_pannable_area_class_init): Added documentation in order to
3148 point out that setting zero to overshoot_max means deactivate
3151 NOTE: removed trailing whitespaces from my previous comments of
3154 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3156 * src/hildon-pannable-area.c
3157 (hildon_pannable_area_get_property),
3158 (hildon_pannable_area_set_property),
3159 (hildon_pannable_area_map),
3160 (hildon_pannable_area_class_init),
3161 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3162 to cause the widget give a hint about its panning abilities upon
3165 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3167 * src/hildon-pannable-area.c: Several documentation improvements.
3169 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3171 * src/hildon-program.c
3172 * src/hildon-stackable-window.c: Update documentation.
3174 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3176 * src/hildon-stackable-window.c (get_previous_window_if_last):
3177 Renamed get_last_window()
3178 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3179 (hildon_stackable_window_unset_program):
3181 (get_previous_window_if_last):
3182 Detect if the window hasn't been added to a HildonProgram.
3184 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3186 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-pannable-area.c
3189 (hildon_pannable_area_button_press_cb),
3190 (hildon_pannable_axis_scroll),
3191 (hildon_pannable_area_scroll),
3192 (hildon_pannable_area_timeout),
3193 (hildon_pannable_calculate_vel_factor),
3194 (hildon_pannable_area_get_property),
3195 (hildon_pannable_area_set_property),
3196 (hildon_pannable_area_class_init),
3197 (hildon_pannable_area_init),
3198 (hildon_pannable_area_scroll_to),
3199 (hildon_pannable_area_jump_to),
3200 (hildon_pannable_area_scroll_to_child),
3201 (hildon_pannable_area_jump_to_child):
3202 * src/hildon-pannable-area.h: Added the new API functions:
3203 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3204 hildon_pannable_area_scroll_to_child,
3205 hildon_pannable_area_jump_to_child
3208 * examples/Makefile.am
3209 * examples/hildon-pannable-area-example-2.c
3210 * examples/hildon-pannable-area-example-3.c: Added these two new
3211 examples in order to test and show how the new APIs work.
3213 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3215 * examples/hildon-stackable-window-example.c (new_window):
3216 * src/Makefile.am (noinst_HEADERS):
3217 * src/hildon-program.c (hildon_program_go_to_root_window):
3218 * src/hildon-program.h:
3219 * src/hildon-stackable-window-private.h:
3220 * src/hildon-stackable-window.c:
3221 * src/hildon-stackable-window.h:
3222 Create hildon-stackable-window-private.h
3223 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3225 * examples/hildon-app-menu-example.c (create_menu):
3226 * examples/hildon-hvolumebar-insensitive-example.c (main):
3227 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3228 * examples/hildon-toolbar-seekbar-example.c (main):
3229 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3230 * src/hildon-banner.c (hildon_banner_set_property):
3231 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3232 Fix compilation warnings
3234 * src/hildon-window.c:
3237 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3239 * src/hildon-stackable-window.c
3240 (hildon_stackable_window_unset_program):
3241 Calculate correctly whether to show the previous window if the
3242 last one is removed from the stack.
3243 (hildon_stackable_window_go_to_root_window):
3244 Send delete events starting from the topmost window.
3245 Stop if one of the windows is not destroyed.
3247 (hildon_stackable_window_delete_event)
3248 (hildon_stackable_window_class_init):
3249 Ignore the delete event if the window is not the topmost one.
3251 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3253 * src/hildon-pannable-area.c
3254 (hildon_pannable_area_expose_event): Fixed a problem when
3255 selecting the background color of the scrollbars.
3257 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3259 * examples/hildon-stackable-window-example.c
3260 * src/hildon-stackable-window.c
3261 * src/hildon-stackable-window.h
3262 hildon_stackable_window_go_home() renamed to
3263 hildon_stackable_window_go_to_root_window()
3264 Send delete events to windows rather than closing them with
3265 gtk_widget_destroy()
3267 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3269 * src/hildon-pannable-area.c
3270 (hildon_pannable_area_button_release_cb): Fix overshooting in
3273 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3275 * src/hildon-pannable-area.c
3276 (hildon_pannable_area_init): Initially show the scroll indicators.
3277 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3279 Add initial effect showing the widget is pannable.
3281 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3283 * src/hildon-pannable-area.c
3284 (hildon_pannable_area_class_init)
3285 (hildon_pannable_area_set_property)
3286 (hildon_pannable_area_get_property)
3287 (hildon_pannable_area_button_press_cb):
3288 New 'velocity_fast_factor' property to decide which velocity is
3291 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3293 * src/hildon-pannable-area.c
3294 (hildon_pannable_draw_hscroll)
3295 (hildon_pannable_draw_vscroll):
3296 Use float variables to calculate the size of the scrollbars to
3297 avoid error propagation and resizing during scrolling.
3299 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3301 * src/hildon-pannable-area.c
3302 (hildon_pannable_draw_vscroll)
3303 (hildon_pannable_draw_hscroll):
3304 Define a minimum size for the scroll bars
3306 * src/hildon-stackable-window.c
3307 (hildon_stackable_window_go_home): Fix compilation warning
3308 (get_last_window): Minor optimizations
3309 (hildon_stackable_window_class_init): Fix initialization of
3312 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-stackable-window.c: Fixed typos in doc
3316 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3318 * src/hildon-pannable-area.c
3319 (hildon_pannable_area_scroll):
3320 Calculate here whether we need to scroll instead of using the booleans
3321 that tell us whether to /draw/ the scrolling bars.
3323 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3325 * src/hildon-app-menu.h
3327 * src/hildon-app-menu.c
3328 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3329 multiple filter groups related code and API. Now we support only
3331 * examples/hildon-app-menu-example.c:
3333 Update to reflect API changes.
3335 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3337 * src/hildon-stackable-window.c
3338 (hildon_stackable_window_class_init):
3339 Add hildon_stackable_window_realize.
3340 (hildon_stackable_window_realize):
3341 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3342 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3343 to apply theming and behavior specific to HildonStackableWindow
3346 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3348 * src/hildon-note.c (hildon_note_button_release):
3349 Close information notes also when tapping on them
3351 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3353 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3354 ELASTICITY, refactor and review, fix some issues with drawing
3357 * src/hildon-pannable-area.c:
3358 (hildon_pannable_area_button_press_cb): removed the conditions to
3359 avoid clicks when overshooting. It is not required
3361 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3362 define. Refatored and reviewed the code, now we do not need to
3363 manage velocity in motion_notify.
3365 (hildon_pannable_area_motion_notify_cb): We have moved the code
3366 that controls the area_scroll to the axis_scroll function and get
3367 rid of duplicated code.
3369 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3371 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3373 (hildon_pannable_draw_vscroll),
3374 (hildon_pannable_draw_hscroll): Fixed the problems with the
3375 scrollbar drawing, now we do not use two surfaces, it is easier
3376 and saves resources.
3378 (hildon_pannable_area_get_property): Style modification.
3380 (hildon_pannable_area_class_init): Changed some default values.
3382 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3384 * src/hildon-stackable-window.c: Fix some typos in the
3387 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3389 * src/hildon-dialog.c:
3390 Change indentation style
3393 (hildon_note_button_release):
3394 Use root coordinates to check if the release event happened
3397 * src/hildon-app-menu.c
3398 (hildon_app_menu_button_release):
3399 Remove unnecessary check
3401 * examples/hildon-app-menu-example.c
3403 Add cast to fix warning
3405 * src/hildon-app-menu.c
3406 (hildon_app_menu_class_init):
3407 New inner-border style property.
3408 Set all default spacings to 16
3409 (hildon_app_menu_init):
3410 Use vertical-spacing to set the space between filter buttons and
3411 regular menu buttons.
3412 Set the default container border using the inner-border value.
3414 * examples/hildon-app-menu-example.c
3416 Don't set the menu border explicitly, now we have the inner-border
3417 style property for that.
3419 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-app-menu.c (hildon_app_menu_init):
3422 Make the window modal
3424 * src/hildon-note.c (hildon_note_map)
3425 * src/hildon-app-menu.c (hildon_app_menu_map):
3426 Destroy the grab window if we're unable to grab the pointer
3428 * src/hildon-app-menu-private.h
3429 * src/hildon-app-menu.c
3430 (hildon_app_menu_init, hildon_app_menu_finalize)
3431 (hildon_app_menu_map, hildon_app_menu_unmap)
3432 (hildon_app_menu_button_release)
3433 (grab_transfer_window_get):
3434 Bring back the grab window
3435 (hildon_app_menu_realize):
3436 Decorate the window, set WM hint for Matchbox
3438 * src/hildon-note.c (hildon_note_realize):
3439 * src/hildon-banner.c (hildon_banner_realize):
3440 Add WM hints for Matchbox
3442 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3444 * src/hildon-app-menu-private.h
3445 * src/hildon-app-menu.c
3446 (hildon_app_menu_init, hildon_app_menu_finalize)
3447 (hildon_app_menu_map, hildon_app_menu_unmap)
3448 (hildon_app_menu_button_release):
3449 Remove the grab window, it's not needed anymore
3451 * src/hildon-program.c
3452 Fixed typo in documentation
3454 * src/hildon-app-menu.h
3455 * src/hildon-app-menu.c
3456 * examples/hildon-app-menu-example.c
3457 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3459 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3462 Added new transfer_window and close_if_pressed_outside private
3464 (hildon_note_rebuild):
3465 Don't add a cancel button to the information note. It will be
3466 closed when tapping outside
3467 Remove the comment about the OK button in the documentation
3468 (hildon_note_realize):
3469 Set the notification type hint
3470 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3471 Grab/ungrab pointer and keyboard if the note has to be closed when
3473 (hildon_note_button_release):
3474 Close the note when tapping outside (if applicable)
3476 * src/hildon-app-menu.c
3477 Grab/ungrab pointer and keyboard on map/unmap
3478 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3479 Close the menu on button release, not button press
3481 * src/hildon-banner.c
3482 (hildon_banner_set_property)
3483 (hildon_banner_check_position):
3484 Make the banner use the full width of the screen
3485 (hildon_banner_show_information)
3486 (hildon_banner_show_information_with_markup):
3487 Don't display an icon by default
3489 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3491 Added fading scrollbars and adapted all the overshooting code to
3492 horizontal scrolling. We have also fixed bugs with overshooting
3493 and current fading implementation.
3495 * src/hildon-pannable-area.c
3496 (hildon_pannable_area_scroll_indicator_fade): Time out function
3497 used to change the transparency of the scrollbars.
3499 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3500 control and fixed a problem with fading, we now remove the fade
3501 timeout before adding a new one.
3503 (hildon_pannable_axis_scroll):
3504 (hildon_pannable_area_scroll):
3505 (hildon_pannable_area_timeout): Added this functions so we can use
3506 the scroll code both for vertical and horizontal.
3508 (hildon_pannable_area_motion_notify_cb):
3509 (hildon_pannable_area_button_release_cb): Added the horizontal
3510 scrolling control, fixed a problem with the overshooting timeout.
3512 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3513 painting of the scrolls.
3515 (hildon_pannable_draw_vscroll):
3516 (hildon_pannable_draw_hscroll):
3517 (hildon_pannable_area_expose_event):
3518 Draw both scrollbars and rectangles in the overshooting area.
3520 (hildon_pannable_area_get_property):
3521 (hildon_pannable_area_set_property):
3522 Modified the overshoot property to overshoot_max
3524 (hildon_pannable_area_map):
3525 Replaced the comments symbols.
3527 (hildon_pannable_area_size_allocate):
3528 (hildon_pannable_area_class_init):
3529 (hildon_pannable_area_init): Added horizontal scroll, fading
3530 effect properties, fixed a problem when overshooting in the bottom
3533 * examples/hildon-pannable-area-example.c:
3534 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3535 looks better in the example.
3537 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3539 * src/hildon-window.c
3540 * src/hildon-window.h
3541 (hildon_window_class_init)
3542 (hildon_window_unset_program)
3543 (hildon_window_unset_program_real):
3544 Make unset_program a virtual function
3546 * src/hildon-stackable-window.c
3547 * src/hildon-stackable-window.h
3548 Added hildon_stackable_window_go_home()
3550 * examples/Makefile.am
3551 * examples/hildon-stackable-window-example.c
3552 HildonStackableWindow example
3554 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3556 * hildon-pannable-area.c: Added the overshoot property and removed
3557 the OVERSHOOT define. Fixed an indent style error.
3558 (hildon_pannable_area_motion_notify_cb):
3559 (hildon_pannable_area_get_property):
3560 (hildon_pannable_area_set_property): Add overshoot property.
3562 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3565 (hildon_pannable_area_class_init): Installed the new property.
3567 * hildon-pannable-area-example.c: Added a sawtooth function, this
3568 way it is easier to check the movement in the pannable.
3569 (get_sawtooth_label): Added this function.
3570 (main): Now we get the labels from the new get_sawtooth_label
3573 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3575 * src/hildon-app-menu.h
3576 * src/hildon-app-menu.c
3577 Renamed API variables for consistency
3579 (hildon_app_menu_popup): Use also the default window size to
3580 decide where to place the menu
3582 (hildon_app_menu_init, hildon_app_menu_class_init): New
3583 external-border style property
3585 2008-05-26 Michael Natterer <mitch@imendio.com>
3587 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3588 widget_class->tap_and_hold_setup signal slot doesn't exist any
3589 longer, stop overriding it.
3591 (hildon_time_editor_init): g_signal_connect() to the
3592 tap-and-hold-setup signal instead.
3594 (hildon_time_editor_entry_keypress): add cast to fix warning.
3596 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3598 * doc/hildon-docs.sgml
3600 * examples/Makefile.am
3601 * examples/hildon-app-menu-example.c
3603 * src/hildon-app-menu-private.h
3604 * src/hildon-app-menu.c
3605 * src/hildon-app-menu.h
3607 New HildonAppMenu widget
3609 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3611 Rearranged the inheritance of the pannable area, now it inherits
3612 from GtkBin. This will allow us to control the event_window and
3613 the allocation process of the widget, required for some effects.
3615 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3616 GtkBin structures. * src/hildon-pannable-area.c: Added the
3617 event_window variable.
3618 (hildon_pannable_area_button_press_cb):
3619 (hildon_pannable_area_button_release_cb):
3620 (hildon_pannable_area_motion_notify_cb):
3621 Changed the signature of the method, now we override the event
3622 callback instead of connecting to the signal.
3624 (hildon_pannable_area_realize):
3625 (hildon_pannable_area_unrealize):
3626 (hildon_pannable_area_map):
3627 (hildon_pannable_area_unmap):
3628 (hildon_pannable_area_size_allocate):
3629 Added functions to control the widget construction. We add a
3630 INPUT_ONLY window and we put it over the widgets inside the
3631 container, this event_window handles the events.
3633 (hildon_pannable_area_class_init):
3634 Replaced the signal connections with overrides of the event
3637 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3639 Bouncing effect added when touching the borders, you can change
3640 the elasticity of the border changing the ELASTICITY define.
3642 * src/hildon-pannable-area.c: Added ELASTICITY define.
3643 (hildon_pannable_area_timeout): Added inverse velocity when
3644 touching the border of the child widget, that causes a bounce.
3646 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3648 Improved performance, we now do not go to the X server in order to
3649 get the list of window children. Apparently the effect is the
3650 same, we have to be careful and check if this breaks something in
3653 * src/hildon-pannable-area.c:
3654 (get_ordered_children): Removed this function.
3655 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3656 the children windows function with gdk_window_get_children.
3658 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3660 * src/hildon-pannable-area.c:
3661 (hildon_pannable_area_dispose): Fixed a crash when closing the
3662 window and kinetics is activated.
3664 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-pannable-area.h
3667 * src/hildon-pannable-area.c
3668 Changed indentation style to meet the one used in Hildon
3670 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3672 Reviewed the interaction of the AUTO mode, now we use the time
3673 attribute of the events and calculate the velocity in the motion,
3674 doing a gimp like calculation. The velocity is calculated in each
3675 motion event using the last velocity and the current one, the
3676 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3678 * src/hildon-pannable-area.c: Replaced the time based algorithm
3680 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3681 timeout for the AUTO mode when we are still moving the cursor. We
3682 added also the velocity calculation in this function.
3683 (hildon_pannable_area_button_release_cb): launch the timeout in
3684 case we are in AUTO mode. There are still some constants here that
3685 come from the old implementation that should be reviewed and
3688 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3690 * doc/hildon-docs.sgml
3693 * src/hildon-stackable-window.c
3694 * src/hildon-stackable-window.h
3696 New HildonStackableWindow widget
3698 * examples/hildon-dialog-example.c
3699 * examples/hildon-pannable-area-example.c
3702 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3704 * src/hildon-dialog.c
3705 (hildon_dialog_new_with_buttons): New constructor.
3707 * examples/hildon-dialog-example.c
3708 (main): Update the example to use the new
3709 hildon_dialog_new_with_buttons().
3711 * examples/hildon-pannable-area-example.c
3712 (main): Update example.
3714 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3716 * doc/hildon-docs.sgml
3718 Added HildonPannableArea to the documentation.
3720 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3722 * doc/visual_index.xml
3723 Fix reference to HildonLoginDialog in documentation
3725 * doc/hildon-docs.sgml
3727 * examples/Makefile.am
3728 * examples/hildon-dialog-example.c
3730 * src/hildon-dialog.c
3731 * src/hildon-dialog.h
3733 New HildonDialog widget.
3735 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3737 * src/hildon-pannable-area.c
3738 Merge latest changes (r4318, r4342) from libmokoui trunk
3740 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3742 * examples/Makefile.am
3743 * examples/hildon-pannable-area-example.c
3745 * src/hildon-pannable-area.c
3746 * src/hildon-pannable-area.h
3748 New HildonPannableArea widget.
3750 2008-04-15 18:05:19 <timj@imendio.com>
3752 * src/hildon-banner.c: revert the recent change, that introduced
3753 gtk_window_present() calls. this reopens:
3754 Bug 78481 - [freetest] information banners are hidden under browser menu
3755 But resolves another variant of:
3756 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3758 2008-04-15 13:21:13 <timj@imendio.com>
3760 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3761 recreated its layout, spotted by Kris. this fixes all remaining
3762 artefacts and stability issues with the banner code. in particular:
3763 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3765 2008-04-14 16:52:59 <timj@imendio.com>
3767 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3768 operating on unrealized widgets, fixes:
3769 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3771 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3773 2008-04-09 Kristian Rietveld <kris@imendio.com>
3775 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3776 makes banner disappear.
3777 Fixes: NB#79182: info banner flickering with certain message lengts.
3779 * src/hildon-banner.c (hildon_banner_constructor),
3780 (hildon_banner_init), (hildon_banner_set_text),
3781 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3782 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3783 FALSE, reset size requests of label and banner,
3784 (force_to_wrap_truncated): when the text is too wide, always enforce
3785 the maximum possible width instead of recalculating it from the
3786 layout; enforce the maximum banner height of 3 lines,
3787 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3788 nicer wrapping and no truncated chars if space gets tight.
3790 * src/hildon-banner-private.h: add has_been_wrapped and
3791 has_been_truncated fields.
3793 2008-04-07 Sven Herzberg <sven@imendio.com>
3795 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3796 local values in hildon_date_editor_size_allocate
3798 * src/hildon-date-editor.c: moved the real allocation code into the
3801 2008-04-07 Sven Herzberg <sven@imendio.com>
3803 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3804 local values in hildon_date_editor_size_allocate
3806 * src/hildon-date-editor.c: merged the two if() branches together
3808 2008-04-07 Sven Herzberg <sven@imendio.com>
3810 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3811 local values in hildon_date_editor_size_allocate
3813 * src/hildon-date-editor.c: changed the arguments of the if()
3816 2008-04-07 Sven Herzberg <sven@imendio.com>
3818 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3819 local values in hildon_date_editor_size_allocate
3821 * src/hildon-date-editor.c: split the calculation of the allocation
3822 from the real allocation
3824 2008-03-27 Michael Natterer <mitch@imendio.com>
3826 Fixes: NB#81696: The passcode is not overwritten even after
3829 * src/hildon-code-dialog.c
3830 (hildon_code_dialog_button_clicked)
3831 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3832 because that doesn't overwrite selected text. Instead, emit the
3833 "commit" signal on the entry's im_context so the entry's normal
3834 insert logic is triggered. Set the cursor to the end of the entry
3835 after each insert operation so that we *only* insert in the middle
3836 of the text if something was selected.
3838 2008-03-27 Michael Natterer <mitch@imendio.com>
3840 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3841 selector cannot be opened
3843 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3844 when the popup color selector is created. Please connect to this
3845 signal in order to set the dialog's help ID.
3847 2008-03-25 Sven Herzberg <sven@imendio.com>
3849 Fixes: MB#1212: Hide info banners (infoprints) on click
3851 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3852 extracted the close event simulation into an extra function
3853 (hildon_banner_button_press_event): simulate a close event and destroy
3854 the widget if the event wasn't handled
3855 (hildon_banner_class_init): added the button_press_event handler
3856 (hildon_banner_init): added button-press events to the widget
3858 2008-03-25 Sven Herzberg <sven@imendio.com>
3860 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3861 Patch from: Mohammad Anwari <mdamt@maemo.org>
3863 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3864 instead of the right in RTL mode
3865 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3866 breadcrumb button list in RTL mode
3867 * src/hildon-caption.c: mirror the appearance of the caption widget in
3869 * src/hildon-date-editor.c: mirror appearance of the date editor in
3871 * src/hildon-time-editor.c: mirror appearance of the time editor in
3873 * src/hildon-window.c: fix the position of the popup in RTL mode
3875 2008-03-25 Sven Herzberg <sven@imendio.com>
3877 Amendment to the fix of NB#22072. Fix compilation.
3879 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3881 2008-03-19 Sven Herzberg <sven@imendio.com>
3883 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3886 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3887 timeout id properly when the timeout will disappear this leaves no
3888 artifacts around in the destroy(); there will only be the timeout
3889 created by hildon_banner_ensure_timeout() and adding a new timeout
3890 will also work if the timeout gets removed because the timeout_handler
3893 2008-03-19 Michael Natterer <mitch@imendio.com>
3895 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3897 * src/hildon-volumebar.c
3898 * src/hildon-vvolumebar.c
3899 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3900 the widget becomes focussable at all.
3902 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3903 set the focus to wither the mute button or the volumebar.
3905 Remove own "can-focus" property and instead listen to
3906 notify::can-focus in order to update the widget's state.
3908 Implement GtkWidget::focus() and make sure we can also *leave* the
3909 widget, not only enter it, depending on volumebar orientation and
3910 requested focus direction.
3912 Clean up set_mute() to cooperate nicely with all the above.
3914 2008-03-04 Michael Natterer <mitch@imendio.com>
3916 Fixes: NB#78481: information banners are hidden under browser menu
3918 * src/hildon-banner.c: call gtk_window_present() on the banners so
3919 they are risen if they are already visible.
3921 2008-03-03 Sven Herzberg <sven@imendio.com>
3923 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3925 * examples/hildon-window-menu-example.c: (main): extended the window
3926 menu example to serve as a testcase for automatically added
3927 accelerator groups, too
3928 * src/hildon-window.c: (hildon_window_add_accel_group),
3929 (hildon_window_set_menu): added patch by Tommi Komulainen
3931 2008-03-03 Sven Herzberg <sven@imendio.com>
3933 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3935 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3936 knowledge about the border allocators used within GTK+
3938 2008-02-26 Sven Herzberg <sven@imendio.com>
3940 Fixes: MB#2981: Build with asserts broken
3942 * src/hildon-date-editor.c,
3943 * src/hildon-number-editor.c,
3944 * src/hildon-time-editor.c,
3945 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3946 the proper GType instance check
3948 2008-02-25 Sven Herzberg <sven@imendio.com>
3950 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3952 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3953 * examples/hildon-window-menu-example.c: (main): explicitly show
3955 * src/hildon-window.c:
3956 (hildon_window_set_main_menu): moved most of the code from set_menu()
3957 to this place; skipped the call to gtk_widget_show_all(); also didn't
3958 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3959 (hildon_window_set_menu): removed most of the code, just keep the
3960 questionable gtk_widget_show_all()
3961 * src/hildon-window.h: added the new function and deprecate the old
3964 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3970 * debian/changelog: Updating.
3972 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3975 * pkgconfig/Makefile.am:
3976 * pkgconfig/hildon.pc.in:
3979 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3980 use newly created API_MAJOR_VERSION.
3982 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3988 * debian/changelog: Updating.
3990 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3992 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3994 Add outer_border style property, we use it but don't define it (!).
3998 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
4000 * examples/hildon-bread-crumb-trail-example.c (main):
4004 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
4006 Fix logic for the bread crumb trail node removal.
4010 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4016 * debian/changelog: Updating.
4018 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4020 Patch by Alejandro to get/set passwords dialogs accesibility.
4022 * hildon-1/src/hildon-get-password-dialog.c:
4023 * hildon-1/src/hildon-set-password-dialog.c:
4024 Set atk_set_name to the passwd entries in order to allow
4025 accessibility by name on this entries.
4027 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4032 * debian/control: Updating gtk dep.
4034 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
4036 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
4037 USE_MAEMO_GTK is enabled.
4039 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
4041 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
4042 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
4044 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4050 * debian/changelog: Updating.
4052 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4054 * examples/Makefile.am:
4055 * examples/hildon-logical-color-example.c:
4056 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
4057 applied + adding a test case. Fixes: NB#71660.
4059 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
4061 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
4062 to be visible, fixes warning on map for windows without toolbars.
4064 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
4066 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
4067 2.11.0, add a check for that besides the MAEMO_GTK check.
4069 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4075 * debian/changelog: Updating.
4077 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4079 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
4080 visibility. Fixes: NB#70842 and MB#615.
4082 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4084 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
4085 set the separator as no-show-all so it doesn't unintentionally appear when
4086 someone does a show_all.
4088 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
4090 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
4091 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
4092 toplevel item. Fixes: NB#62031
4094 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
4096 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
4097 fix the name of the function in the docs.
4099 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4105 * debian/changelog: Updating.
4107 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4109 * examples/hildon-banner-long-example.c: Adding a test-case for long
4112 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
4114 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4116 * src/hildon-color-chooser-dialog.c:
4117 * src/hildon-color-chooser.c:
4118 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
4119 memory leaks in font selector and color selector. Fixes: NB#70499 and
4122 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
4124 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4126 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4128 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4129 little bit bigger. Fixes: #NB63694.
4131 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4137 * debian/changelog: Updating.
4139 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4142 * doc/hildon-docs.sgml:
4143 * doc/images/bread-crumb-trail.png:
4144 * doc/images/calendar-popup.png:
4145 * doc/images/caption.png:
4146 * doc/images/code-dialog.png:
4147 * doc/images/color-button.png:
4148 * doc/images/color-chooser-dialog.png:
4149 * doc/images/color-chooser.png:
4150 * doc/images/controlbar.png:
4151 * doc/images/date-editor.png:
4152 * doc/images/font-selection-dialog.png:
4153 * doc/images/get-password-dialog.png:
4154 * doc/images/hvolumebar.png:
4155 * doc/images/login-dialog.png:
4156 * doc/images/note.png:
4157 * doc/images/number-editor.png:
4158 * doc/images/range-editor.png:
4159 * doc/images/seekbar.png:
4160 * doc/images/set-password-dialog.png:
4161 * doc/images/sort-dialog.png:
4162 * doc/images/time-editor.png:
4163 * doc/images/time-picker.png:
4164 * doc/images/vvolumebar.png:
4165 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4166 Adding the bread-crumb-trial and helpers to the documentation.
4168 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4170 * examples/hildon-find-toolbar-example.c:
4171 * src/hildon-find-toolbar.c:
4172 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4173 actually continue firing the other handlers if connected. Adding a new
4175 hildon_find_toolbar_get_last_index that gets the index of the most
4176 recently added (last) item. Fixes: NB#52301.
4178 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4180 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4181 behaviour. Fixes: NB#68610.
4183 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4185 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4188 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4190 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4191 when realizing the banner. Should make the infonbanner effect a bit more
4194 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4196 * src/hildon-volumebar.c:
4197 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4198 hildon_volumebar_set_range_insensitive_message and
4199 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4201 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4203 * src/hildon-window.c: Fixing the border freeing on destroy.
4205 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4207 * src/hildon-code-dialog-private.h:
4208 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4209 kw keyboard support in HildonCodeDialog.
4211 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4217 * debian/changelog: Updating.
4219 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4221 * src/hildon-date-editor.c:
4222 * src/hildon-number-editor.c:
4223 * src/hildon-private.c:
4224 * src/hildon-private.h:
4225 * src/hildon-time-editor.c:
4226 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4227 handling in subclassed composite widgets. Fixes: NB#66628.
4229 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4231 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4232 from destroy_ callback as it introduces problems in async dbus signal
4233 handlers. Fixes NB#66673.
4235 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4237 * examples/hildon-hvolumebar-example.c:
4238 * src/hildon-volumebar.c: Improving the focus handling in the
4239 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4240 set_property accessor so that "mute" property can be actually set. I'm
4241 scared that nobody noticed it's totally broken.
4243 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4245 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4248 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4250 * src/hildon-calendar.c:
4251 * src/hildon-number-editor.c:
4252 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4253 matches the spec of 6 chars per second. Fixes: NB#60489.
4255 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4257 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4258 gtk_style_lookup_color sometime returns FALSE even though color was
4259 found and values were filled properly. Weird. Removing the warning for the
4262 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4264 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4265 expand vertically. Adding some extra space to the find toolbar buttons to
4266 make them thumbable. Fixes NB#66060.
4268 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4271 popup with "Ok" and "Cancel". Fixes NB#59299.
4273 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4275 * src/hildon-calendar.c: Process all window updates before executing next
4276 timeout. Fixes: NB#54146.
4278 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4284 * debian/changelog: Updating.
4286 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4288 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4289 the client event and ignore it, since we use the delete event to close
4292 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4294 * src/hildon-helper.c: Remove the bogus warning about color not being
4295 found. Fixes NB#58352.
4297 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4299 * examples/Makefile.am:
4300 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4301 HildonSeekbar widget inside a toolbar.
4303 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4305 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4306 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4307 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4308 don't want to be closed by non-temporary windows on map.
4310 Also use G_DEFINE_TYPE instead of manually typed code.
4312 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4319 * debian/rules: Updating.
4321 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4323 * examples/Makefile.am:
4324 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4325 bug NB#61128. Strangely it works.
4327 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4329 * src/hildon-date-editor.c: When the date editor entry has been changed
4330 but the numbers of characters < max, turn off the skip validation flag.
4331 Prevents a situation when we enter first a valid year and later re-write
4332 it with an invalid one. Fixes NB#60154.
4334 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4336 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4337 code dialog. Fixes NB#64355.
4339 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4341 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4342 switching the page. Fixes NB#49374.
4344 * examples/Makefile.am:
4345 * examples/hildon-wizard-dialog-example.c: Adding an example for
4346 HildonWizardDialog that shows how to handle manual sensitivity setting on
4349 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4353 * src/hildon-version.h.in:
4354 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4356 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4358 * src/hildon-volumebar.c: Updating the docs.
4360 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4366 * debian/changelog: Updating.
4368 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4370 * src/hildon-find-toolbar.c:
4371 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4372 selected item: hildon_find_toolbar_set_active,
4373 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4374 hildon_find_toolbar_get_active_iter . They correspond to respective
4375 GtkComboBox functions.
4377 * examples/Makefile.am:
4378 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4381 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4383 * examples/Makefile.am:
4384 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4387 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4388 when font size > 32 and we pack a focusable widget inside. Actually using
4389 the default response would work too, but since we don't show default
4390 response state in any way (no theming) it would not be visible to the
4391 user. Fixes NB#63430.
4393 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4395 * src/hildon-date-editor.c: Adding the missing variable setter in the
4396 set_property handler. Fixes NB#54182.
4398 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4400 * src/hildon-window.h: Changing the long key press time from 1500ms to
4401 800ms as requested in NB#63700. I have a bad feeling about this, let's
4402 see... Fixes NB#63700.
4404 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4406 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4407 hildon_time_picker_map, hildon_time_picker_realize,
4408 hildon_time_picker_style_set): Split the contents of map to more
4409 appropriate functions; set window decorations on realize and update
4410 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4412 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4417 * debian/changelog: Updating.
4419 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4421 * src/Makefile.am: fixed installation of the header files
4423 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4429 * debian/changelog: Updating.
4431 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4433 * configure.ac: Removing some remaining of --enable-xan.
4435 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4437 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4438 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4440 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4441 2.10.12-osso6 because the move-focus signal needs to be available in
4444 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4446 * examples/Makefile.am:
4447 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4448 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4449 fine. Prolly NB#61128 is fixed now.
4451 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4453 * src/hildon-volumebar.c:
4454 * src/hildon-volumebar.h: Adding the
4455 hildon_volumebar_set_range_insensitive_message and
4456 hildon_volumebar_set_range_insensitive_messagef functions to set
4457 insensitive message on the slider of the volumebar. Fixes NB#61129.
4459 * examples/Makefile.am:
4460 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4461 test the new insensitive messsage functionality on HildonVolumebar.
4463 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4465 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4468 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4470 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4471 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4472 button on after clearing the trail.
4474 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4476 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4478 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4480 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4481 by splitting the installed headers in generated and non-generated groups. Use
4482 only the non-generated headers to create the hildon-enum-types.h file.
4484 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4486 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4488 * src/hildon-window.c: Hide the window before performing the destroy.
4489 Should make the app closing a little tiny bit more snappy.
4491 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4493 * src/hildon-seekbar.c: add gtkrange.h header
4494 * src/hildon-caption.c: remove unused variable
4496 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4498 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4501 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4507 * debian/changelog: Updating.
4509 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4511 * src/hildon-window.c (hildon_window_window_state_event,
4512 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4513 escape timeout on focus-out-event rather than notify::is-topmost; the
4514 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4516 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4518 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4519 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4521 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4523 * src/hildon-window: actually, you need to use the macro always, there's
4524 no private pointer in the instance structure. We should have cleaned this up
4525 when we had the chance...
4527 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4529 * src/hildon-window.c: do not get the private date from HildonWindow before
4530 it passes the g_return_if_fail check. Once it's passed the test, there's no
4531 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4532 if you are only going to access the data once. Whitespace cleanups.
4534 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4536 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4537 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4539 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4545 * debian/changelog: Updating.
4547 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4549 * src/hildon-window.c: When destroying the window, remove (if exists) the
4550 escape timeout handler. Fixes #NB59276.
4552 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4554 * src/hildon-banner.c: When realizing the widget, set the window
4555 transiency. Setting the transiency in the gobject constructor is not
4556 good, as the widget is not realized at that point. Fixes: #NB56624.
4558 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4560 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4561 Add padding for future expansions.
4563 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4565 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4566 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4567 will fake an activation on the previous to the last item of the trail, so
4568 the effect can be overrided by the developer as usual.
4569 Also change the callback for the back button to do the same thing, so its
4570 effect can be overrided too. Fixes: NB#58982
4572 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4574 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4575 HildonCaption. Fixes NB#52379.
4577 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4579 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4580 the internal state of the trail after the user has had the chance of executing
4581 his handler for the signal. Specifically, it may happen that the activated button
4582 is removed and the user still lets the default handler run. This would segfault
4585 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4587 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4588 scrollbar to the preview dialog. Fixes NB#54147.
4590 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4592 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4593 max/min year properties can be altered, so the client can modify it
4594 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4596 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4598 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4599 hildonlike by default. Fixing a problem with disappearing arrows when
4600 scrolling through months and years. Fixes NB#54127.
4602 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4604 * examples/hildon-date-editor-example.c: Adding error callback to the date
4607 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4613 * configure.ac: Updating.
4615 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4617 * configure.ac: Adding a special '--enable-xan' configure option that
4618 turns off the -Werror compilation setting. Usefull for development.
4620 * src/hildon-calendar.c:
4621 * src/hildon-number-editor.c:
4622 * src/hildon-time-picker.c: Adding the 5* multiplier to
4625 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4627 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4628 instead of g_object_ref + gtk_object_sink.
4630 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4636 * debian/changelog: Updating.
4638 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4640 * src/hildon-color-chooser-dialog.c:
4641 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4642 straight from Tommi labs.
4644 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4646 * examples/hildon-finger-example.c: Correcting the header file path.
4648 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4649 the changed signal. Fixes a small memory leak.
4651 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4655 * src/hildon-banner.c: Importing several usefull fixes from the
4656 ubuntu-mobile branch.
4658 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4660 * examples/Makefile.am:
4661 * examples/hildon-finger-example.c: Adding a finger-checking code
4664 * src/hildon-font-selection-dialog.c: Do not allocate the color
4665 structure using the g_new. Fixes NB#54061.
4667 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4669 * src/hildon-helper.c: Correcting tabs in file.
4671 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4673 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4674 control the visibility of the children.
4676 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4678 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4684 * debian/changelog: Updating.
4686 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4688 * src/hildon-bread-crumb-trail.c:
4689 (hildon_bread_crumb_trail_size_allocate):
4691 Make the back button always a square.
4693 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4695 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4696 from the .c file as it's a private file.
4698 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4700 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4701 uses slightly bigger height.
4703 * src/hildon-font-selection-dialog.c: Adding some checks before
4704 freeing memory in the font selection dialog.
4706 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4708 * src/hildon-font-selection-dialog.c: Adding a small check when
4711 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4712 buttons sensitivity on page switching.
4714 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4716 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4717 internal details of adding a bread crumb to the trail.
4719 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4725 * debian/changelog: Updating.
4727 * src/hildon-bread-crumb-trail.h:
4728 * src/hildon-bread-crumb.h: Changing the API guard to
4729 HILDON_ENABLE_UNSTABLE_API.
4731 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4739 * src/hildon-helper.h: Updating.
4741 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4749 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4753 * src/hildon-helper.h: Small fix to make the package actually compile.
4755 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4757 * src/hildon-bread-crumb-trail.h:
4758 * src/hildon-bread-crumb.h:
4760 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4761 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4763 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4765 * examples/hildon-bread-crumb-trail-example.c:
4767 * src/hildon-bread-crumb-trail.c:
4768 * src/hildon-bread-crumb-trail.h:
4769 * src/hildon-bread-crumb.c:
4770 * src/hildon-bread-crumb.h:
4771 * src/hildon-marshalers.list:
4772 * src/hildon-bread-crumb-widget.c:
4773 * src/hildon-bread-crumb-widget.h:
4775 Slight change in the widget design. The bread crumb trail API is
4776 unchanged, but HildonBreadCrumb is now an interface. A *private*
4777 implementation, hildon-bread-crumb-widget, is provided and used
4778 internally by the trail for the push_text/push_icon functions.
4780 The generic push API is still available, so anyone can implement
4781 and use its own bread crumb widget.
4783 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4785 * debian/rules: Fixing the shlibs.
4787 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4789 * src/hildon-banner.c: Fixing a problem with timed banners having
4790 their parrent destroyed before they are.
4792 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4794 * src/hildon-bread-crumb.c:
4795 * src/hildon-bread-crumb.h:
4797 Make the get_natural_size function a vfunc.
4799 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4801 * src/hildon-bread-crumb.c:
4802 * src/hildon-bread-crumb-trail.c:
4806 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4813 * debian/changelog: Updating for release.
4815 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4817 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4818 don't leak the pango layout.
4820 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4823 * examples/hildon-bread-crumb-trail-example.c:
4827 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4829 * debian/changelog: Removing the bug-fixed entries that were actually
4830 resolved as WONTFIX.
4832 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4835 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4837 * src/hildon-bread-crumb-trail.c:
4838 * src/hildon-bread-crumb-trail.h:
4839 * src/hildon-bread-crumb.c:
4840 * src/hildon-bread-crumb.h:
4844 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4846 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4847 until it's passed the type check.
4849 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4851 * examples/hildon-bread-crumb-trail-example.c
4855 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4857 * examples/Makefile.am
4858 * examples/hildon-bread-crumb-trail-example.c
4860 * src/hildon-bread-crumb-trail.c
4861 * src/hildon-bread-crumb-trail.h
4862 * src/hildon-bread-crumb.c
4863 * src/hildon-bread-crumb.h
4865 New HildonBreadCrumbTrail widget.
4867 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4869 * src/hildon-range-editor.c (hildon_range_editor_init),
4870 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4871 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4872 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4873 hildon_time_editor_class_init, hildon_time_editor_init),
4874 src/hildon-get-password-dialog.c (invalid_input,
4875 hildon_get_password_set_property, hildon_get_password_get_property,
4876 create_contents, hildon_get_password_dialog_set_max_characters),
4877 src/hildon-set-password-dialog.c (create_contents),
4878 src/hildon-date-editor.c (hildon_date_editor_init),
4879 src/hildon-login-dialog.c (hildon_login_dialog_init),
4880 src/hildon-number-editor.c (hildon_number_editor_init),
4881 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4882 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4883 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4884 configure option and adding the respective checks in the code.
4885 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4886 hildon_calendar_drag_data_received): fixed some build warnings.
4888 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4890 * debian/changelog: A 1.0.0 release notes.