1 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4 scroll indicator by default.
6 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
8 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
10 * src/hildon-main.c: Fix the documentation for hildon_init()
12 2008-11-25 Alberto Garcia <agarcia@igalia.com>
14 * doc/hildon-docs.sgml
18 * src/hildon-window-stack-private.h
19 * src/hildon-window-stack.h
20 * src/hildon-window-stack.c:
21 New HildonWindowStack object, that adds support for multiple
22 stacks of windows per process.
24 * src/hildon-stackable-window-private.h
25 * src/hildon-stackable-window.h
26 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
27 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
28 (hildon_stackable_window_show, hildon_stackable_window_hide)
29 (hildon_stackable_window_class_init)
30 (hildon_stackable_window_init):
31 Use HildonWindowStack for stack management.
33 * src/hildon-program.c (hildon_program_pop_window_stack)
34 (hildon_program_peek_window_stack)
35 (hildon_program_go_to_root_window):
36 Add a fallback implementation to the deprecated functions using
39 * examples/hildon-stackable-window-example.c:
40 Use the new HildonWindowStack API.
42 2008-11-25 Alberto Garcia <agarcia@igalia.com>
44 * src/hildon-stackable-window-private.h
45 * src/hildon-stackable-window.c (hildon_stackable_window_show)
46 (hildon_stackable_window_hide, hildon_stackable_window_init):
47 Remove all window stack management.
49 * src/hildon-program-private.h
50 * src/hildon-program.h
51 * src/hildon-program.c (hildon_program_init)
52 (hildon_program_pop_window_stack)
53 (hildon_program_peek_window_stack)
54 (hildon_program_go_to_root_window):
55 Remove all window stack management and mark functions as
58 2008-11-25 Alberto Garcia <agarcia@igalia.com>
60 * src/hildon-app-menu.c (hildon_app_menu_realize):
61 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
63 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
65 * configure.ac: post release version bump
66 * debian/changelog: version bump
68 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
73 * configure.ac: bump version
74 * debian/changelog: updates
76 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
78 Based on initial code by Christian Dywan (christian@imendio.com)
80 * doc/hildon-docs.sgml: Add section for hildon-main.
81 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
82 * src/Makefile.am: Add new hildon-main.[ch]
83 * src/hildon-defines.h: Update the icon sizes.
84 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
85 new library initialization files and register icon sizes.
86 * src/hildon-main.h: New declarations.
87 * src/hildon.h: Include hildon-main.h
89 Add new initialization functions to the library. These methods
90 will register the hildon specific icon sizes and can be used in the
91 future for other hildon specific bits.
93 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
95 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
97 * src/hildon-window.c: (hildon_window_realize),
98 (hildon_window_notify), (-hildon_window_update_title): Do not set
99 the application name in the window title.
101 Fixes: NB#89754 (Applications shouldn't display their names in the
104 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
106 * src/hildon-note-private.h:
107 * src/hildon-note.c: (hildon_note_set_property),
108 (hildon_note_get_property), (hildon_note_class_init),
109 (hildon_note_init), (hildon_note_finalize),
110 (hildon_note_new_confirmation_with_icon_name),
111 (hildon_note_new_information_with_icon_name):
113 No need to mark as deprecated the actual code. Revert
114 to avoid missing symbols in widgets using deprecated API.
116 2008-11-20 Alberto Garcia <agarcia@igalia.com>
118 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
120 * src/hildon-volumebar.h
121 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
122 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
124 * src/hildon-helper.h
125 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
126 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
128 * examples/Makefile.am:
129 Deprecate hildon-insensitive-example
131 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
133 2008-11-20 Alberto Garcia <agarcia@igalia.com>
135 * examples/hildon-pannable-area-buttons-scroll-example.c:
136 Make all buttons finger height
138 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
140 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
142 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
143 update the day model only if it is really required, and to avoid the
144 full-reconstruction aproach. Now it only add or remove the required days.
146 The purpose of this is avoid superfluous HildonTouchSelector::changed
149 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
150 with strange parameters)
152 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
154 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
156 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
157 the WINDOW_TYPE property.
159 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
161 2008-11-19 Alberto Garcia <agarcia@igalia.com>
164 Fix dependency to allow parallel compilation with make -jX
166 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
168 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
169 color frame and some minor tweaks to make it more consistent with
172 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
173 highlighted but not visible)
175 2008-11-14 Alejandro G. Castro <alex@igalia.com>
177 * examples/Makefile.am: Fixed typo in the Makefile.am.
179 2008-11-14 Alejandro G. Castro <alex@igalia.com>
181 Reviewed the use of MAEMO_GTK define, now we add the define in the
182 compilation line, and we also add it to the pc file.
184 * configure.ac: Added MAEMO_GTK define to the compilation command
185 and removed it from the config.h.
187 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
188 do not have to take care about this define if the library was
192 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
194 2008-11-14 Alejandro G. Castro <alex@igalia.com>
196 * examples/Makefile.am,
197 * examples/hildon-pannable-area-buttons-scroll-example.c,
198 * examples/hildon-pannable-area-gesture-signals-example.c,
199 * examples/hildon-pannable-area-scroll-jump-example.c,
200 * examples/hildon-pannable-area-tree-view-example.c:
201 Renamed the pannable area examples, now they have more meaningful
204 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
206 * src/hildon-touch-selector.c:
207 (hildon_touch_selector_set_column_selection_mode): Used of
208 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
209 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
210 to avoid re-seting the same selection mode.
212 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
213 breaks HildonPickerDialog)
215 2008-11-13 Alejandro G. Castro <alex@igalia.com>
217 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
218 conditional in the Makefile.am
220 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
222 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
223 Remove unused methods.
225 2008-11-12 Alberto Garcia <agarcia@igalia.com>
227 * src/hildon-button.c (hildon_button_init):
228 Make button images center-aligned by default
230 2008-11-12 Alejandro G. Castro <alex@igalia.com>
233 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
234 activated, we have to think about how to deal with both defines
235 MAEMO_GTK and MAEMO_CHANGES.
237 2008-11-12 Alberto Garcia <agarcia@igalia.com>
239 * examples/hildon-app-menu-example.c (create_menu): Make all
242 2008-11-11 Alejandro G. Castro <alex@igalia.com>
244 Fixed the compilation without maemo gtk adding ifdefs with
245 MAEMO_GTK define to the code, we have to check this version more
248 * examples/Makefile.am: Added control to avoid some examples that
249 just make sense with maemo gtk.
252 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
253 hildon modes with the define.
255 * examples/hildon-edit-toolbar-example.c,
256 (create_icon_view): Create the icon view without hildon-gtk
257 helpers if we are not using maemo gtk.
259 * src/hildon-touch-selector.c,
260 (_create_new_column): Create the treeview without hildon-gtk
261 helpers if we are not using maemo gtk.
263 2008-11-11 Alejandro G. Castro <alex@igalia.com>
265 * src/hildon-pnnable-area.c,
266 (hildon_pannable_area_dispose),
267 (hildon_pannable_area_button_press_cb),
268 (hildon_pannable_area_child_mapped),
269 (hildon_pannable_area_add),
270 (hildon_pannable_area_remove): Added code to control the position
271 of the event_window when adding and removing children from the
272 pannable. We have to raise the event window when the child is
275 Fixes: NB#89811 (Not able to select first image thumbnail in multi
276 selection mode using custom widget inside pannable)
278 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
280 * configure.ac: post release version bump
281 * debian/changelog: version bump
283 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
288 * configure.ac: bump version
289 * debian/changelog: updates
291 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
293 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
294 search mode, in order to avoid lose the focus on the treeview when
295 a hw key (like enter) is pressed.
297 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
298 in HildonDateSelector dialog)
300 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
302 * debian/rules: Added --enable-maintainer-mode
303 * Makefile.am: Added ACLOCAL_AMFLAGS
305 This allows to properly regenerate the Makefiles if you modify the
306 configure.ac or any Makefile.am.
308 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
310 * examples/hildon-app-menu-example.c: (main): Do not set RC style
311 properties, not needed at all.
313 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
315 * src/hildon-note-private.h: Add strings for the icon and stock_icon
317 * src/hildon-note.c: (hildon_note_set_property),
318 (hildon_note_get_property), (hildon_note_class_init),
319 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
320 (hildon_note_new_confirmation_add_buttons): Remove icons.
321 (hildon_note_new_confirmation_with_icon_name): Deprecate.
322 (hildon_note_new_information_with_icon_name): Deprecate.
323 (hildon_note_new_confirmation): Act directly, without calling
324 the deprecated constructor.
325 (hildon_note_new_information): Act directly, without calling
326 the deprecated constructor.
327 * src/hildon-note.h: Mark deprecate methods as such.
328 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
329 not run tests on the deprecated methods if built with deprecation
332 Fixes: NB#91688 (Never show icons in information notes/confirmation
335 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
337 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
338 (hildon_app_menu_key_press): Remove leftover usage of the
339 private structure in HildonAppMenu struct.
340 * src/hildon-app-menu.h: Remove leftover private structure
341 from the HildonAppMenu struct.
343 Fixes a crasher when using the HildonAppMenu.
345 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
347 * src/hildon-picker-dialog.c: Use appropriate logical id
348 for the default "Done" text.
350 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
352 * configure.ac: post release version bump
353 * debian/changelog: version bump
355 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
357 Modified the way to scroll to the current selection just when the touch
358 selector is shown on the screen, avoiding a g_idle. Added too a property
359 to configure this behaviour. See hildon_pannable_area_jump_to_child
360 documentation for more information.
362 * src/hildon-touch-selector.c
363 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
364 Added 'initial-scroll' property
365 (hildon_touch_selector_set_property): Added
366 (hildon_touch_selector_map): Removed as not required anymore
367 (_hildon_touch_selector_on_selected_items): Modified in order to manage
368 only a concrete column, instead of iterate along all the columns
370 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
375 * configure.ac: bump version
376 * debian/changelog: updates
378 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
380 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
381 compilation time warnings.
383 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
385 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
386 the default value for HildonPannableArea::mov-mode to
387 HILDON_PANNABLE_AREA_MODE_VERT.
389 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
391 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
393 Reverting following commit:
395 2008-10-13 Alberto Garcia <agarcia@igalia.com>
397 * src/hildon-app-menu-private.h
398 * src/hildon-app-menu.[ch]
399 * src/hildon-button.[ch]
400 * src/hildon-check-button.[ch]
401 * src/hildon-entry.[ch]
402 * src/hildon-pannable-area.[ch]
403 * src/hildon-text-view.[ch]:
404 Added private field to the object's structure.
406 because it causes an ABI breakage. We will need to introduce these
407 changes later at some point. See NB#91636 for an extensive
408 explanation and status.
410 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
412 Patch contributed by Daniel Borgmann (danielb@openismus.com)
414 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
415 remove special cases that are no longer necessary.
417 Fixes: NB#91016 (Change toolbar sizes, simplification)
419 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
421 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
422 is shown in the cancel note.
424 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
426 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
427 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
428 (hildon_seekbar_init): Remove steppers, remove expose event.
429 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
431 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
433 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
435 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
436 label font to "SmallSystemFont" for vertically arranged buttons.
438 Fixes: NB#90662 (HildonButton "value" and "detail" text is
441 2008-10-31 Alberto Garcia <agarcia@igalia.com>
443 * src/hildon-check-button.c
444 (hildon_check_button_set_active, hildon_check_button_clicked):
445 Don't access private parts directly, use getters instead.
447 2008-10-31 Alberto Garcia <agarcia@igalia.com>
449 * src/hildon-check-button.c (hildon_check_button_new):
450 Align the contents of the check button to the left.
452 2008-10-30 Alejandro G. Castro <alex@igalia.com>
454 * src/hildon-pannable-area.c,
455 (hildon_pannable_area_scroll_to),
456 (hildon_pannable_area_jump_to),
457 (hildon_pannable_area_scroll_to_child),
458 (hildon_pannable_area_jump_to_child): Replace the mapped
459 precondition of these functions with the realized, it is the
460 correct state of the widget in this case. Changed the
461 documentation according to this modification.
463 2008-10-30 Alejandro G. Castro <alex@igalia.com>
465 Added a new EXTRA_CFLAGS option to add the deprecated define to
466 the compilation command. This way we can avoid using the define in
467 the documentation compilation.
469 * configure.ac: Defined EXTRA_CFLAGS.
471 * examples/Makefile.am:
473 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
475 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
477 * src/hildon-picker-dialog.c:
478 Defined a utility macro with the desired touch selector height
479 Removed currently unused separator, and title_label variables from
481 (hildon_picker_dialog_init): Removed code related to the creation
482 of unused private variables title_label and separator.
483 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
484 to ensure correct visualization of the touch selector inside the dialog.
485 * src/hildon-touch-selector.c
486 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
487 ensure a concrete height of the widget.
489 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
494 Remove spurious whitespaces.
496 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
499 compilation warning after the cancel button removal.
501 2008-10-30 Alejandro G. Castro <alex@igalia.com>
503 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
505 * configure.ac: Added an AM_CONDITIONAL in order to use in the
506 Makefile.am, that way we can choose not to compile some examples
507 and tests of the deprecated widgets.
509 * examples/Makefile.am: Divided the sources in deprecated and
512 * src/Makefile.am: Added undef statement of the deprecated
513 symbol to the enums file generation process.
515 * src/hildon-color-chooser-dialog.c
516 * src/hildon-color-chooser-dialog.h
517 * src/hildon-color-button.c
518 * src/hildon-color-button.h
519 * src/hildon-color-chooser.c
520 * src/hildon-color-chooser.h
521 * src/hildon-controlbar.c
522 * src/hildon-controlbar.h
523 * src/hildon-date-editor.c
524 * src/hildon-date-editor.h
525 * src/hildon-hvolumebar.c
526 * src/hildon-hvolumebar.h
527 * src/hildon-private.c
528 * src/hildon-private.h
529 * src/hildon-range-editor.c
530 * src/hildon-range-editor.h
531 * src/hildon-seekbar.c
532 * src/hildon-seekbar.h
533 * src/hildon-time-editor.c
534 * src/hildon-time-editor.h
535 * src/hildon-time-picker.c
536 * src/hildon-time-picker.h
537 * src/hildon-volumebar.c
538 * src/hildon-volumebar.h
539 * src/hildon-vvolumebar.c
540 * src/hildon-vvolumebar.h
541 * src/hildon-bread-crumb-trail.h
542 * src/hildon-bread-crumb-trail.c
543 * src/hildon-calendar-popup.c
544 * src/hildon-calendar-popup.h
545 * src/hildon-weekday-picker.c:
546 * src/hildon-weekday-picker.h:
547 * src/hildon-bread-crumb-widget.c:
548 * src/hildon-bread-crumb-widget.h:
549 * src/hildon-bread-crumb.c:
550 * src/hildon-bread-crumb.h:
551 * src/hildon-calendar.c:
552 * src/hildon-calendar.h:
553 * src/hildon-caption.c:
554 * src/hildon-code-dialog.c:
555 * src/hildon-code-dialog.h:
556 * src/hildon-font-selection-dialog.c:
557 * src/hildon-font-selection-dialog.h:
558 * src/hildon-get-password-dialog.c:
559 * src/hildon-get-password-dialog.h:
560 * src/hildon-login-dialog.c:
561 * src/hildon-login-dialog.h:
562 * src/hildon-number-editor.c:
563 * src/hildon-number-editor.h:
564 * src/hildon-set-password-dialog.c:
565 * src/hildon-set-password-dialog.h:
566 * src/hildon-sort-dialog.c:
567 * src/hildon-sort-dialog.h: This is the list of deprecated
570 * src/hildon-touch-selector.c:
571 * src/hildon-window.c: Added undef statement to avoid compilation
574 * tests/Makefile.am: Divided the sources in deprecated and
577 * tests/check_test.c,
578 (configure_tests): Marked the deprecated code that was adding
579 suites with deprecated tests.
581 Fixes: NB#91135 (Deprecate legacy hildon widgets)
583 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
585 * src/hildon-touch-selector.c: (_default_print_func): Do not
586 duplicate a string returned by gtk_tree_model_get(), it is already
589 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
592 2008-10-28 Alejandro G. Castro <alex@igalia.com>
594 * src/hildon-pannable-area.c
595 (hildon_pannable_area_add_with_viewport): Reviewed the complete
596 method, it had problems when adding a widget with viewport the
597 second time. Now checks if it already has a viewport and uses it.
599 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
602 2008-10-28 Alejandro G. Castro <alex@igalia.com>
604 * src/hildon-pannable-area.c,
605 (hildon_pannable_area_scroll_to),
606 (hildon_pannable_area_jump_to),
607 (hildon_pannable_area_scroll_to_child),
608 (hildon_pannable_area_jump_to_child): Added a precondition to the
609 scroll and jump to functions: the widget must be mapped before we
610 can safely call these functions. We have also added documentation
611 to the functions to explain how to use them in this situation.
614 2008-10-28 Alejandro G. Castro <alex@igalia.com>
616 Reviewed the threading handling of the pannable widget, we have
617 used the gdk_threads_add_timeout function instead of the usual
618 glib handlers. This avoids some problems with the threads.
620 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
621 (hildon_pannable_area_initial_effect),
622 (hildon_pannable_area_scroll_indicator_fade),
623 (hildon_pannable_area_button_press_cb),
624 (hildon_pannable_area_timeout),
625 (hildon_pannable_area_motion_notify_cb),
626 (hildon_pannable_area_button_release_cb),
627 (hildon_pannable_area_scroll_cb),
628 (hildon_pannable_area_scroll_to): Removed the
629 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
630 gdk_threads_add_timeout.
632 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
634 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
639 * configure.ac: bump version
640 * debian/changelog: updates
642 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
644 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
645 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
646 * src/hildon-color-chooser-dialog.c:
647 (hildon_color_chooser_dialog_init):
648 * src/hildon-font-selection-dialog.c:
649 (hildon_font_selection_dialog_init):
650 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
652 Remove all cancel/close-like dialogs, as these are not going to be
655 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
657 * src/hildon-note.c: (hildon_note_rebuild),
658 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
661 Fixes: NB#90661 (Delete dialog is displayed without NO button)
663 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
665 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
666 sure all buttons are shown, even the Cancel/Close-like ones.
668 Fixes: NB#90861 (Custom Confirmation dialogs should be
669 protected from cancel button removal)
671 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
673 * debian/control: Change libhildon1-examples dependency from libhildon1
675 * debian/libhildon1-examples.install
677 * Makefile.am: Modified the final install directory for the examples on
678 package libhildon1-examples
679 * Makefile.static: Update clean target in order to remove all the binary
682 Changes suggested by Claudio after review new libhildon1-examples package
684 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
686 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
687 * src/hildon-touch-selector.c: Ditto.
689 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
691 * debian/control: Added new package libhildon1-examples, in order to pack
692 the current hildon examples as documentation
693 * debian/rules: Not to compress .c files, modify some includes on the
694 examples (as normally are compiled locally, but when installed it will
695 require to include the installed libhildon1 library), and rename
697 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
698 install all the example files on the new example package
699 * examples/Makefile.static: Added static makefile that can be used to
700 compile the examples, once installed the new example package
701 * examples: Most of the examples were modified in order to grant that
702 all use only '#include "hildon.h"', in order to be easy to prepare
703 it on the example package
705 2008-10-23 Alberto Garcia <agarcia@igalia.com>
708 * debian/libhildon1-dev.install
709 * debian/libhildon1-doc.install:
710 Move all gtk-doc files to a separate libhildon1-doc package.
712 2008-10-23 Daniel Borgmann <danielb@openismus.com>
714 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
716 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
718 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
720 * debian/rules: Fixed a error in order to avoid unnecessary calls
721 to autogen.sh on package building
723 2008-10-22 Alberto Garcia <agarcia@igalia.com>
725 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
727 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
729 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
732 2008-10-21 Alberto Garcia <agarcia@igalia.com>
734 * src/hildon-picker-button.c
735 (hildon_picker_button_finalize):
736 Free priv->done_button_text
738 * src/hildon-time-button.c
739 (hildon_time_button_set_time)
740 * src/hildon-picker-button.c
741 (hildon_picker_button_clicked)
742 (hildon_picker_button_selector_selection_changed)
743 (hildon_picker_button_set_selector)
744 * src/hildon-date-button.c
745 (hildon_date_button_set_date):
746 Free strings returned by hildon_touch_selector_get_current_text()
748 * src/hildon-button.c (hildon_button_construct_child):
749 Fix leaks in priv->image and priv->label_box
751 Fixes: NB#90535 (Memory leak in picker button)
753 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-button.c: (hildon_button_get_property): Do not access
756 private elements directly, use getters instead.
758 2008-10-20 Alberto Garcia <agarcia@igalia.com>
760 * src/hildon-app-menu-private.h
761 * src/hildon-app-menu.c
762 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
763 Store the menu's parent window.
765 * src/hildon-stackable-window.c
766 (hildon_stackable_window_toggle_menu)
767 (hildon_stackable_window_finalize):
768 Set the menu's parent window when the menu is shown, unset it when
771 * src/hildon-app-menu.c
772 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
773 (hildon_app_menu_class_init):
774 Send unhandled keyboard accelerators to the parent window.
776 2008-10-20 Alberto Garcia <agarcia@igalia.com>
778 * src/hildon-stackable-window.c
779 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
781 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
783 * configure.ac: post release version bump
785 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
788 * configure.ac: Bump version
789 * debian/changelog: Updates
790 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
793 2008-10-20 Alberto Garcia <agarcia@igalia.com>
795 Patch contributed by Daniel Borgmann (danielb@openismus.com)
798 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
799 GtkMenu with Hildon style.
801 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
803 * src/hildon-picker-button.c:
804 (hildon_picker_button_set_done_button_text): Set the dialog's
805 done button text here as well.
807 Fixes: NB#90232 (Picker button does not set the label on done button
810 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
812 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
815 2008-10-16 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-app-menu.c (hildon_app_menu_insert)
818 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
819 the HildonAppMenu to be activatable using keyboard accelerators
820 when the menu is not being shown.
822 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
824 2008-10-16 Alberto Garcia <agarcia@igalia.com>
826 * src/hildon-stackable-window.c
827 (hildon_stackable_window_show):
828 Don't hide old windows automatically when new windows are shown:
829 this is now a task for the window manager.
830 (hildon_stackable_window_class_init)
831 (hildon_stackable_window_hide):
832 Remove windows from the stack everytime they're hidden.
833 (hildon_stackable_window_realize):
834 Don't change the _NET_WM_WINDOW_TYPE property. Use
835 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
836 it as a stackable window.
838 * src/hildon-program.c
839 (hildon_program_pop_window_stack):
840 Just hide the window to remove it from the stack.
841 (hildon_program_go_to_root_window):
842 Don't call gtk_widget_show(), this is now a task for the window
845 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
847 2008-10-15 Alberto Garcia <agarcia@igalia.com>
849 * src/hildon-button.c
850 (hildon_button_construct_child):
851 Don't pack anything in the button until text or image are
852 set. This allows adding a custom child after creating the button
853 with hildon_button_new().
854 (hildon_button_finalize, hildon_button_class_init)
855 (hildon_button_init, hildon_button_set_arrangement): Destroy the
856 alignment and the label box even when they're not packed in the
859 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
861 * src/hildon-touch-selector.h:
862 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
863 currently the type definition was using GTK_TYPE_VBOX
864 * src/hildon-touch-selector.c:
865 Added some implementation notes in order to clarify that any other widget
866 added without the column related API will not be included on the
867 selection logic, and how the widget is freed, as some people ask about
869 (hildon_touch_selector_remove): Reimplemented in order to free properly
870 the column related data when you remove the private hbox.
871 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
872 to get a proper HildonTouchSelectorColumn documentation
874 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
876 * src/hildon-touch-selector-entry.c:
877 (hildon_touch_selector_entry_print_func): Return NULL if there is no
878 text in the GtkEntry and there is no item selected. Fixes a
881 2008-10-13 Alberto Garcia <agarcia@igalia.com>
883 * src/hildon-app-menu-private.h
884 * src/hildon-app-menu.[ch]
885 * src/hildon-button.[ch]
886 * src/hildon-check-button.[ch]
887 * src/hildon-entry.[ch]
888 * src/hildon-pannable-area.[ch]
889 * src/hildon-text-view.[ch]:
890 Added private field to the object's structure.
892 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
894 * configure.ac: post-release version bump
896 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
900 * configure.ac: pre-release version bump
902 * debian/changelog: updates.
904 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
906 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
907 Disconnect the handler for HildonTouchSelector::changed.
909 (hildon_picker_button_selector_selection_changed): Update the button
910 value if the selection change was not triggered by the
913 (hildon_picker_button_set_selector): connect to
914 HildonTouchSelector::changed.
916 Fixes: NB#89650 (Picker button is not updated, when selection in
917 selector has changed)
919 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
921 * src/hildon-picker-dialog.c
922 (hildon_picker_dialog_realize): Removed as not required
923 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
924 * src/hildon-picker-button.c
925 (_current_selector_empty): New function, checks if the selector is empty
926 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
927 if the current selector is empty, in order to avoid to show the dialog
928 close the dialog in this case (and shows a g_warning).
930 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
932 2008-10-09 Alejandro G. Castro <alex@igalia.com>
934 * src/hildon-pannable-area.c,
935 (hildon_pannable_area_scroll): Added clause to stop movement when
936 the child of pannable is smaller than one page.
937 (hildon_pannable_area_scroll_to): Added conditions to avoid
938 starting the scrolling movement if the child is smaller than one
939 page, the complete child is in the screen, we do not have to move.
941 Fixes: NB#89632 (Picker button selection doesn't change on first click)
943 2008-10-09 Alberto Garcia <agarcia@igalia.com>
945 * src/hildon-app-menu.c: Removed the 'columns' property, as now
946 this is managed automatically by the widget when the size of the
949 2008-10-09 Alberto Garcia <agarcia@igalia.com>
951 * src/hildon-picker-button.c
952 (hildon_picker_button_set_done_button_text): Make a copy of the
953 text, and free the previous value.
955 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
957 * src/hildon-touch-selector-entry.c:
958 (hildon_touch_selector_entry_print_func): Return the selected row's
959 text if the entry is empty.
961 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
964 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
966 * src/hildon-touch-selector-entry.c: Minor docs fixes.
968 2008-10-09 Alberto Garcia <agarcia@igalia.com>
971 * src/hildon-check-button.h
972 * src/hildon-check-button.c
973 * examples/hildon-check-button-example.c:
974 HildonCheckButton is now a new widget. 'toggled' signal added.
976 2008-10-08 Alberto Garcia <agarcia@igalia.com>
978 * src/hildon-program-private.h
979 * src/hildon-program.c (hildon_program_init)
980 (hildon_program_finalize): Removed unused variables group_leader
981 and name from HildonProgramPrivate.
983 2008-10-08 Alberto Garcia <agarcia@igalia.com>
985 * src/hildon-check-button.c (hildon_check_button_set_active)
986 (hildon_check_button_get_active, hildon_check_button_new): Use
987 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
989 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
991 * src/hildon-touch-selector.h
992 (hildon_touch_selector_set_column_attributes): added deprecation
993 guard HILDON_DISABLE_DEPRECATED
994 * src/hildon-time-selector.c
995 (hildon_time_selector_set_time)
996 (hildon_time_selector_get_time): Fixed a typo on documentation
997 * src/hildon-touch-selector.c: update HildonTouchSelector and
998 HildonTouchSelectorColumn documentation
999 * src/hildon-touch-selector-entry.c: update "text-column" property
1001 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
1002 to be added to the general documentation.
1004 2008-10-08 Alejandro G. Castro <alex@igalia.com>
1006 * examples/hildon-pannable-area-example-4.c,
1008 * examples/hildon-pannable-area-example.c,
1009 (main): Modified the code in order to use the container add, with
1010 viewport treeviews could have problems if they are really big.
1012 2008-10-06 Alejandro G. Castro <alex@igalia.com>
1014 * src/hildon-weekday-picker.c,
1015 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
1016 the agreement regarding deprecation in the library.
1018 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1020 * examples/hildon-picker-button-multicolumn-example.c:
1021 (main): Use custom "done" button text.
1023 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
1024 (hildon_picker_button_set_property),
1025 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
1026 (hildon_picker_button_init),
1027 (+hildon_picker_button_get_done_button_text),
1028 (+hildon_picker_button_set_done_button_text): New methods to customize
1029 the "done" button label in the launched HildonPickerDialog. Also,
1032 * src/hildon-picker-button.h: add the public API.
1034 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
1036 * src/hildon-date-selector.h:
1037 * src/hildon-picker-dialog.h:
1038 * src/hildon-time-selector.h:
1039 * src/hildon-touch-selector-column.h:
1040 * src/hildon-touch-selector.h:
1042 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
1043 declarations. Fixes gtk-doc warnings.
1045 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1047 * src/hildon-picker-dialog.h
1048 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
1049 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
1051 Fixes: NB#89329 (selectors in picker dialog are not visible when a
1052 long text is set as label for done button)
1054 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1056 * src/hildon-dialog.c (hildon_dialog_add_button):
1057 Set fixed width to all buttons in the HildonDialog.
1059 2008-10-06 Alberto Garcia <agarcia@igalia.com>
1061 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1063 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
1064 Set widget name using class name plus "-finger" or "-thumb".
1066 2008-10-03 Alberto Garcia <agarcia@igalia.com>
1068 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
1069 'clicked' when the state of the button is manually changed.
1071 2008-10-02 Alberto Garcia <agarcia@igalia.com>
1073 * src/hildon-app-menu.c (hildon_app_menu_realize)
1074 (hildon_app_menu_unrealize, hildon_app_menu_init)
1075 (hildon_app_menu_class_init, item_visibility_changed):
1076 Change the menu layout when the size of the screen changes.
1077 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
1078 Show warning only when changing the number of colums using the
1081 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
1083 * debian/compat: Set to 5
1084 * debian/control: Update dependencies.
1085 * debian/libhildon1-dbg.install: Remove.
1086 * debian/libhildon1-dev.install: Update according to cdbs paths.
1087 * debian/libhildon1.install: Update according to cdbs paths.
1088 * debian/rules: Switch to cdbs.
1090 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1092 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
1093 'item' variable renamed to 'filter'
1095 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1097 * src/hildon-app-menu.c (hildon_app_menu_insert)
1098 (hildon_app_menu_add_filter, remove_item_from_list)
1099 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
1100 Don't leak hidden items when the menu is destroyed.
1102 2008-10-01 Alberto Garcia <agarcia@igalia.com>
1104 * src/hildon-app-menu.c (hildon_app_menu_insert)
1105 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
1106 (hildon_app_menu_set_columns, item_visibility_changed)
1107 (filter_visibility_changed, hildon_app_menu_repack_filters)
1108 (hildon_app_menu_repack_items):
1109 Repack items and filters separately.
1111 Don't repack all items, change only the ones that are needed to
1114 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1116 * src/Makefile.am: added hildon-touch-selector-column.h
1118 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
1120 * src/hildon-touch-selector.c: added the property "text-column" to the
1121 class HildonTouchSelectorColumn, and related get/set functions
1122 (_default_printf_func): updated to use "text-column" property
1123 * src/hildon-touch-selector-entry.c: mark as deprecated the property
1124 "text-column" in his documentation, as this is now included on
1125 HildonTouchSelectorColumn. The get/set_property can still be used,
1126 working as a wrapper to the concrete column "text-column" property
1127 (_text_column_modified): callback added in order to handle the signal
1128 "notify::text-column" of the concrete HildonTouchSelectorColumn
1129 (hildon_touch_selector_entry_get_text_column)
1130 (hildon_touch_selector_entry_set_text_column): Added documentation, and
1131 modified in order to use the HildonTouchSelectorColumn "text-column"
1133 * src/hildon-time-selector.c:
1134 * src/hildon-date-selector.c:
1135 * examples/hildon-touch-selector-example.c
1136 * examples/hildon-touch-selector-multi-cells-example.c
1137 * examples/hildon-picker-button-multicolumn-example.c
1138 Set the right value to "text-column" property on the creation of a new
1139 column using hildon_touch_selector_append_column()
1141 Fixes: NB#88644 (Hardcoded first column of the model as text column)
1143 2008-09-30 Alberto Garcia <agarcia@igalia.com>
1145 * src/hildon-app-menu.c
1146 (hildon_app_menu_construct_child, hildon_app_menu_init): When
1147 updating the layout of the menu, don't create all widgets again,
1148 just repack the items in their new places.
1150 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
1152 * src/hildon-time-selector.c
1153 (hildon_time_selector_get_time)
1154 (hildon_time_selector_set_time)
1155 Added documentation of these public methods
1157 * src/hildon-date-button.h
1158 * src/hildon-touch-selector-column.h
1159 * src/hildon-time-button.h
1160 * src/hildon-picker-dialog.h
1161 * src/hildon-time-selector.h
1162 * src/hildon-picker-button.h
1163 * src/hildon-touch-selector.h
1164 * src/hildon-time-picker.h
1165 * src/hildon-date-selector.h
1166 * src/hildon-touch-selector-entry.h
1167 Modified in order to use hildon-widgets code style
1169 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1171 Added deprecated support to the compilation process using
1172 HILDON_DISABLE_DEPRECATED
1174 * configure.ac: Added the --disable-deprecated to the configure
1177 * src/hildon-weekday-picker.c:
1178 * src/hildon-weekday-picker.h: Deprecated widget, example of how
1179 to use the deprecated support. We will update the other deprecated
1180 widgets status in a new patch.
1182 2008-09-30 Alejandro G. Castro <alex@igalia.com>
1184 * configure.ac: Fixed typo with fatal warnings support, the
1185 variable name was not correct
1187 2008-09-29 Alberto Garcia <agarcia@igalia.com>
1189 * src/hildon-app-menu.c
1190 * src/hildon-program.c: Update documentation.
1192 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: Post-release version bump.
1196 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1201 * configure.ac: Pre-release version bump.
1202 * debian/changelog: Updates.
1204 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
1206 * NEWS: Update news for previous releases.
1208 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1210 * examples/hildon-touch-selector-multi-cells-example.c:
1211 (create_selector): Update the example to use
1212 hildon_touch_selector_append_column() with a NULL renderer and set
1213 the renderers later.
1214 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
1215 passed a NULL renderer. This is documented behavior now.
1217 Allow passing a NULL renderer to hildon_touch_selector_append_column().
1218 This must be used if the developer wants full control on the layout of
1219 the renderers to be added to the column.
1221 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1223 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-touch-selector.c: Documentation fixes.
1227 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
1229 * src/hildon-wizard-dialog-private.h: Remove image and box.
1230 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
1231 (hildon_wizard_dialog_set_property), (response): Completely remove
1232 image/icon support, and the containers required for the layout.
1234 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
1236 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1238 * src/hildon-app-menu.c: Updated documentation.
1240 * src/hildon-stackable-window.c
1241 (hildon_stackable_window_set_main_menu): Unref the old menu after
1242 ref'ing the new one.
1244 2008-09-25 Alberto Garcia <agarcia@igalia.com>
1246 * src/hildon-stackable-window.c
1247 (hildon_stackable_window_set_main_menu): Unref the previous menu
1248 instead of destroying it.
1250 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
1251 floating reference and set has_user_ref_count to FALSE to make
1252 HildonAppMenu act like a normal ref-counted widget and not a
1255 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
1258 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
1260 * src/hildon-touch-selector-column.h: new file
1261 * src/hildon-touch-selector.h
1262 * src/hildon-touch-selector.c
1263 Implemented GtkCellLayout interface, in order to allow to configure
1264 the cell layout on each individual selector column
1265 (hildon_touch_selector_set_column_attributes): marked as deprecated
1266 * examples/hildon-touch-selector-multi-cells-example.c
1267 Example of how to use the GtkCellLayout interface on the selector
1269 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
1271 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1273 * src/hildon-app-menu.h
1274 * src/hildon-app-menu.c
1275 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
1276 (hildon_app_menu_append, hildon_app_menu_prepend):
1277 New methods to prepend, insert and move items in the menu.
1279 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-wizard-dialog.c:
1283 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
1285 (create_title): Update logical IDs and related code.
1286 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
1288 * src/hildon-wizard-dialog.h: Note that
1289 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
1290 point, as it is not used anymore.
1292 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
1294 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1296 * src/hildon-note.c:
1297 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
1298 shown. Do not display an icon in confirmation notes nor information
1300 (hildon_note_set_button_text): Update logical ID for cancel button.
1302 Fixes: NB#88850 (Update HildonNote button strings + signals)
1304 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1306 * src/hildon-stackable-window.c
1307 (hildon_stackable_window_set_main_menu): Fix compilation warning.
1309 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1311 * src/hildon-app-menu-private.h
1312 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
1313 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
1314 (hildon_app_menu_init, hildon_app_menu_class_init): Added
1315 temporary property 'columns' to change the number of columns.
1317 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
1319 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
1321 * examples/hildon-note-example.c: (on_information_clicked),
1322 (on_confirmation_clicked), (on_progress_clicked), (main): Add
1323 debugging information.
1324 * src/hildon-note-private.h: Remove close_if_pressed_outside,
1326 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
1327 (hildon_note_rebuild): Remove special handling of tapping outside/inside
1328 in order to close: this will be handled by the WM from now on.
1330 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
1332 2008-09-24 Alberto Garcia <agarcia@igalia.com>
1334 * src/hildon-app-menu-private.h
1335 * src/hildon-app-menu.c
1336 (hildon_app_menu_append, hildon_app_menu_add_filter)
1337 (button_visibility_changed, hildon_app_menu_apply_style)
1338 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
1339 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
1340 layout everytime a button (item or filter) is shown or hidden.
1342 * src/hildon-stackable-window.c
1343 (hildon_stackable_window_set_main_menu): Destroy the old menu when
1346 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
1348 * src/hildon-touch-selector.c:
1349 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
1350 that the treeview inside the touch selector is in fremantle hildon mode
1351 * examples/hildon-date-button-example.c
1352 * examples/hildon-picker-button-multicolumn-example.c
1353 * examples/hildon-touch-selector-entry-example.c
1354 * examples/hildon-touch-selector-example.c
1355 * examples/hildon-time-button-example.c
1356 * examples/hildon-picker-button-example.c:
1357 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
1359 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
1361 * examples/hildon-text-view-example.c: (main): Remove the
1362 gtkrc bits, now handled by the theme.
1364 2008-09-22 Alberto Garcia <agarcia@igalia.com>
1366 * src/hildon-picker-button.c (hildon_picker_button_set_active):
1369 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1371 * po/Makefile.am: Install properly the mo files.
1372 * po/en_GB.po: Update translation, to ease testing purposes.
1374 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1376 * examples/hildon-picker-button-example.c: (main): Select an item
1377 in the selector before setting it to the button.
1379 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
1382 Update button's value if the selector has an item active.
1384 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
1385 'value' with the selector)
1387 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
1389 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
1390 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
1391 (hildon_picker_button_class_init): Plug the finalize method.
1392 (hildon_picker_button_set_selector): If there's a previously set
1393 selector, unref'it before setting a new one.
1395 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
1396 HildonTouchSelector)
1398 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
1400 * src/hildon-touch-selector-entry.c:
1401 (hildon_touch_selector_entry_changed): Check if there is no text
1402 selected before setting the entry text.
1405 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1407 * src/hildon-touch-selector.h
1408 * src/hildon-touch-selector.c
1409 (hildon_touch_selector_get_active)
1410 (hildon_touch_selector_set_active): New methods to set/get the
1411 index of the selected item.
1413 * src/hildon-picker-button.h
1414 * src/hildon-picker-button.c
1415 (hildon_picker_button_get_active)
1416 (hildon_picker_button_set_active): New methods to set/get the
1417 index of the selected item.
1419 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1421 * configure.ac: post-release version bump.
1423 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
1427 * configure.ac: Pre-release version bump.
1428 * debian/changelog: Updates.
1429 * debian/control: Add myself as maintainer and depend on l10n
1432 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1434 * src/hildon-window.c
1435 (hildon_window_set_main_menu)
1436 * src/hildon-stackable-window.c
1437 (hildon_stackable_window_set_main_menu):
1438 Updated documentation.
1440 2008-09-15 Alberto Garcia <agarcia@igalia.com>
1442 * src/hildon-date-selector.c (hildon_date_selector_finalize):
1443 Don't free selector->priv manually.
1446 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1449 (hildon_gtk_window_set_progress_indicator):
1450 * src/hildon-gtk.h: Added the new API
1451 hildon_gtk_window_set_progress_indicator, it changes the state of
1452 the window progress hint.
1454 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1456 * src/hildon-button.c
1457 * src/hildon-stackable-window.c: Minor documentation updates.
1459 2008-09-12 Alberto Garcia <agarcia@igalia.com>
1461 * src/hildon-stackable-window.c: Updated documentation.
1463 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
1465 * src/hildon-defines.h: Update margins definitions
1466 to the Fremantle sizes.
1469 2008-09-12 Alejandro G. Castro <alex@igalia.com>
1471 * src/hildon-touch-selector.c,
1472 (_hildon_touch_selector_set_model): Cleaning the code after
1473 review, removed g_print and #if 0 from the code.
1475 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1477 * src/hildon-edit-toolbar.c: Update documentation.
1479 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-check-button.h
1482 * src/hildon-check-button.c
1483 (hildon_check_button_set_label, hildon_check_button_get_label)
1484 * examples/hildon-check-button-example.c
1485 (button_clicked_cb):
1486 Removed deprecated methods.
1488 2008-09-11 Alberto Garcia <agarcia@igalia.com>
1490 * src/hildon-text-view.c:
1491 Add sample code to the documentation.
1493 * src/hildon-entry.h
1494 * src/hildon-text-view.h:
1495 Minor cosmetic changes.
1497 * src/hildon-entry.c:
1498 Add sample code to the documentation.
1499 (hildon_entry_init, hildon_entry_refresh_contents):
1500 Don't allow NULL values in the placeholder.
1502 2008-09-10 Alberto Garcia <agarcia@igalia.com>
1504 * doc/hildon-docs.sgml
1506 * examples/Makefile.am
1507 * examples/hildon-text-view-example.c
1509 * src/hildon-text-view.c
1510 * src/hildon-text-view.h
1512 New HildonTextView widget, with example.
1514 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1516 * po/POTFILES.in: Add missing files with translatable strings.
1517 Partially fixes NB#88287.
1519 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1521 * examples/hildon-pannable-area-example-2.c: (main): No need to
1522 set the cellrenderer height inside hildon touch lists, the theme does
1525 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
1527 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
1528 they are integrated in the theme.
1530 2008-09-09 Alberto Garcia <agarcia@igalia.com>
1532 * examples/hildon-entry-example.c: Update the example adding
1533 widgets to modify the text and the placeholder of the HildonEntry.
1535 * src/hildon-entry.c: Show the placeholder everytime the widget
1536 is empty and loses the focus.
1538 2008-09-09 Alejandro G. Castro <alex@igalia.com>
1540 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
1542 * src/hildon-pannable-area.c,
1543 (hildon_pannable_area_size_request): Fixed bug in height
1544 requisition, avoid increasing size and add border twice.
1546 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1548 * configure.ac: postrelease version bump.
1550 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
1554 * configure.ac: Prerelease version bump.
1555 * debian/changelog: update.
1556 * debian/rules: make -dbg package contain useful debugging symbols.
1558 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1560 * src/hildon-dialog.h
1561 * src/hildon-dialog.c
1562 (hildon_dialog_add_button, hildon_dialog_add_buttons):
1563 New methods to add buttons with finger size.
1564 (hildon_dialog_new_with_buttons):
1565 Create buttons with finger size.
1567 * examples/hildon-dialog-example.c (main): Use HildonDialog
1568 methods to add buttons.
1570 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1572 * src/hildon-entry.c: Updated HildonButton documentation.
1574 2008-09-08 Alberto Garcia <agarcia@igalia.com>
1576 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
1577 button value label with (FALSE, FALSE) to prevent NB#88126 from
1580 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1582 * examples/hildon-pannable-area-example.c,
1583 (main): Removed examples panning a vbox inside a pannable
1584 area. Check bug NB#87965
1586 2008-09-08 Alejandro G. Castro <alex@igalia.com>
1588 Patch contributed by Kris Rietveld (kris@imendio.com)
1590 * src/hildon-pannable-area.c,
1591 (hildon_pannable_area_get_topmost): replaced the get_geometry with
1592 get_size and get_position, this saves an X server roundtrip.
1594 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1596 * doc/hildon-docs.sgml
1598 * examples/Makefile.am
1599 * examples/hildon-entry-example.c
1601 * src/hildon-entry.c
1602 * src/hildon-entry.h
1604 New HildonEntry widget, with example.
1606 2008-09-05 Alberto Garcia <agarcia@igalia.com>
1608 * src/hildon-button.c (hildon_button_construct_child): Pack the
1609 image with expand == fill == FALSE. This is a workaround for a bug
1612 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
1614 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
1615 labels for the text column, to make it more look more dynamic.
1617 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1619 * src/hildon-time-selector.c
1620 Define gettext auxiliar macro N_
1621 (_create_minutes_model)
1622 (_create_hours_model)
1623 (_create_ampm_model): use of strftime in order to fill the model
1624 * src/hildon-date-selector.c
1625 (hildon_date_selector_finalize):
1626 (_locales_init): remove the logic related to get the name of the months
1627 using nl_langinfo, as it is not required anymore
1629 (_create_year_model)
1630 (_create_month_model)
1631 (_update_day_model): use of strftime in order to fill the model properly
1634 2008-09-04 Alberto Garcia <agarcia@igalia.com>
1636 * src/hildon-button.h
1637 * src/hildon-button.c (hildon_button_get_image): New method to
1640 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
1642 * src/hildon-touch-selector.c:
1643 (hildon_touch_selector_remove_column): Remove from the correct parent
1644 and also remove the list element and free it.
1647 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
1649 * src/hildon-time-selector.c
1650 (_create_hours_model): change the range on 12h ampm format in order to use
1651 a 12-11 range instead of previous 01-12 range
1652 (hildon_time_selector_set_time): change the way to select the current time
1653 on 12h ampm format, due the change on the range
1654 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
1657 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
1659 * src/hildon-touch-selector.c
1660 (hildon_date_touch_selector_get_selected): fix the selection mode check,
1661 in order to allow use this function on multiple row selection mode if
1662 the column is different that the first one
1665 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
1668 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
1670 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1672 * src/hildon-date-selector.h: clean some comments, now on the .c
1673 * src/hildon-date-selector.c
1674 (hildon_date_selector_select_month): first implementation
1675 (hildon_date_selector_select_day): added documentation, reimplemented
1676 using hildon_date_selector_select_current_date to avoid repeat code
1679 2008-09-02 Alejandro G. Castro <alex@igalia.com>
1681 Reviewed interaction logic based on device experiences, refactored
1684 * src/hildon-pannable-area.c,
1685 (hildon_pannable_area_class_init): Updated default vmax speed.
1686 (hildon_pannable_area_calculate_velocity): Added this function, it
1687 avoids duplicate valocity calculation. Adjusted calculation to
1688 avoid problems with zero dist events.
1690 (hildon_pannable_area_motion_notify_cb): Now we use the
1691 calculate_velocity function.
1693 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1695 * src/hildon-date-selector.c
1696 (hildon_date_selector_select_current_date): fix the day range check
1697 as it failed using the last day of the current month
1700 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
1702 * src/hildon-touch-selector.c
1703 (hildon_touch_selector_get_num_columns): added a parameter validation
1706 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1708 * examples/Makefile.am
1709 * examples/hildon-edit-toolbar-example.c: Example of the
1710 HildonEditToolbar widget.
1712 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1714 * configure.ac: postrelease version bump.
1716 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1720 * configure.ac: prerelease version bump.
1721 * debian/changelog: update.
1723 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1725 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
1726 renderer to display stock icons in the touch list. Also, set the sizes
1727 to the recommended in the style guide.
1729 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1730 * src/hildon-touch-selector.h
1731 (hildon_touch_selector_set_active_iter): renamed, now is
1732 hildon_touch_selector_select_iter
1733 (hildon_touch_selector_get_active_iter): renamed, now is
1734 hildon_touch_selector_get_selected
1735 (hildon_touch_selector_unselect_iter): added
1736 * src/hildon-touch-selector.c
1737 Update after API modification (methods renamed)
1738 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
1739 order to avoid problems selecting multiple elements on the column
1740 (hildon_touch_selector_unselect_iter): added the implementation
1741 * src/hildon-time-selector.c
1742 * src/hildon-date-selector.c
1743 * src/hildon-touch-selector-entry.c
1744 Update methods calls after hildon-touch-selector.h API modification (methods
1747 2008-08-29 Alberto Garcia <agarcia@igalia.com>
1749 * src/hildon-stackable-window.c
1750 (hildon_stackable_window_finalize): Call the parent class's finalize.
1752 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1754 * examples/hildon-touch-selector-example.c: (create_selector): Use
1755 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
1758 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
1760 * examples/hildon-touch-selector-example.c: (create_selector): Do not
1761 set a cell background color, to respect theming.
1763 2008-08-28 Alberto Garcia <agarcia@igalia.com>
1765 * doc/hildon-docs.sgml
1768 * src/hildon-edit-toolbar.c
1769 * src/hildon-edit-toolbar.h
1770 * src/hildon.h: New HildonEditToolbar widget.
1772 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
1774 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
1777 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1778 * src/hildon-touch-selector.c
1779 (_create_new_column): use g_object_set instead of two g_object_set_property
1781 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
1782 * src/hildon-touch-selector.c
1783 (_create_new_column): use of hildon_gtk_tree_view_new to create
1784 the treeview, instead of use directly g_object_new
1785 (_create_new_column): update the property name "vindicator-mode" for the
1786 new one "vscrollbar-policy"
1787 * examples/hildon-date-button-example.c
1788 * examples/hildon-picker-button-multicolumn-example.c
1789 * examples/hildon-touch-selector-entry-example.c
1790 * examples/hildon-touch-selector-example.c
1791 * examples/hildon-time-button-example.c
1792 * examples/hildon-picker-button-example.c
1793 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
1794 to all the treeviews inside a pannable area.
1796 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1798 * src/hildon-button.h
1799 * src/hildon-button.c (hildon_button_init)
1800 (hildon_button_set_arrangement, hildon_button_set_alignment)
1801 (hildon_button_set_title_alignment)
1802 (hildon_button_set_value_alignment)
1803 (hildon_button_set_image_alignment)
1804 (hildon_button_construct_child): New methods to set the alignment
1805 of the individual components of the button (title, value,
1806 image). Also, new method to alter the xscale and yscale properties
1807 of the GtkAlignment inside the button, so more complex layouts can
1810 2008-08-27 Alberto Garcia <agarcia@igalia.com>
1812 * src/hildon-button.c (hildon_button_style_set)
1813 (hildon_button_class_init, hildon_button_set_arrangement)
1814 (hildon_button_construct_child): Apply style properties
1815 correctly. Use the 'image-spacing' style property too.
1817 2008-08-26 Alberto Garcia <agarcia@igalia.com>
1819 * src/hildon-app-menu.c (hildon_app_menu_style_set)
1820 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
1823 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1825 * src/hildon-pannable-area.c,
1826 (hildon_pannable_area_size_request): Fixed problem with
1827 pannable-area size_request.
1829 2008-08-26 Alejandro G. Castro <alex@igalia.com>
1831 Added management for the grab-focus to a child widget, like a
1832 range, we need to fade out the scrollbar when releasing.
1834 * src/hildon-pannable-area.c,
1835 (hildon_pannable_area_init): Connected the grab-focus signal to
1837 (hildon_pannable_area_grab_notify): Added this function in order
1838 to manage the situation when the grab-focus ends. We have to
1839 fade-out the scrollbar.
1841 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1843 * src/hildon-app-menu.c: Minor documentation update.
1845 2008-08-25 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-app-menu.c
1848 * examples/hildon-app-menu-example.c (create_menu): Update
1849 examples and documentation to explain how to connect callbacks.
1851 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
1853 * examples/hildon-button-example.c
1854 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
1855 hildon_stackable_window_new instead of gtk_window_new
1857 2008-08-22 Alejandro G. Castro <alex@igalia.com>
1859 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
1860 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
1861 (hildon_pannable_area_set_property),
1862 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
1863 (hildon_pannable_area_unrealize),
1864 (hildon_pannable_area_size_request),
1865 (hildon_pannable_area_size_allocate),
1866 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
1867 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
1868 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
1869 (hildon_pannable_area_initial_effect),
1870 (hildon_pannable_area_redraw),
1871 (hildon_pannable_area_scroll_indicator_fade),
1872 (hildon_pannable_area_expose_event),
1873 (hildon_pannable_area_get_topmost), (synth_crossing),
1874 (hildon_pannable_area_button_press_cb),
1875 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
1876 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
1877 (hildon_pannable_area_motion_notify_cb),
1878 (hildon_pannable_area_button_release_cb),
1879 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
1880 (hildon_pannable_area_remove),
1881 (hildon_pannable_calculate_vel_factor): Widget refactorization,
1882 chage the code layout to a more GtkWidget like. Review the use of
1885 2008-08-21 Alejandro G. Castro <alex@igalia.com>
1887 * examples/hildon-pannable-area-example-4.c,
1888 (main): Modified the name of the hindicator_mode to
1891 * src/hildon-pannable-area.c,
1892 (hildon_pannable_area_class_init),
1893 (hildon_pannable_area_motion_notify_cb),
1894 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
1895 we have reduced the amount of signals and managed reviewed its
1896 rationale. Changed the default decelerate value.
1898 (hildon_pannable_area_add),
1899 (hildon_pannable_area_redraw): Refactored functions.
1901 (hildon_pannable_area_init),
1902 (hildon_pannable_area_get_property),
1903 (hildon_pannable_area_set_property):
1904 (hildon_pannable_draw_vscroll),
1905 (hildon_pannable_draw_hscroll),
1906 (hildon_pannable_area_initial_effect),
1907 (hildon_pannable_area_expose_event),
1908 (hildon_pannable_area_scroll),
1909 (hildon_pannable_area_button_press_cb),
1910 (hildon_pannable_area_realize): Replaced the names hindicator_mode
1911 and vindicator_mode with hscrollbar_policy and
1912 vscrollbar_policy. Replaced hscroll and vscroll with
1913 hscroll_visible and vscroll_visible.
1915 (hildon_pannable_area_refresh): Refactor the function, remove
1916 variables and check the calls to this function, added resize
1917 conditions in case the children change their layout.
1919 (hildon_pannable_area_size_request): Added more detailed
1920 size_request calculation.
1923 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
1925 * src/hildon-color-chooser.c
1926 (init_borders): use the correct gtk_border_free instead of g_free, to
1927 avoid a crash when this widget is used (ie: the three color selection
1930 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1932 * src/hildon-check-button.c,
1933 (hildon_check_button_set_active): Fixed problem when setting the
1934 active value, the widget was not redrawn.
1936 2008-08-20 Alejandro G. Castro <alex@igalia.com>
1938 * src/hildon-pannable-area.c,
1939 (hildon_pannable_area_refresh),
1940 (hildon_pannable_area_scroll),
1941 (hildon_pannable_area_motion_notify_cb): Small code style change.
1943 (hildon_pannable_area_class_init): Default initial_hint set to
1944 FALSE, it is not in the specs.
1946 (hildon_pannable_area_initial_effect),
1947 (hildon_pannable_area_expose_event),
1948 (hildon_pannable_area_map),
1949 (hildon_pannable_area_init): Moved the launching point of the
1950 initial effect, it was in map but the sizes where not correct in
1951 that method so we do not know if we have the reproduce it. Now it
1952 is placed in the expose_event method and uses a variable to
1953 reproduce it just once.
1955 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1957 * src/hildon-pannable-area.c,
1958 (hildon_pannable_draw_vscroll),
1959 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
1960 position allowed for the scrollbars.
1962 (hildon_pannable_area_size_allocate): Small style change.
1964 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1966 * src/hildon-pannable-area.c,
1967 (hildon_pannable_area_scroll_indicator_fade),
1968 (hildon_pannable_area_button_press_cb),
1969 (hildon_pannable_area_button_release_cb),
1970 (hildon_pannable_area_scroll_cb),
1971 (hildon_pannable_area_expose_event),
1972 (hildon_pannable_area_init): Added the define parameter
1973 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
1974 and refactor the fade variable.
1976 2008-08-19 Alejandro G. Castro <alex@igalia.com>
1978 * src/hildon-pannable-area.c,
1979 (hildon_pannable_area_redraw),
1980 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
1981 lines, we were reimplemeting the redraw code.
1983 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1985 * src/hildon-pannable-area.c,
1986 (hildon_pannable_area_scroll_cb),
1987 (hildon_pannable_area_realize),
1988 (hildon_pannable_area_class_init): Added scroll_event management
1989 for pannable area, now we can scroll the usual desktop method.
1991 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
1992 initialization of the parameters should depend on idle_id.
1994 (hildon_pannable_area_init),
1995 (hildon_pannable_area_map): Small code style modifications
1997 2008-08-18 Alejandro G. Castro <alex@igalia.com>
1999 * src/hildon-pannable-area.c
2000 (hildon_pannable_area_button_press_cb),
2001 (hildon_pannable_area_motion_notify_cb),
2002 (hildon_pannable_area_button_release_cb),
2003 (hildon_pannable_area_size_allocate),
2004 (hildon_pannable_area_scroll_to): Improved the timeouts
2005 management, we avoid creating them each time.
2007 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2009 * src/hildon-pannable-area.c:
2010 (hildon_pannable_area_refresh),
2011 (hildon_pannable_area_motion_notify_cb),
2012 (hildon_pannable_area_class_init):
2013 * src/hildon-pannable-area.h:
2014 * src/hildon-touch-selector.c
2015 (_create_new_column):
2016 * examples/hildon-pannable-area-example-4.c:
2017 (horizontal_movement),
2018 (vertical_movement),
2020 Replaced the names of enums in the HildonPannableArea:
2021 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
2022 HILDON_MOVEMENT_MODE_*
2023 - HILDON_PANNABLE_AREA_MOV_* ->
2025 - Removed HildonPannableAreaIndicatorMode, now we
2028 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2030 * examples/hildon-pannable-area-touch-grid-example.c
2031 * examples/hildon-pannable-area-touch-list-example.c: Fix
2032 compilation warnings.
2034 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2036 * src/hildon-gtk.c (hildon_gtk_button_new)
2037 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
2038 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
2039 images overriding the value of the "gtk-button-images" setting.
2041 2008-08-14 Alberto Garcia <agarcia@igalia.com>
2043 * src/hildon-check-button.c (hildon_check_button_new):
2044 Instead of using a custom container, display the label and the
2045 checkbox using the standard GtkButton API.
2047 * examples/hildon-check-button-example.c (main): Don't use
2048 hildon_check_button_set_label() anymore
2050 * src/hildon-check-button.h
2051 * src/hildon-check-button.c
2052 (hildon_check_button_set_label, hildon_check_button_get_label):
2053 Set as deprecated, now we're using gtk_button_{get,set}_label()
2055 2008-08-14 Alejandro G. Castro <alex@igalia.com>
2057 * src/hildon-pannable-area.c,
2058 (hildon_pannable_area_get_topmost): Fixed bug with click in the
2059 GtkTreeview first line we detected it after the inclusion of the
2060 GtkWindowImpl in gtk+. We now check if the window is visible, not
2061 just if the pointer is over the window.
2062 (hildon_pannable_axis_scroll),
2063 (hildon_pannable_area_expose_event): Small style changes.
2065 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2067 * src/hildon-button.c: Update documentation.
2069 2008-08-13 Alberto Garcia <agarcia@igalia.com>
2071 * examples/hildon-button-example.c: Add a switch to show images in
2074 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2076 * doc/hildon-docs.sgml: Some docs reorganization.
2078 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2080 * examples/hildon-pannable-area-touch-list-example.c
2082 * examples/hildon-pannable-area-touch-grid-example.c
2083 (create_icon_view): Use gtk_{tree,icon}_view_new() and
2084 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
2085 Fix memory leak when setting the tree model.
2087 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2091 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
2093 * doc/hildon.types: Remove duplicated hildon_window_get_type
2094 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
2095 documentation comment.
2097 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2099 * doc/Makefile.am: Complete list of private headers.
2101 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2103 * doc/hildon-docs.sgml
2104 * src/hildon-app-menu.c
2105 * src/hildon-bread-crumb.c
2106 * src/hildon-button.c
2108 * src/hildon-program.c
2109 * src/hildon-stackable-window.c
2110 * src/hildon-window.c: Lots of documentation updates.
2112 2008-08-12 Alberto Garcia <agarcia@igalia.com>
2114 * debian/control: Depend on Gtk 2:2.12.9-0osso3
2116 * configure.ac: Require Gtk+ 2.12.9 at least
2118 2008-08-12 Alejandro G. Castro <alex@igalia.com>
2120 * src/hildon-pannable-area.c
2121 (hildon_pannable_area_scroll_indicator_fade),
2122 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
2123 to protect the return of this timeout callbacks, avoiding deadlocks.
2125 2008-08-12 Christian Dywan <christian@imendio.com>
2128 * src/hildon-*.h: Ensure a consistent include order,
2129 include <gtk/gtk.h> instead of particular files and
2130 only include the topmost header in the gtk stack. See NB #39857
2132 2008-08-12 Christian Dywan <christian@imendio.com>
2134 * src/hildon-picker-dialog.c
2135 * src/hildon-touch-selector.c: Fix warnings about unused and
2136 uninitialized variables.
2138 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2140 * examples/Makefile.am
2141 * examples/hildon-check-button-example.c: Example of the hildon
2144 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2146 * src/hildon-window.h
2147 * src/hildon-window.c (hildon_window_class_init)
2148 (hildon_window_unset_program): Don't make
2149 hildon_window_unset_program a virtual function anymore.
2151 * src/hildon-stackable-window.c: Update documentation
2153 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2156 * doc/hildon-docs.sgml
2157 * doc/visual_index.xml
2158 * src/hildon-defines.c
2160 * src/hildon-helper.c
2161 * src/hildon-range-editor.c: Lots of documentation fixes.
2163 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2165 * examples/hildon-picker-button-multicolumn-example.c
2166 (create_touch_selector): Fix compilation warning.
2168 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2170 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
2171 (hildon_pannable_area_button_release_cb)
2172 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
2174 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2176 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
2179 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-bread-crumb-trail.h
2182 * src/hildon-date-editor.c
2183 * src/hildon-date-selector.c
2184 * src/hildon-pannable-area.c
2185 * src/hildon-picker-dialog.c
2186 * src/hildon-time-selector.c
2187 * src/hildon-touch-selector-entry.c
2188 * src/hildon-touch-selector.c
2189 * src/hildon-touch-selector.h: Misc documentation fixes
2191 2008-08-11 Alberto Garcia <agarcia@igalia.com>
2193 * examples/hildon-date-editor-example.c (main): Updated date
2196 * examples/hildon-note-example.c (on_confirmation_clicked):
2197 Updated confirmation note example.
2199 * src/hildon-date-editor.c
2200 * src/hildon-note.c: Updated sample programs in documentation.
2203 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2205 * src/hildon-date-button.h:
2206 * src/hildon-picker-button.h:
2207 * src/hildon-time-button.c:
2208 * src/hildon-time-button.h:
2210 Some declarations changes to allow gtk-doc to document the widgets
2213 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/hildon-date-button.c: Document the widget.
2216 * src/hildon-time-button.c: Document the widget.
2218 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
2220 * src/hildon-picker-button.c: Document the widget.
2221 * src/hildon-touch-selector-entry.c: Document the widget.
2223 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2225 * doc/hildon-docs.sgml
2228 * src/hildon-check-button.h
2229 * src/hildon-check-button.c: New functions to create the Hildon
2233 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
2235 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2237 * src/hildon-button.h
2238 * src/hildon-button.c
2239 (hildon_button_add_title_size_group)
2240 (hildon_button_add_value_size_group)
2241 (hildon_button_add_image_size_group)
2242 (hildon_button_add_size_groups): New functions to set size groups
2243 for the button labels and image.
2244 (hildon_button_new_full): Removed
2246 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
2248 * src/hildon-time-selector.c
2249 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
2250 in order to avoid a crash if gconf is not available
2252 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2254 * src/hildon-button.c (hildon_button_set_arrangement)
2255 (hildon_button_construct_child): Don't construct the button child
2256 before setting the arrangement.
2258 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2260 * src/hildon-program-private.h
2261 * src/hildon-program.c
2262 * src/hildon-program.h
2263 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
2264 (hildon_program_peek_window_stack)
2265 (hildon_program_pop_window_stack)
2266 (hildon_program_go_to_root_window): HildonProgram now has a
2267 separate list for stackable windows. Functions are provided to
2268 manage that list with a stack-like API.
2270 * src/hildon-stackable-window.c: Stackable window management is
2271 now much simpler with the new HildonProgram API. Windows no
2272 longer need to be manually added to the program, they're
2273 automatically pushed to the top of the stack when shown.
2275 * examples/hildon-stackable-window-example.c: Updated example to
2276 reflect the API changes.
2278 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2280 * src/hildon-touch-selector.c: Comment out unimplemented
2281 hildon_touch_selector_insert_column() to avoid a compile warning.
2283 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2286 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
2287 (hildon_touch_selector_set_column_selection_mode),
2288 (_hildon_touch_selector_set_model),
2289 (hildon_touch_selector_set_model):
2291 Complete review of HildonTouchSelector documentation.
2293 2008-08-08 Alberto Garcia <agarcia@igalia.com>
2295 * doc/hildon-docs.sgml
2299 * src/hildon-gtk.c: Convenience functions for standard Gtk
2300 widgets, used to easily perform frequent operations.
2302 * src/hildon-button-helpers.h
2303 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
2305 * src/hildon-helper.h
2306 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
2307 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
2309 * src/hildon-button.h
2310 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
2312 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2314 * src/hildon-button.c (hildon_button_init)
2315 (hildon_button_set_arrangement, hildon_button_construct_child):
2316 Pack the image and the labels inside the same GtkAlignment so
2317 gtk_button_set_alignment() can be used
2319 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2321 * src/hildon-button.h
2322 * src/hildon-button.c
2323 (hildon_button_init, hildon_button_set_image)
2324 (hildon_button_set_image_position)
2325 (hildon_button_construct_child): New functions to add an image to
2328 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2330 * src/hildon-date-button.c
2331 * src/hildon-picker-button.c
2332 * src/hildon-time-button.c
2333 * src/hildon-button.c:
2334 (hildon_button_class_init): "size-flags" renamed to "size"
2335 (hildon_button_set_title): Hide the title label if set to NULL.
2337 2008-08-07 Alberto Garcia <agarcia@igalia.com>
2339 HildonButtonFlags split into HildonButtonArrangement (to set the
2340 button layout) and HildonSizeType (which can be used for any
2343 * src/hildon-button.h
2344 * src/hildon-button.c
2345 (hildon_button_class_init)
2346 (hildon_button_set_arrangement)
2347 (hildon_button_set_property): New "size-flags"
2348 property. "arrangement-flags" renamed to "arrangement".
2349 (hildon_button_new, hildon_button_new_with_text)
2350 (hildon_button_new_full): Constructors updated to reflect type changes.
2352 * src/hildon-helper.h
2353 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
2354 to set the size of a widget.
2358 * src/hildon-button-helpers.c
2359 * src/hildon-button-helpers.h: New hildon-button-helpers module.
2361 * src/hildon-date-button.c
2362 * src/hildon-date-button.h
2363 * src/hildon-picker-button.c
2364 * src/hildon-picker-button.h
2365 * src/hildon-time-button.c
2366 * src/hildon-time-button.h: Updated widgets to reflect
2367 HildonButton API changes.
2369 * examples/hildon-button-example.c
2370 * examples/hildon-date-button-example.c
2371 * examples/hildon-picker-button-example.c
2372 * examples/hildon-picker-button-multicolumn-example.c
2373 * examples/hildon-time-button-example.c
2374 * examples/hildon-touch-selector-entry-example.c
2375 * examples/hildon-touch-selector-example.c: Updated examples to
2376 reflect HildonButton API changes.
2378 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2380 * doc/hildon-docs.sgml:
2382 * examples/Makefile.am:
2383 * examples/hildon-touch-selector-entry-example.c:
2385 * src/hildon-touch-selector-entry.c:
2386 * src/hildon-touch-selector-entry.h:
2389 Moved HildonTouchSelectorEntry from sandbox. Added its
2390 documentation and examples.
2392 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-touch-selector.h:
2395 * examples/hildon-picker-button-multicolumn-example.c:
2396 (hildon_touch_selector_append_text_column): Add a gboolean
2397 parameter to determine if text must be centered in the column.
2399 * src/hildon-date-selector.c: (hildon_date_selector_init):
2400 * src/hildon-time-selector.c: (hildon_time_selector_init):
2401 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
2402 (create_touch_selector): Update widgets and example to reflect
2405 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-touch-selector.c:
2408 (hildon_touch_selector_set_active_iter): Set also the cursor in
2411 2008-08-06 Alberto Garcia <agarcia@igalia.com>
2413 * doc/hildon-docs.sgml
2416 * src/hildon-toggle-button.c
2417 * src/hildon-toggle-button.h
2418 * src/hildon.h: Removed HildonToggleButton widget, a derived
2419 class is not necessary for this.
2421 2008-08-06 Alejandro G. Castro <alex@igalia.com>
2423 * src/hildon-pannable-area.c,
2424 (hildon_pannable_area_realize),
2425 (hildon_pannable_area_size_allocate): Code refactoring, add tests
2428 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
2431 "done" button the default widget for the dialog.
2433 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2435 * src/hildon-touch-selector.c:
2436 (hildon_touch_selector_class_init),
2437 (hildon_touch_selector_get_property),
2438 (_hildon_touch_selector_set_model),
2439 (_hildon_touch_selector_has_multiple_selection),
2440 (hildon_touch_selector_has_multiple_selection):
2441 Add a "has-multiple-selection" property with a virtual
2442 has_multiple_selection() method to allow derived classes to
2443 override the default value for it. See the method and property
2444 documentation for details.
2446 * src/hildon-touch-selector.h: Add the new API.
2448 * src/hildon-picker-dialog.c: (requires_done_button): Call
2449 hildon_touch_selector_has_multiple_selection() instead of
2450 determining the need for a button itself.
2452 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2454 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2455 (_hildon_touch_selector_set_model),
2456 (hildon_touch_selector_set_model): Move working code to
2457 _hildon_touch_selector_set_mode(). Call the class method instead.
2459 * src/hildon-touch-selector.h: Add (*set_model) to
2460 HildonTouchSelectorClass.
2462 Make hildon_touch_selector_set_model() a virtual method, so that
2463 derived classes can extend it and do fancy stuff with the model.
2465 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
2467 * configure.ac: Set back the tarname in AC_INIT to hildon.
2469 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
2473 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
2474 instead of libesd (NB#86876). Volume handling is still an open issue.
2476 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
2479 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2481 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
2482 (hildon_touch_selector_append_column): Make the widget a GtkVBox
2483 derived class to ease placement of an entry widget in
2484 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
2485 end, where the selector columns are packed now.
2487 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-picker-button.c: Removed the simple _text() API.
2490 * src/hildon-picker-button.h: Likewise.
2492 * src/hildon-touch-selector.h:
2493 * src/hildon-touch-selector.c:
2494 (hildon_touch_selector_new_text),
2495 (hildon_touch_selector_append_text),
2496 (hildon_touch_selector_prepend_text),
2497 (hildon_touch_selector_insert_text):
2499 Moved the simple _text() API from HildonPickerButton to
2500 HildonTouchPicker, to provide better escalability and not to tie
2501 that API to HildonPickerButton.
2503 * examples/hildon-picker-button-example.c: (main): Example updated.
2505 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-button.c: Updated documentation.
2509 * examples/hildon-button-example.c: Add the posibility to create
2510 the buttons using horizontal layout for title and value.
2512 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2514 * src/hildon-app-menu-private.h
2515 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
2516 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
2517 GtkSizeGroup for the filters, use the 'homogeneous' property of
2520 2008-07-31 Alberto Garcia <agarcia@igalia.com>
2522 * examples/hildon-button-example.c: Updated example.
2524 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
2526 * doc/hildon-docs.sgml:
2529 Update documentation.
2531 * examples/Makefile.am: Update renamed examples.
2533 * examples/hildon-picker-button-multicolumn-example.c:
2534 (create_touch_selector), (main): Update after the rename.
2536 * examples/hildon-touch-picker-example.c: Removed.
2537 * examples/hildon-touch-selector-example.c: (value_changed),
2538 (create_selector), (get_visible_content), (main): Renamed from
2539 hildon-touch-picker-example.c
2541 * src/Makefile.am: Updated renamed files.
2543 * src/hildon-date-button.c: (hildon_date_button_init),
2544 (hildon_date_button_get_date), (hildon_date_button_set_date):
2545 * src/hildon-date-selector.c: (hildon_date_selector_init),
2546 (_custom_print_func), (_update_day_model),
2547 (_manage_selector_change_cb),
2548 (hildon_date_selector_select_current_date),
2549 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
2550 * src/hildon-date-selector.h:
2551 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2552 (hildon_picker_button_set_property),
2553 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2554 (hildon_picker_button_init), (hildon_picker_button_new_text),
2555 (hildon_picker_button_append_text),
2556 (hildon_picker_button_prepend_text),
2557 (hildon_picker_button_insert_text),
2558 (hildon_picker_button_set_selector),
2559 (hildon_picker_button_get_selector):
2560 * src/hildon-picker-button.h:
2561 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
2562 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
2563 (_update_title_on_selector_changed_cb), (requires_done_button),
2564 (_hildon_picker_dialog_set_selector),
2565 (hildon_picker_dialog_set_selector),
2566 (hildon_picker_dialog_get_selector):
2567 * src/hildon-picker-dialog.h:
2568 * src/hildon-time-button.c: (hildon_time_button_init),
2569 (hildon_time_button_get_time), (hildon_time_button_set_time):
2570 * src/hildon-time-selector.c: (hildon_time_selector_init),
2571 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
2572 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
2573 * src/hildon-time-selector.h:
2576 Massive code updates after the rename.
2578 * src/hildon-touch-picker.c: Removed.
2579 * src/hildon-touch-picker.h: Removed.
2581 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
2582 (hildon_touch_selector_init), (hildon_touch_selector_map),
2583 (hildon_touch_selector_remove), (_default_print_func),
2584 (_selection_changed_cb), (_create_new_column),
2585 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
2586 (hildon_touch_selector_append_text_column),
2587 (hildon_touch_selector_remove_column),
2588 (hildon_touch_selector_set_column_attributes),
2589 (hildon_touch_selector_insert_column),
2590 (hildon_touch_selector_get_num_columns),
2591 (hildon_touch_selector_get_column_selection_mode),
2592 (hildon_touch_selector_set_column_selection_mode),
2593 (hildon_touch_selector_set_print_func),
2594 (hildon_touch_selector_get_print_func),
2595 (hildon_touch_selector_get_active_iter),
2596 (hildon_touch_selector_set_active_iter),
2597 (hildon_touch_selector_get_selected_rows),
2598 (hildon_touch_selector_get_model),
2599 (hildon_touch_selector_set_model),
2600 (hildon_touch_selector_get_current_text),
2601 (_hildon_touch_selector_center_on_selected_items):
2602 * src/hildon-touch-selector.h: Renamed from
2603 hildon-touch-picker.[ch]
2605 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
2606 references, code examples, and related documentation.
2608 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2610 * doc/hildon-docs.sgml
2613 * src/hildon-toggle-button.c
2614 * src/hildon-toggle-button.h
2615 * src/hildon.h: New HildonToggleButton widget.
2617 2008-07-30 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-button.c: Add API documentation.
2620 (hildon_button_set_size_groups): Check input parameters
2622 2008-07-30 Alejandro G. Castro <alex@igalia.com>
2624 * src/hildon-pannable-area.c
2625 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
2626 effect after reaching the movement thredshold. This way we start
2627 using the distance after passing the thredshold.
2629 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2631 * src/hildon-button.c: (hildon_button_set_property): Use the
2632 appropriate g_value_get_flags() method.
2634 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2636 * doc/hildon-docs.sgml:
2639 Add the touch pickers, picker dialogs, and picker button widgets
2640 to the documentation.
2642 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2644 * src/hildon-button.c: (hildon_button_set_property),
2645 (hildon_button_class_init): Make "arrangement-flags" a proper
2646 G_TYPE_FLAGS derived property.
2648 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2650 * examples/Makefile.am: Add below examples.
2651 * examples/hildon-date-button-example.c:
2652 * examples/hildon-picker-button-example.c:
2653 * examples/hildon-picker-button-multicolumn-example.c:
2654 * examples/hildon-time-button-example.c:
2655 * examples/hildon-touch-picker-example.c:
2657 Add examples for the recently added touch pickers,
2658 picker dialogs, and picker button widgets.
2660 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-button.c: Add some API documentation
2664 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2666 * src/hildon-button.h
2667 * src/hildon-button.c
2669 (hildon_button_new_with_text): New constructor to create a button
2670 with no text at all.
2671 (hildon_button_init, hildon_button_set_arrangement)
2672 (hildon_button_set_title, hildon_button_set_value)
2673 (hildon_button_set_text)
2674 (hildon_button_construct_child): Hide the value when it's not used
2675 so the rest of the text is properly aligned.
2676 Allow creating buttons with arbitrary widgets inside (not just
2677 title/value labels).
2679 * examples/hildon-button-example.c (vertical_buttons_window)
2680 (horizontal_buttons_window): Update example to use new API.
2682 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/Makefile.am: Added HildonTimeButton.
2685 * src/hildon-time-button.c: Added missing LGPL header.
2686 * src/hildon-time-button.h: Added missing LGPL header.
2687 * src/hildon.h: Add hildon-time-button.h
2689 Copied HildonTimeButton from sandbox to trunk. Future work on this
2690 widget must take place in trunk.
2692 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2694 * src/Makefile.am: Added HildonDateButton.
2695 * src/hildon-date-button.c: Update includes.
2696 * src/hildon.h: Add hildon-date-button.h
2698 Copied HildonDateButton from sandbox to trunk. Future work on this
2699 widget must take place in trunk.
2701 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2703 * src/Makefile.am: Added HildonPickerButton.
2704 * src/hildon-picker-button.h: Update includes.
2705 * src/hildon.h: Add hildon-picker-button.h
2707 Copied HildonPickerButton from sandbox to trunk. Future work on
2708 this widget must take place in trunk.
2710 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2712 * src/Makefile.am: Added HildonPickerDialog.
2713 * src/hildon-picker-dialog.c: Update includes.
2714 * src/hildon.h: Add hildon-picker-dialog.h
2716 Copied HildonPickerDialog from sandbox to trunk. Future work
2717 on this widget must take place in trunk.
2719 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2721 * src/Makefile.am: Added HildonTimeSelector.
2722 * src/hildon.h: Add hildon-time-selector.h
2724 Copied HildonTimeSelector widget from sandbox to trunk. Future
2725 work on this widget must happen in trunk.
2727 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2729 * src/Makefile.am: Added HildonDateSelector.
2730 * src/hildon.h: Add hildon-date-selector.h
2732 Copied HildonDateSelector widget from sandbox to trunk. Future
2733 work on this widget must happen in trunk.
2735 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2737 * src/Makefile.am: Added HildonTouchPicker.
2738 * src/hildon-touch-picker.c: Update includes.
2739 * src/hildon.h: Add hildon-touch-picker.h
2741 Copied HildonTouchPicker widget from sandbox to trunk. Future work
2742 on this widget must happen in trunk.
2744 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
2746 * src/hildon-pannable-area.c:
2747 (hildon_pannable_area_motion_notify_cb): Fix a typo.
2749 2008-07-29 Alberto Garcia <agarcia@igalia.com>
2751 * examples/hildon-app-menu-example.c (main): Let the window
2754 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2756 * src/hildon-pannable-area.c
2757 (hildon_pannable_area_class_init): Set the min value of the
2758 overshoot properties to zero, which points out that not
2759 overshooting allowed.
2761 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2763 Modified the procedure to get the widget at a point inside the
2764 pannable area when using the movement type signals. Now the user
2765 has to call a function to get the child, that way we just
2766 calculate the child in case the user really want to use it and not
2769 * src/hildon-marshalers.list: Modified the marshallers, now we do
2770 not have the widget as a parameter.
2772 * src/hildon-pannable-area.c
2773 (hildon_pannable_area_motion_notify_cb),
2774 (hildon_pannable_area_class_init),
2775 (hildon_pannable_get_child_widget_at): Removed the widget
2776 parameter from the signal callback. We have also refactored the
2777 emission of the signals.
2779 * src/hildon-pannable-area.h: Added a new method to the API to
2780 calculate a widget at a point inside the pannable area,
2781 hildon_pannable_get_child_widget_at.
2783 * examples/hildon-pannable-area-example-4.c
2784 (horizontal_movement): Modified the example to use the new API,
2785 added condition to control which widget is under the event. This
2786 way we can avoid scrolling laterally over other widgets.
2788 2008-07-29 Alejandro G. Castro <alex@igalia.com>
2790 * src/hildon-pannable-area.c
2791 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
2792 modes, we stop getting the pointer events due to returning the
2793 callback without properly calling the get pointer again. Fixed
2794 also an error using the hscroll and vscroll.
2796 2008-07-28 Alberto Garcia <agarcia@igalia.com>
2798 * src/hildon-app-menu-private.h
2799 * src/hildon-app-menu.c (hildon_app_menu_button_press)
2800 (hildon_app_menu_button_release, hildon_app_menu_init)
2801 (hildon_app_menu_class_init): Don't hide the menu on button
2802 release if the user didn't press outside first.
2804 * src/hildon-window.h
2805 * src/hildon-window.c (hildon_window_toggle_menu)
2806 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
2807 hildon_window_toggle_menu a virtual function for the stackable
2808 window to override it.
2810 * src/hildon-stackable-window.h
2811 * src/hildon-stackable-window-private.h
2812 * src/hildon-stackable-window.c
2813 (hildon_stackable_window_realize)
2814 (hildon_stackable_window_finalize)
2815 (hildon_stackable_window_class_init)
2816 (hildon_stackable_window_init)
2817 (hildon_stackable_window_set_main_menu): New function to set the
2818 app menu of a HildonStackableWindow.
2820 * examples/hildon-app-menu-example.c: Remove the button to show
2821 the app menu, now it'll be shown when clicking on the title bar
2824 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2826 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
2827 set the widget name if the arrangement flags do not specify
2830 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/hildon-button.c: (hildon_button_set_property),
2833 (hildon_button_class_init), (hildon_button_new_full),
2834 (hildon_button_set_arrangement): Added "arrangement-flags"
2837 Make the HildonButtonFlags a construction-only property, to allow
2838 subclasses to set them properly.
2840 2008-07-21 Tim Janik <timj@imendio.com>
2842 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
2843 insertion position after backspace, so additional digits are appended,
2846 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2848 * src/hildon-pannable-area.c,
2849 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
2850 TODO list, it was complete and removed the g_debug and g_print
2853 2008-07-17 Alejandro G. Castro <alex@igalia.com>
2855 Added the movement modes to the hildon-pannable-area, with this
2856 modes the developers can control in which directions the widget
2857 can scroll. They can also connect to signals in order to do
2858 something when that happens, allowing applications scroll. There
2859 is an example uploaded showing how to use it.
2861 * examples/Makefile.am:
2862 * examples/hildon-pannable-area-example-4.c: Added this example of
2863 an application using the modes.
2865 * src/hildon-marshalers.list: Added a new marshaller for the new
2868 * src/hildon-pannable-area.h: Added new enumerations and flags in
2869 order to control the movement modes and the new signals to warn
2870 about the movements in the area.
2872 * src/hildon-pannable-area.c:
2873 (hildon_pannable_axis_scroll),
2874 (hildon_pannable_area_scroll),
2875 (hildon_pannable_area_motion_notify_cb),
2876 (hildon_pannable_area_get_property),
2877 (hildon_pannable_area_set_property),
2878 (hildon_pannable_area_map),
2879 (hildon_pannable_area_class_init),
2880 (hildon_pannable_area_init),
2881 (hildon_pannable_area_jump_to): Added the modes to control the
2882 movement in the widget. We have added properties to control it,
2883 signals to warn about the movements and refactored some code.
2885 2008-07-15 Alejandro G. Castro <alex@igalia.com>
2887 Changes required in order to allow vfast_factor set to zero to
2890 * src/hildon-pannable-area.c:
2891 (hildon_pannable_area_button_press_cb): Changed the condition, it
2892 is required for not allowing click when vfast_factor is zero.
2893 (hildon_pannable_area_timeout): Initialized velocity variables
2894 when we stop moving, it was less than 1 but not zero and we need
2895 to check zero in some situations.
2896 (hildon_pannable_area_class_init): Changed the default value of
2897 the speed factor, now the button_press is just sent in case the
2898 speed is 2 per cent of the max speed.
2899 (hildon_pannable_area_init): Initialization with 0.
2901 2008-07-04 Alejandro G. Castro <alex@igalia.com>
2903 * src/hildon-pannable-area.c,
2904 (hildon_pannable_area_get_topmost): replaced
2905 gdk_window_get_children with gdk_window_peek_children, this way we
2906 do not have to free the list because it is not a copy.
2908 (hildon_pannable_axis_scroll),
2909 (hildon_pannable_area_scroll),
2910 (hildon_pannable_area_timeout),
2911 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
2912 two parameters that were only used inside the
2913 hildon_pannable_area_scroll function.
2915 * examples/hildon-pannable-area-example.c,
2916 (get_sawtooth_label): Fixed small memory leak.
2918 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2920 More checks for the case where the overshoot is bigger than the
2923 * src/hildon-pannable-area.c:
2924 (hildon_pannable_draw_vscroll),
2925 (hildon_pannable_draw_hscroll): with this new calculation we avoid
2926 to draw the slider of the scrollbar under the other scrollbar.
2927 (hildon_pannable_area_expose_event): added new checks to control
2928 the drawing of the overshooting area rectangle, in case it is too
2929 big for the area of the widget.
2930 (hildon_pannable_area_size_allocate): add more checks to avoid
2931 setting a position to the child widget outside the area.
2933 2008-07-03 Alejandro G. Castro <alex@igalia.com>
2935 * src/hildon-pannable-area.c
2936 (hildon_pannable_area_size_allocate): Added conditions to control
2937 when overshooting is bigger than the allocated space for the
2938 children, this avoids negative allocations.
2940 2008-07-02 Alberto Garcia <agarcia@igalia.com>
2942 * doc/hildon-docs.sgml
2944 * examples/Makefile.am
2945 * examples/hildon-button-example.c
2947 * src/hildon-button.c
2948 * src/hildon-button.h
2949 * src/hildon.h: Initial version of the new HildonButton widget,
2952 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
2954 * src/hildon-pannable-area.c:
2955 (hildon_pannable_area_button_press_cb),
2956 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
2957 (hildon_pannable_area_motion_notify_cb),
2958 (hildon_pannable_area_button_release_cb),
2959 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
2960 (hildon_pannable_area_jump_to_child):
2962 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
2964 2008-07-01 Alberto Garcia <agarcia@igalia.com>
2966 * examples/Makefile.am
2967 * examples/hildon-pannable-area-touch-grid-example.c
2968 * examples/hildon-pannable-area-touch-list-example.c: Examples of
2969 the Hildon Touch List and Hildon Touch Grid using the
2970 HildonPannableArea widget.
2972 2008-06-27 Alejandro G. Castro <alex@igalia.com>
2974 * src/hildon-pannable-area.c,
2975 (hildon_pannable_area_button_press_cb),
2976 (hildon_pannable_area_refresh),
2977 (hildon_pannable_area_scroll),
2978 (hildon_pannable_area_motion_notify_cb),
2979 (hildon_pannable_area_button_release_cb),
2980 (hildon_pannable_area_expose_event),
2981 (hildon_pannable_area_add),
2982 (hildon_pannable_area_remove),
2983 (hildon_pannable_area_realize),
2984 (hildon_pannable_area_size_allocate),
2985 (hildon_pannable_area_class_init),
2986 (hildon_pannable_area_init),
2987 (hildon_pannable_area_scroll_to_child),
2988 (hildon_pannable_area_jump_to_child): Fixed the problem of
2989 removing the child from the GtkBin, we have rearranged the widget
2990 hierarchy, now there is no GtkAlignment which was not doing
2991 anything interesting but breaking some of the assumptions of
2992 GtkContainer. Now developers if they want to add a GtkAlignment
2993 they could, but it is not inside the area.
2995 We had to review the whole allocation/expose process, now it is
2996 improved and we save at least three signals which would be saving
2997 some time when rendering the widget. The allocation of the
2998 scrollbars is now made in the allocate method as usual.
3000 We have also added some conditions in order to control when there
3001 is no child of the pannable area. Maybe we will need more work
3004 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3006 * src/hildon-pannable-area.c,
3007 (hildon_pannable_area_dispose): Released the fade-out timeout when
3008 disposing the widget.
3010 2008-06-27 Alejandro G. Castro <alex@igalia.com>
3012 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
3013 zero, we are going to use that property in order to deactivate the
3015 (hildon_pannable_axis_scroll),
3016 (hildon_pannable_area_size_allocate): Added conditions to control
3017 when overshoot_max is zero. Moved the gtk_adjustment_set_value
3018 call, now it is called in all situations and we can remove calls
3019 in the allocate method.
3020 (hildon_pannable_area_map): Control the situation when
3021 overshoot_max is zero, we do not need the timeout.
3022 (hildon_pannable_area_class_init): Added documentation in order to
3023 point out that setting zero to overshoot_max means deactivate
3026 NOTE: removed trailing whitespaces from my previous comments of
3029 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3031 * src/hildon-pannable-area.c
3032 (hildon_pannable_area_get_property),
3033 (hildon_pannable_area_set_property),
3034 (hildon_pannable_area_map),
3035 (hildon_pannable_area_class_init),
3036 (hildon_pannable_area_init): Add a boolean "initial-hint" property
3037 to cause the widget give a hint about its panning abilities upon
3040 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
3042 * src/hildon-pannable-area.c: Several documentation improvements.
3044 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3046 * src/hildon-program.c
3047 * src/hildon-stackable-window.c: Update documentation.
3049 2008-06-26 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-stackable-window.c (get_previous_window_if_last):
3052 Renamed get_last_window()
3053 (hildon_stackable_window_map, hildon_stackable_window_unmap)
3054 (hildon_stackable_window_unset_program):
3056 (get_previous_window_if_last):
3057 Detect if the window hasn't been added to a HildonProgram.
3059 2008-06-26 Alejandro G. Castro <alex@igalia.com>
3061 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3063 * src/hildon-pannable-area.c
3064 (hildon_pannable_area_button_press_cb),
3065 (hildon_pannable_axis_scroll),
3066 (hildon_pannable_area_scroll),
3067 (hildon_pannable_area_timeout),
3068 (hildon_pannable_calculate_vel_factor),
3069 (hildon_pannable_area_get_property),
3070 (hildon_pannable_area_set_property),
3071 (hildon_pannable_area_class_init),
3072 (hildon_pannable_area_init),
3073 (hildon_pannable_area_scroll_to),
3074 (hildon_pannable_area_jump_to),
3075 (hildon_pannable_area_scroll_to_child),
3076 (hildon_pannable_area_jump_to_child):
3077 * src/hildon-pannable-area.h: Added the new API functions:
3078 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
3079 hildon_pannable_area_scroll_to_child,
3080 hildon_pannable_area_jump_to_child
3083 * examples/Makefile.am
3084 * examples/hildon-pannable-area-example-2.c
3085 * examples/hildon-pannable-area-example-3.c: Added these two new
3086 examples in order to test and show how the new APIs work.
3088 2008-06-25 Alberto Garcia <agarcia@igalia.com>
3090 * examples/hildon-stackable-window-example.c (new_window):
3091 * src/Makefile.am (noinst_HEADERS):
3092 * src/hildon-program.c (hildon_program_go_to_root_window):
3093 * src/hildon-program.h:
3094 * src/hildon-stackable-window-private.h:
3095 * src/hildon-stackable-window.c:
3096 * src/hildon-stackable-window.h:
3097 Create hildon-stackable-window-private.h
3098 Move hildon_stackable_window_go_to_root_window() to HildonProgram
3100 * examples/hildon-app-menu-example.c (create_menu):
3101 * examples/hildon-hvolumebar-insensitive-example.c (main):
3102 * examples/hildon-hvolumebar-timer-example.c (on_idle):
3103 * examples/hildon-toolbar-seekbar-example.c (main):
3104 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
3105 * src/hildon-banner.c (hildon_banner_set_property):
3106 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
3107 Fix compilation warnings
3109 * src/hildon-window.c:
3112 2008-06-24 Alberto Garcia <agarcia@igalia.com>
3114 * src/hildon-stackable-window.c
3115 (hildon_stackable_window_unset_program):
3116 Calculate correctly whether to show the previous window if the
3117 last one is removed from the stack.
3118 (hildon_stackable_window_go_to_root_window):
3119 Send delete events starting from the topmost window.
3120 Stop if one of the windows is not destroyed.
3122 (hildon_stackable_window_delete_event)
3123 (hildon_stackable_window_class_init):
3124 Ignore the delete event if the window is not the topmost one.
3126 2008-06-24 Alejandro G. Castro <alex@igalia.com>
3128 * src/hildon-pannable-area.c
3129 (hildon_pannable_area_expose_event): Fixed a problem when
3130 selecting the background color of the scrollbars.
3132 2008-06-23 Alberto Garcia <agarcia@igalia.com>
3134 * examples/hildon-stackable-window-example.c
3135 * src/hildon-stackable-window.c
3136 * src/hildon-stackable-window.h
3137 hildon_stackable_window_go_home() renamed to
3138 hildon_stackable_window_go_to_root_window()
3139 Send delete events to windows rather than closing them with
3140 gtk_widget_destroy()
3142 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-pannable-area.c
3145 (hildon_pannable_area_button_release_cb): Fix overshooting in
3148 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-pannable-area.c
3151 (hildon_pannable_area_init): Initially show the scroll indicators.
3152 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
3154 Add initial effect showing the widget is pannable.
3156 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3158 * src/hildon-pannable-area.c
3159 (hildon_pannable_area_class_init)
3160 (hildon_pannable_area_set_property)
3161 (hildon_pannable_area_get_property)
3162 (hildon_pannable_area_button_press_cb):
3163 New 'velocity_fast_factor' property to decide which velocity is
3166 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
3168 * src/hildon-pannable-area.c
3169 (hildon_pannable_draw_hscroll)
3170 (hildon_pannable_draw_vscroll):
3171 Use float variables to calculate the size of the scrollbars to
3172 avoid error propagation and resizing during scrolling.
3174 2008-06-19 Alberto Garcia <agarcia@igalia.com>
3176 * src/hildon-pannable-area.c
3177 (hildon_pannable_draw_vscroll)
3178 (hildon_pannable_draw_hscroll):
3179 Define a minimum size for the scroll bars
3181 * src/hildon-stackable-window.c
3182 (hildon_stackable_window_go_home): Fix compilation warning
3183 (get_last_window): Minor optimizations
3184 (hildon_stackable_window_class_init): Fix initialization of
3187 2008-06-18 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-stackable-window.c: Fixed typos in doc
3191 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
3193 * src/hildon-pannable-area.c
3194 (hildon_pannable_area_scroll):
3195 Calculate here whether we need to scroll instead of using the booleans
3196 that tell us whether to /draw/ the scrolling bars.
3198 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-app-menu.h
3202 * src/hildon-app-menu.c
3203 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
3204 multiple filter groups related code and API. Now we support only
3206 * examples/hildon-app-menu-example.c:
3208 Update to reflect API changes.
3210 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
3212 * src/hildon-stackable-window.c
3213 (hildon_stackable_window_class_init):
3214 Add hildon_stackable_window_realize.
3215 (hildon_stackable_window_realize):
3216 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
3217 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
3218 to apply theming and behavior specific to HildonStackableWindow
3221 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-note.c (hildon_note_button_release):
3224 Close information notes also when tapping on them
3226 2008-06-12 Alejandro G. Castro <alex@igalia.com>
3228 Added BOUNCE_STEPS define to control the overshoot effect. Removed
3229 ELASTICITY, refactor and review, fix some issues with drawing
3232 * src/hildon-pannable-area.c:
3233 (hildon_pannable_area_button_press_cb): removed the conditions to
3234 avoid clicks when overshooting. It is not required
3236 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
3237 define. Refatored and reviewed the code, now we do not need to
3238 manage velocity in motion_notify.
3240 (hildon_pannable_area_motion_notify_cb): We have moved the code
3241 that controls the area_scroll to the axis_scroll function and get
3242 rid of duplicated code.
3244 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
3246 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
3248 (hildon_pannable_draw_vscroll),
3249 (hildon_pannable_draw_hscroll): Fixed the problems with the
3250 scrollbar drawing, now we do not use two surfaces, it is easier
3251 and saves resources.
3253 (hildon_pannable_area_get_property): Style modification.
3255 (hildon_pannable_area_class_init): Changed some default values.
3257 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
3259 * src/hildon-stackable-window.c: Fix some typos in the
3262 2008-06-12 Alberto Garcia <agarcia@igalia.com>
3264 * src/hildon-dialog.c:
3265 Change indentation style
3268 (hildon_note_button_release):
3269 Use root coordinates to check if the release event happened
3272 * src/hildon-app-menu.c
3273 (hildon_app_menu_button_release):
3274 Remove unnecessary check
3276 * examples/hildon-app-menu-example.c
3278 Add cast to fix warning
3280 * src/hildon-app-menu.c
3281 (hildon_app_menu_class_init):
3282 New inner-border style property.
3283 Set all default spacings to 16
3284 (hildon_app_menu_init):
3285 Use vertical-spacing to set the space between filter buttons and
3286 regular menu buttons.
3287 Set the default container border using the inner-border value.
3289 * examples/hildon-app-menu-example.c
3291 Don't set the menu border explicitly, now we have the inner-border
3292 style property for that.
3294 2008-06-11 Alberto Garcia <agarcia@igalia.com>
3296 * src/hildon-app-menu.c (hildon_app_menu_init):
3297 Make the window modal
3299 * src/hildon-note.c (hildon_note_map)
3300 * src/hildon-app-menu.c (hildon_app_menu_map):
3301 Destroy the grab window if we're unable to grab the pointer
3303 * src/hildon-app-menu-private.h
3304 * src/hildon-app-menu.c
3305 (hildon_app_menu_init, hildon_app_menu_finalize)
3306 (hildon_app_menu_map, hildon_app_menu_unmap)
3307 (hildon_app_menu_button_release)
3308 (grab_transfer_window_get):
3309 Bring back the grab window
3310 (hildon_app_menu_realize):
3311 Decorate the window, set WM hint for Matchbox
3313 * src/hildon-note.c (hildon_note_realize):
3314 * src/hildon-banner.c (hildon_banner_realize):
3315 Add WM hints for Matchbox
3317 2008-06-10 Alberto Garcia <agarcia@igalia.com>
3319 * src/hildon-app-menu-private.h
3320 * src/hildon-app-menu.c
3321 (hildon_app_menu_init, hildon_app_menu_finalize)
3322 (hildon_app_menu_map, hildon_app_menu_unmap)
3323 (hildon_app_menu_button_release):
3324 Remove the grab window, it's not needed anymore
3326 * src/hildon-program.c
3327 Fixed typo in documentation
3329 * src/hildon-app-menu.h
3330 * src/hildon-app-menu.c
3331 * examples/hildon-app-menu-example.c
3332 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
3334 2008-06-09 Alberto Garcia <agarcia@igalia.com>
3337 Added new transfer_window and close_if_pressed_outside private
3339 (hildon_note_rebuild):
3340 Don't add a cancel button to the information note. It will be
3341 closed when tapping outside
3342 Remove the comment about the OK button in the documentation
3343 (hildon_note_realize):
3344 Set the notification type hint
3345 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
3346 Grab/ungrab pointer and keyboard if the note has to be closed when
3348 (hildon_note_button_release):
3349 Close the note when tapping outside (if applicable)
3351 * src/hildon-app-menu.c
3352 Grab/ungrab pointer and keyboard on map/unmap
3353 (hildon_app_menu_button_release, hildon_app_menu_class_init):
3354 Close the menu on button release, not button press
3356 * src/hildon-banner.c
3357 (hildon_banner_set_property)
3358 (hildon_banner_check_position):
3359 Make the banner use the full width of the screen
3360 (hildon_banner_show_information)
3361 (hildon_banner_show_information_with_markup):
3362 Don't display an icon by default
3364 2008-06-09 Alejandro G. Castro <alex@igalia.com>
3366 Added fading scrollbars and adapted all the overshooting code to
3367 horizontal scrolling. We have also fixed bugs with overshooting
3368 and current fading implementation.
3370 * src/hildon-pannable-area.c
3371 (hildon_pannable_area_scroll_indicator_fade): Time out function
3372 used to change the transparency of the scrollbars.
3374 (hildon_pannable_area_button_press_cb): Added horizontal overshot
3375 control and fixed a problem with fading, we now remove the fade
3376 timeout before adding a new one.
3378 (hildon_pannable_axis_scroll):
3379 (hildon_pannable_area_scroll):
3380 (hildon_pannable_area_timeout): Added this functions so we can use
3381 the scroll code both for vertical and horizontal.
3383 (hildon_pannable_area_motion_notify_cb):
3384 (hildon_pannable_area_button_release_cb): Added the horizontal
3385 scrolling control, fixed a problem with the overshooting timeout.
3387 (rgb_from_gdkcolor): Added this function, it is used in the cairo
3388 painting of the scrolls.
3390 (hildon_pannable_draw_vscroll):
3391 (hildon_pannable_draw_hscroll):
3392 (hildon_pannable_area_expose_event):
3393 Draw both scrollbars and rectangles in the overshooting area.
3395 (hildon_pannable_area_get_property):
3396 (hildon_pannable_area_set_property):
3397 Modified the overshoot property to overshoot_max
3399 (hildon_pannable_area_map):
3400 Replaced the comments symbols.
3402 (hildon_pannable_area_size_allocate):
3403 (hildon_pannable_area_class_init):
3404 (hildon_pannable_area_init): Added horizontal scroll, fading
3405 effect properties, fixed a problem when overshooting in the bottom
3408 * examples/hildon-pannable-area-example.c:
3409 (get_sawtooth_label): Now we use smaller sawtooths, the effect
3410 looks better in the example.
3412 2008-06-03 Alberto Garcia <agarcia@igalia.com>
3414 * src/hildon-window.c
3415 * src/hildon-window.h
3416 (hildon_window_class_init)
3417 (hildon_window_unset_program)
3418 (hildon_window_unset_program_real):
3419 Make unset_program a virtual function
3421 * src/hildon-stackable-window.c
3422 * src/hildon-stackable-window.h
3423 Added hildon_stackable_window_go_home()
3425 * examples/Makefile.am
3426 * examples/hildon-stackable-window-example.c
3427 HildonStackableWindow example
3429 2008-06-03 Alejandro G. Castro <alex@igalia.com>
3431 * hildon-pannable-area.c: Added the overshoot property and removed
3432 the OVERSHOOT define. Fixed an indent style error.
3433 (hildon_pannable_area_motion_notify_cb):
3434 (hildon_pannable_area_get_property):
3435 (hildon_pannable_area_set_property): Add overshoot property.
3437 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
3440 (hildon_pannable_area_class_init): Installed the new property.
3442 * hildon-pannable-area-example.c: Added a sawtooth function, this
3443 way it is easier to check the movement in the pannable.
3444 (get_sawtooth_label): Added this function.
3445 (main): Now we get the labels from the new get_sawtooth_label
3448 2008-05-26 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-app-menu.h
3451 * src/hildon-app-menu.c
3452 Renamed API variables for consistency
3454 (hildon_app_menu_popup): Use also the default window size to
3455 decide where to place the menu
3457 (hildon_app_menu_init, hildon_app_menu_class_init): New
3458 external-border style property
3460 2008-05-26 Michael Natterer <mitch@imendio.com>
3462 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
3463 widget_class->tap_and_hold_setup signal slot doesn't exist any
3464 longer, stop overriding it.
3466 (hildon_time_editor_init): g_signal_connect() to the
3467 tap-and-hold-setup signal instead.
3469 (hildon_time_editor_entry_keypress): add cast to fix warning.
3471 2008-05-23 Alberto Garcia <agarcia@igalia.com>
3473 * doc/hildon-docs.sgml
3475 * examples/Makefile.am
3476 * examples/hildon-app-menu-example.c
3478 * src/hildon-app-menu-private.h
3479 * src/hildon-app-menu.c
3480 * src/hildon-app-menu.h
3482 New HildonAppMenu widget
3484 2008-05-21 Alejandro G. Castro <alex@igalia.com>
3486 Rearranged the inheritance of the pannable area, now it inherits
3487 from GtkBin. This will allow us to control the event_window and
3488 the allocation process of the widget, required for some effects.
3490 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
3491 GtkBin structures. * src/hildon-pannable-area.c: Added the
3492 event_window variable.
3493 (hildon_pannable_area_button_press_cb):
3494 (hildon_pannable_area_button_release_cb):
3495 (hildon_pannable_area_motion_notify_cb):
3496 Changed the signature of the method, now we override the event
3497 callback instead of connecting to the signal.
3499 (hildon_pannable_area_realize):
3500 (hildon_pannable_area_unrealize):
3501 (hildon_pannable_area_map):
3502 (hildon_pannable_area_unmap):
3503 (hildon_pannable_area_size_allocate):
3504 Added functions to control the widget construction. We add a
3505 INPUT_ONLY window and we put it over the widgets inside the
3506 container, this event_window handles the events.
3508 (hildon_pannable_area_class_init):
3509 Replaced the signal connections with overrides of the event
3512 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3514 Bouncing effect added when touching the borders, you can change
3515 the elasticity of the border changing the ELASTICITY define.
3517 * src/hildon-pannable-area.c: Added ELASTICITY define.
3518 (hildon_pannable_area_timeout): Added inverse velocity when
3519 touching the border of the child widget, that causes a bounce.
3521 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3523 Improved performance, we now do not go to the X server in order to
3524 get the list of window children. Apparently the effect is the
3525 same, we have to be careful and check if this breaks something in
3528 * src/hildon-pannable-area.c:
3529 (get_ordered_children): Removed this function.
3530 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
3531 the children windows function with gdk_window_get_children.
3533 2008-05-20 Alejandro G. Castro <alex@igalia.com>
3535 * src/hildon-pannable-area.c:
3536 (hildon_pannable_area_dispose): Fixed a crash when closing the
3537 window and kinetics is activated.
3539 2008-05-19 Alberto Garcia <agarcia@igalia.com>
3541 * src/hildon-pannable-area.h
3542 * src/hildon-pannable-area.c
3543 Changed indentation style to meet the one used in Hildon
3545 2008-05-19 Alejandro G. Castro <alex@igalia.com>
3547 Reviewed the interaction of the AUTO mode, now we use the time
3548 attribute of the events and calculate the velocity in the motion,
3549 doing a gimp like calculation. The velocity is calculated in each
3550 motion event using the last velocity and the current one, the
3551 SMOOTH_FACTOR controls the percentage of the new velocity we use.
3553 * src/hildon-pannable-area.c: Replaced the time based algorithm
3555 (hildon_pannable_area_motion_notify_cb): now we do not launch the
3556 timeout for the AUTO mode when we are still moving the cursor. We
3557 added also the velocity calculation in this function.
3558 (hildon_pannable_area_button_release_cb): launch the timeout in
3559 case we are in AUTO mode. There are still some constants here that
3560 come from the old implementation that should be reviewed and
3563 2008-05-15 Alberto Garcia <agarcia@igalia.com>
3565 * doc/hildon-docs.sgml
3568 * src/hildon-stackable-window.c
3569 * src/hildon-stackable-window.h
3571 New HildonStackableWindow widget
3573 * examples/hildon-dialog-example.c
3574 * examples/hildon-pannable-area-example.c
3577 2008-05-14 Alberto Garcia <agarcia@igalia.com>
3579 * src/hildon-dialog.c
3580 (hildon_dialog_new_with_buttons): New constructor.
3582 * examples/hildon-dialog-example.c
3583 (main): Update the example to use the new
3584 hildon_dialog_new_with_buttons().
3586 * examples/hildon-pannable-area-example.c
3587 (main): Update example.
3589 2008-05-13 Alberto Garcia <agarcia@igalia.com>
3591 * doc/hildon-docs.sgml
3593 Added HildonPannableArea to the documentation.
3595 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
3597 * doc/visual_index.xml
3598 Fix reference to HildonLoginDialog in documentation
3600 * doc/hildon-docs.sgml
3602 * examples/Makefile.am
3603 * examples/hildon-dialog-example.c
3605 * src/hildon-dialog.c
3606 * src/hildon-dialog.h
3608 New HildonDialog widget.
3610 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3612 * src/hildon-pannable-area.c
3613 Merge latest changes (r4318, r4342) from libmokoui trunk
3615 2008-05-09 Alberto Garcia <agarcia@igalia.com>
3617 * examples/Makefile.am
3618 * examples/hildon-pannable-area-example.c
3620 * src/hildon-pannable-area.c
3621 * src/hildon-pannable-area.h
3623 New HildonPannableArea widget.
3625 2008-04-15 18:05:19 <timj@imendio.com>
3627 * src/hildon-banner.c: revert the recent change, that introduced
3628 gtk_window_present() calls. this reopens:
3629 Bug 78481 - [freetest] information banners are hidden under browser menu
3630 But resolves another variant of:
3631 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3633 2008-04-15 13:21:13 <timj@imendio.com>
3635 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
3636 recreated its layout, spotted by Kris. this fixes all remaining
3637 artefacts and stability issues with the banner code. in particular:
3638 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3640 2008-04-14 16:52:59 <timj@imendio.com>
3642 * src/hildon-banner.c: guard force_to_wrap_truncated() against
3643 operating on unrealized widgets, fixes:
3644 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
3646 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
3648 2008-04-09 Kristian Rietveld <kris@imendio.com>
3650 Fixes: NB#77775: Media Player, Save Now playing list, too long name
3651 makes banner disappear.
3652 Fixes: NB#79182: info banner flickering with certain message lengts.
3654 * src/hildon-banner.c (hildon_banner_constructor),
3655 (hildon_banner_init), (hildon_banner_set_text),
3656 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
3657 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
3658 FALSE, reset size requests of label and banner,
3659 (force_to_wrap_truncated): when the text is too wide, always enforce
3660 the maximum possible width instead of recalculating it from the
3661 layout; enforce the maximum banner height of 3 lines,
3662 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
3663 nicer wrapping and no truncated chars if space gets tight.
3665 * src/hildon-banner-private.h: add has_been_wrapped and
3666 has_been_truncated fields.
3668 2008-04-07 Sven Herzberg <sven@imendio.com>
3670 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
3671 local values in hildon_date_editor_size_allocate
3673 * src/hildon-date-editor.c: moved the real allocation code into the
3676 2008-04-07 Sven Herzberg <sven@imendio.com>
3678 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3679 local values in hildon_date_editor_size_allocate
3681 * src/hildon-date-editor.c: merged the two if() branches together
3683 2008-04-07 Sven Herzberg <sven@imendio.com>
3685 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3686 local values in hildon_date_editor_size_allocate
3688 * src/hildon-date-editor.c: changed the arguments of the if()
3691 2008-04-07 Sven Herzberg <sven@imendio.com>
3693 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
3694 local values in hildon_date_editor_size_allocate
3696 * src/hildon-date-editor.c: split the calculation of the allocation
3697 from the real allocation
3699 2008-03-27 Michael Natterer <mitch@imendio.com>
3701 Fixes: NB#81696: The passcode is not overwritten even after
3704 * src/hildon-code-dialog.c
3705 (hildon_code_dialog_button_clicked)
3706 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
3707 because that doesn't overwrite selected text. Instead, emit the
3708 "commit" signal on the entry's im_context so the entry's normal
3709 insert logic is triggered. Set the cursor to the end of the entry
3710 after each insert operation so that we *only* insert in the middle
3711 of the text if something was selected.
3713 2008-03-27 Michael Natterer <mitch@imendio.com>
3715 Enable fixing: NB#79916 and NB#79918: The help topic for Color
3716 selector cannot be opened
3718 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
3719 when the popup color selector is created. Please connect to this
3720 signal in order to set the dialog's help ID.
3722 2008-03-25 Sven Herzberg <sven@imendio.com>
3724 Fixes: MB#1212: Hide info banners (infoprints) on click
3726 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
3727 extracted the close event simulation into an extra function
3728 (hildon_banner_button_press_event): simulate a close event and destroy
3729 the widget if the event wasn't handled
3730 (hildon_banner_class_init): added the button_press_event handler
3731 (hildon_banner_init): added button-press events to the widget
3733 2008-03-25 Sven Herzberg <sven@imendio.com>
3735 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
3736 Patch from: Mohammad Anwari <mdamt@maemo.org>
3738 * src/hildon-banner.c: let the HildonBanners pop up on the left side
3739 instead of the right in RTL mode
3740 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
3741 breadcrumb button list in RTL mode
3742 * src/hildon-caption.c: mirror the appearance of the caption widget in
3744 * src/hildon-date-editor.c: mirror appearance of the date editor in
3746 * src/hildon-time-editor.c: mirror appearance of the time editor in
3748 * src/hildon-window.c: fix the position of the popup in RTL mode
3750 2008-03-25 Sven Herzberg <sven@imendio.com>
3752 Amendment to the fix of NB#22072. Fix compilation.
3754 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
3756 2008-03-19 Sven Herzberg <sven@imendio.com>
3758 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
3761 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
3762 timeout id properly when the timeout will disappear this leaves no
3763 artifacts around in the destroy(); there will only be the timeout
3764 created by hildon_banner_ensure_timeout() and adding a new timeout
3765 will also work if the timeout gets removed because the timeout_handler
3768 2008-03-19 Michael Natterer <mitch@imendio.com>
3770 Fixes: NB#79791: Cannot set focus to Master volume using stylus
3772 * src/hildon-volumebar.c
3773 * src/hildon-vvolumebar.c
3774 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
3775 the widget becomes focussable at all.
3777 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
3778 set the focus to wither the mute button or the volumebar.
3780 Remove own "can-focus" property and instead listen to
3781 notify::can-focus in order to update the widget's state.
3783 Implement GtkWidget::focus() and make sure we can also *leave* the
3784 widget, not only enter it, depending on volumebar orientation and
3785 requested focus direction.
3787 Clean up set_mute() to cooperate nicely with all the above.
3789 2008-03-04 Michael Natterer <mitch@imendio.com>
3791 Fixes: NB#78481: information banners are hidden under browser menu
3793 * src/hildon-banner.c: call gtk_window_present() on the banners so
3794 they are risen if they are already visible.
3796 2008-03-03 Sven Herzberg <sven@imendio.com>
3798 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
3800 * examples/hildon-window-menu-example.c: (main): extended the window
3801 menu example to serve as a testcase for automatically added
3802 accelerator groups, too
3803 * src/hildon-window.c: (hildon_window_add_accel_group),
3804 (hildon_window_set_menu): added patch by Tommi Komulainen
3806 2008-03-03 Sven Herzberg <sven@imendio.com>
3808 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
3810 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
3811 knowledge about the border allocators used within GTK+
3813 2008-02-26 Sven Herzberg <sven@imendio.com>
3815 Fixes: MB#2981: Build with asserts broken
3817 * src/hildon-date-editor.c,
3818 * src/hildon-number-editor.c,
3819 * src/hildon-time-editor.c,
3820 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
3821 the proper GType instance check
3823 2008-02-25 Sven Herzberg <sven@imendio.com>
3825 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
3827 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
3828 * examples/hildon-window-menu-example.c: (main): explicitly show
3830 * src/hildon-window.c:
3831 (hildon_window_set_main_menu): moved most of the code from set_menu()
3832 to this place; skipped the call to gtk_widget_show_all(); also didn't
3833 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
3834 (hildon_window_set_menu): removed most of the code, just keep the
3835 questionable gtk_widget_show_all()
3836 * src/hildon-window.h: added the new function and deprecate the old
3839 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3845 * debian/changelog: Updating.
3847 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
3850 * pkgconfig/Makefile.am:
3851 * pkgconfig/hildon.pc.in:
3854 Do not use PACKAGE_VERSION_MAJOR as the API revision,
3855 use newly created API_MAJOR_VERSION.
3857 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3863 * debian/changelog: Updating.
3865 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
3867 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
3869 Add outer_border style property, we use it but don't define it (!).
3873 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
3875 * examples/hildon-bread-crumb-trail-example.c (main):
3879 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
3881 Fix logic for the bread crumb trail node removal.
3885 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3891 * debian/changelog: Updating.
3893 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3895 Patch by Alejandro to get/set passwords dialogs accesibility.
3897 * hildon-1/src/hildon-get-password-dialog.c:
3898 * hildon-1/src/hildon-set-password-dialog.c:
3899 Set atk_set_name to the passwd entries in order to allow
3900 accessibility by name on this entries.
3902 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3907 * debian/control: Updating gtk dep.
3909 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
3911 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
3912 USE_MAEMO_GTK is enabled.
3914 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
3916 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
3917 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
3919 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3925 * debian/changelog: Updating.
3927 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3929 * examples/Makefile.am:
3930 * examples/hildon-logical-color-example.c:
3931 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
3932 applied + adding a test case. Fixes: NB#71660.
3934 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
3936 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
3937 to be visible, fixes warning on map for windows without toolbars.
3939 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
3941 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
3942 2.11.0, add a check for that besides the MAEMO_GTK check.
3944 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3950 * debian/changelog: Updating.
3952 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3954 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
3955 visibility. Fixes: NB#70842 and MB#615.
3957 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3959 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
3960 set the separator as no-show-all so it doesn't unintentionally appear when
3961 someone does a show_all.
3963 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
3965 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
3966 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
3967 toplevel item. Fixes: NB#62031
3969 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
3971 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
3972 fix the name of the function in the docs.
3974 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3980 * debian/changelog: Updating.
3982 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3984 * examples/hildon-banner-long-example.c: Adding a test-case for long
3987 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
3989 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
3991 * src/hildon-color-chooser-dialog.c:
3992 * src/hildon-color-chooser.c:
3993 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
3994 memory leaks in font selector and color selector. Fixes: NB#70499 and
3997 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
3999 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
4001 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4003 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
4004 little bit bigger. Fixes: #NB63694.
4006 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4012 * debian/changelog: Updating.
4014 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4017 * doc/hildon-docs.sgml:
4018 * doc/images/bread-crumb-trail.png:
4019 * doc/images/calendar-popup.png:
4020 * doc/images/caption.png:
4021 * doc/images/code-dialog.png:
4022 * doc/images/color-button.png:
4023 * doc/images/color-chooser-dialog.png:
4024 * doc/images/color-chooser.png:
4025 * doc/images/controlbar.png:
4026 * doc/images/date-editor.png:
4027 * doc/images/font-selection-dialog.png:
4028 * doc/images/get-password-dialog.png:
4029 * doc/images/hvolumebar.png:
4030 * doc/images/login-dialog.png:
4031 * doc/images/note.png:
4032 * doc/images/number-editor.png:
4033 * doc/images/range-editor.png:
4034 * doc/images/seekbar.png:
4035 * doc/images/set-password-dialog.png:
4036 * doc/images/sort-dialog.png:
4037 * doc/images/time-editor.png:
4038 * doc/images/time-picker.png:
4039 * doc/images/vvolumebar.png:
4040 * doc/images/weekday-picker.png: Adding the new generated widget shots.
4041 Adding the bread-crumb-trial and helpers to the documentation.
4043 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4045 * examples/hildon-find-toolbar-example.c:
4046 * src/hildon-find-toolbar.c:
4047 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
4048 actually continue firing the other handlers if connected. Adding a new
4050 hildon_find_toolbar_get_last_index that gets the index of the most
4051 recently added (last) item. Fixes: NB#52301.
4053 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4055 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
4056 behaviour. Fixes: NB#68610.
4058 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4060 * src/hildon-banner.c: Actually reverting the previous change. It somehow
4063 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4065 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
4066 when realizing the banner. Should make the infonbanner effect a bit more
4069 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4071 * src/hildon-volumebar.c:
4072 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
4073 hildon_volumebar_set_range_insensitive_message and
4074 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
4076 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4078 * src/hildon-window.c: Fixing the border freeing on destroy.
4080 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4082 * src/hildon-code-dialog-private.h:
4083 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
4084 kw keyboard support in HildonCodeDialog.
4086 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4092 * debian/changelog: Updating.
4094 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4096 * src/hildon-date-editor.c:
4097 * src/hildon-number-editor.c:
4098 * src/hildon-private.c:
4099 * src/hildon-private.h:
4100 * src/hildon-time-editor.c:
4101 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
4102 handling in subclassed composite widgets. Fixes: NB#66628.
4104 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4106 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
4107 from destroy_ callback as it introduces problems in async dbus signal
4108 handlers. Fixes NB#66673.
4110 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4112 * examples/hildon-hvolumebar-example.c:
4113 * src/hildon-volumebar.c: Improving the focus handling in the
4114 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
4115 set_property accessor so that "mute" property can be actually set. I'm
4116 scared that nobody noticed it's totally broken.
4118 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4120 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
4123 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4125 * src/hildon-calendar.c:
4126 * src/hildon-number-editor.c:
4127 * src/hildon-time-picker.c: Changing the timeout repeat so that it
4128 matches the spec of 6 chars per second. Fixes: NB#60489.
4130 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4132 * src/hildon-helper.c: Really fixing NB#58352. Looks like
4133 gtk_style_lookup_color sometime returns FALSE even though color was
4134 found and values were filled properly. Weird. Removing the warning for the
4137 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4139 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
4140 expand vertically. Adding some extra space to the find toolbar buttons to
4141 make them thumbable. Fixes NB#66060.
4143 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4145 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
4146 popup with "Ok" and "Cancel". Fixes NB#59299.
4148 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4150 * src/hildon-calendar.c: Process all window updates before executing next
4151 timeout. Fixes: NB#54146.
4153 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4159 * debian/changelog: Updating.
4161 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4163 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
4164 the client event and ignore it, since we use the delete event to close
4167 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4169 * src/hildon-helper.c: Remove the bogus warning about color not being
4170 found. Fixes NB#58352.
4172 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4174 * examples/Makefile.am:
4175 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
4176 HildonSeekbar widget inside a toolbar.
4178 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
4180 * src/hildon-banner.c (hildon_banner_init): mark the banners as
4181 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
4182 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
4183 don't want to be closed by non-temporary windows on map.
4185 Also use G_DEFINE_TYPE instead of manually typed code.
4187 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4194 * debian/rules: Updating.
4196 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4198 * examples/Makefile.am:
4199 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
4200 bug NB#61128. Strangely it works.
4202 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4204 * src/hildon-date-editor.c: When the date editor entry has been changed
4205 but the numbers of characters < max, turn off the skip validation flag.
4206 Prevents a situation when we enter first a valid year and later re-write
4207 it with an invalid one. Fixes NB#60154.
4209 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4211 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
4212 code dialog. Fixes NB#64355.
4214 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4216 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
4217 switching the page. Fixes NB#49374.
4219 * examples/Makefile.am:
4220 * examples/hildon-wizard-dialog-example.c: Adding an example for
4221 HildonWizardDialog that shows how to handle manual sensitivity setting on
4224 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4228 * src/hildon-version.h.in:
4229 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
4231 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4233 * src/hildon-volumebar.c: Updating the docs.
4235 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4241 * debian/changelog: Updating.
4243 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4245 * src/hildon-find-toolbar.c:
4246 * src/hildon-find-toolbar.h: Adding a few new functions to control the
4247 selected item: hildon_find_toolbar_set_active,
4248 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
4249 hildon_find_toolbar_get_active_iter . They correspond to respective
4250 GtkComboBox functions.
4252 * examples/Makefile.am:
4253 * examples/hildon-find-toolbar-example.c: Adding the example to test the
4256 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4258 * examples/Makefile.am:
4259 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
4262 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
4263 when font size > 32 and we pack a focusable widget inside. Actually using
4264 the default response would work too, but since we don't show default
4265 response state in any way (no theming) it would not be visible to the
4266 user. Fixes NB#63430.
4268 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4270 * src/hildon-date-editor.c: Adding the missing variable setter in the
4271 set_property handler. Fixes NB#54182.
4273 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4275 * src/hildon-window.h: Changing the long key press time from 1500ms to
4276 800ms as requested in NB#63700. I have a bad feeling about this, let's
4277 see... Fixes NB#63700.
4279 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
4281 * src/hildon-time-picker.c (hildon_time_picker_class_init,
4282 hildon_time_picker_map, hildon_time_picker_realize,
4283 hildon_time_picker_style_set): Split the contents of map to more
4284 appropriate functions; set window decorations on realize and update
4285 arrows' size requisitions on style-set. Avoids unnecessary resizing.
4287 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
4292 * debian/changelog: Updating.
4294 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
4296 * src/Makefile.am: fixed installation of the header files
4298 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4304 * debian/changelog: Updating.
4306 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4308 * configure.ac: Removing some remaining of --enable-xan.
4310 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
4312 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
4313 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
4315 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
4316 2.10.12-osso6 because the move-focus signal needs to be available in
4319 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4321 * examples/Makefile.am:
4322 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
4323 that makes a HildonVolumebar insensitive before mapping it. Seems to work
4324 fine. Prolly NB#61128 is fixed now.
4326 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4328 * src/hildon-volumebar.c:
4329 * src/hildon-volumebar.h: Adding the
4330 hildon_volumebar_set_range_insensitive_message and
4331 hildon_volumebar_set_range_insensitive_messagef functions to set
4332 insensitive message on the slider of the volumebar. Fixes NB#61129.
4334 * examples/Makefile.am:
4335 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
4336 test the new insensitive messsage functionality on HildonVolumebar.
4338 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
4340 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
4343 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
4345 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
4346 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
4347 button on after clearing the trail.
4349 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4351 * src/hildon-code-dialog.c: Removing the separator from the dialog.
4353 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4355 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
4356 by splitting the installed headers in generated and non-generated groups. Use
4357 only the non-generated headers to create the hildon-enum-types.h file.
4359 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
4361 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4363 * src/hildon-window.c: Hide the window before performing the destroy.
4364 Should make the app closing a little tiny bit more snappy.
4366 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
4368 * src/hildon-seekbar.c: add gtkrange.h header
4369 * src/hildon-caption.c: remove unused variable
4371 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
4373 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
4376 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4382 * debian/changelog: Updating.
4384 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
4386 * src/hildon-window.c (hildon_window_window_state_event,
4387 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
4388 escape timeout on focus-out-event rather than notify::is-topmost; the
4389 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
4391 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4393 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
4394 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
4396 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4398 * src/hildon-window: actually, you need to use the macro always, there's
4399 no private pointer in the instance structure. We should have cleaned this up
4400 when we had the chance...
4402 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
4404 * src/hildon-window.c: do not get the private date from HildonWindow before
4405 it passes the g_return_if_fail check. Once it's passed the test, there's no
4406 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
4407 if you are only going to access the data once. Whitespace cleanups.
4409 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
4411 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
4412 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
4414 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4420 * debian/changelog: Updating.
4422 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4424 * src/hildon-window.c: When destroying the window, remove (if exists) the
4425 escape timeout handler. Fixes #NB59276.
4427 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4429 * src/hildon-banner.c: When realizing the widget, set the window
4430 transiency. Setting the transiency in the gobject constructor is not
4431 good, as the widget is not realized at that point. Fixes: #NB56624.
4433 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4435 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
4436 Add padding for future expansions.
4438 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4440 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
4441 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
4442 will fake an activation on the previous to the last item of the trail, so
4443 the effect can be overrided by the developer as usual.
4444 Also change the callback for the back button to do the same thing, so its
4445 effect can be overrided too. Fixes: NB#58982
4447 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4449 * src/hildon-caption.c: Implementing the proper focus grabbing in the
4450 HildonCaption. Fixes NB#52379.
4452 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
4454 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
4455 the internal state of the trail after the user has had the chance of executing
4456 his handler for the signal. Specifically, it may happen that the activated button
4457 is removed and the user still lets the default handler run. This would segfault
4460 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4462 * src/hildon-font-selection-dialog.c: When the font is really big, add the
4463 scrollbar to the preview dialog. Fixes NB#54147.
4465 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4467 * src/hildon-date-editor.c: Changing the default max year to 2037. The
4468 max/min year properties can be altered, so the client can modify it
4469 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
4471 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4473 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
4474 hildonlike by default. Fixing a problem with disappearing arrows when
4475 scrolling through months and years. Fixes NB#54127.
4477 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4479 * examples/hildon-date-editor-example.c: Adding error callback to the date
4482 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4488 * configure.ac: Updating.
4490 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4492 * configure.ac: Adding a special '--enable-xan' configure option that
4493 turns off the -Werror compilation setting. Usefull for development.
4495 * src/hildon-calendar.c:
4496 * src/hildon-number-editor.c:
4497 * src/hildon-time-picker.c: Adding the 5* multiplier to
4500 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
4502 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
4503 instead of g_object_ref + gtk_object_sink.
4505 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4511 * debian/changelog: Updating.
4513 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4515 * src/hildon-color-chooser-dialog.c:
4516 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
4517 straight from Tommi labs.
4519 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4521 * examples/hildon-finger-example.c: Correcting the header file path.
4523 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
4524 the changed signal. Fixes a small memory leak.
4526 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4530 * src/hildon-banner.c: Importing several usefull fixes from the
4531 ubuntu-mobile branch.
4533 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4535 * examples/Makefile.am:
4536 * examples/hildon-finger-example.c: Adding a finger-checking code
4539 * src/hildon-font-selection-dialog.c: Do not allocate the color
4540 structure using the g_new. Fixes NB#54061.
4542 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4544 * src/hildon-helper.c: Correcting tabs in file.
4546 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
4548 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
4549 control the visibility of the children.
4551 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
4553 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4559 * debian/changelog: Updating.
4561 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4563 * src/hildon-bread-crumb-trail.c:
4564 (hildon_bread_crumb_trail_size_allocate):
4566 Make the back button always a square.
4568 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
4570 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
4571 from the .c file as it's a private file.
4573 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4575 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
4576 uses slightly bigger height.
4578 * src/hildon-font-selection-dialog.c: Adding some checks before
4579 freeing memory in the font selection dialog.
4581 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4583 * src/hildon-font-selection-dialog.c: Adding a small check when
4586 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
4587 buttons sensitivity on page switching.
4589 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
4591 * src/hildon-bread-crumb-trail.c: make the add method handle all the
4592 internal details of adding a bread crumb to the trail.
4594 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4600 * debian/changelog: Updating.
4602 * src/hildon-bread-crumb-trail.h:
4603 * src/hildon-bread-crumb.h: Changing the API guard to
4604 HILDON_ENABLE_UNSTABLE_API.
4606 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4614 * src/hildon-helper.h: Updating.
4616 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4624 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4628 * src/hildon-helper.h: Small fix to make the package actually compile.
4630 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4632 * src/hildon-bread-crumb-trail.h:
4633 * src/hildon-bread-crumb.h:
4635 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
4636 to define ENABLE_UNSTABLE_API in the code that includes these headers.
4638 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
4640 * examples/hildon-bread-crumb-trail-example.c:
4642 * src/hildon-bread-crumb-trail.c:
4643 * src/hildon-bread-crumb-trail.h:
4644 * src/hildon-bread-crumb.c:
4645 * src/hildon-bread-crumb.h:
4646 * src/hildon-marshalers.list:
4647 * src/hildon-bread-crumb-widget.c:
4648 * src/hildon-bread-crumb-widget.h:
4650 Slight change in the widget design. The bread crumb trail API is
4651 unchanged, but HildonBreadCrumb is now an interface. A *private*
4652 implementation, hildon-bread-crumb-widget, is provided and used
4653 internally by the trail for the push_text/push_icon functions.
4655 The generic push API is still available, so anyone can implement
4656 and use its own bread crumb widget.
4658 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4660 * debian/rules: Fixing the shlibs.
4662 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4664 * src/hildon-banner.c: Fixing a problem with timed banners having
4665 their parrent destroyed before they are.
4667 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
4669 * src/hildon-bread-crumb.c:
4670 * src/hildon-bread-crumb.h:
4672 Make the get_natural_size function a vfunc.
4674 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4676 * src/hildon-bread-crumb.c:
4677 * src/hildon-bread-crumb-trail.c:
4681 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4688 * debian/changelog: Updating for release.
4690 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4692 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
4693 don't leak the pango layout.
4695 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
4698 * examples/hildon-bread-crumb-trail-example.c:
4702 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4704 * debian/changelog: Removing the bug-fixed entries that were actually
4705 resolved as WONTFIX.
4707 * src/hildon-date-editor.c: Removing a redundant check. Fixes
4710 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4712 * src/hildon-bread-crumb-trail.c:
4713 * src/hildon-bread-crumb-trail.h:
4714 * src/hildon-bread-crumb.c:
4715 * src/hildon-bread-crumb.h:
4719 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
4721 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
4722 until it's passed the type check.
4724 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4726 * examples/hildon-bread-crumb-trail-example.c
4730 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
4732 * examples/Makefile.am
4733 * examples/hildon-bread-crumb-trail-example.c
4735 * src/hildon-bread-crumb-trail.c
4736 * src/hildon-bread-crumb-trail.h
4737 * src/hildon-bread-crumb.c
4738 * src/hildon-bread-crumb.h
4740 New HildonBreadCrumbTrail widget.
4742 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
4744 * src/hildon-range-editor.c (hildon_range_editor_init),
4745 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
4746 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
4747 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
4748 hildon_time_editor_class_init, hildon_time_editor_init),
4749 src/hildon-get-password-dialog.c (invalid_input,
4750 hildon_get_password_set_property, hildon_get_password_get_property,
4751 create_contents, hildon_get_password_dialog_set_max_characters),
4752 src/hildon-set-password-dialog.c (create_contents),
4753 src/hildon-date-editor.c (hildon_date_editor_init),
4754 src/hildon-login-dialog.c (hildon_login_dialog_init),
4755 src/hildon-number-editor.c (hildon_number_editor_init),
4756 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
4757 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
4758 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
4759 configure option and adding the respective checks in the code.
4760 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
4761 hildon_calendar_drag_data_received): fixed some build warnings.
4763 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
4765 * debian/changelog: A 1.0.0 release notes.